@intentius/chant-lexicon-fly 0.60.0 → 0.62.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/integrity.json +4 -4
- package/dist/manifest.json +1 -1
- package/dist/meta.json +1 -2
- package/dist/okf/types/App.md +1 -0
- package/dist/types/index.d.ts +15 -7
- package/package.json +2 -2
- package/src/generated/index.d.ts +15 -7
- package/src/generated/lexicon-fly.json +1 -2
package/dist/integrity.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
5
|
-
"meta.json": "
|
|
6
|
-
"types/index.d.ts": "
|
|
4
|
+
"manifest.json": "3d3e53150a38aba665dfb9ac8e1a04eab178a58633c22e30cfb5b5efa1aebe77",
|
|
5
|
+
"meta.json": "273f2a523b66f08ca91642dba2592c44765ab59ddf7329998884a0b08c6c3f24",
|
|
6
|
+
"types/index.d.ts": "170137cd781d0075ff35284d91ec6e21892dab95bd90b2f6fe53e055d105a1f1",
|
|
7
7
|
"rules/guest-sizing.ts": "bc749d218df8f3cc3d8fbe388205ae96e6b204ae0d6d77e8bf82cb936cc53ff6",
|
|
8
8
|
"rules/no-secret-literals.ts": "4846d55118c9a66ad524b815ac28c3f548bfe114d5899e79c394f271c8b2c478",
|
|
9
9
|
"rules/valid-region.ts": "674550b3b112aa1e526572b319601dce0c1a84f537c05b1e07828f8b84511c75",
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"skills/chant-fly-ops.md": "b8eef6504e203133e6a35c83aabb08404eec95060705395515a0046d42269cf1",
|
|
16
16
|
"skills/chant-fly-sprites.md": "3ebbbd9a2751b91fc573c21bafa9a8e490c53e1bdcee16cc61f4051c9e12e526"
|
|
17
17
|
},
|
|
18
|
-
"composite": "
|
|
18
|
+
"composite": "123380f99850fcca7a154de866c5072b415ef41bc01be2e12cf24955d5396d37"
|
|
19
19
|
}
|
package/dist/manifest.json
CHANGED
package/dist/meta.json
CHANGED
package/dist/okf/types/App.md
CHANGED
|
@@ -11,6 +11,7 @@ resource_type: Fly::Machines::App
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `enable_subdomains` (`boolean`, optional)
|
|
14
|
+
- `idempotency_key` (`string`, optional): When set, makes a retry of this exact request safe: a second create with the same key and the same name (or no name) returns the app the first request created, instead of erroring on a false name conflict or creating a duplicate. A second create with the same key but a *different* name is rejected outright; it won't silently hand back the first app.
|
|
14
15
|
- `name` (`string`, optional)
|
|
15
16
|
- `network` (`string`, optional)
|
|
16
17
|
- `org_slug` (`string`, optional)
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
export declare class App {
|
|
6
6
|
constructor(props: {
|
|
7
7
|
enable_subdomains?: boolean;
|
|
8
|
+
/** When set, makes a retry of this exact request safe: a
|
|
9
|
+
second create with the same key and the same name (or no name) returns
|
|
10
|
+
the app the first request created, instead of erroring on a false name
|
|
11
|
+
conflict or creating a duplicate. A second create with the same key
|
|
12
|
+
but a *different* name is rejected outright; it won't silently
|
|
13
|
+
hand back the first app. */
|
|
14
|
+
idempotency_key?: string;
|
|
8
15
|
name?: string;
|
|
9
16
|
network?: string;
|
|
10
17
|
org_slug?: string;
|
|
@@ -149,8 +156,7 @@ ExecOverride is used to override the default command of the image. */
|
|
|
149
156
|
image?: string;
|
|
150
157
|
/** Name is used to identify the container in the machine. */
|
|
151
158
|
name?: string;
|
|
152
|
-
/** Restart is used to define the restart policy for the container.
|
|
153
|
-
supported for containers. */
|
|
159
|
+
/** Restart is used to define the restart policy for the container. */
|
|
154
160
|
restart?: MachineRestart;
|
|
155
161
|
/** Secrets can be provided at the process level to explicitly indicate which secrets should be
|
|
156
162
|
used for the process. If not provided, the secrets provided at the machine level will be used. */
|
|
@@ -408,8 +414,13 @@ export declare class MachineMetrics {
|
|
|
408
414
|
export declare class MachineMount {
|
|
409
415
|
constructor(props: {
|
|
410
416
|
add_size_gb?: number;
|
|
417
|
+
/** AddSizePercent grows by a percentage of the current size, rounded up to GiB.
|
|
418
|
+
It is mutually exclusive with AddSizeGb. */
|
|
419
|
+
add_size_percent?: number;
|
|
411
420
|
encrypted?: boolean;
|
|
412
421
|
extend_threshold_percent?: number;
|
|
422
|
+
/** MinAddSizeGb is the minimum proportional growth in GiB (default 1). */
|
|
423
|
+
min_add_size_gb?: number;
|
|
413
424
|
name?: string;
|
|
414
425
|
path?: string;
|
|
415
426
|
size_gb?: number;
|
|
@@ -452,15 +463,12 @@ used for the process. If not provided, the secrets provided at the machine level
|
|
|
452
463
|
|
|
453
464
|
export declare class MachineRestart {
|
|
454
465
|
constructor(props: {
|
|
455
|
-
/** GPU bid price for spot Machines. */
|
|
456
|
-
gpu_bid_price?: number;
|
|
457
466
|
/** When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop. */
|
|
458
467
|
max_retries?: number;
|
|
459
468
|
/** * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.
|
|
460
469
|
* always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.
|
|
461
|
-
* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
|
|
462
|
-
|
|
463
|
-
policy?: "always" | "no" | "on-failure" | "spot-price";
|
|
470
|
+
* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules. */
|
|
471
|
+
policy?: "always" | "no" | "on-failure";
|
|
464
472
|
});
|
|
465
473
|
}
|
|
466
474
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-fly",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"src/",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"typescript": "^5.9.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@intentius/chant": "^0.
|
|
65
|
+
"@intentius/chant": "^0.62.0",
|
|
66
66
|
"typescript": "^5.9.3"
|
|
67
67
|
},
|
|
68
68
|
"description": "Fly.io Machines lexicon for chant — declarative IaC in TypeScript",
|
package/src/generated/index.d.ts
CHANGED
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
export declare class App {
|
|
6
6
|
constructor(props: {
|
|
7
7
|
enable_subdomains?: boolean;
|
|
8
|
+
/** When set, makes a retry of this exact request safe: a
|
|
9
|
+
second create with the same key and the same name (or no name) returns
|
|
10
|
+
the app the first request created, instead of erroring on a false name
|
|
11
|
+
conflict or creating a duplicate. A second create with the same key
|
|
12
|
+
but a *different* name is rejected outright; it won't silently
|
|
13
|
+
hand back the first app. */
|
|
14
|
+
idempotency_key?: string;
|
|
8
15
|
name?: string;
|
|
9
16
|
network?: string;
|
|
10
17
|
org_slug?: string;
|
|
@@ -149,8 +156,7 @@ ExecOverride is used to override the default command of the image. */
|
|
|
149
156
|
image?: string;
|
|
150
157
|
/** Name is used to identify the container in the machine. */
|
|
151
158
|
name?: string;
|
|
152
|
-
/** Restart is used to define the restart policy for the container.
|
|
153
|
-
supported for containers. */
|
|
159
|
+
/** Restart is used to define the restart policy for the container. */
|
|
154
160
|
restart?: MachineRestart;
|
|
155
161
|
/** Secrets can be provided at the process level to explicitly indicate which secrets should be
|
|
156
162
|
used for the process. If not provided, the secrets provided at the machine level will be used. */
|
|
@@ -408,8 +414,13 @@ export declare class MachineMetrics {
|
|
|
408
414
|
export declare class MachineMount {
|
|
409
415
|
constructor(props: {
|
|
410
416
|
add_size_gb?: number;
|
|
417
|
+
/** AddSizePercent grows by a percentage of the current size, rounded up to GiB.
|
|
418
|
+
It is mutually exclusive with AddSizeGb. */
|
|
419
|
+
add_size_percent?: number;
|
|
411
420
|
encrypted?: boolean;
|
|
412
421
|
extend_threshold_percent?: number;
|
|
422
|
+
/** MinAddSizeGb is the minimum proportional growth in GiB (default 1). */
|
|
423
|
+
min_add_size_gb?: number;
|
|
413
424
|
name?: string;
|
|
414
425
|
path?: string;
|
|
415
426
|
size_gb?: number;
|
|
@@ -452,15 +463,12 @@ used for the process. If not provided, the secrets provided at the machine level
|
|
|
452
463
|
|
|
453
464
|
export declare class MachineRestart {
|
|
454
465
|
constructor(props: {
|
|
455
|
-
/** GPU bid price for spot Machines. */
|
|
456
|
-
gpu_bid_price?: number;
|
|
457
466
|
/** When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop. */
|
|
458
467
|
max_retries?: number;
|
|
459
468
|
/** * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.
|
|
460
469
|
* always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.
|
|
461
|
-
* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
|
|
462
|
-
|
|
463
|
-
policy?: "always" | "no" | "on-failure" | "spot-price";
|
|
470
|
+
* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules. */
|
|
471
|
+
policy?: "always" | "no" | "on-failure";
|
|
464
472
|
});
|
|
465
473
|
}
|
|
466
474
|
|