@fabrika/provider-zerops 0.9.0-cloudflare.1 → 0.9.0-cloudflare.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/provider-zerops",
3
- "version": "0.9.0-cloudflare.1",
3
+ "version": "0.9.0-cloudflare.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,15 +44,15 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "zod": "^3.25.76",
47
- "@fabrika/app": "0.9.0-cloudflare.1",
48
- "@fabrika/auth": "0.9.0-cloudflare.1",
49
- "@fabrika/auth-core": "0.9.0-cloudflare.1",
50
- "@fabrika/email": "0.9.0-cloudflare.1",
51
- "@fabrika/iam-contract": "0.9.0-cloudflare.1",
52
- "@fabrika/installation-init": "0.9.0-cloudflare.1",
53
- "@fabrika/operations-contract": "0.9.0-cloudflare.1",
54
- "@fabrika/provider-contract": "0.9.0-cloudflare.1",
55
- "@fabrika/proxy-core": "0.9.0-cloudflare.1",
47
+ "@fabrika/app": "0.9.0-cloudflare.3",
48
+ "@fabrika/auth": "0.9.0-cloudflare.3",
49
+ "@fabrika/auth-core": "0.9.0-cloudflare.3",
50
+ "@fabrika/email": "0.9.0-cloudflare.3",
51
+ "@fabrika/iam-contract": "0.9.0-cloudflare.3",
52
+ "@fabrika/installation-init": "0.9.0-cloudflare.3",
53
+ "@fabrika/operations-contract": "0.9.0-cloudflare.3",
54
+ "@fabrika/provider-contract": "0.9.0-cloudflare.3",
55
+ "@fabrika/proxy-core": "0.9.0-cloudflare.3",
56
56
  "yaml": "^2.9.1"
57
57
  }
58
58
  }
package/src/compile.ts CHANGED
@@ -23,7 +23,7 @@ import type { ZeropsImportProject, ZeropsImportService } from './schema.generate
23
23
  import type { ZeropsProjectSpec, ZeropsResourceContext, ZeropsServiceSpec, ZeropsSourceTarget } from './types'
24
24
 
25
25
  /** The ONLY value fabrika ever writes for `envIsolation`, at either level. Not a default — an assertion. */
26
- export const ENV_ISOLATION: 'service' = 'service'
26
+ export const ENV_ISOLATION = 'service'
27
27
 
28
28
  /**
29
29
  * The ONLY value fabrika ever writes for `override`, on EVERY service class including managed ones.
@@ -2,7 +2,7 @@ import type { JsonValue } from '@fabrika/provider-contract';
2
2
  import type { ZeropsImportProject, ZeropsImportService } from './schema.generated';
3
3
  import type { ZeropsResourceContext, ZeropsSourceTarget } from './types';
4
4
  /** The ONLY value fabrika ever writes for `envIsolation`, at either level. Not a default — an assertion. */
