Skip to content

Commit 61341ea

Browse files
committed
Update specification to buildSpecification for SDK 5.0.0 breaking change
1 parent 7c1aeed commit 61341ea

23 files changed

Lines changed: 35 additions & 35 deletions

src/routes/(console)/project-[region]-[project]/functions/create-function/deploy/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
commands: installCommand || undefined,
106106
scopes: selectedScopes?.length ? selectedScopes : undefined,
107107
providerSilentMode: false,
108-
specification: specification || undefined
108+
buildSpecification: specification || undefined
109109
});
110110
111111
// Add domain

src/routes/(console)/project-[region]-[project]/functions/create-function/manual/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
enabled: true,
7474
entrypoint,
7575
commands: buildCommand,
76-
specification: specification || undefined
76+
buildSpecification: specification || undefined
7777
});
7878
7979
// Add domain

src/routes/(console)/project-[region]-[project]/functions/create-function/repository-[repository]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
providerBranch: branch,
120120
providerSilentMode: silentMode,
121121
providerRootDirectory: rootDir,
122-
specification: specification || undefined
122+
buildSpecification: specification || undefined
123123
});
124124
125125
// Add domain

src/routes/(console)/project-[region]-[project]/functions/create-function/template-[template]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
providerBranch: branch,
155155
providerSilentMode: silentMode,
156156
providerRootDirectory: rootDir,
157-
specification: specification || undefined
157+
buildSpecification: specification || undefined
158158
});
159159
160160
// Add domain

src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updateBuildCommand.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
providerBranch: func.providerBranch || undefined,
3737
providerSilentMode: func.providerSilentMode || undefined,
3838
providerRootDirectory: func.providerRootDirectory || undefined,
39-
specification: func.specification || undefined
39+
buildSpecification: func.buildSpecification || undefined
4040
});
4141
4242
await invalidate(Dependencies.FUNCTION);

src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updateEvents.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
providerBranch: $func.providerBranch || undefined,
4848
providerSilentMode: $func.providerSilentMode || undefined,
4949
providerRootDirectory: $func.providerRootDirectory || undefined,
50-
specification: $func.specification || undefined
50+
buildSpecification: $func.buildSpecification || undefined
5151
});
5252
await invalidate(Dependencies.FUNCTION);
5353
addNotification({

src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updateLogging.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
providerBranch: func.providerBranch || undefined,
3838
providerSilentMode: func.providerSilentMode || undefined,
3939
providerRootDirectory: func.providerRootDirectory || undefined,
40-
specification: func.specification || undefined
40+
buildSpecification: func.buildSpecification || undefined
4141
});
4242
await invalidate(Dependencies.FUNCTION);
4343
addNotification({

src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updateName.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
providerBranch: $func.providerBranch || undefined,
4343
providerSilentMode: $func.providerSilentMode || undefined,
4444
providerRootDirectory: $func.providerRootDirectory || undefined,
45-
specification: $func.specification || undefined
45+
buildSpecification: $func.buildSpecification || undefined
4646
});
4747
await invalidate(Dependencies.FUNCTION);
4848
addNotification({

src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updatePermissions.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
providerBranch: $func.providerBranch || undefined,
4848
providerSilentMode: $func.providerSilentMode || undefined,
4949
providerRootDirectory: $func.providerRootDirectory || undefined,
50-
specification: $func.specification || undefined
50+
buildSpecification: $func.buildSpecification || undefined
5151
});
5252
await invalidate(Dependencies.FUNCTION);
5353
addNotification({

src/routes/(console)/project-[region]-[project]/functions/function-[function]/settings/updateResourceLimits.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
export let func: Models.Function;
1919
export let specs: Models.SpecificationList;
2020
21-
let specification = func.specification;
22-
let originalSpecification = func.specification;
23-
$: originalSpecification = func.specification;
21+
let specification = func.buildSpecification;
22+
let originalSpecification = func.buildSpecification;
23+
$: originalSpecification = func.buildSpecification;
2424
2525
async function updateLogging() {
2626
try {
@@ -45,7 +45,7 @@
4545
providerBranch: func.providerBranch || undefined,
4646
providerSilentMode: func.providerSilentMode || undefined,
4747
providerRootDirectory: func.providerRootDirectory || undefined,
48-
specification: specification || undefined
48+
buildSpecification: specification || undefined
4949
});
5050
5151
await invalidate(Dependencies.FUNCTION);

0 commit comments

Comments
 (0)