@interfere/types 10.1.2 → 10.2.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.
Files changed (171) hide show
  1. package/dist/data/frame.cjs +1 -1
  2. package/dist/data/frame.d.cts +6 -7
  3. package/dist/data/frame.d.mts +6 -7
  4. package/dist/data/frame.mjs +1 -1
  5. package/dist/data/session.cjs +1 -1
  6. package/dist/data/session.d.cts +3 -4
  7. package/dist/data/session.d.mts +3 -4
  8. package/dist/data/session.mjs +1 -1
  9. package/dist/data/source-map-batch.cjs +1 -0
  10. package/dist/data/source-map-batch.d.cts +4 -0
  11. package/dist/data/source-map-batch.d.mts +4 -0
  12. package/dist/data/source-map-batch.mjs +1 -0
  13. package/dist/data/source-map-diagnostics.cjs +1 -0
  14. package/dist/data/source-map-diagnostics.d.cts +49 -0
  15. package/dist/data/source-map-diagnostics.d.mts +49 -0
  16. package/dist/data/source-map-diagnostics.mjs +1 -0
  17. package/dist/data/source-map-status.cjs +1 -0
  18. package/dist/data/source-map-status.d.cts +65 -0
  19. package/dist/data/source-map-status.d.mts +65 -0
  20. package/dist/data/source-map-status.mjs +1 -0
  21. package/dist/data/source-map-upload-batch.cjs +1 -0
  22. package/dist/data/source-map-upload-batch.d.cts +22 -0
  23. package/dist/data/source-map-upload-batch.d.mts +22 -0
  24. package/dist/data/source-map-upload-batch.mjs +1 -0
  25. package/dist/data/source-maps.cjs +1 -1
  26. package/dist/data/source-maps.d.cts +73 -63
  27. package/dist/data/source-maps.d.mts +73 -63
  28. package/dist/data/source-maps.mjs +1 -1
  29. package/dist/events/error.cjs +1 -1
  30. package/dist/events/error.d.cts +118 -111
  31. package/dist/events/error.d.mts +118 -111
  32. package/dist/events/error.mjs +1 -1
  33. package/dist/events/pageleave.cjs +1 -1
  34. package/dist/events/pageleave.d.cts +5 -6
  35. package/dist/events/pageleave.d.mts +5 -6
  36. package/dist/events/pageleave.mjs +1 -1
  37. package/dist/events/pageview.cjs +1 -1
  38. package/dist/events/pageview.d.cts +6 -7
  39. package/dist/events/pageview.d.mts +6 -7
  40. package/dist/events/pageview.mjs +1 -1
  41. package/dist/integrations/index.cjs +1 -1
  42. package/dist/integrations/index.d.cts +62 -63
  43. package/dist/integrations/index.d.mts +62 -63
  44. package/dist/integrations/index.mjs +1 -1
  45. package/dist/integrations/platforms/cli.cjs +1 -1
  46. package/dist/integrations/platforms/cli.d.cts +3 -4
  47. package/dist/integrations/platforms/cli.d.mts +3 -4
  48. package/dist/integrations/platforms/cli.mjs +1 -1
  49. package/dist/integrations/platforms/cloudflare.cjs +1 -1
  50. package/dist/integrations/platforms/cloudflare.d.cts +12 -13
  51. package/dist/integrations/platforms/cloudflare.d.mts +12 -13
  52. package/dist/integrations/platforms/cloudflare.mjs +1 -1
  53. package/dist/integrations/platforms/github.cjs +1 -1
  54. package/dist/integrations/platforms/github.d.cts +30 -31
  55. package/dist/integrations/platforms/github.d.mts +30 -31
  56. package/dist/integrations/platforms/github.mjs +1 -1
  57. package/dist/integrations/platforms/slack.cjs +1 -1
  58. package/dist/integrations/platforms/slack.d.cts +7 -8
  59. package/dist/integrations/platforms/slack.d.mts +7 -8
  60. package/dist/integrations/platforms/slack.mjs +1 -1
  61. package/dist/integrations/platforms/vercel.cjs +1 -1
  62. package/dist/integrations/platforms/vercel.d.cts +12 -13
  63. package/dist/integrations/platforms/vercel.d.mts +12 -13
  64. package/dist/integrations/platforms/vercel.mjs +1 -1
  65. package/dist/releases/build-telemetry.d.cts +8 -9
  66. package/dist/releases/build-telemetry.d.mts +8 -9
  67. package/dist/releases/definition.cjs +1 -1
  68. package/dist/releases/definition.d.cts +48 -49
  69. package/dist/releases/definition.d.mts +48 -49
  70. package/dist/releases/definition.mjs +1 -1
  71. package/dist/releases/slug.d.cts +5 -6
  72. package/dist/releases/slug.d.mts +5 -6
  73. package/dist/sdk/build-config.cjs +1 -0
  74. package/dist/sdk/build-config.d.cts +22 -0
  75. package/dist/sdk/build-config.d.mts +22 -0
  76. package/dist/sdk/build-config.mjs +1 -0
  77. package/dist/sdk/build-diagnostics.cjs +1 -1
  78. package/dist/sdk/build-diagnostics.d.cts +11 -12
  79. package/dist/sdk/build-diagnostics.d.mts +11 -12
  80. package/dist/sdk/build-diagnostics.mjs +1 -1
  81. package/dist/sdk/cli-destination.cjs +1 -1
  82. package/dist/sdk/cli-destination.d.cts +7 -4
  83. package/dist/sdk/cli-destination.d.mts +7 -4
  84. package/dist/sdk/cli-destination.mjs +1 -1
  85. package/dist/sdk/deploy-environment.cjs +1 -1
  86. package/dist/sdk/deploy-environment.d.cts +28 -6
  87. package/dist/sdk/deploy-environment.d.mts +28 -6
  88. package/dist/sdk/deploy-environment.mjs +1 -1
  89. package/dist/sdk/env.d.cts +3 -4
  90. package/dist/sdk/env.d.mts +3 -4
  91. package/dist/sdk/envelope.cjs +1 -1
  92. package/dist/sdk/envelope.d.cts +129 -130
  93. package/dist/sdk/envelope.d.mts +129 -130
  94. package/dist/sdk/envelope.mjs +1 -1
  95. package/dist/sdk/errors.cjs +2 -2
  96. package/dist/sdk/errors.d.cts +70 -28
  97. package/dist/sdk/errors.d.mts +70 -28
  98. package/dist/sdk/errors.mjs +2 -2
  99. package/dist/sdk/geo.cjs +1 -1
  100. package/dist/sdk/geo.d.cts +4 -5
  101. package/dist/sdk/geo.d.mts +4 -5
  102. package/dist/sdk/geo.mjs +1 -1
  103. package/dist/sdk/github-source.cjs +1 -1
  104. package/dist/sdk/github-source.d.cts +9 -9
  105. package/dist/sdk/github-source.d.mts +9 -9
  106. package/dist/sdk/github-source.mjs +1 -1
  107. package/dist/sdk/identify.cjs +1 -1
  108. package/dist/sdk/identify.d.cts +13 -14
  109. package/dist/sdk/identify.d.mts +13 -14
  110. package/dist/sdk/identify.mjs +1 -1
  111. package/dist/sdk/injected-globals.d.cts +9 -10
  112. package/dist/sdk/injected-globals.d.mts +9 -10
  113. package/dist/sdk/log-sourcing.cjs +1 -1
  114. package/dist/sdk/log-sourcing.d.cts +9 -10
  115. package/dist/sdk/log-sourcing.d.mts +9 -10
  116. package/dist/sdk/log-sourcing.mjs +1 -1
  117. package/dist/sdk/plugins/context/browser.cjs +1 -1
  118. package/dist/sdk/plugins/context/browser.d.cts +17 -18
  119. package/dist/sdk/plugins/context/browser.d.mts +17 -18
  120. package/dist/sdk/plugins/context/browser.mjs +1 -1
  121. package/dist/sdk/plugins/context/edge.cjs +1 -1
  122. package/dist/sdk/plugins/context/edge.d.cts +3 -4
  123. package/dist/sdk/plugins/context/edge.d.mts +3 -4
  124. package/dist/sdk/plugins/context/edge.mjs +1 -1
  125. package/dist/sdk/plugins/context/next.cjs +1 -1
  126. package/dist/sdk/plugins/context/next.d.cts +8 -9
  127. package/dist/sdk/plugins/context/next.d.mts +8 -9
  128. package/dist/sdk/plugins/context/next.mjs +1 -1
  129. package/dist/sdk/plugins/context/node.cjs +1 -1
  130. package/dist/sdk/plugins/context/node.d.cts +3 -4
  131. package/dist/sdk/plugins/context/node.d.mts +3 -4
  132. package/dist/sdk/plugins/context/node.mjs +1 -1
  133. package/dist/sdk/plugins/manifest.d.cts +10 -9
  134. package/dist/sdk/plugins/manifest.d.mts +10 -9
  135. package/dist/sdk/plugins/payload/errors.cjs +1 -1
  136. package/dist/sdk/plugins/payload/errors.d.cts +23 -24
  137. package/dist/sdk/plugins/payload/errors.d.mts +23 -24
  138. package/dist/sdk/plugins/payload/errors.mjs +1 -1
  139. package/dist/sdk/plugins/payload/page-events.cjs +1 -1
  140. package/dist/sdk/plugins/payload/page-events.d.cts +9 -10
  141. package/dist/sdk/plugins/payload/page-events.d.mts +9 -10
  142. package/dist/sdk/plugins/payload/page-events.mjs +1 -1
  143. package/dist/sdk/plugins/payload/rage-click.cjs +1 -1
  144. package/dist/sdk/plugins/payload/rage-click.d.cts +5 -6
  145. package/dist/sdk/plugins/payload/rage-click.d.mts +5 -6
  146. package/dist/sdk/plugins/payload/rage-click.mjs +1 -1
  147. package/dist/sdk/plugins/payload/replay.cjs +1 -1
  148. package/dist/sdk/plugins/payload/replay.d.cts +4 -5
  149. package/dist/sdk/plugins/payload/replay.d.mts +4 -5
  150. package/dist/sdk/plugins/payload/replay.mjs +1 -1
  151. package/dist/sdk/remote-config.cjs +1 -1
  152. package/dist/sdk/remote-config.d.cts +43 -20
  153. package/dist/sdk/remote-config.d.mts +43 -20
  154. package/dist/sdk/remote-config.mjs +1 -1
  155. package/dist/sdk/runtime.cjs +1 -1
  156. package/dist/sdk/runtime.d.cts +11 -12
  157. package/dist/sdk/runtime.d.mts +11 -12
  158. package/dist/sdk/runtime.mjs +1 -1
  159. package/dist/sdk/server-tracing.cjs +1 -1
  160. package/dist/sdk/server-tracing.d.cts +9 -10
  161. package/dist/sdk/server-tracing.d.mts +9 -10
  162. package/dist/sdk/server-tracing.mjs +1 -1
  163. package/dist/sdk/source-map-richness.cjs +1 -0
  164. package/dist/sdk/source-map-richness.d.cts +9 -0
  165. package/dist/sdk/source-map-richness.d.mts +9 -0
  166. package/dist/sdk/source-map-richness.mjs +1 -0
  167. package/dist/sdk/trace-freshness.cjs +1 -0
  168. package/dist/sdk/trace-freshness.d.cts +6 -0
  169. package/dist/sdk/trace-freshness.d.mts +6 -0
  170. package/dist/sdk/trace-freshness.mjs +1 -0
  171. package/package.json +13 -13
