@lucern/contracts 0.3.0-alpha.14 → 0.3.0-alpha.16

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 (53) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/dist/function-registry/beliefs.d.ts +1 -1
  3. package/dist/function-registry/beliefs.js +3 -15
  4. package/dist/function-registry/beliefs.js.map +1 -1
  5. package/dist/function-registry/coding.d.ts +1 -1
  6. package/dist/function-registry/context.d.ts +1 -1
  7. package/dist/function-registry/contracts.d.ts +1 -1
  8. package/dist/function-registry/coordination.d.ts +1 -1
  9. package/dist/function-registry/edges.d.ts +1 -1
  10. package/dist/function-registry/evidence.d.ts +1 -1
  11. package/dist/function-registry/evidence.js +2 -11
  12. package/dist/function-registry/evidence.js.map +1 -1
  13. package/dist/function-registry/graph.d.ts +1 -1
  14. package/dist/function-registry/identity.d.ts +1 -1
  15. package/dist/function-registry/identity.js +3 -6
  16. package/dist/function-registry/identity.js.map +1 -1
  17. package/dist/function-registry/judgments.d.ts +1 -1
  18. package/dist/function-registry/legacy.d.ts +1 -1
  19. package/dist/function-registry/lenses.d.ts +1 -1
  20. package/dist/function-registry/nodes.d.ts +1 -1
  21. package/dist/function-registry/ontologies.d.ts +1 -1
  22. package/dist/function-registry/pipeline.d.ts +1 -1
  23. package/dist/function-registry/questions.d.ts +1 -1
  24. package/dist/function-registry/questions.js +2 -5
  25. package/dist/function-registry/questions.js.map +1 -1
  26. package/dist/function-registry/tasks.d.ts +1 -1
  27. package/dist/function-registry/tasks.js +15 -1
  28. package/dist/function-registry/tasks.js.map +1 -1
  29. package/dist/function-registry/topics.d.ts +1 -1
  30. package/dist/function-registry/types.d.ts +1 -1
  31. package/dist/function-registry/worktrees.d.ts +1 -1
  32. package/dist/generated/convexSchemas.js +1 -1
  33. package/dist/generated/convexSchemas.js.map +1 -1
  34. package/dist/generated/infisicalRuntimeEnv.js +122 -0
  35. package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
  36. package/dist/index.js +167 -0
  37. package/dist/index.js.map +1 -1
  38. package/dist/infisical-runtime.contract.d.ts +39 -0
  39. package/dist/infisical-runtime.contract.js +44 -0
  40. package/dist/infisical-runtime.contract.js.map +1 -1
  41. package/dist/manifests/infisical-runtime-manifest.d.ts +38 -0
  42. package/dist/manifests/infisical-runtime-manifest.js +44 -0
  43. package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
  44. package/dist/proof-attestation.json +1 -1
  45. package/dist/schemas/index.js +1 -0
  46. package/dist/schemas/index.js.map +1 -1
  47. package/dist/schemas/manifest.d.ts +5 -0
  48. package/dist/schemas/manifest.js +1 -0
  49. package/dist/schemas/manifest.js.map +1 -1
  50. package/dist/schemas/tables/mc/tenant.d.ts +1 -0
  51. package/dist/schemas/tables/mc/tenant.js +1 -0
  52. package/dist/schemas/tables/mc/tenant.js.map +1 -1
  53. package/package.json +1 -1
@@ -5203,6 +5203,7 @@ declare const MC_TABLE_CONTRACTS: readonly [TableContract<{
5203
5203
  }>, TableContract<{
5204
5204
  tenantId: ConvexIdSchema<"tenants">;
5205
5205
  workspaceId: zod.ZodOptional<ConvexIdSchema<"workspaces">>;
5206
+ environment: zod.ZodOptional<zod.ZodEnum<["dev", "staging", "prod"]>>;
5206
5207
  keyPrefix: zod.ZodEnum<["luc", "stk"]>;
5207
5208
  keyHash: zod.ZodString;
5208
5209
  keyHint: zod.ZodString;
@@ -10541,6 +10542,7 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
10541
10542
  }>, TableContract<{
10542
10543
  tenantId: ConvexIdSchema<"tenants">;
10543
10544
  workspaceId: zod.ZodOptional<ConvexIdSchema<"workspaces">>;
10545
+ environment: zod.ZodOptional<zod.ZodEnum<["dev", "staging", "prod"]>>;
10544
10546
  keyPrefix: zod.ZodEnum<["luc", "stk"]>;
10545
10547
  keyHash: zod.ZodString;
10546
10548
  keyHint: zod.ZodString;
@@ -15878,6 +15880,7 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
15878
15880
  }>, TableContract<{
15879
15881
  tenantId: ConvexIdSchema<"tenants">;
15880
15882
  workspaceId: zod.ZodOptional<ConvexIdSchema<"workspaces">>;
15883
+ environment: zod.ZodOptional<zod.ZodEnum<["dev", "staging", "prod"]>>;
15881
15884
  keyPrefix: zod.ZodEnum<["luc", "stk"]>;
15882
15885
  keyHash: zod.ZodString;
15883
15886
  keyHint: zod.ZodString;
@@ -16204,6 +16207,7 @@ declare function listTableContractsByName(name: string): (TableContract<{
16204
16207
  }> | TableContract<{
16205
16208
  tenantId: ConvexIdSchema<"tenants">;
16206
16209
  workspaceId: zod.ZodOptional<ConvexIdSchema<"workspaces">>;
16210
+ environment: zod.ZodOptional<zod.ZodEnum<["dev", "staging", "prod"]>>;
16207
16211
  keyPrefix: zod.ZodEnum<["luc", "stk"]>;
16208
16212
  keyHash: zod.ZodString;
16209
16213
  keyHint: zod.ZodString;
@@ -21539,6 +21543,7 @@ declare function getTableContract(name: string, component?: string): TableContra
21539
21543
  }> | TableContract<{
21540
21544
  tenantId: ConvexIdSchema<"tenants">;
21541
21545
  workspaceId: zod.ZodOptional<ConvexIdSchema<"workspaces">>;
21546
+ environment: zod.ZodOptional<zod.ZodEnum<["dev", "staging", "prod"]>>;
21542
21547
  keyPrefix: zod.ZodEnum<["luc", "stk"]>;
21543
21548
  keyHash: zod.ZodString;
21544
21549
  keyHint: zod.ZodString;
@@ -235,6 +235,7 @@ var apiKeys = defineTable({
235
235
  shape: z.object({
236
236
  "tenantId": idOf("tenants"),
237
237
  "workspaceId": idOf("workspaces").optional(),
238
+ "environment": z.enum(["dev", "staging", "prod"]).optional(),
238
239
  "keyPrefix": z.enum(["luc", "stk"]),
239
240
  "keyHash": z.string(),
240
241
  "keyHint": z.string(),