@intentius/chant-lexicon-render 0.97.0 → 0.98.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.
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "327e1e5fa4a41e30af907ace7d204e7b479a01ec3049d2c26a4c84e7540683fe",
5
- "meta.json": "8fd79c487cc536d111b04449a792869becc8a6b14c17a19dc8fc958701057f6a",
6
- "types/index.d.ts": "3d822db55204d57901269d8e7c0ea57e891c2ecf9c3d90bbbeb9068d8636f77e",
4
+ "manifest.json": "0dc73a9bbc34b3ec8a6a03dbe75a1565d3be1a8ae72aa78e8bb55925c8db35b1",
5
+ "meta.json": "1af07221f8eedfaec1fcd2c26d396554b7fef33769541fb484331bbb505b2603",
6
+ "types/index.d.ts": "9c8aec0a1c7c9ad8829be9901962c166e69b3dae9ce00532ea9e73426bd14e73",
7
7
  "rules/no-secret-literals.ts": "56477155256fa55696168df5ad781defdaaeb6623ae79dbf8f753f6a713a0092",
8
8
  "rules/valid-cron-schedule.ts": "3a6a898b7a096999485e97909ba889bd164e1779dcd92dffaef1d0ade5aa0512",
9
9
  "rules/valid-region.ts": "271deb69fe0a151341db34b26e232523a40bb32c47f9901b190fd1ebd9cc4e75",
@@ -14,5 +14,5 @@
14
14
  "skills/chant-render.md": "1a6743636165d86851cf102686a0c8ac3601c1d322dc97eff0ff64bd8e494abd",
15
15
  "skills/chant-render-patterns.md": "3a7e395bcd478c8253ae2f45b0a09d3b45d08075a49781aa07e8bb7f0ac7ef8d"
16
16
  },
17
- "composite": "535869d9644e18d142fe62029f485c8095e09230628900cf4847fd81cd4a6270"
17
+ "composite": "8885f56a25f0acf20fa6efc364eb959d67797058e975c632d5dfe282f4a78725"
18
18
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "Render"
6
6
  }
package/dist/meta.json CHANGED
@@ -27,7 +27,16 @@
27
27
  "BackgroundWorker": {
28
28
  "resourceType": "Render::Services::BackgroundWorker",
29
29
  "kind": "resource",
30
- "lexicon": "render"
30
+ "lexicon": "render",
31
+ "constraints": {
32
+ "autoDeployTrigger": {
33
+ "enum": [
34
+ "commit",
35
+ "off",
36
+ "checksPass"
37
+ ]
38
+ }
39
+ }
31
40
  },
