Loading client/src/api/schema/schema.ts +6 −10 Original line number Diff line number Diff line Loading @@ -12812,8 +12812,6 @@ export interface components { device?: string | null; /** Hidden */ hidden: boolean; /** Id */ id: number | string; /** Name */ name?: string | null; /** Object Store Id */ Loading Loading @@ -12891,8 +12889,6 @@ export interface components { description: string | null; /** Hidden */ hidden: boolean; /** Id */ id: string | number; /** Name */ name: string; /** Purged */ Loading Loading @@ -15195,7 +15191,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The index for a persisted UserFileSourceStore object. */ /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { user_file_source_id: string; }; Loading @@ -15222,7 +15218,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The index for a persisted UserFileSourceStore object. */ /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { user_file_source_id: string; }; Loading Loading @@ -15257,7 +15253,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The index for a persisted UserFileSourceStore object. */ /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { user_file_source_id: string; }; Loading Loading @@ -21119,7 +21115,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The identifier used to index a persisted UserObjectStore object. */ /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { user_object_store_id: string; }; Loading @@ -21146,7 +21142,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The identifier used to index a persisted UserObjectStore object. */ /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { user_object_store_id: string; }; Loading Loading @@ -21181,7 +21177,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The identifier used to index a persisted UserObjectStore object. */ /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { user_object_store_id: string; }; client/src/components/ConfigTemplates/test_fixtures.ts +0 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ export const OBJECT_STORE_INSTANCE: UserConcreteObjectStore = { secrets: ["oldsecret", "droppedsecret"], quota: { enabled: false }, private: false, id: 4, uuid: "112f889f-72d7-4619-a8e8-510a8c685aa7", active: true, hidden: false, Loading client/src/components/FileSources/Instances/EditInstance.vue +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ import EditSecrets from "./EditSecrets.vue"; import InstanceForm from "@/components/ConfigTemplates/InstanceForm.vue"; interface Props { instanceId: number | string; instanceId: string; } const props = defineProps<Props>(); Loading @@ -36,7 +36,7 @@ const loadingMessage = "Loading file source template and instance information"; async function onSubmit(formData: any) { if (template.value) { const payload = editFormDataToPayload(template.value, formData); const args = { user_file_source_id: String(instance?.value?.id) }; const args = { user_file_source_id: String(instance?.value?.uuid) }; const { data: fileSource } = await update({ ...args, ...payload }); await onUpdate(fileSource); } Loading client/src/components/FileSources/Instances/EditSecrets.vue +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ async function onUpdate(secretName: string, secretValue: string) { secret_name: secretName, secret_value: secretValue, }; const args = { user_file_source_id: String(props.fileSource.id) }; const args = { user_file_source_id: String(props.fileSource.uuid) }; await update({ ...args, ...payload }); } </script> Loading client/src/components/FileSources/Instances/InstanceDropdown.vue +2 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,8 @@ interface Props { } const props = defineProps<Props>(); const routeEdit = computed(() => `/file_source_instances/${props.fileSource.id}/edit`); const routeUpgrade = computed(() => `/file_source_instances/${props.fileSource.id}/upgrade`); const routeEdit = computed(() => `/file_source_instances/${props.fileSource.uuid}/edit`); const routeUpgrade = computed(() => `/file_source_instances/${props.fileSource.uuid}/upgrade`); const isUpgradable = computed(() => fileSourceTemplatesStore.canUpgrade(props.fileSource.template_id, props.fileSource.template_version) ); Loading Loading
client/src/api/schema/schema.ts +6 −10 Original line number Diff line number Diff line Loading @@ -12812,8 +12812,6 @@ export interface components { device?: string | null; /** Hidden */ hidden: boolean; /** Id */ id: number | string; /** Name */ name?: string | null; /** Object Store Id */ Loading Loading @@ -12891,8 +12889,6 @@ export interface components { description: string | null; /** Hidden */ hidden: boolean; /** Id */ id: string | number; /** Name */ name: string; /** Purged */ Loading Loading @@ -15195,7 +15191,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The index for a persisted UserFileSourceStore object. */ /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { user_file_source_id: string; }; Loading @@ -15222,7 +15218,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The index for a persisted UserFileSourceStore object. */ /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { user_file_source_id: string; }; Loading Loading @@ -15257,7 +15253,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The index for a persisted UserFileSourceStore object. */ /** @description The UUID index for a persisted UserFileSourceStore object. */ path: { user_file_source_id: string; }; Loading Loading @@ -21119,7 +21115,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The identifier used to index a persisted UserObjectStore object. */ /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { user_object_store_id: string; }; Loading @@ -21146,7 +21142,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The identifier used to index a persisted UserObjectStore object. */ /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { user_object_store_id: string; }; Loading Loading @@ -21181,7 +21177,7 @@ export interface operations { header?: { "run-as"?: string | null; }; /** @description The identifier used to index a persisted UserObjectStore object. */ /** @description The UUID used to identify a persisted UserObjectStore object. */ path: { user_object_store_id: string; };
client/src/components/ConfigTemplates/test_fixtures.ts +0 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ export const OBJECT_STORE_INSTANCE: UserConcreteObjectStore = { secrets: ["oldsecret", "droppedsecret"], quota: { enabled: false }, private: false, id: 4, uuid: "112f889f-72d7-4619-a8e8-510a8c685aa7", active: true, hidden: false, Loading
client/src/components/FileSources/Instances/EditInstance.vue +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ import EditSecrets from "./EditSecrets.vue"; import InstanceForm from "@/components/ConfigTemplates/InstanceForm.vue"; interface Props { instanceId: number | string; instanceId: string; } const props = defineProps<Props>(); Loading @@ -36,7 +36,7 @@ const loadingMessage = "Loading file source template and instance information"; async function onSubmit(formData: any) { if (template.value) { const payload = editFormDataToPayload(template.value, formData); const args = { user_file_source_id: String(instance?.value?.id) }; const args = { user_file_source_id: String(instance?.value?.uuid) }; const { data: fileSource } = await update({ ...args, ...payload }); await onUpdate(fileSource); } Loading
client/src/components/FileSources/Instances/EditSecrets.vue +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ async function onUpdate(secretName: string, secretValue: string) { secret_name: secretName, secret_value: secretValue, }; const args = { user_file_source_id: String(props.fileSource.id) }; const args = { user_file_source_id: String(props.fileSource.uuid) }; await update({ ...args, ...payload }); } </script> Loading
client/src/components/FileSources/Instances/InstanceDropdown.vue +2 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,8 @@ interface Props { } const props = defineProps<Props>(); const routeEdit = computed(() => `/file_source_instances/${props.fileSource.id}/edit`); const routeUpgrade = computed(() => `/file_source_instances/${props.fileSource.id}/upgrade`); const routeEdit = computed(() => `/file_source_instances/${props.fileSource.uuid}/edit`); const routeUpgrade = computed(() => `/file_source_instances/${props.fileSource.uuid}/upgrade`); const isUpgradable = computed(() => fileSourceTemplatesStore.canUpgrade(props.fileSource.template_id, props.fileSource.template_version) ); Loading