@sferarc/aula-pulumi 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lessonType.gen.js +1 -1
- package/dist/siteConfig.gen.js +1 -1
- package/package.json +2 -2
package/dist/lessonType.gen.js
CHANGED
|
@@ -62,7 +62,7 @@ export const lessonTypeProvider = {
|
|
|
62
62
|
const changes = inputFields.filter((key) => !(derivedFields.includes(key) && canonical(news[key]) == null) &&
|
|
63
63
|
comparable(key, olds[key]) !== comparable(key, news[key]));
|
|
64
64
|
const replaces = changes.filter((key) => replaceFields.includes(key));
|
|
65
|
-
return { changes: changes.length > 0, replaces, deleteBeforeReplace:
|
|
65
|
+
return { changes: changes.length > 0, replaces, deleteBeforeReplace: replaces.length > 0 };
|
|
66
66
|
},
|
|
67
67
|
};
|
|
68
68
|
/** A lesson type of the catalogue. The teacher is fixed at creation, so changing it replaces the lesson type. Deleting archives it: bookings and purchases keep pointing at it. */
|
package/dist/siteConfig.gen.js
CHANGED
|
@@ -63,7 +63,7 @@ export const siteConfigProvider = {
|
|
|
63
63
|
const changes = inputFields.filter((key) => !(derivedFields.includes(key) && canonical(news[key]) == null) &&
|
|
64
64
|
comparable(key, olds[key]) !== comparable(key, news[key]));
|
|
65
65
|
const replaces = changes.filter((key) => replaceFields.includes(key));
|
|
66
|
-
return { changes: changes.length > 0, replaces, deleteBeforeReplace:
|
|
66
|
+
return { changes: changes.length > 0, replaces, deleteBeforeReplace: replaces.length > 0 };
|
|
67
67
|
},
|
|
68
68
|
};
|
|
69
69
|
/** The school's whole site document. One per school: it exists with the school, so it is read and replaced, never created or deleted. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sferarc/aula-pulumi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Pulumi provider that declares an Aula school as code, generated from the management API's OpenAPI document",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@pulumi/pulumi": "3.274.1",
|
|
30
|
-
"@sferarc/iac-gen": "0.2.
|
|
30
|
+
"@sferarc/iac-gen": "0.2.5",
|
|
31
31
|
"@sferarc/tsconfig": "0.0.0",
|
|
32
32
|
"@types/node": "26.6.6",
|
|
33
33
|
"tsx": "4.23.15",
|