@lunora/codegen 1.0.0-alpha.34 → 1.0.0-alpha.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1434,14 +1434,15 @@ interface IdentityClaimReadIR {
1434
1434
  }
1435
1435
  /**
1436
1436
  * One payment webhook-adapter construction in `lunora/` (`createStripeAdapter` /
1437
- * `createPolarAdapter`). `toleranceSeconds` carries the statically-known
1438
- * `webhookToleranceSeconds` replay window when it is a plain numeric literal; the
1439
- * payment-webhook wide-tolerance lint fires when it exceeds a conservative
1440
- * ceiling. Structurally identical to `AdvisorPaymentWebhook`.
1437
+ * `createPolarAdapter` / `createAutumnAdapter` / `createDodoPaymentsAdapter`).
1438
+ * `toleranceSeconds` carries the statically-known `webhookToleranceSeconds`
1439
+ * replay window when it is a plain numeric literal; the payment-webhook
1440
+ * wide-tolerance lint fires when it exceeds a conservative ceiling. Structurally
1441
+ * identical to `AdvisorPaymentWebhook`.
1441
1442
  */
1442
1443
  interface PaymentWebhookIR {
1443
1444
  /** The adapter factory invoked. */
1444
- callee: "createPolarAdapter" | "createStripeAdapter";
1445
+ callee: "createAutumnAdapter" | "createDodoPaymentsAdapter" | "createPolarAdapter" | "createStripeAdapter";
1445
1446
  /** Export binding name of the enclosing declaration (`<module>` at file scope). */
1446
1447
  exportName: string;
1447
1448
  /** Source file relative to `<projectRoot>/lunora/`, without extension. */
package/dist/index.d.ts CHANGED
@@ -1434,14 +1434,15 @@ interface IdentityClaimReadIR {
1434
1434
  }
1435
1435
  /**
1436
1436
  * One payment webhook-adapter construction in `lunora/` (`createStripeAdapter` /
1437
- * `createPolarAdapter`). `toleranceSeconds` carries the statically-known
1438
- * `webhookToleranceSeconds` replay window when it is a plain numeric literal; the
1439
- * payment-webhook wide-tolerance lint fires when it exceeds a conservative
1440
- * ceiling. Structurally identical to `AdvisorPaymentWebhook`.
1437
+ * `createPolarAdapter` / `createAutumnAdapter` / `createDodoPaymentsAdapter`).
1438
+ * `toleranceSeconds` carries the statically-known `webhookToleranceSeconds`
1439
+ * replay window when it is a plain numeric literal; the payment-webhook
1440
+ * wide-tolerance lint fires when it exceeds a conservative ceiling. Structurally
1441
+ * identical to `AdvisorPaymentWebhook`.
1441
1442
  */
1442
1443
  interface PaymentWebhookIR {
1443
1444
  /** The adapter factory invoked. */
1444
- callee: "createPolarAdapter" | "createStripeAdapter";
1445
+ callee: "createAutumnAdapter" | "createDodoPaymentsAdapter" | "createPolarAdapter" | "createStripeAdapter";
1445
1446
  /** Export binding name of the enclosing declaration (`<module>` at file scope). */
1446
1447
  exportName: string;
1447
1448
  /** Source file relative to `<projectRoot>/lunora/`, without extension. */
package/dist/index.mjs CHANGED
@@ -23,7 +23,7 @@ export { G as GENERATED_HEADER, e as emitApi, a as emitCollections, b as emitCon
23
23
  export { emitApp } from './packem_shared/emitApp-nQ2oC-8G.mjs';
24
24
  export { buildOpenApiDocument, emitOpenApi, emitOpenApiModule } from './packem_shared/buildOpenApiDocument-bp1pYSV6.mjs';
25
25
  export { OPENRPC_VERSION, buildOpenRpcDocument, emitOpenRpc, emitOpenRpcModule } from './packem_shared/OPENRPC_VERSION-4YIeMkOI.mjs';
26
- export { SCHEMA_SNAPSHOT_FILENAME, createCodegenProject, refreshCodegenProject, runCodegen } from './packem_shared/SCHEMA_SNAPSHOT_FILENAME-DnD-_HwA.mjs';
26
+ export { SCHEMA_SNAPSHOT_FILENAME, createCodegenProject, refreshCodegenProject, runCodegen } from './packem_shared/SCHEMA_SNAPSHOT_FILENAME-C6Q0h0O5.mjs';
27
27
  export { SCHEMA_SNAPSHOT_VERSION, SchemaSnapshotParseError, buildSchemaSnapshot, diffSchemaSnapshots, evaluateSchemaDrift, parseSchemaSnapshot, serializeSchemaSnapshot } from './packem_shared/SCHEMA_SNAPSHOT_VERSION-D0ARY6rL.mjs';
28
28
  export { schemaFromIr } from './packem_shared/schemaFromIr-DTYsLBaA.mjs';
29
29
  export { LUNORA_ERROR_CODES, validatorIrToJsonSchema } from './packem_shared/LUNORA_ERROR_CODES-CySpQPD3.mjs';
@@ -2020,7 +2020,7 @@ const discoverPackageDependencies = (projectRoot) => {
2020
2020
  }
2021
2021
  };
2022
2022
 
2023
- const WEBHOOK_ADAPTER_CALLEES = /* @__PURE__ */ new Set(["createPolarAdapter", "createStripeAdapter"]);
2023
+ const WEBHOOK_ADAPTER_CALLEES = /* @__PURE__ */ new Set(["createAutumnAdapter", "createDodoPaymentsAdapter", "createPolarAdapter", "createStripeAdapter"]);
2024
2024
  const numericLiteralValue$1 = (node) => node && Node.isNumericLiteral(node) ? Number(node.getText()) : void 0;
2025
2025
  const toleranceFromOptions = (objectLiteral) => {
2026
2026
  const property = objectLiteral.getProperty("webhookToleranceSeconds");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/codegen",
3
- "version": "1.0.0-alpha.34",
3
+ "version": "1.0.0-alpha.35",
4
4
  "description": "Code generator for Lunora: emits _generated/{api,server,dataModel}.ts from your schema",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@lunora/advisor": "1.0.0-alpha.20",
49
+ "@lunora/advisor": "1.0.0-alpha.21",
50
50
  "@lunora/container": "1.0.0-alpha.7",
51
51
  "@lunora/errors": "1.0.0-alpha.2",
52
52
  "@lunora/queue": "1.0.0-alpha.5",