@@ -1,11 +1,10 @@
1
1
  import { z } from "zod";
2
2
  //#region src/events/pageleave.d.ts
3
- declare const pageleaveFactsPayloadSchema: z.ZodObject<{
4
- url: z.ZodURL;
3
+ export declare const pageleaveFactsPayloadSchema: z.ZodObject<{
5
4
  durationMs: z.ZodOptional<z.ZodNumber>;
6
- runtime: z.ZodOptional<z.ZodString>;
7
5
  releaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ runtime: z.ZodOptional<z.ZodString>;
7
+ url: z.ZodURL;
8
8
  }, z.core.$strip>;
9
- type PageleaveFactsPayload = z.infer<typeof pageleaveFactsPayloadSchema>;
10
- //#endregion
11
- export { PageleaveFactsPayload, pageleaveFactsPayloadSchema };
9
+ export type PageleaveFactsPayload = z.infer<typeof pageleaveFactsPayloadSchema>;
10
+ //#endregion
@@ -1 +1 @@
1
- import{z}from"zod";const pageleaveFactsPayloadSchema=z.object({url:z.url(),durationMs:z.number().optional(),runtime:z.string().optional(),releaseId:z.string().nullable().optional()});export{pageleaveFactsPayloadSchema};
1
+ import{z}from"zod";const pageleaveFactsPayloadSchema=z.object({durationMs:z.number().optional(),releaseId:z.string().nullable().optional(),runtime:z.string().optional(),url:z.url()});export{pageleaveFactsPayloadSchema};
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let zod=require("zod");const pageviewFactsPayloadSchema=zod.z.object({url:zod.z.url(),title:zod.z.string().optional(),referrer:zod.z.string().optional(),runtime:zod.z.string().optional(),releaseId:zod.z.string().nullable().optional()});exports.pageviewFactsPayloadSchema=pageviewFactsPayloadSchema;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let zod=require("zod");const pageviewFactsPayloadSchema=zod.z.object({referrer:zod.z.string().optional(),releaseId:zod.z.string().nullable().optional(),runtime:zod.z.string().optional(),title:zod.z.string().optional(),url:zod.z.url()});exports.pageviewFactsPayloadSchema=pageviewFactsPayloadSchema;
@@ -1,12 +1,11 @@
1
1
  import { z } from "zod";
2
2
  //#region src/events/pageview.d.ts
3
- declare const pageviewFactsPayloadSchema: z.ZodObject<{
4
- url: z.ZodURL;
5
- title: z.ZodOptional<z.ZodString>;
3
+ export declare const pageviewFactsPayloadSchema: z.ZodObject<{
6
4
  referrer: z.ZodOptional<z.ZodString>;
7
- runtime: z.ZodOptional<z.ZodString>;
8
5
  releaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ runtime: z.ZodOptional<z.ZodString>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ url: z.ZodURL;
9
9
  }, z.core.$strip>;
10
- type PageviewFactsPayload = z.infer<typeof pageviewFactsPayloadSchema>;
11
- //#endregion
12
- export { PageviewFactsPayload, pageviewFactsPayloadSchema };
10
+ export type PageviewFactsPayload = z.infer<typeof pageviewFactsPayloadSchema>;
11
+ //#endregion
@@ -1,12 +1,11 @@
1
1
  import { z } from "zod";
2
2
  //#region src/events/pageview.d.ts
3
- declare const pageviewFactsPayloadSchema: z.ZodObject<{
4
- url: z.ZodURL;
5
- title: z.ZodOptional<z.ZodString>;
3
+ export declare const pageviewFactsPayloadSchema: z.ZodObject<{
6
4
  referrer: z.ZodOptional<z.ZodString>;
7
- runtime: z.ZodOptional<z.ZodString>;
8
5
  releaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ runtime: z.ZodOptional<z.ZodString>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ url: z.ZodURL;
9
9
  }, z.core.$strip>;
10
- type PageviewFactsPayload = z.infer<typeof pageviewFactsPayloadSchema>;
11
- //#endregion
12
- export { PageviewFactsPayload, pageviewFactsPayloadSchema };
10
+ export type PageviewFactsPayload = z.infer<typeof pageviewFactsPayloadSchema>;
11
+ //#endregion
@@ -1 +1 @@
1
- import{z}from"zod";const pageviewFactsPayloadSchema=z.object({url:z.url(),title:z.string().optional(),referrer:z.string().optional(),runtime:z.string().optional(),releaseId:z.string().nullable().optional()});export{pageviewFactsPayloadSchema};
1
+ import{z}from"zod";const pageviewFactsPayloadSchema=z.object({referrer:z.string().optional(),releaseId:z.string().nullable().optional(),runtime:z.string().optional(),title:z.string().optional(),url:z.url()});export{pageviewFactsPayloadSchema};
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const require_integrations_platforms_cloudflare=require("./platforms/cloudflare.cjs"),require_integrations_platforms_github=require("./platforms/github.cjs"),require_integrations_platforms_vercel=require("./platforms/vercel.cjs");let zod=require("zod");const githubReleaseSourceSchema=zod.z.object({provider:zod.z.literal(`github`),commitMessage:zod.z.string(),branch:zod.z.string(),commitSha:zod.z.string().nullable(),runnerName:zod.z.string().nullable().optional(),runId:zod.z.string().nullable().optional(),runUrl:zod.z.string().nullable().optional()}).meta({id:`GithubReleaseSource`,title:`GithubReleaseSource`,description:`Release source metadata coming from GitHub.`}),cliReleaseSourceSchema=zod.z.object({provider:zod.z.literal(`cli`),commitSha:zod.z.string().nullable(),commitRef:zod.z.string().nullable(),commitMessage:zod.z.string().nullable(),commitUrl:zod.z.string().nullable(),runnerName:zod.z.string().nullable(),runId:zod.z.string().nullable(),runUrl:zod.z.string().nullable(),environment:zod.z.string().nullable().optional(),deploymentUrl:zod.z.string().nullable().optional()}).meta({id:`CliReleaseSource`,title:`CliReleaseSource`,description:`Release source metadata from the Interfere CLI.`}),releaseSourceMetadataSchema=zod.z.discriminatedUnion(`provider`,[githubReleaseSourceSchema,cliReleaseSourceSchema]).meta({id:`ReleaseSource`,title:`ReleaseSource`}),releaseSourceProviderSchema=zod.z.enum([`github`,`cli`]).meta({id:`ReleaseSourceProvider`,title:`ReleaseSourceProvider`}),vercelReleaseDestinationSchema=zod.z.object({provider:zod.z.literal(`vercel`),destinationReleaseId:zod.z.string().nullable(),environment:zod.z.string().nullable(),deploymentId:zod.z.string().nullable(),deploymentUrl:zod.z.string().nullable(),environmentName:zod.z.string().nullable(),environmentTarget:zod.z.string().nullable()}).meta({id:`VercelReleaseDestination`,title:`VercelReleaseDestination`,description:`Release destination metadata for a Vercel deployment.`}),cloudflareReleaseDestinationSchema=zod.z.object({provider:zod.z.literal(`cloudflare`),destinationReleaseId:zod.z.string().nullable(),environment:zod.z.string().nullable(),versionId:zod.z.string().nullable(),scriptName:zod.z.string().nullable(),accountId:zod.z.string().nullable(),deploymentUrl:zod.z.string().nullable(),environmentName:zod.z.string().nullable(),environmentTarget:zod.z.string().nullable()}).meta({id:`CloudflareReleaseDestination`,title:`CloudflareReleaseDestination`,description:`Release destination metadata for a Cloudflare Workers deployment.`}),cliReleaseDestinationSchema=zod.z.object({provider:zod.z.literal(`cli`),destinationReleaseId:zod.z.string().nullable(),environment:zod.z.string().nullable(),deploymentUrl:zod.z.string().nullable()}).meta({id:`CliReleaseDestination`,title:`CliReleaseDestination`,description:`Release destination metadata from the Interfere CLI.`}),releaseDestinationMetadataSchema=zod.z.discriminatedUnion(`provider`,[vercelReleaseDestinationSchema,cloudflareReleaseDestinationSchema,cliReleaseDestinationSchema]).meta({id:`ReleaseDestination`,title:`ReleaseDestination`}),releaseDestinationProviderSchema=zod.z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ReleaseDestinationProvider`,title:`ReleaseDestinationProvider`}),configuredSourceProviderSchema=zod.z.enum([`github`,`ghe_cloud`,`ghe_server`]).meta({id:`ConfiguredSourceProvider`,title:`ConfiguredSourceProvider`}),configuredDestinationProviderSchema=zod.z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ConfiguredDestinationProvider`,title:`ConfiguredDestinationProvider`}),sourceProviderSchema=configuredSourceProviderSchema.meta({id:`SourceProvider`,title:`SourceProvider`}),destinationProviderSchema=zod.z.enum([`vercel`,`cloudflare`]).meta({id:`DestinationProvider`,title:`DestinationProvider`}),releaseSourceIdEnvKeys=zod.z.enum([`NEXT_PUBLIC_INTERFERE_BUILD_ID`,`INTERFERE_SOURCE_ID`,`NEXT_BUILD_ID`,...require_integrations_platforms_github.githubSourceIdEnvKeys,...require_integrations_platforms_cloudflare.cloudflareSourceIdEnvKeys]).options,releaseDestinationIdEnvKeys=zod.z.enum([`NEXT_PUBLIC_INTERFERE_RELEASE_ID`,`INTERFERE_DESTINATION_ID`,...require_integrations_platforms_vercel.vercelDestinationIdEnvKeys,...require_integrations_platforms_cloudflare.cloudflareDestinationIdEnvKeys,...require_integrations_platforms_github.githubSourceIdEnvKeys]).options;exports.cliReleaseDestinationSchema=cliReleaseDestinationSchema,exports.cliReleaseSourceSchema=cliReleaseSourceSchema,exports.cloudflareReleaseDestinationSchema=cloudflareReleaseDestinationSchema,exports.configuredDestinationProviderSchema=configuredDestinationProviderSchema,exports.configuredSourceProviderSchema=configuredSourceProviderSchema,exports.destinationProviderSchema=destinationProviderSchema,exports.githubReleaseSourceSchema=githubReleaseSourceSchema,exports.releaseDestinationIdEnvKeys=releaseDestinationIdEnvKeys,exports.releaseDestinationMetadataSchema=releaseDestinationMetadataSchema,exports.releaseDestinationProviderSchema=releaseDestinationProviderSchema,exports.releaseSourceIdEnvKeys=releaseSourceIdEnvKeys,exports.releaseSourceMetadataSchema=releaseSourceMetadataSchema,exports.releaseSourceProviderSchema=releaseSourceProviderSchema,exports.sourceProviderSchema=sourceProviderSchema,exports.vercelReleaseDestinationSchema=vercelReleaseDestinationSchema;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const require_integrations_platforms_cloudflare=require("./platforms/cloudflare.cjs"),require_integrations_platforms_github=require("./platforms/github.cjs"),require_integrations_platforms_vercel=require("./platforms/vercel.cjs");let zod=require("zod");const githubReleaseSourceSchema=zod.z.object({branch:zod.z.string(),commitMessage:zod.z.string(),commitSha:zod.z.string().nullable(),provider:zod.z.literal(`github`),runId:zod.z.string().nullable().optional(),runUrl:zod.z.string().nullable().optional(),runnerName:zod.z.string().nullable().optional()}).meta({description:`Release source metadata coming from GitHub.`,id:`GithubReleaseSource`,title:`GithubReleaseSource`}),cliReleaseSourceSchema=zod.z.object({commitMessage:zod.z.string().nullable(),commitRef:zod.z.string().nullable(),commitSha:zod.z.string().nullable(),commitUrl:zod.z.string().nullable(),deploymentUrl:zod.z.string().nullable().optional(),environment:zod.z.string().nullable().optional(),provider:zod.z.literal(`cli`),runId:zod.z.string().nullable(),runUrl:zod.z.string().nullable(),runnerName:zod.z.string().nullable()}).meta({description:`Release source metadata from the Interfere CLI.`,id:`CliReleaseSource`,title:`CliReleaseSource`}),releaseSourceMetadataSchema=zod.z.discriminatedUnion(`provider`,[githubReleaseSourceSchema,cliReleaseSourceSchema]).meta({id:`ReleaseSource`,title:`ReleaseSource`}),releaseSourceProviderSchema=zod.z.enum([`github`,`cli`]).meta({id:`ReleaseSourceProvider`,title:`ReleaseSourceProvider`}),vercelReleaseDestinationSchema=zod.z.object({deploymentId:zod.z.string().nullable(),deploymentUrl:zod.z.string().nullable(),destinationReleaseId:zod.z.string().nullable(),environment:zod.z.string().nullable(),environmentName:zod.z.string().nullable(),environmentTarget:zod.z.string().nullable(),provider:zod.z.literal(`vercel`)}).meta({description:`Release destination metadata for a Vercel deployment.`,id:`VercelReleaseDestination`,title:`VercelReleaseDestination`}),cloudflareReleaseDestinationSchema=zod.z.object({accountId:zod.z.string().nullable(),deploymentUrl:zod.z.string().nullable(),destinationReleaseId:zod.z.string().nullable(),environment:zod.z.string().nullable(),environmentName:zod.z.string().nullable(),environmentTarget:zod.z.string().nullable(),provider:zod.z.literal(`cloudflare`),scriptName:zod.z.string().nullable(),versionId:zod.z.string().nullable()}).meta({description:`Release destination metadata for a Cloudflare Workers deployment.`,id:`CloudflareReleaseDestination`,title:`CloudflareReleaseDestination`}),cliReleaseDestinationSchema=zod.z.object({deploymentUrl:zod.z.string().nullable(),destinationReleaseId:zod.z.string().nullable(),environment:zod.z.string().nullable(),provider:zod.z.literal(`cli`)}).meta({description:`Release destination metadata from the Interfere CLI.`,id:`CliReleaseDestination`,title:`CliReleaseDestination`}),releaseDestinationMetadataSchema=zod.z.discriminatedUnion(`provider`,[vercelReleaseDestinationSchema,cloudflareReleaseDestinationSchema,cliReleaseDestinationSchema]).meta({id:`ReleaseDestination`,title:`ReleaseDestination`}),releaseDestinationProviderSchema=zod.z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ReleaseDestinationProvider`,title:`ReleaseDestinationProvider`}),configuredSourceProviderSchema=zod.z.enum([`github`,`ghe_cloud`,`ghe_server`]).meta({id:`ConfiguredSourceProvider`,title:`ConfiguredSourceProvider`}),configuredDestinationProviderSchema=zod.z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ConfiguredDestinationProvider`,title:`ConfiguredDestinationProvider`}),sourceProviderSchema=configuredSourceProviderSchema.meta({id:`SourceProvider`,title:`SourceProvider`}),destinationProviderSchema=zod.z.enum([`vercel`,`cloudflare`]).meta({id:`DestinationProvider`,title:`DestinationProvider`}),releaseSourceIdEnvKeys=zod.z.enum([`NEXT_PUBLIC_INTERFERE_BUILD_ID`,`INTERFERE_SOURCE_ID`,`NEXT_BUILD_ID`,...require_integrations_platforms_github.githubSourceIdEnvKeys,...require_integrations_platforms_cloudflare.cloudflareSourceIdEnvKeys]).options,releaseDestinationIdEnvKeys=zod.z.enum([`NEXT_PUBLIC_INTERFERE_RELEASE_ID`,`INTERFERE_DESTINATION_ID`,...require_integrations_platforms_vercel.vercelDestinationIdEnvKeys,...require_integrations_platforms_cloudflare.cloudflareDestinationIdEnvKeys,...require_integrations_platforms_github.githubSourceIdEnvKeys]).options;exports.cliReleaseDestinationSchema=cliReleaseDestinationSchema,exports.cliReleaseSourceSchema=cliReleaseSourceSchema,exports.cloudflareReleaseDestinationSchema=cloudflareReleaseDestinationSchema,exports.configuredDestinationProviderSchema=configuredDestinationProviderSchema,exports.configuredSourceProviderSchema=configuredSourceProviderSchema,exports.destinationProviderSchema=destinationProviderSchema,exports.githubReleaseSourceSchema=githubReleaseSourceSchema,exports.releaseDestinationIdEnvKeys=releaseDestinationIdEnvKeys,exports.releaseDestinationMetadataSchema=releaseDestinationMetadataSchema,exports.releaseDestinationProviderSchema=releaseDestinationProviderSchema,exports.releaseSourceIdEnvKeys=releaseSourceIdEnvKeys,exports.releaseSourceMetadataSchema=releaseSourceMetadataSchema,exports.releaseSourceProviderSchema=releaseSourceProviderSchema,exports.sourceProviderSchema=sourceProviderSchema,exports.vercelReleaseDestinationSchema=vercelReleaseDestinationSchema;
@@ -1,133 +1,132 @@
1
1
  import { z } from "zod";