32
41
  "BackgroundWorkerDetails": {
33
42
  "resourceType": "Render::Services::BackgroundWorkerDetails",
@@ -53,7 +62,16 @@
53
62
  "CronJob": {
54
63
  "resourceType": "Render::Services::CronJob",
55
64
  "kind": "resource",
56
- "lexicon": "render"
65
+ "lexicon": "render",
66
+ "constraints": {
67
+ "autoDeployTrigger": {
68
+ "enum": [
69
+ "commit",
70
+ "off",
71
+ "checksPass"
72
+ ]
73
+ }
74
+ }
57
75
  },
58
76
  "CronJobDetails": {
59
77
  "resourceType": "Render::Services::CronJobDetails",
@@ -215,7 +233,16 @@
215
233
  "PrivateService": {
216
234
  "resourceType": "Render::Services::PrivateService",
217
235
  "kind": "resource",
218
- "lexicon": "render"
236
+ "lexicon": "render",
237
+ "constraints": {
238
+ "autoDeployTrigger": {
239
+ "enum": [
240
+ "commit",
241
+ "off",
242
+ "checksPass"
243
+ ]
244
+ }
245
+ }
219
246
  },
220
247
  "PrivateServiceDetails": {
221
248
  "resourceType": "Render::Services::PrivateServiceDetails",
@@ -271,7 +298,16 @@
271
298
  "StaticSite": {
272
299
  "resourceType": "Render::Services::StaticSite",
273
300
  "kind": "resource",
274
- "lexicon": "render"
301
+ "lexicon": "render",
302
+ "constraints": {
303
+ "autoDeployTrigger": {
304
+ "enum": [
305
+ "commit",
306
+ "off",
307
+ "checksPass"
308
+ ]
309
+ }
310
+ }
275
311
  },
276
312
  "StaticSiteDetails": {
277
313
  "resourceType": "Render::Services::StaticSiteDetails",
@@ -281,7 +317,16 @@
281
317
  "WebService": {
282
318
  "resourceType": "Render::Services::WebService",
283
319
  "kind": "resource",
284
- "lexicon": "render"
320
+ "lexicon": "render",
321
+ "constraints": {
322
+ "autoDeployTrigger": {
323
+ "enum": [
324
+ "commit",
325
+ "off",
326
+ "checksPass"
327
+ ]
328
+ }
329
+ }
285
330
  },
286
331
  "WebServiceDetails": {
287
332
  "resourceType": "Render::Services::WebServiceDetails",
@@ -13,6 +13,7 @@ resource_type: Render::Services::BackgroundWorker
13
13
  - `name` (`string`, required): The service's name. Must be unique within the workspace.
14
14
  - `serviceDetails` (`BackgroundWorkerDetails`, required)
15
15
  - `autoDeploy` (`"no" | "yes"`, optional)
16
+ - `autoDeployTrigger` (`"checksPass" | "commit" | "off"`, optional): Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys.
16
17
  - `branch` (`string`, optional): The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch.
17
18
  - `buildFilter` (`BuildFilter`, optional)
18
19
  - `environmentId` (`string | Environment`, optional): The ID of the environment the service belongs to, if any. Obtain an environment's ID from its Settings page in the Render Dashboard.
@@ -13,6 +13,7 @@ resource_type: Render::Services::CronJob
13
13
  - `name` (`string`, required): The service's name. Must be unique within the workspace.
14
14
  - `serviceDetails` (`CronJobDetails`, required)
15
15
  - `autoDeploy` (`"no" | "yes"`, optional)
16
+ - `autoDeployTrigger` (`"checksPass" | "commit" | "off"`, optional): Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys.
16
17
  - `branch` (`string`, optional): The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch.
17
18
  - `buildFilter` (`BuildFilter`, optional)
18
19
  - `environmentId` (`string | Environment`, optional): The ID of the environment the service belongs to, if any. Obtain an environment's ID from its Settings page in the Render Dashboard.
@@ -13,6 +13,7 @@ resource_type: Render::Services::PrivateService
13
13
  - `name` (`string`, required): The service's name. Must be unique within the workspace.
14
14
  - `serviceDetails` (`PrivateServiceDetails`, required)
15
15
  - `autoDeploy` (`"no" | "yes"`, optional)
16
+ - `autoDeployTrigger` (`"checksPass" | "commit" | "off"`, optional): Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys.
16
17
  - `branch` (`string`, optional): The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch.
17
18
  - `buildFilter` (`BuildFilter`, optional)
18
19
  - `environmentId` (`string | Environment`, optional): The ID of the environment the service belongs to, if any. Obtain an environment's ID from its Settings page in the Render Dashboard.
@@ -12,6 +12,7 @@ resource_type: Render::Services::StaticSite
12
12
 
13
13
  - `name` (`string`, required): The service's name. Must be unique within the workspace.
14
14
  - `autoDeploy` (`"no" | "yes"`, optional)
15
+ - `autoDeployTrigger` (`"checksPass" | "commit" | "off"`, optional): Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys.
15
16
  - `branch` (`string`, optional): The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch.
16
17
  - `buildFilter` (`BuildFilter`, optional)
17
18
  - `environmentId` (`string | Environment`, optional): The ID of the environment the service belongs to, if any. Obtain an environment's ID from its Settings page in the Render Dashboard.
@@ -13,6 +13,7 @@ resource_type: Render::Services::WebService
13
13
  - `name` (`string`, required): The service's name. Must be unique within the workspace.
14
14
  - `serviceDetails` (`WebServiceDetails`, required)
15
15
  - `autoDeploy` (`"no" | "yes"`, optional)
16
+ - `autoDeployTrigger` (`"checksPass" | "commit" | "off"`, optional): Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys.
16
17
  - `branch` (`string`, optional): The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch.
17
18
  - `buildFilter` (`BuildFilter`, optional)
18
19
  - `environmentId` (`string | Environment`, optional): The ID of the environment the service belongs to, if any. Obtain an environment's ID from its Settings page in the Render Dashboard.
@@ -8,6 +8,13 @@ export declare class BackgroundWorker {
8
8
  name: string;
9
9
  serviceDetails: BackgroundWorkerDetails;
10
10
  autoDeploy?: "no" | "yes";
11
+ /** Controls autodeploy behavior.
12
+
13
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
14
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
15
+ - `off`: Disable autodeploys.
16
+ */
17
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
11
18
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
12
19
  branch?: string;
13
20
  buildFilter?: BuildFilter;
@@ -41,6 +48,13 @@ export declare class CronJob {
41
48
  name: string;
42
49
  serviceDetails: CronJobDetails;
43
50
  autoDeploy?: "no" | "yes";
51
+ /** Controls autodeploy behavior.
52
+
53
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
54
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
55
+ - `off`: Disable autodeploys.
56
+ */
57
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
44
58
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
45
59
  branch?: string;
46
60
  buildFilter?: BuildFilter;
@@ -201,6 +215,13 @@ export declare class PrivateService {
201
215
  name: string;
202
216
  serviceDetails: PrivateServiceDetails;
203
217
  autoDeploy?: "no" | "yes";
218
+ /** Controls autodeploy behavior.
219
+
220
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
221
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
222
+ - `off`: Disable autodeploys.
223
+ */
224
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
204
225
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
205
226
  branch?: string;
206
227
  buildFilter?: BuildFilter;
@@ -261,6 +282,13 @@ export declare class StaticSite {
261
282
  /** The service's name. Must be unique within the workspace. */
262
283
  name: string;
263
284
  autoDeploy?: "no" | "yes";
285
+ /** Controls autodeploy behavior.
286
+
287
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
288
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
289
+ - `off`: Disable autodeploys.
290
+ */
291
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
264
292
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
265
293
  branch?: string;
266
294
  buildFilter?: BuildFilter;
@@ -309,6 +337,13 @@ export declare class WebService {
309
337
  name: string;
310
338
  serviceDetails: WebServiceDetails;
311
339
  autoDeploy?: "no" | "yes";
340
+ /** Controls autodeploy behavior.
341
+
342
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
343
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
344
+ - `off`: Disable autodeploys.
345
+ */
346
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
312
347
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
313
348
  branch?: string;
314
349
  buildFilter?: BuildFilter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-render",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/",
@@ -48,7 +48,7 @@
48
48
  "typescript": "^5.9.3"
49
49
  },
50
50
  "peerDependencies": {
51
- "@intentius/chant": "^0.97.0",
51
+ "@intentius/chant": "^0.98.0",
52
52
  "typescript": "^5.9.3"
53
53
  },
54
54
  "description": "Render (render.com) lexicon for chant — services, datastores, env groups, projects as typed TypeScript, applied straight to the Render API",
@@ -8,6 +8,13 @@ export declare class BackgroundWorker {
8
8
  name: string;
9
9
  serviceDetails: BackgroundWorkerDetails;
10
10
  autoDeploy?: "no" | "yes";
11
+ /** Controls autodeploy behavior.
12
+
13
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
14
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
15
+ - `off`: Disable autodeploys.
16
+ */
17
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
11
18
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
12
19
  branch?: string;
13
20
  buildFilter?: BuildFilter;
@@ -41,6 +48,13 @@ export declare class CronJob {
41
48
  name: string;
42
49
  serviceDetails: CronJobDetails;
43
50
  autoDeploy?: "no" | "yes";
51
+ /** Controls autodeploy behavior.
52
+
53
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
54
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
55
+ - `off`: Disable autodeploys.
56
+ */
57
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
44
58
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
45
59
  branch?: string;
46
60
  buildFilter?: BuildFilter;
@@ -201,6 +215,13 @@ export declare class PrivateService {
201
215
  name: string;
202
216
  serviceDetails: PrivateServiceDetails;
203
217
  autoDeploy?: "no" | "yes";
218
+ /** Controls autodeploy behavior.
219
+
220
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
221
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
222
+ - `off`: Disable autodeploys.
223
+ */
224
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
204
225
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
205
226
  branch?: string;
206
227
  buildFilter?: BuildFilter;
@@ -261,6 +282,13 @@ export declare class StaticSite {
261
282
  /** The service's name. Must be unique within the workspace. */
262
283
  name: string;
263
284
  autoDeploy?: "no" | "yes";
285
+ /** Controls autodeploy behavior.
286
+
287
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
288
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
289
+ - `off`: Disable autodeploys.
290
+ */
291
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
264
292
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
265
293
  branch?: string;
266
294
  buildFilter?: BuildFilter;
@@ -309,6 +337,13 @@ export declare class WebService {
309
337
  name: string;
310
338
  serviceDetails: WebServiceDetails;
311
339
  autoDeploy?: "no" | "yes";
340
+ /** Controls autodeploy behavior.
341
+
342
+ - `commit`: Deploy each time a commit is pushed to the service's linked branch.
343
+ - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass.
344
+ - `off`: Disable autodeploys.
345
+ */
346
+ autoDeployTrigger?: "checksPass" | "commit" | "off";
312
347
  /** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
313
348
  branch?: string;
314
349
  buildFilter?: BuildFilter;
@@ -27,7 +27,16 @@
27
27
  "BackgroundWorker": {
28
28
  "resourceType": "Render::Services::BackgroundWorker",
29
29
  "kind": "resource",
30
- "lexicon": "render"
30
+ "lexicon": "render",
31
+ "constraints": {
32
+ "autoDeployTrigger": {
33
+ "enum": [
34
+ "commit",
35
+ "off",
36
+ "checksPass"
37
+ ]
38
+ }
39
+ }
31
40
  },
32
41
  "BackgroundWorkerDetails": {
33
42
  "resourceType": "Render::Services::BackgroundWorkerDetails",
@@ -53,7 +62,16 @@
53
62
  "CronJob": {
54
63
  "resourceType": "Render::Services::CronJob",
55
64
  "kind": "resource",
56
- "lexicon": "render"
65
+ "lexicon": "render",
66
+ "constraints": {
67
+ "autoDeployTrigger": {
68
+ "enum": [
69
+ "commit",
70
+ "off",
71
+ "checksPass"
72
+ ]
73
+ }
74
+ }
57
75
  },
58
76
  "CronJobDetails": {
59
77
  "resourceType": "Render::Services::CronJobDetails",
@@ -215,7 +233,16 @@
215
233
  "PrivateService": {
216
234
  "resourceType": "Render::Services::PrivateService",
217
235
  "kind": "resource",
218
- "lexicon": "render"
236
+ "lexicon": "render",
237
+ "constraints": {
238
+ "autoDeployTrigger": {
239
+ "enum": [
240
+ "commit",
241
+ "off",
242
+ "checksPass"
243
+ ]
244
+ }
245
+ }
219
246
  },
220
247
  "PrivateServiceDetails": {
221
248
  "resourceType": "Render::Services::PrivateServiceDetails",
@@ -271,7 +298,16 @@
271
298
  "StaticSite": {
272
299
  "resourceType": "Render::Services::StaticSite",
273
300
  "kind": "resource",
274
- "lexicon": "render"
301
+ "lexicon": "render",
302
+ "constraints": {
303
+ "autoDeployTrigger": {
304
+ "enum": [
305
+ "commit",
306
+ "off",
307
+ "checksPass"
308
+ ]
309
+ }
310
+ }
275
311
  },
276
312
  "StaticSiteDetails": {
277
313
  "resourceType": "Render::Services::StaticSiteDetails",
@@ -281,7 +317,16 @@
281
317
  "WebService": {
282
318
  "resourceType": "Render::Services::WebService",
283
319
  "kind": "resource",
284
- "lexicon": "render"
320
+ "lexicon": "render",
321
+ "constraints": {
322
+ "autoDeployTrigger": {
323
+ "enum": [
324
+ "commit",
325
+ "off",
326
+ "checksPass"
327
+ ]
328
+ }
329
+ }
285
330
  },
286
331
  "WebServiceDetails": {
287
332
  "resourceType": "Render::Services::WebServiceDetails",