5
- export declare const ENV_ISOLATION: 'service';
5
+ export declare const ENV_ISOLATION = "service";
6
6
  /**
7
7
  * The ONLY value fabrika ever writes for `override`, on EVERY service class including managed ones.
8
8
  * Live-verified: without it a re-apply is `400 serviceStackNameUnavailable` — see `compileService`.
@@ -300,10 +300,10 @@ export declare const setupSchema: z.ZodObject<{
300
300
  workingDir?: string | undefined;
301
301
  }>, "many">>;
302
302
  }, "strict", z.ZodTypeAny, {
303
+ start?: string | undefined;
303
304
  os?: "alpine" | "ubuntu" | undefined;
304
305
  envVariables?: Record<string, string | number | boolean> | undefined;
305
306
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
306
- start?: string | undefined;
307
307
  prepareCommands?: string[] | undefined;
308
308
  initCommands?: string[] | undefined;
309
309
  ports?: {
@@ -360,10 +360,10 @@ export declare const setupSchema: z.ZodObject<{
360
360
  workingDir?: string | undefined;
361
361
  }[] | undefined;
362
362
  }, {
363
+ start?: string | undefined;
363
364
  os?: "alpine" | "ubuntu" | undefined;
364
365
  envVariables?: Record<string, string | number | boolean> | undefined;
365
366
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
366
- start?: string | undefined;
367
367
  prepareCommands?: string[] | undefined;
368
368
  initCommands?: string[] | undefined;
369
369
  ports?: {
@@ -423,10 +423,10 @@ export declare const setupSchema: z.ZodObject<{
423
423
  }, "strict", z.ZodTypeAny, {
424
424
  setup: string;
425
425
  run?: {
426
+ start?: string | undefined;
426
427
  os?: "alpine" | "ubuntu" | undefined;
427
428
  envVariables?: Record<string, string | number | boolean> | undefined;
428
429
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
429
- start?: string | undefined;
430
430
  prepareCommands?: string[] | undefined;
431
431
  initCommands?: string[] | undefined;
432
432
  ports?: {
@@ -514,10 +514,10 @@ export declare const setupSchema: z.ZodObject<{
514
514
  }, {
515
515
  setup: string;
516
516
  run?: {
517
+ start?: string | undefined;
517
518
  os?: "alpine" | "ubuntu" | undefined;
518
519
  envVariables?: Record<string, string | number | boolean> | undefined;
519
520
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
520
- start?: string | undefined;
521
521
  prepareCommands?: string[] | undefined;
522
522
  initCommands?: string[] | undefined;
523
523
  ports?: {
@@ -905,10 +905,10 @@ export declare const zeropsYamlSchema: z.ZodObject<{
905
905
  workingDir?: string | undefined;
906
906
  }>, "many">>;
907
907
  }, "strict", z.ZodTypeAny, {
908
+ start?: string | undefined;
908
909
  os?: "alpine" | "ubuntu" | undefined;
909
910
  envVariables?: Record<string, string | number | boolean> | undefined;
910
911
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
911
- start?: string | undefined;
912
912
  prepareCommands?: string[] | undefined;
913
913
  initCommands?: string[] | undefined;
914
914
  ports?: {
@@ -965,10 +965,10 @@ export declare const zeropsYamlSchema: z.ZodObject<{
965
965
  workingDir?: string | undefined;
966
966
  }[] | undefined;
967
967
  }, {
968
+ start?: string | undefined;
968
969
  os?: "alpine" | "ubuntu" | undefined;
969
970
  envVariables?: Record<string, string | number | boolean> | undefined;
970
971
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
971
- start?: string | undefined;
972
972
  prepareCommands?: string[] | undefined;
973
973
  initCommands?: string[] | undefined;
974
974
  ports?: {
@@ -1028,10 +1028,10 @@ export declare const zeropsYamlSchema: z.ZodObject<{
1028
1028
  }, "strict", z.ZodTypeAny, {
1029
1029
  setup: string;
1030
1030
  run?: {
1031
+ start?: string | undefined;
1031
1032
  os?: "alpine" | "ubuntu" | undefined;
1032
1033
  envVariables?: Record<string, string | number | boolean> | undefined;
1033
1034
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1034
- start?: string | undefined;
1035
1035
  prepareCommands?: string[] | undefined;
1036
1036
  initCommands?: string[] | undefined;
1037
1037
  ports?: {
@@ -1119,10 +1119,10 @@ export declare const zeropsYamlSchema: z.ZodObject<{
1119
1119
  }, {
1120
1120
  setup: string;
1121
1121
  run?: {
1122
+ start?: string | undefined;
1122
1123
  os?: "alpine" | "ubuntu" | undefined;
1123
1124
  envVariables?: Record<string, string | number | boolean> | undefined;
1124
1125
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1125
- start?: string | undefined;
1126
1126
  prepareCommands?: string[] | undefined;
1127
1127
  initCommands?: string[] | undefined;
1128
1128
  ports?: {
@@ -1212,10 +1212,10 @@ export declare const zeropsYamlSchema: z.ZodObject<{
1212
1212
  zerops: {
1213
1213
  setup: string;
1214
1214
  run?: {
1215
+ start?: string | undefined;
1215
1216
  os?: "alpine" | "ubuntu" | undefined;
1216
1217
  envVariables?: Record<string, string | number | boolean> | undefined;
1217
1218
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1218
- start?: string | undefined;
1219
1219
  prepareCommands?: string[] | undefined;
1220
1220
  initCommands?: string[] | undefined;
1221
1221
  ports?: {
@@ -1305,10 +1305,10 @@ export declare const zeropsYamlSchema: z.ZodObject<{
1305
1305
  zerops: {
1306
1306
  setup: string;
1307
1307
  run?: {
1308
+ start?: string | undefined;
1308
1309
  os?: "alpine" | "ubuntu" | undefined;
1309
1310
  envVariables?: Record<string, string | number | boolean> | undefined;
1310
1311
  base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1311
- start?: string | undefined;
1312
1312
  prepareCommands?: string[] | undefined;
1313
1313
  initCommands?: string[] | undefined;
1314
1314
  ports?: {
@@ -1521,7 +1521,7 @@ export declare const importSchema: z.ZodObject<{
1521
1521
  os?: string | undefined;
1522
1522
  nginxConfig?: string | undefined;
1523
1523
  objectStorageSize?: number | undefined;
1524
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1524
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1525
1525
  objectStorageRawPolicy?: string | undefined;
1526
1526
  buildFromGit?: string | undefined;
1527
1527
  startWithoutCode?: boolean | undefined;
@@ -1564,7 +1564,7 @@ export declare const importSchema: z.ZodObject<{
1564
1564
  os?: string | undefined;
1565
1565
  nginxConfig?: string | undefined;
1566
1566
  objectStorageSize?: number | undefined;
1567
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1567
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1568
1568
  objectStorageRawPolicy?: string | undefined;
1569
1569
  buildFromGit?: string | undefined;
1570
1570
  startWithoutCode?: boolean | undefined;
@@ -1690,7 +1690,7 @@ export declare const importSchema: z.ZodObject<{
1690
1690
  os?: string | undefined;
1691
1691
  nginxConfig?: string | undefined;
1692
1692
  objectStorageSize?: number | undefined;
1693
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1693
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1694
1694
  objectStorageRawPolicy?: string | undefined;
1695
1695
  buildFromGit?: string | undefined;
1696
1696
  startWithoutCode?: boolean | undefined;
@@ -1733,7 +1733,7 @@ export declare const importSchema: z.ZodObject<{
1733
1733
  os?: string | undefined;
1734
1734
  nginxConfig?: string | undefined;
1735
1735
  objectStorageSize?: number | undefined;
1736
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1736
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1737
1737
  objectStorageRawPolicy?: string | undefined;
1738
1738
  buildFromGit?: string | undefined;
1739
1739
  startWithoutCode?: boolean | undefined;
@@ -1776,7 +1776,7 @@ export declare const importSchema: z.ZodObject<{
1776
1776
  os?: string | undefined;
1777
1777
  nginxConfig?: string | undefined;
1778
1778
  objectStorageSize?: number | undefined;
1779
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1779
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1780
1780
  objectStorageRawPolicy?: string | undefined;
1781
1781
  buildFromGit?: string | undefined;
1782
1782
  startWithoutCode?: boolean | undefined;
@@ -1819,7 +1819,7 @@ export declare const importSchema: z.ZodObject<{
1819
1819
  os?: string | undefined;
1820
1820
  nginxConfig?: string | undefined;
1821
1821
  objectStorageSize?: number | undefined;
1822
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1822
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1823
1823
  objectStorageRawPolicy?: string | undefined;
1824
1824
  buildFromGit?: string | undefined;
1825
1825
  startWithoutCode?: boolean | undefined;
@@ -1924,7 +1924,7 @@ export declare const importSchema: z.ZodObject<{
1924
1924
  os?: string | undefined;
1925
1925
  nginxConfig?: string | undefined;
1926
1926
  objectStorageSize?: number | undefined;
1927
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1927
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1928
1928
  objectStorageRawPolicy?: string | undefined;
1929
1929
  buildFromGit?: string | undefined;
1930
1930
  startWithoutCode?: boolean | undefined;
@@ -1956,7 +1956,7 @@ export declare const importSchema: z.ZodObject<{
1956
1956
  os?: string | undefined;
1957
1957
  nginxConfig?: string | undefined;
1958
1958
  objectStorageSize?: number | undefined;
1959
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1959
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1960
1960
  objectStorageRawPolicy?: string | undefined;
1961
1961
  buildFromGit?: string | undefined;
1962
1962
  startWithoutCode?: boolean | undefined;
@@ -2001,7 +2001,7 @@ export declare const importSchema: z.ZodObject<{
2001
2001
  os?: string | undefined;
2002
2002
  nginxConfig?: string | undefined;
2003
2003
  objectStorageSize?: number | undefined;
2004
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2004
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2005
2005
  objectStorageRawPolicy?: string | undefined;
2006
2006
  buildFromGit?: string | undefined;
2007
2007
  startWithoutCode?: boolean | undefined;
@@ -2044,7 +2044,7 @@ export declare const importSchema: z.ZodObject<{
2044
2044
  os?: string | undefined;
2045
2045
  nginxConfig?: string | undefined;
2046
2046
  objectStorageSize?: number | undefined;
2047
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2047
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2048
2048
  objectStorageRawPolicy?: string | undefined;
2049
2049
  buildFromGit?: string | undefined;
2050
2050
  startWithoutCode?: boolean | undefined;
@@ -2087,7 +2087,7 @@ export declare const importSchema: z.ZodObject<{
2087
2087
  os?: string | undefined;
2088
2088
  nginxConfig?: string | undefined;
2089
2089
  objectStorageSize?: number | undefined;
2090
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2090
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2091
2091
  objectStorageRawPolicy?: string | undefined;
2092
2092
  buildFromGit?: string | undefined;
2093
2093
  startWithoutCode?: boolean | undefined;
@@ -2132,7 +2132,7 @@ export declare const importSchema: z.ZodObject<{
2132
2132
  os?: string | undefined;
2133
2133
  nginxConfig?: string | undefined;
2134
2134
  objectStorageSize?: number | undefined;
2135
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2135
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2136
2136
  objectStorageRawPolicy?: string | undefined;
2137
2137
  buildFromGit?: string | undefined;
2138
2138
  startWithoutCode?: boolean | undefined;
@@ -2175,7 +2175,7 @@ export declare const importSchema: z.ZodObject<{
2175
2175
  os?: string | undefined;
2176
2176
  nginxConfig?: string | undefined;
2177
2177
  objectStorageSize?: number | undefined;
2178
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2178
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2179
2179
  objectStorageRawPolicy?: string | undefined;
2180
2180
  buildFromGit?: string | undefined;
2181
2181
  startWithoutCode?: boolean | undefined;
@@ -2218,7 +2218,7 @@ export declare const importSchema: z.ZodObject<{
2218
2218
  os?: string | undefined;
2219
2219
  nginxConfig?: string | undefined;
2220
2220
  objectStorageSize?: number | undefined;
2221
- objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2221
+ objectStoragePolicy?: "private" | "custom" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2222
2222
  objectStorageRawPolicy?: string | undefined;
2223
2223
  buildFromGit?: string | undefined;
2224
2224
  startWithoutCode?: boolean | undefined;
@@ -236,7 +236,7 @@ export declare const namespaceUpdatePayloadSchema: z.ZodObject<{
236
236
  } | undefined;
237
237
  projectId?: string | undefined;
238
238
  projectName?: string | undefined;
239
- proxySource?: {
239
+ proxySource?: "current" | {
240
240
  commitSha: string;
241
241
  repository: {
242
242
  name: string;
@@ -247,7 +247,7 @@ export declare const namespaceUpdatePayloadSchema: z.ZodObject<{
247
247
  path: "zerops.yaml";
248
248
  contents: string;
249
249
  };
250
- } | "current" | undefined;
250
+ } | undefined;
251
251
  proxyBuild?: {
252
252
  appVersionId: string;
253
253
  triggered: boolean;
@@ -286,7 +286,7 @@ export declare const namespaceUpdatePayloadSchema: z.ZodObject<{
286
286
  } | undefined;
287
287
  projectId?: string | undefined;
288
288
  projectName?: string | undefined;
289
- proxySource?: {
289
+ proxySource?: "current" | {
290
290
  commitSha: string;
291
291
  repository: {
292
292
  name: string;
@@ -297,7 +297,7 @@ export declare const namespaceUpdatePayloadSchema: z.ZodObject<{
297
297
  path: "zerops.yaml";
298
298
  contents: string;
299
299
  };
300
- } | "current" | undefined;
300
+ } | undefined;
301
301
  proxyBuild?: {
302
302
  appVersionId: string;
303
303
  triggered: boolean;