@fragno-dev/cloudflare-fragment 0.0.1
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/LICENSE.md +16 -0
- package/README.md +92 -0
- package/dist/browser/client/react.d.ts +290 -0
- package/dist/browser/client/react.d.ts.map +1 -0
- package/dist/browser/client/react.js +166 -0
- package/dist/browser/client/react.js.map +1 -0
- package/dist/browser/client/solid.d.ts +292 -0
- package/dist/browser/client/solid.d.ts.map +1 -0
- package/dist/browser/client/solid.js +136 -0
- package/dist/browser/client/solid.js.map +1 -0
- package/dist/browser/client/svelte.d.ts +287 -0
- package/dist/browser/client/svelte.d.ts.map +1 -0
- package/dist/browser/client/svelte.js +134 -0
- package/dist/browser/client/svelte.js.map +1 -0
- package/dist/browser/client/vanilla.d.ts +316 -0
- package/dist/browser/client/vanilla.d.ts.map +1 -0
- package/dist/browser/client/vanilla.js +160 -0
- package/dist/browser/client/vanilla.js.map +1 -0
- package/dist/browser/client/vue.d.ts +290 -0
- package/dist/browser/client/vue.d.ts.map +1 -0
- package/dist/browser/client/vue.js +133 -0
- package/dist/browser/client/vue.js.map +1 -0
- package/dist/browser/client-Bk-J98pf.d.ts +679 -0
- package/dist/browser/client-Bk-J98pf.d.ts.map +1 -0
- package/dist/browser/index.d.ts +2027 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +27 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/schema-Bt-h9kGf.js +2348 -0
- package/dist/browser/schema-Bt-h9kGf.js.map +1 -0
- package/dist/node/cloudflare-api.d.ts +106 -0
- package/dist/node/cloudflare-api.d.ts.map +1 -0
- package/dist/node/cloudflare-api.js +146 -0
- package/dist/node/cloudflare-api.js.map +1 -0
- package/dist/node/contracts.d.ts +288 -0
- package/dist/node/contracts.d.ts.map +1 -0
- package/dist/node/contracts.js +66 -0
- package/dist/node/contracts.js.map +1 -0
- package/dist/node/definition.d.ts +339 -0
- package/dist/node/definition.d.ts.map +1 -0
- package/dist/node/definition.js +417 -0
- package/dist/node/definition.js.map +1 -0
- package/dist/node/deployment-tag.d.ts +13 -0
- package/dist/node/deployment-tag.d.ts.map +1 -0
- package/dist/node/deployment-tag.js +73 -0
- package/dist/node/deployment-tag.js.map +1 -0
- package/dist/node/index.d.ts +786 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +35 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/routes.d.ts +520 -0
- package/dist/node/routes.d.ts.map +1 -0
- package/dist/node/routes.js +100 -0
- package/dist/node/routes.js.map +1 -0
- package/dist/node/schema.d.ts +11 -0
- package/dist/node/schema.d.ts.map +1 -0
- package/dist/node/schema.js +24 -0
- package/dist/node/schema.js.map +1 -0
- package/dist/node/script-name.d.ts +13 -0
- package/dist/node/script-name.d.ts.map +1 -0
- package/dist/node/script-name.js +35 -0
- package/dist/node/script-name.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iBAUgB,wBAAA,CACd,MAAA,EAAQ,wBAAA,EACR,OAAA,EAAS,8BAAA,qBAA8B,0BAAA,6BAAA,iBAAA,iBAAA,sBAAA,CAAA,gBAAA,oCAAA,SAAA;;QAAA,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gFAAA,kBAAA;;yBAAA,GAAA,CAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASzB,+BAAA,CAAgC,YAAA,GAAc,wBAAA;;;UAA6B,GAAA,CAAA,SAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DEFAULT_DEPLOYMENT_TAG_PREFIX, buildCloudflareAppTag, buildCloudflareDeploymentTag, findCloudflareAppTag, findCloudflareDeploymentTag, getCloudflareAppIdFromTag, getCloudflareDeploymentIdFromTag, normalizeCloudflareDeploymentTagPrefix, sanitizeCloudflareTag } from "./deployment-tag.js";
|
|
2
|
+
import { buildCloudflareScriptTags, createCloudflareApiClient, deployCloudflareWorker, getCloudflareApiError, getCloudflareCurrentDeployment, getCloudflareScriptState, listCloudflareScriptTags, reconcileCloudflareWorkerDeployment, resolveCloudflareDispatchNamespaceName } from "./cloudflare-api.js";
|
|
3
|
+
import { DEFAULT_DEPLOYMENT_ENTRYPOINT, SUPPORTED_DEPLOYMENT_FORMAT, cloudflareAppListSchema, cloudflareAppStateSchema, cloudflareAppSummarySchema, cloudflareDeployRequestSchema, cloudflareDeployScriptSchema, cloudflareDeploymentDetailSchema, cloudflareDeploymentListSchema, cloudflareDeploymentStatusSchema, cloudflareDeploymentSummarySchema } from "./contracts.js";
|
|
4
|
+
import { cloudflareSchema } from "./schema.js";
|
|
5
|
+
import { DEFAULT_MAX_SCRIPT_NAME_LENGTH, DEFAULT_SCRIPT_NAME_SEPARATOR, resolveCloudflareScriptName } from "./script-name.js";
|
|
6
|
+
import { cloudflareFragmentDefinition } from "./definition.js";
|
|
7
|
+
import { cloudflareRoutesFactory } from "./routes.js";
|
|
8
|
+
import { createClientBuilder } from "@fragno-dev/core/client";
|
|
9
|
+
import { instantiate } from "@fragno-dev/core";
|
|
10
|
+
|
|
11
|
+
//#region src/index.ts
|
|
12
|
+
const routes = [cloudflareRoutesFactory];
|
|
13
|
+
function createCloudflareFragment(config, options) {
|
|
14
|
+
return instantiate(cloudflareFragmentDefinition).withConfig(config).withRoutes(routes).withOptions(options).build();
|
|
15
|
+
}
|
|
16
|
+
function createCloudflareFragmentClients(fragnoConfig = {}) {
|
|
17
|
+
const builder = createClientBuilder(cloudflareFragmentDefinition, fragnoConfig, routes);
|
|
18
|
+
return {
|
|
19
|
+
useApps: builder.createHook("/apps"),
|
|
20
|
+
useApp: builder.createHook("/apps/:appId"),
|
|
21
|
+
useAppDeployments: builder.createHook("/apps/:appId/deployments"),
|
|
22
|
+
useDeployment: builder.createHook("/deployments/:deploymentId"),
|
|
23
|
+
useQueueDeployment: builder.createMutator("POST", "/apps/:appId/deployments", (invalidate, params) => {
|
|
24
|
+
const appId = params.pathParams.appId;
|
|
25
|
+
if (!appId) return;
|
|
26
|
+
invalidate("GET", "/apps", {});
|
|
27
|
+
invalidate("GET", "/apps/:appId", { pathParams: { appId } });
|
|
28
|
+
invalidate("GET", "/apps/:appId/deployments", { pathParams: { appId } });
|
|
29
|
+
})
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { DEFAULT_DEPLOYMENT_ENTRYPOINT, DEFAULT_DEPLOYMENT_TAG_PREFIX, DEFAULT_MAX_SCRIPT_NAME_LENGTH, DEFAULT_SCRIPT_NAME_SEPARATOR, SUPPORTED_DEPLOYMENT_FORMAT, buildCloudflareAppTag, buildCloudflareDeploymentTag, buildCloudflareScriptTags, cloudflareAppListSchema, cloudflareAppStateSchema, cloudflareAppSummarySchema, cloudflareDeployRequestSchema, cloudflareDeployScriptSchema, cloudflareDeploymentDetailSchema, cloudflareDeploymentListSchema, cloudflareDeploymentStatusSchema, cloudflareDeploymentSummarySchema, cloudflareFragmentDefinition, cloudflareRoutesFactory, cloudflareSchema, createCloudflareApiClient, createCloudflareFragment, createCloudflareFragmentClients, deployCloudflareWorker, findCloudflareAppTag, findCloudflareDeploymentTag, getCloudflareApiError, getCloudflareAppIdFromTag, getCloudflareCurrentDeployment, getCloudflareDeploymentIdFromTag, getCloudflareScriptState, listCloudflareScriptTags, normalizeCloudflareDeploymentTagPrefix, reconcileCloudflareWorkerDeployment, resolveCloudflareDispatchNamespaceName, resolveCloudflareScriptName, sanitizeCloudflareTag };
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":["import { createClientBuilder, type FragnoPublicClientConfig } from \"@fragno-dev/core/client\";\n\nimport { instantiate } from \"@fragno-dev/core\";\nimport type { FragnoPublicConfigWithDatabase } from \"@fragno-dev/db\";\n\nimport { cloudflareFragmentDefinition, type CloudflareFragmentConfig } from \"./definition\";\nimport { cloudflareRoutesFactory } from \"./routes\";\n\nconst routes = [cloudflareRoutesFactory] as const;\n\nexport function createCloudflareFragment(\n config: CloudflareFragmentConfig,\n options: FragnoPublicConfigWithDatabase,\n) {\n return instantiate(cloudflareFragmentDefinition)\n .withConfig(config)\n .withRoutes(routes)\n .withOptions(options)\n .build();\n}\n\nexport function createCloudflareFragmentClients(fragnoConfig: FragnoPublicClientConfig = {}) {\n const builder = createClientBuilder(cloudflareFragmentDefinition, fragnoConfig, routes);\n\n return {\n useApps: builder.createHook(\"/apps\"),\n useApp: builder.createHook(\"/apps/:appId\"),\n useAppDeployments: builder.createHook(\"/apps/:appId/deployments\"),\n useDeployment: builder.createHook(\"/deployments/:deploymentId\"),\n useQueueDeployment: builder.createMutator(\n \"POST\",\n \"/apps/:appId/deployments\",\n (invalidate, params) => {\n const appId = params.pathParams.appId;\n if (!appId) {\n return;\n }\n\n invalidate(\"GET\", \"/apps\", {});\n invalidate(\"GET\", \"/apps/:appId\", { pathParams: { appId } });\n invalidate(\"GET\", \"/apps/:appId/deployments\", { pathParams: { appId } });\n },\n ),\n };\n}\n\nexport { cloudflareFragmentDefinition } from \"./definition\";\nexport { cloudflareRoutesFactory } from \"./routes\";\nexport { cloudflareSchema } from \"./schema\";\nexport {\n DEFAULT_DEPLOYMENT_ENTRYPOINT,\n SUPPORTED_DEPLOYMENT_FORMAT,\n cloudflareAppListSchema,\n cloudflareAppStateSchema,\n cloudflareAppSummarySchema,\n cloudflareDeployRequestSchema,\n cloudflareDeployScriptSchema,\n cloudflareDeploymentDetailSchema,\n cloudflareDeploymentListSchema,\n cloudflareDeploymentStatusSchema,\n cloudflareDeploymentSummarySchema,\n} from \"./contracts\";\nexport {\n DEFAULT_SCRIPT_NAME_SEPARATOR,\n DEFAULT_MAX_SCRIPT_NAME_LENGTH,\n resolveCloudflareScriptName,\n} from \"./script-name\";\nexport {\n createCloudflareApiClient,\n buildCloudflareScriptTags,\n deployCloudflareWorker,\n getCloudflareCurrentDeployment,\n getCloudflareScriptState,\n getCloudflareApiError,\n listCloudflareScriptTags,\n reconcileCloudflareWorkerDeployment,\n resolveCloudflareDispatchNamespaceName,\n} from \"./cloudflare-api\";\nexport {\n DEFAULT_DEPLOYMENT_TAG_PREFIX,\n buildCloudflareAppTag,\n buildCloudflareDeploymentTag,\n findCloudflareAppTag,\n findCloudflareDeploymentTag,\n getCloudflareAppIdFromTag,\n getCloudflareDeploymentIdFromTag,\n normalizeCloudflareDeploymentTagPrefix,\n sanitizeCloudflareTag,\n} from \"./deployment-tag\";\nexport type { CloudflareFragmentConfig, DeployWorkerHookInput } from \"./definition\";\nexport type {\n CloudflareApiClient,\n CloudflareCurrentDeployment,\n CloudflareDispatchNamespaceBinding,\n CloudflareDispatchNamespaceDescriptor,\n CloudflareDispatcherConfig,\n CloudflareDeploymentReconciliationResult,\n CloudflareScriptState,\n CloudflareScriptUpdateParams,\n CloudflareScriptUpdateResponse,\n DeployCloudflareWorkerInput,\n ReconcileCloudflareWorkerDeploymentInput,\n} from \"./cloudflare-api\";\nexport type {\n CloudflareAppList,\n CloudflareAppState,\n CloudflareAppSummary,\n CloudflareDeployRequest,\n CloudflareDeploymentDetail,\n CloudflareDeploymentList,\n CloudflareDeploymentStatus,\n CloudflareDeploymentSummary,\n} from \"./contracts\";\nexport type { FragnoRouteConfig } from \"@fragno-dev/core\";\n"],"mappings":";;;;;;;;;;;AAQA,MAAM,SAAS,CAAC,wBAAwB;AAExC,SAAgB,yBACd,QACA,SACA;AACA,QAAO,YAAY,6BAA6B,CAC7C,WAAW,OAAO,CAClB,WAAW,OAAO,CAClB,YAAY,QAAQ,CACpB,OAAO;;AAGZ,SAAgB,gCAAgC,eAAyC,EAAE,EAAE;CAC3F,MAAM,UAAU,oBAAoB,8BAA8B,cAAc,OAAO;AAEvF,QAAO;EACL,SAAS,QAAQ,WAAW,QAAQ;EACpC,QAAQ,QAAQ,WAAW,eAAe;EAC1C,mBAAmB,QAAQ,WAAW,2BAA2B;EACjE,eAAe,QAAQ,WAAW,6BAA6B;EAC/D,oBAAoB,QAAQ,cAC1B,QACA,6BACC,YAAY,WAAW;GACtB,MAAM,QAAQ,OAAO,WAAW;AAChC,OAAI,CAAC,MACH;AAGF,cAAW,OAAO,SAAS,EAAE,CAAC;AAC9B,cAAW,OAAO,gBAAgB,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC;AAC5D,cAAW,OAAO,4BAA4B,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC;IAE3E;EACF"}
|
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
import { CloudflareDeployRequest } from "./contracts.js";
|
|
2
|
+
import { CloudflareFragmentConfig, CloudflareHooksMap } from "./definition.js";
|
|
3
|
+
import * as _fragno_dev_core0 from "@fragno-dev/core";
|
|
4
|
+
import * as _fragno_dev_db0 from "@fragno-dev/db";
|
|
5
|
+
import * as cloudflare from "cloudflare";
|
|
6
|
+
import * as zod from "zod";
|
|
7
|
+
import * as _fragno_dev_db_schema0 from "@fragno-dev/db/schema";
|
|
8
|
+
import * as _standard_schema_spec0 from "@standard-schema/spec";
|
|
9
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
10
|
+
|
|
11
|
+
//#region src/routes.d.ts
|
|
12
|
+
declare const cloudflareRoutesFactory: _fragno_dev_core0.RouteFactory<CloudflareFragmentConfig, {
|
|
13
|
+
cloudflare: cloudflare.Cloudflare;
|
|
14
|
+
dispatchNamespace: string;
|
|
15
|
+
} & _fragno_dev_db0.ImplicitDatabaseDependencies<_fragno_dev_db_schema0.Schema<{
|
|
16
|
+
app: _fragno_dev_db_schema0.Table<Record<"id", _fragno_dev_db_schema0.IdColumn<"varchar(128)", string | _fragno_dev_db_schema0.FragnoId | null, _fragno_dev_db_schema0.FragnoId>> & Record<"scriptName", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"liveDeploymentId", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"liveCloudflareEtag", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"firstDeploymentLeaseId", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"createdAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>> & Record<"updatedAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>>, Record<string, _fragno_dev_db_schema0.AnyRelation>, Record<string, _fragno_dev_db_schema0.Index<_fragno_dev_db_schema0.AnyColumn[], readonly string[]>> & Record<"idx_app_scriptName", _fragno_dev_db_schema0.Index<readonly [_fragno_dev_db_schema0.Column<"string", string, string>] & _fragno_dev_db_schema0.AnyColumn[], readonly ["scriptName"]>>>;
|
|
17
|
+
deployment: _fragno_dev_db_schema0.Table<Record<"id", _fragno_dev_db_schema0.IdColumn<"varchar(128)", string | _fragno_dev_db_schema0.FragnoId | null, _fragno_dev_db_schema0.FragnoId>> & Record<"appId", _fragno_dev_db_schema0.Column<"bigint", string | bigint | _fragno_dev_db_schema0.FragnoId | _fragno_dev_db_schema0.FragnoReference, _fragno_dev_db_schema0.FragnoReference>> & Record<"status", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"format", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"entrypoint", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"scriptName", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"sourceCode", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"sourceByteLength", _fragno_dev_db_schema0.Column<"integer", number, number>> & Record<"compatibilityDate", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"compatibilityFlags", _fragno_dev_db_schema0.Column<"json", unknown, unknown>> & Record<"attemptCount", _fragno_dev_db_schema0.Column<"integer", number | null, number>> & Record<"startedAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date | null>> & Record<"completedAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date | null>> & Record<"errorCode", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"errorMessage", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"cloudflareEtag", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"cloudflareModifiedOn", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"cloudflareResponse", _fragno_dev_db_schema0.Column<"json", unknown, unknown>> & Record<"createdAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>> & Record<"updatedAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>>, Record<string, _fragno_dev_db_schema0.AnyRelation> & Record<"app", _fragno_dev_db_schema0.Relation<"one", _fragno_dev_db_schema0.Table<Record<"id", _fragno_dev_db_schema0.IdColumn<"varchar(128)", string | _fragno_dev_db_schema0.FragnoId | null, _fragno_dev_db_schema0.FragnoId>> & Record<"scriptName", _fragno_dev_db_schema0.Column<"string", string, string>> & Record<"liveDeploymentId", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"liveCloudflareEtag", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"firstDeploymentLeaseId", _fragno_dev_db_schema0.Column<"string", string | null, string | null>> & Record<"createdAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>> & Record<"updatedAt", _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>>, Record<string, _fragno_dev_db_schema0.AnyRelation>, Record<string, _fragno_dev_db_schema0.Index<_fragno_dev_db_schema0.AnyColumn[], readonly string[]>> & Record<"idx_app_scriptName", _fragno_dev_db_schema0.Index<readonly [_fragno_dev_db_schema0.Column<"string", string, string>] & _fragno_dev_db_schema0.AnyColumn[], readonly ["scriptName"]>>>>>, Record<string, _fragno_dev_db_schema0.Index<_fragno_dev_db_schema0.AnyColumn[], readonly string[]>> & Record<"idx_deployment_app_createdAt", _fragno_dev_db_schema0.Index<readonly [_fragno_dev_db_schema0.Column<"bigint", string | bigint | _fragno_dev_db_schema0.FragnoId | _fragno_dev_db_schema0.FragnoReference, _fragno_dev_db_schema0.FragnoReference>, _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>] & _fragno_dev_db_schema0.AnyColumn[], readonly ["appId", "createdAt"]>> & Record<"idx_deployment_status_createdAt", _fragno_dev_db_schema0.Index<readonly [_fragno_dev_db_schema0.Column<"string", string, string>, _fragno_dev_db_schema0.Column<"timestamp", (Date | _fragno_dev_db0.DbNow) | null, Date>] & _fragno_dev_db_schema0.AnyColumn[], readonly ["status", "createdAt"]>>>;
|
|
18
|
+
}>>, _fragno_dev_core0.BoundServices<{
|
|
19
|
+
upsertApp: (appId: string) => _fragno_dev_db0.TxResult<{
|
|
20
|
+
id: string;
|
|
21
|
+
scriptName: string;
|
|
22
|
+
latestDeployment: {
|
|
23
|
+
id: string;
|
|
24
|
+
appId: string;
|
|
25
|
+
scriptName: string;
|
|
26
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
27
|
+
format: "esmodule";
|
|
28
|
+
entrypoint: string;
|
|
29
|
+
sourceByteLength: number;
|
|
30
|
+
compatibilityDate: string;
|
|
31
|
+
compatibilityFlags: string[];
|
|
32
|
+
attemptCount: number;
|
|
33
|
+
queuedAt: string;
|
|
34
|
+
startedAt: string | null;
|
|
35
|
+
completedAt: string | null;
|
|
36
|
+
errorCode: string | null;
|
|
37
|
+
errorMessage: string | null;
|
|
38
|
+
cloudflare: {
|
|
39
|
+
etag: string | null;
|
|
40
|
+
modifiedOn: string | null;
|
|
41
|
+
} | null;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
updatedAt: string;
|
|
44
|
+
} | null;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
}, [{
|
|
48
|
+
id: _fragno_dev_db_schema0.FragnoId;
|
|
49
|
+
scriptName: string;
|
|
50
|
+
liveDeploymentId: string | null;
|
|
51
|
+
liveCloudflareEtag: string | null;
|
|
52
|
+
firstDeploymentLeaseId: string | null;
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
updatedAt: Date;
|
|
55
|
+
} | null]>;
|
|
56
|
+
queueDeployment: (appId: string, request: CloudflareDeployRequest) => _fragno_dev_db0.TxResult<{
|
|
57
|
+
id: string;
|
|
58
|
+
appId: string;
|
|
59
|
+
scriptName: string;
|
|
60
|
+
status: "queued";
|
|
61
|
+
format: "esmodule";
|
|
62
|
+
entrypoint: string;
|
|
63
|
+
sourceByteLength: number;
|
|
64
|
+
compatibilityDate: string;
|
|
65
|
+
compatibilityFlags: string[];
|
|
66
|
+
attemptCount: number;
|
|
67
|
+
queuedAt: string;
|
|
68
|
+
startedAt: null;
|
|
69
|
+
completedAt: null;
|
|
70
|
+
errorCode: null;
|
|
71
|
+
errorMessage: null;
|
|
72
|
+
cloudflare: null;
|
|
73
|
+
createdAt: string;
|
|
74
|
+
updatedAt: string;
|
|
75
|
+
}, [{
|
|
76
|
+
id: _fragno_dev_db_schema0.FragnoId;
|
|
77
|
+
scriptName: string;
|
|
78
|
+
liveDeploymentId: string | null;
|
|
79
|
+
liveCloudflareEtag: string | null;
|
|
80
|
+
firstDeploymentLeaseId: string | null;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
updatedAt: Date;
|
|
83
|
+
} | null]>;
|
|
84
|
+
getDeployment: (deploymentId: string) => _fragno_dev_db0.TxResult<{
|
|
85
|
+
id: string;
|
|
86
|
+
appId: string;
|
|
87
|
+
scriptName: string;
|
|
88
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
89
|
+
format: "esmodule";
|
|
90
|
+
entrypoint: string;
|
|
91
|
+
sourceByteLength: number;
|
|
92
|
+
compatibilityDate: string;
|
|
93
|
+
compatibilityFlags: string[];
|
|
94
|
+
attemptCount: number;
|
|
95
|
+
queuedAt: string;
|
|
96
|
+
startedAt: string | null;
|
|
97
|
+
completedAt: string | null;
|
|
98
|
+
errorCode: string | null;
|
|
99
|
+
errorMessage: string | null;
|
|
100
|
+
cloudflare: {
|
|
101
|
+
etag: string | null;
|
|
102
|
+
modifiedOn: string | null;
|
|
103
|
+
} | null;
|
|
104
|
+
createdAt: string;
|
|
105
|
+
updatedAt: string;
|
|
106
|
+
sourceCode: string;
|
|
107
|
+
} | null, {
|
|
108
|
+
id: string;
|
|
109
|
+
appId: string;
|
|
110
|
+
scriptName: string;
|
|
111
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
112
|
+
format: "esmodule";
|
|
113
|
+
entrypoint: string;
|
|
114
|
+
sourceByteLength: number;
|
|
115
|
+
compatibilityDate: string;
|
|
116
|
+
compatibilityFlags: string[];
|
|
117
|
+
attemptCount: number;
|
|
118
|
+
queuedAt: string;
|
|
119
|
+
startedAt: string | null;
|
|
120
|
+
completedAt: string | null;
|
|
121
|
+
errorCode: string | null;
|
|
122
|
+
errorMessage: string | null;
|
|
123
|
+
cloudflare: {
|
|
124
|
+
etag: string | null;
|
|
125
|
+
modifiedOn: string | null;
|
|
126
|
+
} | null;
|
|
127
|
+
createdAt: string;
|
|
128
|
+
updatedAt: string;
|
|
129
|
+
sourceCode: string;
|
|
130
|
+
} | null>;
|
|
131
|
+
getAppState: (appId: string) => _fragno_dev_db0.TxResult<{
|
|
132
|
+
liveDeploymentId: string | null;
|
|
133
|
+
liveCloudflareEtag: string | null;
|
|
134
|
+
id: string;
|
|
135
|
+
scriptName: string;
|
|
136
|
+
latestDeployment: {
|
|
137
|
+
id: string;
|
|
138
|
+
appId: string;
|
|
139
|
+
scriptName: string;
|
|
140
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
141
|
+
format: "esmodule";
|
|
142
|
+
entrypoint: string;
|
|
143
|
+
sourceByteLength: number;
|
|
144
|
+
compatibilityDate: string;
|
|
145
|
+
compatibilityFlags: string[];
|
|
146
|
+
attemptCount: number;
|
|
147
|
+
queuedAt: string;
|
|
148
|
+
startedAt: string | null;
|
|
149
|
+
completedAt: string | null;
|
|
150
|
+
errorCode: string | null;
|
|
151
|
+
errorMessage: string | null;
|
|
152
|
+
cloudflare: {
|
|
153
|
+
etag: string | null;
|
|
154
|
+
modifiedOn: string | null;
|
|
155
|
+
} | null;
|
|
156
|
+
createdAt: string;
|
|
157
|
+
updatedAt: string;
|
|
158
|
+
} | null;
|
|
159
|
+
createdAt: string;
|
|
160
|
+
updatedAt: string;
|
|
161
|
+
} | null, {
|
|
162
|
+
liveDeploymentId: string | null;
|
|
163
|
+
liveCloudflareEtag: string | null;
|
|
164
|
+
id: string;
|
|
165
|
+
scriptName: string;
|
|
166
|
+
latestDeployment: {
|
|
167
|
+
id: string;
|
|
168
|
+
appId: string;
|
|
169
|
+
scriptName: string;
|
|
170
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
171
|
+
format: "esmodule";
|
|
172
|
+
entrypoint: string;
|
|
173
|
+
sourceByteLength: number;
|
|
174
|
+
compatibilityDate: string;
|
|
175
|
+
compatibilityFlags: string[];
|
|
176
|
+
attemptCount: number;
|
|
177
|
+
queuedAt: string;
|
|
178
|
+
startedAt: string | null;
|
|
179
|
+
completedAt: string | null;
|
|
180
|
+
errorCode: string | null;
|
|
181
|
+
errorMessage: string | null;
|
|
182
|
+
cloudflare: {
|
|
183
|
+
etag: string | null;
|
|
184
|
+
modifiedOn: string | null;
|
|
185
|
+
} | null;
|
|
186
|
+
createdAt: string;
|
|
187
|
+
updatedAt: string;
|
|
188
|
+
} | null;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
updatedAt: string;
|
|
191
|
+
} | null>;
|
|
192
|
+
listApps: () => _fragno_dev_db0.TxResult<{
|
|
193
|
+
id: string;
|
|
194
|
+
scriptName: string;
|
|
195
|
+
latestDeployment: {
|
|
196
|
+
id: string;
|
|
197
|
+
appId: string;
|
|
198
|
+
scriptName: string;
|
|
199
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
200
|
+
format: "esmodule";
|
|
201
|
+
entrypoint: string;
|
|
202
|
+
sourceByteLength: number;
|
|
203
|
+
compatibilityDate: string;
|
|
204
|
+
compatibilityFlags: string[];
|
|
205
|
+
attemptCount: number;
|
|
206
|
+
queuedAt: string;
|
|
207
|
+
startedAt: string | null;
|
|
208
|
+
completedAt: string | null;
|
|
209
|
+
errorCode: string | null;
|
|
210
|
+
errorMessage: string | null;
|
|
211
|
+
cloudflare: {
|
|
212
|
+
etag: string | null;
|
|
213
|
+
modifiedOn: string | null;
|
|
214
|
+
} | null;
|
|
215
|
+
createdAt: string;
|
|
216
|
+
updatedAt: string;
|
|
217
|
+
} | null;
|
|
218
|
+
createdAt: string;
|
|
219
|
+
updatedAt: string;
|
|
220
|
+
}[], {
|
|
221
|
+
id: string;
|
|
222
|
+
scriptName: string;
|
|
223
|
+
latestDeployment: {
|
|
224
|
+
id: string;
|
|
225
|
+
appId: string;
|
|
226
|
+
scriptName: string;
|
|
227
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
228
|
+
format: "esmodule";
|
|
229
|
+
entrypoint: string;
|
|
230
|
+
sourceByteLength: number;
|
|
231
|
+
compatibilityDate: string;
|
|
232
|
+
compatibilityFlags: string[];
|
|
233
|
+
attemptCount: number;
|
|
234
|
+
queuedAt: string;
|
|
235
|
+
startedAt: string | null;
|
|
236
|
+
completedAt: string | null;
|
|
237
|
+
errorCode: string | null;
|
|
238
|
+
errorMessage: string | null;
|
|
239
|
+
cloudflare: {
|
|
240
|
+
etag: string | null;
|
|
241
|
+
modifiedOn: string | null;
|
|
242
|
+
} | null;
|
|
243
|
+
createdAt: string;
|
|
244
|
+
updatedAt: string;
|
|
245
|
+
} | null;
|
|
246
|
+
createdAt: string;
|
|
247
|
+
updatedAt: string;
|
|
248
|
+
}[]>;
|
|
249
|
+
listAppDeployments: (appId: string) => _fragno_dev_db0.TxResult<{
|
|
250
|
+
id: string;
|
|
251
|
+
appId: string;
|
|
252
|
+
scriptName: string;
|
|
253
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
254
|
+
format: "esmodule";
|
|
255
|
+
entrypoint: string;
|
|
256
|
+
sourceByteLength: number;
|
|
257
|
+
compatibilityDate: string;
|
|
258
|
+
compatibilityFlags: string[];
|
|
259
|
+
attemptCount: number;
|
|
260
|
+
queuedAt: string;
|
|
261
|
+
startedAt: string | null;
|
|
262
|
+
completedAt: string | null;
|
|
263
|
+
errorCode: string | null;
|
|
264
|
+
errorMessage: string | null;
|
|
265
|
+
cloudflare: {
|
|
266
|
+
etag: string | null;
|
|
267
|
+
modifiedOn: string | null;
|
|
268
|
+
} | null;
|
|
269
|
+
createdAt: string;
|
|
270
|
+
updatedAt: string;
|
|
271
|
+
}[] | null, {
|
|
272
|
+
id: string;
|
|
273
|
+
appId: string;
|
|
274
|
+
scriptName: string;
|
|
275
|
+
status: "queued" | "deploying" | "succeeded" | "failed";
|
|
276
|
+
format: "esmodule";
|
|
277
|
+
entrypoint: string;
|
|
278
|
+
sourceByteLength: number;
|
|
279
|
+
compatibilityDate: string;
|
|
280
|
+
compatibilityFlags: string[];
|
|
281
|
+
attemptCount: number;
|
|
282
|
+
queuedAt: string;
|
|
283
|
+
startedAt: string | null;
|
|
284
|
+
completedAt: string | null;
|
|
285
|
+
errorCode: string | null;
|
|
286
|
+
errorMessage: string | null;
|
|
287
|
+
cloudflare: {
|
|
288
|
+
etag: string | null;
|
|
289
|
+
modifiedOn: string | null;
|
|
290
|
+
} | null;
|
|
291
|
+
createdAt: string;
|
|
292
|
+
updatedAt: string;
|
|
293
|
+
}[] | null>;
|
|
294
|
+
} & {
|
|
295
|
+
cloudflare: {
|
|
296
|
+
getClient: () => cloudflare.Cloudflare;
|
|
297
|
+
};
|
|
298
|
+
}>, {}, readonly [_fragno_dev_core0.FragnoRouteConfig<"GET", "/apps", _standard_schema_spec0.StandardSchemaV1<unknown, unknown> | undefined, zod.ZodObject<{
|
|
299
|
+
apps: zod.ZodArray<zod.ZodObject<{
|
|
300
|
+
id: zod.ZodString;
|
|
301
|
+
scriptName: zod.ZodString;
|
|
302
|
+
latestDeployment: zod.ZodNullable<zod.ZodObject<{
|
|
303
|
+
id: zod.ZodString;
|
|
304
|
+
appId: zod.ZodString;
|
|
305
|
+
scriptName: zod.ZodString;
|
|
306
|
+
status: zod.ZodEnum<{
|
|
307
|
+
queued: "queued";
|
|
308
|
+
deploying: "deploying";
|
|
309
|
+
succeeded: "succeeded";
|
|
310
|
+
failed: "failed";
|
|
311
|
+
}>;
|
|
312
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
313
|
+
entrypoint: zod.ZodString;
|
|
314
|
+
sourceByteLength: zod.ZodNumber;
|
|
315
|
+
compatibilityDate: zod.ZodString;
|
|
316
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
317
|
+
attemptCount: zod.ZodNumber;
|
|
318
|
+
queuedAt: zod.ZodString;
|
|
319
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
320
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
321
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
322
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
323
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
324
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
325
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
326
|
+
}, zod_v4_core0.$strip>>;
|
|
327
|
+
createdAt: zod.ZodString;
|
|
328
|
+
updatedAt: zod.ZodString;
|
|
329
|
+
}, zod_v4_core0.$strip>>;
|
|
330
|
+
createdAt: zod.ZodString;
|
|
331
|
+
updatedAt: zod.ZodString;
|
|
332
|
+
}, zod_v4_core0.$strip>>;
|
|
333
|
+
}, zod_v4_core0.$strip>, string, string, _fragno_dev_db0.DatabaseRequestContext<CloudflareHooksMap>>, _fragno_dev_core0.FragnoRouteConfig<"POST", "/apps/:appId/deployments", zod.ZodObject<{
|
|
334
|
+
script: zod.ZodObject<{
|
|
335
|
+
type: zod.ZodDefault<zod.ZodEnum<{
|
|
336
|
+
esmodule: "esmodule";
|
|
337
|
+
}>>;
|
|
338
|
+
entrypoint: zod.ZodDefault<zod.ZodString>;
|
|
339
|
+
content: zod.ZodString;
|
|
340
|
+
}, zod_v4_core0.$strip>;
|
|
341
|
+
compatibilityDate: zod.ZodOptional<zod.ZodString>;
|
|
342
|
+
compatibilityFlags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
343
|
+
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
344
|
+
id: zod.ZodString;
|
|
345
|
+
appId: zod.ZodString;
|
|
346
|
+
scriptName: zod.ZodString;
|
|
347
|
+
status: zod.ZodEnum<{
|
|
348
|
+
queued: "queued";
|
|
349
|
+
deploying: "deploying";
|
|
350
|
+
succeeded: "succeeded";
|
|
351
|
+
failed: "failed";
|
|
352
|
+
}>;
|
|
353
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
354
|
+
entrypoint: zod.ZodString;
|
|
355
|
+
sourceByteLength: zod.ZodNumber;
|
|
356
|
+
compatibilityDate: zod.ZodString;
|
|
357
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
358
|
+
attemptCount: zod.ZodNumber;
|
|
359
|
+
queuedAt: zod.ZodString;
|
|
360
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
361
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
362
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
363
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
364
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
365
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
366
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
367
|
+
}, zod_v4_core0.$strip>>;
|
|
368
|
+
createdAt: zod.ZodString;
|
|
369
|
+
updatedAt: zod.ZodString;
|
|
370
|
+
}, zod_v4_core0.$strip>, "INVALID_DEPLOY_INPUT" | "UNSUPPORTED_DEPLOY_REQUEST", string, _fragno_dev_db0.DatabaseRequestContext<CloudflareHooksMap>>, _fragno_dev_core0.FragnoRouteConfig<"GET", "/apps/:appId/deployments", _standard_schema_spec0.StandardSchemaV1<unknown, unknown> | undefined, zod.ZodObject<{
|
|
371
|
+
deployments: zod.ZodArray<zod.ZodObject<{
|
|
372
|
+
id: zod.ZodString;
|
|
373
|
+
appId: zod.ZodString;
|
|
374
|
+
scriptName: zod.ZodString;
|
|
375
|
+
status: zod.ZodEnum<{
|
|
376
|
+
queued: "queued";
|
|
377
|
+
deploying: "deploying";
|
|
378
|
+
succeeded: "succeeded";
|
|
379
|
+
failed: "failed";
|
|
380
|
+
}>;
|
|
381
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
382
|
+
entrypoint: zod.ZodString;
|
|
383
|
+
sourceByteLength: zod.ZodNumber;
|
|
384
|
+
compatibilityDate: zod.ZodString;
|
|
385
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
386
|
+
attemptCount: zod.ZodNumber;
|
|
387
|
+
queuedAt: zod.ZodString;
|
|
388
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
389
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
390
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
391
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
392
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
393
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
394
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
395
|
+
}, zod_v4_core0.$strip>>;
|
|
396
|
+
createdAt: zod.ZodString;
|
|
397
|
+
updatedAt: zod.ZodString;
|
|
398
|
+
}, zod_v4_core0.$strip>>;
|
|
399
|
+
}, zod_v4_core0.$strip>, "APP_NOT_FOUND", string, _fragno_dev_db0.DatabaseRequestContext<CloudflareHooksMap>>, _fragno_dev_core0.FragnoRouteConfig<"GET", "/deployments/:deploymentId", _standard_schema_spec0.StandardSchemaV1<unknown, unknown> | undefined, zod.ZodObject<{
|
|
400
|
+
id: zod.ZodString;
|
|
401
|
+
appId: zod.ZodString;
|
|
402
|
+
scriptName: zod.ZodString;
|
|
403
|
+
status: zod.ZodEnum<{
|
|
404
|
+
queued: "queued";
|
|
405
|
+
deploying: "deploying";
|
|
406
|
+
succeeded: "succeeded";
|
|
407
|
+
failed: "failed";
|
|
408
|
+
}>;
|
|
409
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
410
|
+
entrypoint: zod.ZodString;
|
|
411
|
+
sourceByteLength: zod.ZodNumber;
|
|
412
|
+
compatibilityDate: zod.ZodString;
|
|
413
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
414
|
+
attemptCount: zod.ZodNumber;
|
|
415
|
+
queuedAt: zod.ZodString;
|
|
416
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
417
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
418
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
419
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
420
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
421
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
422
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
423
|
+
}, zod_v4_core0.$strip>>;
|
|
424
|
+
createdAt: zod.ZodString;
|
|
425
|
+
updatedAt: zod.ZodString;
|
|
426
|
+
sourceCode: zod.ZodString;
|
|
427
|
+
}, zod_v4_core0.$strip>, "DEPLOYMENT_NOT_FOUND", string, _fragno_dev_db0.DatabaseRequestContext<CloudflareHooksMap>>, _fragno_dev_core0.FragnoRouteConfig<"GET", "/apps/:appId", _standard_schema_spec0.StandardSchemaV1<unknown, unknown> | undefined, zod.ZodObject<{
|
|
428
|
+
id: zod.ZodString;
|
|
429
|
+
scriptName: zod.ZodString;
|
|
430
|
+
latestDeployment: zod.ZodNullable<zod.ZodObject<{
|
|
431
|
+
id: zod.ZodString;
|
|
432
|
+
appId: zod.ZodString;
|
|
433
|
+
scriptName: zod.ZodString;
|
|
434
|
+
status: zod.ZodEnum<{
|
|
435
|
+
queued: "queued";
|
|
436
|
+
deploying: "deploying";
|
|
437
|
+
succeeded: "succeeded";
|
|
438
|
+
failed: "failed";
|
|
439
|
+
}>;
|
|
440
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
441
|
+
entrypoint: zod.ZodString;
|
|
442
|
+
sourceByteLength: zod.ZodNumber;
|
|
443
|
+
compatibilityDate: zod.ZodString;
|
|
444
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
445
|
+
attemptCount: zod.ZodNumber;
|
|
446
|
+
queuedAt: zod.ZodString;
|
|
447
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
448
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
449
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
450
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
451
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
452
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
453
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
454
|
+
}, zod_v4_core0.$strip>>;
|
|
455
|
+
createdAt: zod.ZodString;
|
|
456
|
+
updatedAt: zod.ZodString;
|
|
457
|
+
}, zod_v4_core0.$strip>>;
|
|
458
|
+
createdAt: zod.ZodString;
|
|
459
|
+
updatedAt: zod.ZodString;
|
|
460
|
+
liveDeployment: zod.ZodNullable<zod.ZodObject<{
|
|
461
|
+
id: zod.ZodString;
|
|
462
|
+
appId: zod.ZodString;
|
|
463
|
+
scriptName: zod.ZodString;
|
|
464
|
+
status: zod.ZodEnum<{
|
|
465
|
+
queued: "queued";
|
|
466
|
+
deploying: "deploying";
|
|
467
|
+
succeeded: "succeeded";
|
|
468
|
+
failed: "failed";
|
|
469
|
+
}>;
|
|
470
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
471
|
+
entrypoint: zod.ZodString;
|
|
472
|
+
sourceByteLength: zod.ZodNumber;
|
|
473
|
+
compatibilityDate: zod.ZodString;
|
|
474
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
475
|
+
attemptCount: zod.ZodNumber;
|
|
476
|
+
queuedAt: zod.ZodString;
|
|
477
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
478
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
479
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
480
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
481
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
482
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
483
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
484
|
+
}, zod_v4_core0.$strip>>;
|
|
485
|
+
createdAt: zod.ZodString;
|
|
486
|
+
updatedAt: zod.ZodString;
|
|
487
|
+
}, zod_v4_core0.$strip>>;
|
|
488
|
+
liveDeploymentError: zod.ZodNullable<zod.ZodString>;
|
|
489
|
+
deployments: zod.ZodArray<zod.ZodObject<{
|
|
490
|
+
id: zod.ZodString;
|
|
491
|
+
appId: zod.ZodString;
|
|
492
|
+
scriptName: zod.ZodString;
|
|
493
|
+
status: zod.ZodEnum<{
|
|
494
|
+
queued: "queued";
|
|
495
|
+
deploying: "deploying";
|
|
496
|
+
succeeded: "succeeded";
|
|
497
|
+
failed: "failed";
|
|
498
|
+
}>;
|
|
499
|
+
format: zod.ZodLiteral<"esmodule">;
|
|
500
|
+
entrypoint: zod.ZodString;
|
|
501
|
+
sourceByteLength: zod.ZodNumber;
|
|
502
|
+
compatibilityDate: zod.ZodString;
|
|
503
|
+
compatibilityFlags: zod.ZodArray<zod.ZodString>;
|
|
504
|
+
attemptCount: zod.ZodNumber;
|
|
505
|
+
queuedAt: zod.ZodString;
|
|
506
|
+
startedAt: zod.ZodNullable<zod.ZodString>;
|
|
507
|
+
completedAt: zod.ZodNullable<zod.ZodString>;
|
|
508
|
+
errorCode: zod.ZodNullable<zod.ZodString>;
|
|
509
|
+
errorMessage: zod.ZodNullable<zod.ZodString>;
|
|
510
|
+
cloudflare: zod.ZodNullable<zod.ZodObject<{
|
|
511
|
+
etag: zod.ZodNullable<zod.ZodString>;
|
|
512
|
+
modifiedOn: zod.ZodNullable<zod.ZodString>;
|
|
513
|
+
}, zod_v4_core0.$strip>>;
|
|
514
|
+
createdAt: zod.ZodString;
|
|
515
|
+
updatedAt: zod.ZodString;
|
|
516
|
+
}, zod_v4_core0.$strip>>;
|
|
517
|
+
}, zod_v4_core0.$strip>, "APP_NOT_FOUND", string, _fragno_dev_db0.DatabaseRequestContext<CloudflareHooksMap>>]>;
|
|
518
|
+
//#endregion
|
|
519
|
+
export { cloudflareRoutesFactory };
|
|
520
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","names":[],"sources":["../../src/routes.ts"],"mappings":";;;;;;;;;;;cAoBa,uBAAA,oBAAuB,YAAA,CAoJnC,wBAAA;cApJmC,UAAA,CAAA,UAAA"}
|