2
2
  //#region src/integrations/index.d.ts
3
- declare const githubReleaseSourceSchema: z.ZodObject<{
4
- provider: z.ZodLiteral<"github">;
5
- commitMessage: z.ZodString;
3
+ export declare const githubReleaseSourceSchema: z.ZodObject<{
6
4
  branch: z.ZodString;
5
+ commitMessage: z.ZodString;
7
6
  commitSha: z.ZodNullable<z.ZodString>;
8
- runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ provider: z.ZodLiteral<"github">;
9
8
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
9
  runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  }, z.core.$strip>;
12
- declare const cliReleaseSourceSchema: z.ZodObject<{
13
- provider: z.ZodLiteral<"cli">;
14
- commitSha: z.ZodNullable<z.ZodString>;
15
- commitRef: z.ZodNullable<z.ZodString>;
12
+ export declare const cliReleaseSourceSchema: z.ZodObject<{
16
13
  commitMessage: z.ZodNullable<z.ZodString>;
14
+ commitRef: z.ZodNullable<z.ZodString>;
15
+ commitSha: z.ZodNullable<z.ZodString>;
17
16
  commitUrl: z.ZodNullable<z.ZodString>;
18
- runnerName: z.ZodNullable<z.ZodString>;
17
+ deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ provider: z.ZodLiteral<"cli">;
19
20
  runId: z.ZodNullable<z.ZodString>;
20
21
  runUrl: z.ZodNullable<z.ZodString>;
21
- environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ runnerName: z.ZodNullable<z.ZodString>;
23
23
  }, z.core.$strip>;
24
- declare const releaseSourceMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
25
- provider: z.ZodLiteral<"github">;
26
- commitMessage: z.ZodString;
24
+ export declare const releaseSourceMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
25
  branch: z.ZodString;
26
+ commitMessage: z.ZodString;
28
27
  commitSha: z.ZodNullable<z.ZodString>;
29
- runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ provider: z.ZodLiteral<"github">;
30
29
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
30
  runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  }, z.core.$strip>, z.ZodObject<{
33
- provider: z.ZodLiteral<"cli">;
34
- commitSha: z.ZodNullable<z.ZodString>;
35
- commitRef: z.ZodNullable<z.ZodString>;
36
33
  commitMessage: z.ZodNullable<z.ZodString>;
34
+ commitRef: z.ZodNullable<z.ZodString>;
35
+ commitSha: z.ZodNullable<z.ZodString>;
37
36
  commitUrl: z.ZodNullable<z.ZodString>;
38
- runnerName: z.ZodNullable<z.ZodString>;
37
+ deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ provider: z.ZodLiteral<"cli">;
39
40
  runId: z.ZodNullable<z.ZodString>;
40
41
  runUrl: z.ZodNullable<z.ZodString>;
41
- environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ runnerName: z.ZodNullable<z.ZodString>;
43
43
  }, z.core.$strip>], "provider">;
44
- type ReleaseSourceMetadata = z.infer<typeof releaseSourceMetadataSchema>;
45
- declare const releaseSourceProviderSchema: z.ZodEnum<{
44
+ export type ReleaseSourceMetadata = z.infer<typeof releaseSourceMetadataSchema>;
45
+ export declare const releaseSourceProviderSchema: z.ZodEnum<{
46
46
  cli: "cli";
47
47
  github: "github";
48
48
  }>;
49
- type ReleaseSourceProvider = z.infer<typeof releaseSourceProviderSchema>;
50
- declare const vercelReleaseDestinationSchema: z.ZodObject<{
51
- provider: z.ZodLiteral<"vercel">;
52
- destinationReleaseId: z.ZodNullable<z.ZodString>;
53
- environment: z.ZodNullable<z.ZodString>;
49
+ export type ReleaseSourceProvider = z.infer<typeof releaseSourceProviderSchema>;
50
+ export declare const vercelReleaseDestinationSchema: z.ZodObject<{
54
51
  deploymentId: z.ZodNullable<z.ZodString>;
55
52
  deploymentUrl: z.ZodNullable<z.ZodString>;
53
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
54
+ environment: z.ZodNullable<z.ZodString>;
56
55
  environmentName: z.ZodNullable<z.ZodString>;
57
56
  environmentTarget: z.ZodNullable<z.ZodString>;
57
+ provider: z.ZodLiteral<"vercel">;
58
58
  }, z.core.$strip>;
59
- declare const cloudflareReleaseDestinationSchema: z.ZodObject<{
60
- provider: z.ZodLiteral<"cloudflare">;
61
- destinationReleaseId: z.ZodNullable<z.ZodString>;
62
- environment: z.ZodNullable<z.ZodString>;
63
- versionId: z.ZodNullable<z.ZodString>;
64
- scriptName: z.ZodNullable<z.ZodString>;
59
+ export declare const cloudflareReleaseDestinationSchema: z.ZodObject<{
65
60
  accountId: z.ZodNullable<z.ZodString>;
66
61
  deploymentUrl: z.ZodNullable<z.ZodString>;
62
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
63
+ environment: z.ZodNullable<z.ZodString>;
67
64
  environmentName: z.ZodNullable<z.ZodString>;
68
65
  environmentTarget: z.ZodNullable<z.ZodString>;
66
+ provider: z.ZodLiteral<"cloudflare">;
67
+ scriptName: z.ZodNullable<z.ZodString>;
68
+ versionId: z.ZodNullable<z.ZodString>;
69
69
  }, z.core.$strip>;
70
- declare const cliReleaseDestinationSchema: z.ZodObject<{
71
- provider: z.ZodLiteral<"cli">;
72
- destinationReleaseId: z.ZodNullable<z.ZodString>;
73
- environment: z.ZodNullable<z.ZodString>;
70
+ export declare const cliReleaseDestinationSchema: z.ZodObject<{
74
71
  deploymentUrl: z.ZodNullable<z.ZodString>;
75
- }, z.core.$strip>;
76
- declare const releaseDestinationMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
77
- provider: z.ZodLiteral<"vercel">;
78
72
  destinationReleaseId: z.ZodNullable<z.ZodString>;
79
73
  environment: z.ZodNullable<z.ZodString>;
74
+ provider: z.ZodLiteral<"cli">;
75
+ }, z.core.$strip>;
76
+ export declare const releaseDestinationMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
80
77
  deploymentId: z.ZodNullable<z.ZodString>;
81
78
  deploymentUrl: z.ZodNullable<z.ZodString>;
79
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
80
+ environment: z.ZodNullable<z.ZodString>;
82
81
  environmentName: z.ZodNullable<z.ZodString>;
83
82
  environmentTarget: z.ZodNullable<z.ZodString>;
83
+ provider: z.ZodLiteral<"vercel">;
84
84
  }, z.core.$strip>, z.ZodObject<{
85
- provider: z.ZodLiteral<"cloudflare">;
86
- destinationReleaseId: z.ZodNullable<z.ZodString>;
87
- environment: z.ZodNullable<z.ZodString>;
88
- versionId: z.ZodNullable<z.ZodString>;
89
- scriptName: z.ZodNullable<z.ZodString>;
90
85
  accountId: z.ZodNullable<z.ZodString>;
91
86
  deploymentUrl: z.ZodNullable<z.ZodString>;
87
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
88
+ environment: z.ZodNullable<z.ZodString>;
92
89
  environmentName: z.ZodNullable<z.ZodString>;
93
90
  environmentTarget: z.ZodNullable<z.ZodString>;
91
+ provider: z.ZodLiteral<"cloudflare">;
92
+ scriptName: z.ZodNullable<z.ZodString>;
93
+ versionId: z.ZodNullable<z.ZodString>;
94
94
  }, z.core.$strip>, z.ZodObject<{
95
- provider: z.ZodLiteral<"cli">;
95
+ deploymentUrl: z.ZodNullable<z.ZodString>;
96
96
  destinationReleaseId: z.ZodNullable<z.ZodString>;
97
97
  environment: z.ZodNullable<z.ZodString>;
98
- deploymentUrl: z.ZodNullable<z.ZodString>;
98
+ provider: z.ZodLiteral<"cli">;
99
99
  }, z.core.$strip>], "provider">;
100
- type ReleaseDestinationMetadata = z.infer<typeof releaseDestinationMetadataSchema>;
101
- declare const releaseDestinationProviderSchema: z.ZodEnum<{
100
+ export type ReleaseDestinationMetadata = z.infer<typeof releaseDestinationMetadataSchema>;
101
+ export declare const releaseDestinationProviderSchema: z.ZodEnum<{
102
102
  cli: "cli";
103
103
  cloudflare: "cloudflare";
104
104
  vercel: "vercel";
105
105
  }>;
106
- type ReleaseDestinationProvider = z.infer<typeof releaseDestinationProviderSchema>;
107
- declare const configuredSourceProviderSchema: z.ZodEnum<{
106
+ export type ReleaseDestinationProvider = z.infer<typeof releaseDestinationProviderSchema>;
107
+ export declare const configuredSourceProviderSchema: z.ZodEnum<{
108
108
  ghe_cloud: "ghe_cloud";
109
109
  ghe_server: "ghe_server";
110
110
  github: "github";
111
111
  }>;
112
- type ConfiguredSourceProvider = z.infer<typeof configuredSourceProviderSchema>;
113
- declare const configuredDestinationProviderSchema: z.ZodEnum<{
112
+ export type ConfiguredSourceProvider = z.infer<typeof configuredSourceProviderSchema>;
113
+ export declare const configuredDestinationProviderSchema: z.ZodEnum<{
114
114
  cli: "cli";
115
115
  cloudflare: "cloudflare";
116
116
  vercel: "vercel";
117
117
  }>;
118
- type ConfiguredDestinationProvider = z.infer<typeof configuredDestinationProviderSchema>;
119
- declare const sourceProviderSchema: z.ZodEnum<{
118
+ export type ConfiguredDestinationProvider = z.infer<typeof configuredDestinationProviderSchema>;
119
+ export declare const sourceProviderSchema: z.ZodEnum<{
120
120
  ghe_cloud: "ghe_cloud";
121
121
  ghe_server: "ghe_server";
122
122
  github: "github";
123
123
  }>;
124
- type SourceProvider = z.infer<typeof sourceProviderSchema>;
125
- declare const destinationProviderSchema: z.ZodEnum<{
124
+ export type SourceProvider = z.infer<typeof sourceProviderSchema>;
125
+ export declare const destinationProviderSchema: z.ZodEnum<{
126
126
  cloudflare: "cloudflare";
127
127
  vercel: "vercel";
128
128
  }>;
129
- type DestinationProvider = z.infer<typeof destinationProviderSchema>;
130
- declare const releaseSourceIdEnvKeys: ("GITHUB_SHA" | "INTERFERE_SOURCE_ID" | "NEXT_BUILD_ID" | "NEXT_PUBLIC_INTERFERE_BUILD_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_COMMIT_SHA")[];
131
- declare const releaseDestinationIdEnvKeys: ("CF_VERSION_ID" | "GITHUB_SHA" | "INTERFERE_DESTINATION_ID" | "NEXT_PUBLIC_INTERFERE_RELEASE_ID" | "VERCEL_DEPLOYMENT_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_BUILD_UUID")[];
132
- //#endregion
133
- export { ConfiguredDestinationProvider, ConfiguredSourceProvider, DestinationProvider, ReleaseDestinationMetadata, ReleaseDestinationProvider, ReleaseSourceMetadata, ReleaseSourceProvider, SourceProvider, cliReleaseDestinationSchema, cliReleaseSourceSchema, cloudflareReleaseDestinationSchema, configuredDestinationProviderSchema, configuredSourceProviderSchema, destinationProviderSchema, githubReleaseSourceSchema, releaseDestinationIdEnvKeys, releaseDestinationMetadataSchema, releaseDestinationProviderSchema, releaseSourceIdEnvKeys, releaseSourceMetadataSchema, releaseSourceProviderSchema, sourceProviderSchema, vercelReleaseDestinationSchema };
129
+ export type DestinationProvider = z.infer<typeof destinationProviderSchema>;
130
+ export declare const releaseSourceIdEnvKeys: ("GITHUB_SHA" | "INTERFERE_SOURCE_ID" | "NEXT_BUILD_ID" | "NEXT_PUBLIC_INTERFERE_BUILD_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_COMMIT_SHA")[];
131
+ export declare const releaseDestinationIdEnvKeys: ("CF_VERSION_ID" | "GITHUB_SHA" | "INTERFERE_DESTINATION_ID" | "NEXT_PUBLIC_INTERFERE_RELEASE_ID" | "VERCEL_DEPLOYMENT_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_BUILD_UUID")[];
132
+ //#endregion
@@ -1,133 +1,132 @@
1
1
  import { z } from "zod";
2
2
  //#region src/integrations/index.d.ts
3
- declare const githubReleaseSourceSchema: z.ZodObject<{
4
- provider: z.ZodLiteral<"github">;
5
- commitMessage: z.ZodString;
3
+ export declare const githubReleaseSourceSchema: z.ZodObject<{
6
4
  branch: z.ZodString;
5
+ commitMessage: z.ZodString;
7
6
  commitSha: z.ZodNullable<z.ZodString>;
8
- runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ provider: z.ZodLiteral<"github">;
9
8
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
9
  runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  }, z.core.$strip>;
12
- declare const cliReleaseSourceSchema: z.ZodObject<{
13
- provider: z.ZodLiteral<"cli">;
14
- commitSha: z.ZodNullable<z.ZodString>;
15
- commitRef: z.ZodNullable<z.ZodString>;
12
+ export declare const cliReleaseSourceSchema: z.ZodObject<{
16
13
  commitMessage: z.ZodNullable<z.ZodString>;
14
+ commitRef: z.ZodNullable<z.ZodString>;
15
+ commitSha: z.ZodNullable<z.ZodString>;
17
16
  commitUrl: z.ZodNullable<z.ZodString>;
18
- runnerName: z.ZodNullable<z.ZodString>;
17
+ deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ provider: z.ZodLiteral<"cli">;
19
20
  runId: z.ZodNullable<z.ZodString>;
20
21
  runUrl: z.ZodNullable<z.ZodString>;
21
- environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ runnerName: z.ZodNullable<z.ZodString>;
23
23
  }, z.core.$strip>;
24
- declare const releaseSourceMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
25
- provider: z.ZodLiteral<"github">;
26
- commitMessage: z.ZodString;
24
+ export declare const releaseSourceMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
25
  branch: z.ZodString;
26
+ commitMessage: z.ZodString;
28
27
  commitSha: z.ZodNullable<z.ZodString>;
29
- runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ provider: z.ZodLiteral<"github">;
30
29
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
30
  runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ runnerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  }, z.core.$strip>, z.ZodObject<{
33
- provider: z.ZodLiteral<"cli">;
34
- commitSha: z.ZodNullable<z.ZodString>;
35
- commitRef: z.ZodNullable<z.ZodString>;
36
33
  commitMessage: z.ZodNullable<z.ZodString>;
34
+ commitRef: z.ZodNullable<z.ZodString>;
35
+ commitSha: z.ZodNullable<z.ZodString>;
37
36
  commitUrl: z.ZodNullable<z.ZodString>;
38
- runnerName: z.ZodNullable<z.ZodString>;
37
+ deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ provider: z.ZodLiteral<"cli">;
39
40
  runId: z.ZodNullable<z.ZodString>;
40
41
  runUrl: z.ZodNullable<z.ZodString>;
41
- environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- deploymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ runnerName: z.ZodNullable<z.ZodString>;
43
43
  }, z.core.$strip>], "provider">;
44
- type ReleaseSourceMetadata = z.infer<typeof releaseSourceMetadataSchema>;
45
- declare const releaseSourceProviderSchema: z.ZodEnum<{
44
+ export type ReleaseSourceMetadata = z.infer<typeof releaseSourceMetadataSchema>;
45
+ export declare const releaseSourceProviderSchema: z.ZodEnum<{
46
46
  cli: "cli";
47
47
  github: "github";
48
48
  }>;
49
- type ReleaseSourceProvider = z.infer<typeof releaseSourceProviderSchema>;
50
- declare const vercelReleaseDestinationSchema: z.ZodObject<{
51
- provider: z.ZodLiteral<"vercel">;
52
- destinationReleaseId: z.ZodNullable<z.ZodString>;
53
- environment: z.ZodNullable<z.ZodString>;
49
+ export type ReleaseSourceProvider = z.infer<typeof releaseSourceProviderSchema>;
50
+ export declare const vercelReleaseDestinationSchema: z.ZodObject<{
54
51
  deploymentId: z.ZodNullable<z.ZodString>;
55
52
  deploymentUrl: z.ZodNullable<z.ZodString>;
53
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
54
+ environment: z.ZodNullable<z.ZodString>;
56
55
  environmentName: z.ZodNullable<z.ZodString>;
57
56
  environmentTarget: z.ZodNullable<z.ZodString>;
57
+ provider: z.ZodLiteral<"vercel">;
58
58
  }, z.core.$strip>;
59
- declare const cloudflareReleaseDestinationSchema: z.ZodObject<{
60
- provider: z.ZodLiteral<"cloudflare">;
61
- destinationReleaseId: z.ZodNullable<z.ZodString>;
62
- environment: z.ZodNullable<z.ZodString>;
63
- versionId: z.ZodNullable<z.ZodString>;
64
- scriptName: z.ZodNullable<z.ZodString>;
59
+ export declare const cloudflareReleaseDestinationSchema: z.ZodObject<{
65
60
  accountId: z.ZodNullable<z.ZodString>;
66
61
  deploymentUrl: z.ZodNullable<z.ZodString>;
62
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
63
+ environment: z.ZodNullable<z.ZodString>;
67
64
  environmentName: z.ZodNullable<z.ZodString>;
68
65
  environmentTarget: z.ZodNullable<z.ZodString>;
66
+ provider: z.ZodLiteral<"cloudflare">;
67
+ scriptName: z.ZodNullable<z.ZodString>;
68
+ versionId: z.ZodNullable<z.ZodString>;
69
69
  }, z.core.$strip>;
70
- declare const cliReleaseDestinationSchema: z.ZodObject<{
71
- provider: z.ZodLiteral<"cli">;
72
- destinationReleaseId: z.ZodNullable<z.ZodString>;
73
- environment: z.ZodNullable<z.ZodString>;
70
+ export declare const cliReleaseDestinationSchema: z.ZodObject<{
74
71
  deploymentUrl: z.ZodNullable<z.ZodString>;
75
- }, z.core.$strip>;
76
- declare const releaseDestinationMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
77
- provider: z.ZodLiteral<"vercel">;
78
72
  destinationReleaseId: z.ZodNullable<z.ZodString>;
79
73
  environment: z.ZodNullable<z.ZodString>;
74
+ provider: z.ZodLiteral<"cli">;
75
+ }, z.core.$strip>;
76
+ export declare const releaseDestinationMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
80
77
  deploymentId: z.ZodNullable<z.ZodString>;
81
78
  deploymentUrl: z.ZodNullable<z.ZodString>;
79
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
80
+ environment: z.ZodNullable<z.ZodString>;
82
81
  environmentName: z.ZodNullable<z.ZodString>;
83
82
  environmentTarget: z.ZodNullable<z.ZodString>;
83
+ provider: z.ZodLiteral<"vercel">;
84
84
  }, z.core.$strip>, z.ZodObject<{
85
- provider: z.ZodLiteral<"cloudflare">;
86
- destinationReleaseId: z.ZodNullable<z.ZodString>;
87
- environment: z.ZodNullable<z.ZodString>;
88
- versionId: z.ZodNullable<z.ZodString>;
89
- scriptName: z.ZodNullable<z.ZodString>;
90
85
  accountId: z.ZodNullable<z.ZodString>;
91
86
  deploymentUrl: z.ZodNullable<z.ZodString>;
87
+ destinationReleaseId: z.ZodNullable<z.ZodString>;
88
+ environment: z.ZodNullable<z.ZodString>;
92
89
  environmentName: z.ZodNullable<z.ZodString>;
93
90
  environmentTarget: z.ZodNullable<z.ZodString>;
91
+ provider: z.ZodLiteral<"cloudflare">;
92
+ scriptName: z.ZodNullable<z.ZodString>;
93
+ versionId: z.ZodNullable<z.ZodString>;
94
94
  }, z.core.$strip>, z.ZodObject<{
95
- provider: z.ZodLiteral<"cli">;
95
+ deploymentUrl: z.ZodNullable<z.ZodString>;
96
96
  destinationReleaseId: z.ZodNullable<z.ZodString>;
97
97
  environment: z.ZodNullable<z.ZodString>;
98
- deploymentUrl: z.ZodNullable<z.ZodString>;
98
+ provider: z.ZodLiteral<"cli">;
99
99
  }, z.core.$strip>], "provider">;
100
- type ReleaseDestinationMetadata = z.infer<typeof releaseDestinationMetadataSchema>;
101
- declare const releaseDestinationProviderSchema: z.ZodEnum<{
100
+ export type ReleaseDestinationMetadata = z.infer<typeof releaseDestinationMetadataSchema>;
101
+ export declare const releaseDestinationProviderSchema: z.ZodEnum<{
102
102
  cli: "cli";
103
103
  cloudflare: "cloudflare";
104
104
  vercel: "vercel";
105
105
  }>;
106
- type ReleaseDestinationProvider = z.infer<typeof releaseDestinationProviderSchema>;
107
- declare const configuredSourceProviderSchema: z.ZodEnum<{
106
+ export type ReleaseDestinationProvider = z.infer<typeof releaseDestinationProviderSchema>;
107
+ export declare const configuredSourceProviderSchema: z.ZodEnum<{
108
108
  ghe_cloud: "ghe_cloud";
109
109
  ghe_server: "ghe_server";
110
110
  github: "github";
111
111
  }>;
112
- type ConfiguredSourceProvider = z.infer<typeof configuredSourceProviderSchema>;
113
- declare const configuredDestinationProviderSchema: z.ZodEnum<{
112
+ export type ConfiguredSourceProvider = z.infer<typeof configuredSourceProviderSchema>;
113
+ export declare const configuredDestinationProviderSchema: z.ZodEnum<{
114
114
  cli: "cli";
115
115
  cloudflare: "cloudflare";
116
116
  vercel: "vercel";
117
117
  }>;
118
- type ConfiguredDestinationProvider = z.infer<typeof configuredDestinationProviderSchema>;
119
- declare const sourceProviderSchema: z.ZodEnum<{
118
+ export type ConfiguredDestinationProvider = z.infer<typeof configuredDestinationProviderSchema>;
119
+ export declare const sourceProviderSchema: z.ZodEnum<{
120
120
  ghe_cloud: "ghe_cloud";
121
121
  ghe_server: "ghe_server";
122
122
  github: "github";
123
123
  }>;
124
- type SourceProvider = z.infer<typeof sourceProviderSchema>;
125
- declare const destinationProviderSchema: z.ZodEnum<{
124
+ export type SourceProvider = z.infer<typeof sourceProviderSchema>;
125
+ export declare const destinationProviderSchema: z.ZodEnum<{
126
126
  cloudflare: "cloudflare";
127
127
  vercel: "vercel";
128
128
  }>;
129
- type DestinationProvider = z.infer<typeof destinationProviderSchema>;
130
- declare const releaseSourceIdEnvKeys: ("GITHUB_SHA" | "INTERFERE_SOURCE_ID" | "NEXT_BUILD_ID" | "NEXT_PUBLIC_INTERFERE_BUILD_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_COMMIT_SHA")[];
131
- declare const releaseDestinationIdEnvKeys: ("CF_VERSION_ID" | "GITHUB_SHA" | "INTERFERE_DESTINATION_ID" | "NEXT_PUBLIC_INTERFERE_RELEASE_ID" | "VERCEL_DEPLOYMENT_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_BUILD_UUID")[];
132
- //#endregion
133
- export { ConfiguredDestinationProvider, ConfiguredSourceProvider, DestinationProvider, ReleaseDestinationMetadata, ReleaseDestinationProvider, ReleaseSourceMetadata, ReleaseSourceProvider, SourceProvider, cliReleaseDestinationSchema, cliReleaseSourceSchema, cloudflareReleaseDestinationSchema, configuredDestinationProviderSchema, configuredSourceProviderSchema, destinationProviderSchema, githubReleaseSourceSchema, releaseDestinationIdEnvKeys, releaseDestinationMetadataSchema, releaseDestinationProviderSchema, releaseSourceIdEnvKeys, releaseSourceMetadataSchema, releaseSourceProviderSchema, sourceProviderSchema, vercelReleaseDestinationSchema };
129
+ export type DestinationProvider = z.infer<typeof destinationProviderSchema>;
130
+ export declare const releaseSourceIdEnvKeys: ("GITHUB_SHA" | "INTERFERE_SOURCE_ID" | "NEXT_BUILD_ID" | "NEXT_PUBLIC_INTERFERE_BUILD_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_COMMIT_SHA")[];
131
+ export declare const releaseDestinationIdEnvKeys: ("CF_VERSION_ID" | "GITHUB_SHA" | "INTERFERE_DESTINATION_ID" | "NEXT_PUBLIC_INTERFERE_RELEASE_ID" | "VERCEL_DEPLOYMENT_ID" | "VERCEL_GIT_COMMIT_SHA" | "WORKERS_CI_BUILD_UUID")[];
132
+ //#endregion
@@ -1 +1 @@
1
- import{cloudflareDestinationIdEnvKeys,cloudflareSourceIdEnvKeys}from"./platforms/cloudflare.mjs";import{githubSourceIdEnvKeys}from"./platforms/github.mjs";import{vercelDestinationIdEnvKeys}from"./platforms/vercel.mjs";import{z}from"zod";const githubReleaseSourceSchema=z.object({provider:z.literal(`github`),commitMessage:z.string(),branch:z.string(),commitSha:z.string().nullable(),runnerName:z.string().nullable().optional(),runId:z.string().nullable().optional(),runUrl:z.string().nullable().optional()}).meta({id:`GithubReleaseSource`,title:`GithubReleaseSource`,description:`Release source metadata coming from GitHub.`}),cliReleaseSourceSchema=z.object({provider:z.literal(`cli`),commitSha:z.string().nullable(),commitRef:z.string().nullable(),commitMessage:z.string().nullable(),commitUrl:z.string().nullable(),runnerName:z.string().nullable(),runId:z.string().nullable(),runUrl:z.string().nullable(),environment:z.string().nullable().optional(),deploymentUrl:z.string().nullable().optional()}).meta({id:`CliReleaseSource`,title:`CliReleaseSource`,description:`Release source metadata from the Interfere CLI.`}),releaseSourceMetadataSchema=z.discriminatedUnion(`provider`,[githubReleaseSourceSchema,cliReleaseSourceSchema]).meta({id:`ReleaseSource`,title:`ReleaseSource`}),releaseSourceProviderSchema=z.enum([`github`,`cli`]).meta({id:`ReleaseSourceProvider`,title:`ReleaseSourceProvider`}),vercelReleaseDestinationSchema=z.object({provider:z.literal(`vercel`),destinationReleaseId:z.string().nullable(),environment:z.string().nullable(),deploymentId:z.string().nullable(),deploymentUrl:z.string().nullable(),environmentName:z.string().nullable(),environmentTarget:z.string().nullable()}).meta({id:`VercelReleaseDestination`,title:`VercelReleaseDestination`,description:`Release destination metadata for a Vercel deployment.`}),cloudflareReleaseDestinationSchema=z.object({provider:z.literal(`cloudflare`),destinationReleaseId:z.string().nullable(),environment:z.string().nullable(),versionId:z.string().nullable(),scriptName:z.string().nullable(),accountId:z.string().nullable(),deploymentUrl:z.string().nullable(),environmentName:z.string().nullable(),environmentTarget:z.string().nullable()}).meta({id:`CloudflareReleaseDestination`,title:`CloudflareReleaseDestination`,description:`Release destination metadata for a Cloudflare Workers deployment.`}),cliReleaseDestinationSchema=z.object({provider:z.literal(`cli`),destinationReleaseId:z.string().nullable(),environment:z.string().nullable(),deploymentUrl:z.string().nullable()}).meta({id:`CliReleaseDestination`,title:`CliReleaseDestination`,description:`Release destination metadata from the Interfere CLI.`}),releaseDestinationMetadataSchema=z.discriminatedUnion(`provider`,[vercelReleaseDestinationSchema,cloudflareReleaseDestinationSchema,cliReleaseDestinationSchema]).meta({id:`ReleaseDestination`,title:`ReleaseDestination`}),releaseDestinationProviderSchema=z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ReleaseDestinationProvider`,title:`ReleaseDestinationProvider`}),configuredSourceProviderSchema=z.enum([`github`,`ghe_cloud`,`ghe_server`]).meta({id:`ConfiguredSourceProvider`,title:`ConfiguredSourceProvider`}),configuredDestinationProviderSchema=z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ConfiguredDestinationProvider`,title:`ConfiguredDestinationProvider`}),sourceProviderSchema=configuredSourceProviderSchema.meta({id:`SourceProvider`,title:`SourceProvider`}),destinationProviderSchema=z.enum([`vercel`,`cloudflare`]).meta({id:`DestinationProvider`,title:`DestinationProvider`}),releaseSourceIdEnvKeys=z.enum([`NEXT_PUBLIC_INTERFERE_BUILD_ID`,`INTERFERE_SOURCE_ID`,`NEXT_BUILD_ID`,...githubSourceIdEnvKeys,...cloudflareSourceIdEnvKeys]).options,releaseDestinationIdEnvKeys=z.enum([`NEXT_PUBLIC_INTERFERE_RELEASE_ID`,`INTERFERE_DESTINATION_ID`,...vercelDestinationIdEnvKeys,...cloudflareDestinationIdEnvKeys,...githubSourceIdEnvKeys]).options;export{cliReleaseDestinationSchema,cliReleaseSourceSchema,cloudflareReleaseDestinationSchema,configuredDestinationProviderSchema,configuredSourceProviderSchema,destinationProviderSchema,githubReleaseSourceSchema,releaseDestinationIdEnvKeys,releaseDestinationMetadataSchema,releaseDestinationProviderSchema,releaseSourceIdEnvKeys,releaseSourceMetadataSchema,releaseSourceProviderSchema,sourceProviderSchema,vercelReleaseDestinationSchema};
1
+ import{cloudflareDestinationIdEnvKeys,cloudflareSourceIdEnvKeys}from"./platforms/cloudflare.mjs";import{githubSourceIdEnvKeys}from"./platforms/github.mjs";import{vercelDestinationIdEnvKeys}from"./platforms/vercel.mjs";import{z}from"zod";const githubReleaseSourceSchema=z.object({branch:z.string(),commitMessage:z.string(),commitSha:z.string().nullable(),provider:z.literal(`github`),runId:z.string().nullable().optional(),runUrl:z.string().nullable().optional(),runnerName:z.string().nullable().optional()}).meta({description:`Release source metadata coming from GitHub.`,id:`GithubReleaseSource`,title:`GithubReleaseSource`}),cliReleaseSourceSchema=z.object({commitMessage:z.string().nullable(),commitRef:z.string().nullable(),commitSha:z.string().nullable(),commitUrl:z.string().nullable(),deploymentUrl:z.string().nullable().optional(),environment:z.string().nullable().optional(),provider:z.literal(`cli`),runId:z.string().nullable(),runUrl:z.string().nullable(),runnerName:z.string().nullable()}).meta({description:`Release source metadata from the Interfere CLI.`,id:`CliReleaseSource`,title:`CliReleaseSource`}),releaseSourceMetadataSchema=z.discriminatedUnion(`provider`,[githubReleaseSourceSchema,cliReleaseSourceSchema]).meta({id:`ReleaseSource`,title:`ReleaseSource`}),releaseSourceProviderSchema=z.enum([`github`,`cli`]).meta({id:`ReleaseSourceProvider`,title:`ReleaseSourceProvider`}),vercelReleaseDestinationSchema=z.object({deploymentId:z.string().nullable(),deploymentUrl:z.string().nullable(),destinationReleaseId:z.string().nullable(),environment:z.string().nullable(),environmentName:z.string().nullable(),environmentTarget:z.string().nullable(),provider:z.literal(`vercel`)}).meta({description:`Release destination metadata for a Vercel deployment.`,id:`VercelReleaseDestination`,title:`VercelReleaseDestination`}),cloudflareReleaseDestinationSchema=z.object({accountId:z.string().nullable(),deploymentUrl:z.string().nullable(),destinationReleaseId:z.string().nullable(),environment:z.string().nullable(),environmentName:z.string().nullable(),environmentTarget:z.string().nullable(),provider:z.literal(`cloudflare`),scriptName:z.string().nullable(),versionId:z.string().nullable()}).meta({description:`Release destination metadata for a Cloudflare Workers deployment.`,id:`CloudflareReleaseDestination`,title:`CloudflareReleaseDestination`}),cliReleaseDestinationSchema=z.object({deploymentUrl:z.string().nullable(),destinationReleaseId:z.string().nullable(),environment:z.string().nullable(),provider:z.literal(`cli`)}).meta({description:`Release destination metadata from the Interfere CLI.`,id:`CliReleaseDestination`,title:`CliReleaseDestination`}),releaseDestinationMetadataSchema=z.discriminatedUnion(`provider`,[vercelReleaseDestinationSchema,cloudflareReleaseDestinationSchema,cliReleaseDestinationSchema]).meta({id:`ReleaseDestination`,title:`ReleaseDestination`}),releaseDestinationProviderSchema=z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ReleaseDestinationProvider`,title:`ReleaseDestinationProvider`}),configuredSourceProviderSchema=z.enum([`github`,`ghe_cloud`,`ghe_server`]).meta({id:`ConfiguredSourceProvider`,title:`ConfiguredSourceProvider`}),configuredDestinationProviderSchema=z.enum([`vercel`,`cloudflare`,`cli`]).meta({id:`ConfiguredDestinationProvider`,title:`ConfiguredDestinationProvider`}),sourceProviderSchema=configuredSourceProviderSchema.meta({id:`SourceProvider`,title:`SourceProvider`}),destinationProviderSchema=z.enum([`vercel`,`cloudflare`]).meta({id:`DestinationProvider`,title:`DestinationProvider`}),releaseSourceIdEnvKeys=z.enum([`NEXT_PUBLIC_INTERFERE_BUILD_ID`,`INTERFERE_SOURCE_ID`,`NEXT_BUILD_ID`,...githubSourceIdEnvKeys,...cloudflareSourceIdEnvKeys]).options,releaseDestinationIdEnvKeys=z.enum([`NEXT_PUBLIC_INTERFERE_RELEASE_ID`,`INTERFERE_DESTINATION_ID`,...vercelDestinationIdEnvKeys,...cloudflareDestinationIdEnvKeys,...githubSourceIdEnvKeys]).options;export{cliReleaseDestinationSchema,cliReleaseSourceSchema,cloudflareReleaseDestinationSchema,configuredDestinationProviderSchema,configuredSourceProviderSchema,destinationProviderSchema,githubReleaseSourceSchema,releaseDestinationIdEnvKeys,releaseDestinationMetadataSchema,releaseDestinationProviderSchema,releaseSourceIdEnvKeys,releaseSourceMetadataSchema,releaseSourceProviderSchema,sourceProviderSchema,vercelReleaseDestinationSchema};
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let zod=require("zod");const cliIntegration=zod.z.object({name:zod.z.literal(`cli`),metadata:zod.z.object({installationUrl:zod.z.string().nullable().default(null)})});exports.cliIntegration=cliIntegration;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let zod=require("zod");const cliIntegration=zod.z.object({metadata:zod.z.object({installationUrl:zod.z.string().nullable().default(null)}),name:zod.z.literal(`cli`)});exports.cliIntegration=cliIntegration;
@@ -1,10 +1,9 @@
1
1
  import { z } from "zod";
2
2
  //#region src/integrations/platforms/cli.d.ts
3
- declare const cliIntegration: z.ZodObject<{
4
- name: z.ZodLiteral<"cli">;
3
+ export declare const cliIntegration: z.ZodObject<{
5
4
  metadata: z.ZodObject<{
6
5
  installationUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7
6
  }, z.core.$strip>;
7
+ name: z.ZodLiteral<"cli">;
8
8
  }, z.core.$strip>;
9
- //#endregion
10
- export { cliIntegration };
9
+ //#endregion
@@ -1,10 +1,9 @@
1
1
  import { z } from "zod";
2
2
  //#region src/integrations/platforms/cli.d.ts
3
- declare const cliIntegration: z.ZodObject<{
4
- name: z.ZodLiteral<"cli">;
3
+ export declare const cliIntegration: z.ZodObject<{
5
4
  metadata: z.ZodObject<{
6
5
  installationUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7
6
  }, z.core.$strip>;
7
+ name: z.ZodLiteral<"cli">;
8
8
  }, z.core.$strip>;
9
- //#endregion
10
- export { cliIntegration };
9
+ //#endregion
@@ -1 +1 @@
1
- import{z}from"zod";const cliIntegration=z.object({name:z.literal(`cli`),metadata:z.object({installationUrl:z.string().nullable().default(null)})});export{cliIntegration};
1
+ import{z}from"zod";const cliIntegration=z.object({metadata:z.object({installationUrl:z.string().nullable().default(null)}),name:z.literal(`cli`)});export{cliIntegration};
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let zod=require("zod");const cloudflareDestinationIdEnvKeys=zod.z.enum([`CF_VERSION_ID`,`WORKERS_CI_BUILD_UUID`]).options,cloudflareSourceIdEnvKeys=zod.z.enum([`WORKERS_CI_COMMIT_SHA`]).options,cloudflareAccountMetadata=zod.z.object({accountType:zod.z.literal(`account`),id:zod.z.string(),name:zod.z.string().nullable().default(null),avatar:zod.z.string().nullable().default(null),installationUrl:zod.z.string().nullable(),workers:zod.z.record(zod.z.string(),zod.z.string()).default({}),refreshToken:zod.z.string().nullable().default(null),versionCutoffs:zod.z.record(zod.z.string(),zod.z.string()).default({})}),cloudflareMetadataSchema=zod.z.discriminatedUnion(`accountType`,[cloudflareAccountMetadata]),cloudflareIntegration=zod.z.object({name:zod.z.literal(`cloudflare`),metadata:cloudflareMetadataSchema});exports.cloudflareAccountMetadata=cloudflareAccountMetadata,exports.cloudflareDestinationIdEnvKeys=cloudflareDestinationIdEnvKeys,exports.cloudflareIntegration=cloudflareIntegration,exports.cloudflareSourceIdEnvKeys=cloudflareSourceIdEnvKeys;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let zod=require("zod");const cloudflareDestinationIdEnvKeys=zod.z.enum([`CF_VERSION_ID`,`WORKERS_CI_BUILD_UUID`]).options,cloudflareSourceIdEnvKeys=zod.z.enum([`WORKERS_CI_COMMIT_SHA`]).options,cloudflareAccountMetadata=zod.z.object({accountType:zod.z.literal(`account`),avatar:zod.z.string().nullable().default(null),id:zod.z.string(),installationUrl:zod.z.string().nullable(),name:zod.z.string().nullable().default(null),refreshToken:zod.z.string().nullable().default(null),versionCutoffs:zod.z.record(zod.z.string(),zod.z.string()).default({}),workers:zod.z.record(zod.z.string(),zod.z.string()).default({})}),cloudflareMetadataSchema=zod.z.discriminatedUnion(`accountType`,[cloudflareAccountMetadata]),cloudflareIntegration=zod.z.object({metadata:cloudflareMetadataSchema,name:zod.z.literal(`cloudflare`)});exports.cloudflareAccountMetadata=cloudflareAccountMetadata,exports.cloudflareDestinationIdEnvKeys=cloudflareDestinationIdEnvKeys,exports.cloudflareIntegration=cloudflareIntegration,exports.cloudflareSourceIdEnvKeys=cloudflareSourceIdEnvKeys;
@@ -1,29 +1,28 @@
1
1
  import { z } from "zod";
2
2
  //#region src/integrations/platforms/cloudflare.d.ts
3
- declare const cloudflareDestinationIdEnvKeys: ("CF_VERSION_ID" | "WORKERS_CI_BUILD_UUID")[];
4
- declare const cloudflareSourceIdEnvKeys: "WORKERS_CI_COMMIT_SHA"[];
5
- declare const cloudflareAccountMetadata: z.ZodObject<{
3
+ export declare const cloudflareDestinationIdEnvKeys: ("CF_VERSION_ID" | "WORKERS_CI_BUILD_UUID")[];
4
+ export declare const cloudflareSourceIdEnvKeys: "WORKERS_CI_COMMIT_SHA"[];
5
+ export declare const cloudflareAccountMetadata: z.ZodObject<{
6
6
  accountType: z.ZodLiteral<"account">;
7
- id: z.ZodString;
8
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9
7
  avatar: z.ZodDefault<z.ZodNullable<z.ZodString>>;
8
+ id: z.ZodString;
10
9
  installationUrl: z.ZodNullable<z.ZodString>;
11
- workers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
10
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12
11
  refreshToken: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13
12
  versionCutoffs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
13
+ workers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
14
14
  }, z.core.$strip>;
15
- declare const cloudflareIntegration: z.ZodObject<{
16
- name: z.ZodLiteral<"cloudflare">;
15
+ export declare const cloudflareIntegration: z.ZodObject<{
17
16
  metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
18
17
  accountType: z.ZodLiteral<"account">;
19
- id: z.ZodString;
20
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
21
18
  avatar: z.ZodDefault<z.ZodNullable<z.ZodString>>;
19
+ id: z.ZodString;
22
20
  installationUrl: z.ZodNullable<z.ZodString>;
23
- workers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
21
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24
22
  refreshToken: z.ZodDefault<z.ZodNullable<z.ZodString>>;
25
23
  versionCutoffs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
24
+ workers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
26
25
  }, z.core.$strip>], "accountType">;
26
+ name: z.ZodLiteral<"cloudflare">;
27
27
  }, z.core.$strip>;
28
- //#endregion
29
- export { cloudflareAccountMetadata, cloudflareDestinationIdEnvKeys, cloudflareIntegration, cloudflareSourceIdEnvKeys };
28
+ //#endregion