@lucern/contracts 0.1.2-alpha.4 → 0.3.0-alpha.0
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/defineFunction-DO97DKs4.d.ts +14 -0
- package/dist/defineTable-CBQ03FXl.d.ts +36 -0
- package/dist/dsl-BgpoVOVQ.d.ts +110 -0
- package/dist/dsl.d.ts +5 -0
- package/dist/dsl.js +675 -0
- package/dist/dsl.js.map +1 -0
- package/dist/function-registry/beliefs.d.ts +519 -0
- package/dist/function-registry/beliefs.js +4326 -0
- package/dist/function-registry/beliefs.js.map +1 -0
- package/dist/function-registry/coding.d.ts +347 -0
- package/dist/function-registry/coding.js +4268 -0
- package/dist/function-registry/coding.js.map +1 -0
- package/dist/function-registry/context.d.ts +218 -0
- package/dist/function-registry/context.js +4175 -0
- package/dist/function-registry/context.js.map +1 -0
- package/dist/function-registry/contracts.d.ts +218 -0
- package/dist/function-registry/contracts.js +4143 -0
- package/dist/function-registry/contracts.js.map +1 -0
- package/dist/function-registry/coordination.d.ts +476 -0
- package/dist/function-registry/coordination.js +4254 -0
- package/dist/function-registry/coordination.js.map +1 -0
- package/dist/function-registry/edges.d.ts +175 -0
- package/dist/function-registry/edges.js +4150 -0
- package/dist/function-registry/edges.js.map +1 -0
- package/dist/function-registry/evidence.d.ts +433 -0
- package/dist/function-registry/evidence.js +4302 -0
- package/dist/function-registry/evidence.js.map +1 -0
- package/dist/function-registry/graph.d.ts +648 -0
- package/dist/function-registry/graph.js +4329 -0
- package/dist/function-registry/graph.js.map +1 -0
- package/dist/function-registry/helpers.d.ts +86 -0
- package/dist/function-registry/helpers.js +4131 -0
- package/dist/function-registry/helpers.js.map +1 -0
- package/dist/function-registry/identity.d.ts +218 -0
- package/dist/function-registry/identity.js +4154 -0
- package/dist/function-registry/identity.js.map +1 -0
- package/dist/function-registry/index.d.ts +32 -0
- package/dist/function-registry/index.js +4235 -0
- package/dist/function-registry/index.js.map +1 -0
- package/dist/function-registry/judgments.d.ts +175 -0
- package/dist/function-registry/judgments.js +4157 -0
- package/dist/function-registry/judgments.js.map +1 -0
- package/dist/function-registry/legacy.d.ts +132 -0
- package/dist/function-registry/legacy.js +4118 -0
- package/dist/function-registry/legacy.js.map +1 -0
- package/dist/function-registry/lenses.d.ts +261 -0
- package/dist/function-registry/lenses.js +4160 -0
- package/dist/function-registry/lenses.js.map +1 -0
- package/dist/function-registry/manifest.d.ts +36 -0
- package/dist/function-registry/manifest.js +366 -0
- package/dist/function-registry/manifest.js.map +1 -0
- package/dist/function-registry/ontologies.d.ts +562 -0
- package/dist/function-registry/ontologies.js +4292 -0
- package/dist/function-registry/ontologies.js.map +1 -0
- package/dist/function-registry/pipeline.d.ts +218 -0
- package/dist/function-registry/pipeline.js +4143 -0
- package/dist/function-registry/pipeline.js.map +1 -0
- package/dist/function-registry/questions.d.ts +605 -0
- package/dist/function-registry/questions.js +4329 -0
- package/dist/function-registry/questions.js.map +1 -0
- package/dist/function-registry/tasks.d.ts +261 -0
- package/dist/function-registry/tasks.js +4166 -0
- package/dist/function-registry/tasks.js.map +1 -0
- package/dist/function-registry/topics.d.ts +304 -0
- package/dist/function-registry/topics.js +4193 -0
- package/dist/function-registry/topics.js.map +1 -0
- package/dist/function-registry/types.d.ts +84 -0
- package/dist/function-registry/types.js +3 -0
- package/dist/function-registry/types.js.map +1 -0
- package/dist/function-registry/worktrees.d.ts +476 -0
- package/dist/function-registry/worktrees.js +4277 -0
- package/dist/function-registry/worktrees.js.map +1 -0
- package/dist/generated/convexSchemas.d.ts +20 -0
- package/dist/generated/convexSchemas.js +160 -0
- package/dist/generated/convexSchemas.js.map +1 -0
- package/dist/generated/schema-manifest.json +5179 -0
- package/dist/generated/tableOwnership.d.ts +127 -0
- package/dist/generated/tableOwnership.js +276 -0
- package/dist/generated/tableOwnership.js.map +1 -0
- package/dist/generated/tier-expectations.json +360 -0
- package/dist/idOf-DR8tkhQS.d.ts +10 -0
- package/dist/index-DoDXl8KS.d.ts +19 -0
- package/dist/index.d.ts +11 -2
- package/dist/index.js +5739 -315
- package/dist/index.js.map +1 -1
- package/dist/schema-helpers/enumValidation.d.ts +17 -0
- package/dist/schema-helpers/enumValidation.js +143 -0
- package/dist/schema-helpers/enumValidation.js.map +1 -0
- package/dist/schema-helpers/spine/nodes/decision.d.ts +19 -0
- package/dist/schema-helpers/spine/nodes/decision.js +81 -0
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.d.ts +9 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +62 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -0
- package/dist/schema-helpers/topicIds.d.ts +17 -0
- package/dist/schema-helpers/topicIds.js +21 -0
- package/dist/schema-helpers/topicIds.js.map +1 -0
- package/dist/schema-helpers/topicLegacyScope.d.ts +19 -0
- package/dist/schema-helpers/topicLegacyScope.js +44 -0
- package/dist/schema-helpers/topicLegacyScope.js.map +1 -0
- package/dist/schema-helpers/validators.d.ts +8 -0
- package/dist/schema-helpers/validators.js +18 -0
- package/dist/schema-helpers/validators.js.map +1 -0
- package/dist/schemas/enums.d.ts +12 -0
- package/dist/schemas/enums.js +11 -0
- package/dist/schemas/enums.js.map +1 -0
- package/dist/schemas/index.d.ts +5 -0
- package/dist/schemas/index.js +4240 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/manifest.d.ts +24521 -0
- package/dist/schemas/manifest.js +4242 -0
- package/dist/schemas/manifest.js.map +1 -0
- package/dist/schemas/tables/identity/agent.d.ts +21 -0
- package/dist/schemas/tables/identity/agent.js +41 -0
- package/dist/schemas/tables/identity/agent.js.map +1 -0
- package/dist/schemas/tables/identity/epistemic.d.ts +18 -0
- package/dist/schemas/tables/identity/epistemic.js +38 -0
- package/dist/schemas/tables/identity/epistemic.js.map +1 -0
- package/dist/schemas/tables/identity/model.d.ts +62 -0
- package/dist/schemas/tables/identity/model.js +110 -0
- package/dist/schemas/tables/identity/model.js.map +1 -0
- package/dist/schemas/tables/identity/platform.d.ts +392 -0
- package/dist/schemas/tables/identity/platform.js +475 -0
- package/dist/schemas/tables/identity/platform.js.map +1 -0
- package/dist/schemas/tables/identity/project.d.ts +22 -0
- package/dist/schemas/tables/identity/project.js +48 -0
- package/dist/schemas/tables/identity/project.js.map +1 -0
- package/dist/schemas/tables/identity/user.d.ts +26 -0
- package/dist/schemas/tables/identity/user.js +47 -0
- package/dist/schemas/tables/identity/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +20 -0
- package/dist/schemas/tables/kernel/config.js +39 -0
- package/dist/schemas/tables/kernel/config.js.map +1 -0
- package/dist/schemas/tables/kernel/coordination.d.ts +30 -0
- package/dist/schemas/tables/kernel/coordination.js +57 -0
- package/dist/schemas/tables/kernel/coordination.js.map +1 -0
- package/dist/schemas/tables/kernel/decision.d.ts +246 -0
- package/dist/schemas/tables/kernel/decision.js +371 -0
- package/dist/schemas/tables/kernel/decision.js.map +1 -0
- package/dist/schemas/tables/kernel/embedding.d.ts +18 -0
- package/dist/schemas/tables/kernel/embedding.js +48 -0
- package/dist/schemas/tables/kernel/embedding.js.map +1 -0
- package/dist/schemas/tables/kernel/epistemic.d.ts +315 -0
- package/dist/schemas/tables/kernel/epistemic.js +327 -0
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -0
- package/dist/schemas/tables/kernel/idempotency.d.ts +13 -0
- package/dist/schemas/tables/kernel/idempotency.js +31 -0
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -0
- package/dist/schemas/tables/kernel/infra.d.ts +171 -0
- package/dist/schemas/tables/kernel/infra.js +160 -0
- package/dist/schemas/tables/kernel/infra.js.map +1 -0
- package/dist/schemas/tables/kernel/intelligence.d.ts +293 -0
- package/dist/schemas/tables/kernel/intelligence.js +207 -0
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -0
- package/dist/schemas/tables/kernel/lens.d.ts +192 -0
- package/dist/schemas/tables/kernel/lens.js +122 -0
- package/dist/schemas/tables/kernel/lens.js.map +1 -0
- package/dist/schemas/tables/kernel/ontology.d.ts +89 -0
- package/dist/schemas/tables/kernel/ontology.js +91 -0
- package/dist/schemas/tables/kernel/ontology.js.map +1 -0
- package/dist/schemas/tables/kernel/platform.d.ts +353 -0
- package/dist/schemas/tables/kernel/platform.js +349 -0
- package/dist/schemas/tables/kernel/platform.js.map +1 -0
- package/dist/schemas/tables/kernel/spine.d.ts +206 -0
- package/dist/schemas/tables/kernel/spine.js +243 -0
- package/dist/schemas/tables/kernel/spine.js.map +1 -0
- package/dist/schemas/tables/kernel/task.d.ts +614 -0
- package/dist/schemas/tables/kernel/task.js +189 -0
- package/dist/schemas/tables/kernel/task.js.map +1 -0
- package/dist/schemas/tables/kernel/topic.d.ts +25 -0
- package/dist/schemas/tables/kernel/topic.js +62 -0
- package/dist/schemas/tables/kernel/topic.js.map +1 -0
- package/dist/schemas/tables/kernel/workflow.d.ts +45 -0
- package/dist/schemas/tables/kernel/workflow.js +94 -0
- package/dist/schemas/tables/kernel/workflow.js.map +1 -0
- package/dist/schemas/tables/kernel/worktree.d.ts +823 -0
- package/dist/schemas/tables/kernel/worktree.js +328 -0
- package/dist/schemas/tables/kernel/worktree.js.map +1 -0
- package/dist/schemas/tables/mc/identity.d.ts +134 -0
- package/dist/schemas/tables/mc/identity.js +221 -0
- package/dist/schemas/tables/mc/identity.js.map +1 -0
- package/dist/schemas/tables/mc/methodology.d.ts +46 -0
- package/dist/schemas/tables/mc/methodology.js +69 -0
- package/dist/schemas/tables/mc/methodology.js.map +1 -0
- package/dist/schemas/tables/mc/pack.d.ts +540 -0
- package/dist/schemas/tables/mc/pack.js +294 -0
- package/dist/schemas/tables/mc/pack.js.map +1 -0
- package/dist/schemas/tables/mc/policy.d.ts +57 -0
- package/dist/schemas/tables/mc/policy.js +121 -0
- package/dist/schemas/tables/mc/policy.js.map +1 -0
- package/dist/schemas/tables/mc/registry.d.ts +155 -0
- package/dist/schemas/tables/mc/registry.js +164 -0
- package/dist/schemas/tables/mc/registry.js.map +1 -0
- package/dist/schemas/tables/mc/runtime.d.ts +119 -0
- package/dist/schemas/tables/mc/runtime.js +199 -0
- package/dist/schemas/tables/mc/runtime.js.map +1 -0
- package/dist/schemas/tables/mc/tenant.d.ts +106 -0
- package/dist/schemas/tables/mc/tenant.js +114 -0
- package/dist/schemas/tables/mc/tenant.js.map +1 -0
- package/dist/schemas/tables/mc/workspace.d.ts +28 -0
- package/dist/schemas/tables/mc/workspace.js +52 -0
- package/dist/schemas/tables/mc/workspace.js.map +1 -0
- package/dist/{sdk-tools.contract-BnV0hKLp.d.ts → sdk-tools.contract-C2kQN_Xk.d.ts} +3 -7
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +664 -175
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tool-contracts-WCnuE9DW.d.ts +288 -0
- package/dist/tool-contracts.d.ts +1 -0
- package/dist/{mcp-tools.contract.js → tool-contracts.js} +666 -116
- package/dist/tool-contracts.js.map +1 -0
- package/package.json +119 -2
- package/dist/mcp-tools.contract-D8kXcP6d.d.ts +0 -254
- package/dist/mcp-tools.contract.d.ts +0 -1
- package/dist/mcp-tools.contract.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ZodRawShape, z, ZodObject } from 'zod';
|
|
2
|
+
|
|
3
|
+
type FunctionEffect = "read" | "write" | "admin";
|
|
4
|
+
type FunctionContract<A extends ZodRawShape = ZodRawShape, R extends z.ZodTypeAny = z.ZodTypeAny> = {
|
|
5
|
+
name: string;
|
|
6
|
+
args: ZodObject<A>;
|
|
7
|
+
returns: R;
|
|
8
|
+
effects: readonly FunctionEffect[];
|
|
9
|
+
idempotent?: boolean;
|
|
10
|
+
invariants?: readonly string[];
|
|
11
|
+
};
|
|
12
|
+
declare function defineFunction<A extends ZodRawShape, R extends z.ZodTypeAny>(spec: FunctionContract<A, R>): FunctionContract<A, R>;
|
|
13
|
+
|
|
14
|
+
export { type FunctionEffect as F, type FunctionContract as a, defineFunction as d };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ZodRawShape, ZodObject } from 'zod';
|
|
2
|
+
|
|
3
|
+
type TableComponent = "mc" | "kernel" | "identity" | "developer-pack";
|
|
4
|
+
type TableIndex = {
|
|
5
|
+
kind: "index";
|
|
6
|
+
name: string;
|
|
7
|
+
columns: readonly string[];
|
|
8
|
+
} | {
|
|
9
|
+
kind: "search";
|
|
10
|
+
name: string;
|
|
11
|
+
searchField: string;
|
|
12
|
+
filterFields?: readonly string[];
|
|
13
|
+
} | {
|
|
14
|
+
kind: "vector";
|
|
15
|
+
name: string;
|
|
16
|
+
vectorField: string;
|
|
17
|
+
dimensions: number;
|
|
18
|
+
filterFields?: readonly string[];
|
|
19
|
+
};
|
|
20
|
+
type TableDeprecation = {
|
|
21
|
+
since: string;
|
|
22
|
+
reason: string;
|
|
23
|
+
replacement?: string;
|
|
24
|
+
};
|
|
25
|
+
type TableContract<S extends ZodRawShape = ZodRawShape> = {
|
|
26
|
+
name: string;
|
|
27
|
+
component: TableComponent;
|
|
28
|
+
category: string;
|
|
29
|
+
shape: ZodObject<S>;
|
|
30
|
+
indices: readonly TableIndex[];
|
|
31
|
+
deprecated?: TableDeprecation;
|
|
32
|
+
invariants?: readonly string[];
|
|
33
|
+
};
|
|
34
|
+
declare function defineTable<S extends ZodRawShape>(spec: TableContract<S>): TableContract<S>;
|
|
35
|
+
|
|
36
|
+
export { type TableContract as T, type TableIndex as a, type TableComponent as b, type TableDeprecation as c, defineTable as d };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { a as FunctionContract, F as FunctionEffect, d as defineFunction } from './defineFunction-DO97DKs4.js';
|
|
2
|
+
import { a as TableIndex, b as TableComponent, T as TableContract, c as TableDeprecation, d as defineTable } from './defineTable-CBQ03FXl.js';
|
|
3
|
+
import { a as CONVEX_ID_TABLE, C as ConvexIdSchema, g as getConvexIdTable, i as idOf } from './idOf-DR8tkhQS.js';
|
|
4
|
+
import { z, ZodTypeAny } from 'zod';
|
|
5
|
+
|
|
6
|
+
type AdapterKind = "convex" | "jsonschema" | "cli";
|
|
7
|
+
type AdapterPurpose = "table" | "function_args" | "function_returns";
|
|
8
|
+
type AdapterContext = {
|
|
9
|
+
adapter: AdapterKind;
|
|
10
|
+
purpose?: AdapterPurpose;
|
|
11
|
+
location?: string;
|
|
12
|
+
path?: readonly string[];
|
|
13
|
+
};
|
|
14
|
+
declare class SchemaAdapterError extends Error {
|
|
15
|
+
readonly context: AdapterContext;
|
|
16
|
+
constructor(message: string, context: AdapterContext);
|
|
17
|
+
}
|
|
18
|
+
declare function schemaAdapterError(message: string, context: AdapterContext): SchemaAdapterError;
|
|
19
|
+
|
|
20
|
+
type CliOptionKind = "string" | "number" | "bigint" | "boolean" | "json";
|
|
21
|
+
type CliOptionSpec = {
|
|
22
|
+
name: string;
|
|
23
|
+
kind: CliOptionKind;
|
|
24
|
+
required: boolean;
|
|
25
|
+
variadic?: boolean;
|
|
26
|
+
nullable?: boolean;
|
|
27
|
+
choices?: readonly (string | number | boolean)[];
|
|
28
|
+
defaultValue?: unknown;
|
|
29
|
+
description?: string;
|
|
30
|
+
};
|
|
31
|
+
type CliCommandSpec = {
|
|
32
|
+
options: readonly CliOptionSpec[];
|
|
33
|
+
};
|
|
34
|
+
type ZodToCliOptions = {
|
|
35
|
+
location?: string;
|
|
36
|
+
};
|
|
37
|
+
declare function zodToCli(schema: z.ZodObject<z.ZodRawShape>, options?: ZodToCliOptions): CliCommandSpec;
|
|
38
|
+
|
|
39
|
+
type ConvexDefault = {
|
|
40
|
+
path: readonly string[];
|
|
41
|
+
value: unknown;
|
|
42
|
+
};
|
|
43
|
+
type ZodToConvexOptions = {
|
|
44
|
+
purpose?: AdapterPurpose;
|
|
45
|
+
location?: string;
|
|
46
|
+
};
|
|
47
|
+
type ZodToConvexResult = {
|
|
48
|
+
source: string;
|
|
49
|
+
defaults: readonly ConvexDefault[];
|
|
50
|
+
};
|
|
51
|
+
declare function zodToConvex(schema: ZodTypeAny, options?: ZodToConvexOptions): ZodToConvexResult;
|
|
52
|
+
declare function tableIndexToConvexSource(index: TableIndex): string;
|
|
53
|
+
|
|
54
|
+
type JsonSchema = boolean | {
|
|
55
|
+
$schema?: string;
|
|
56
|
+
type?: string | readonly string[];
|
|
57
|
+
properties?: Record<string, JsonSchema>;
|
|
58
|
+
required?: readonly string[];
|
|
59
|
+
additionalProperties?: boolean | JsonSchema;
|
|
60
|
+
items?: JsonSchema;
|
|
61
|
+
enum?: readonly (string | number | boolean)[];
|
|
62
|
+
const?: string | number | boolean | null;
|
|
63
|
+
anyOf?: readonly JsonSchema[];
|
|
64
|
+
oneOf?: readonly JsonSchema[];
|
|
65
|
+
default?: unknown;
|
|
66
|
+
format?: string;
|
|
67
|
+
description?: string;
|
|
68
|
+
[key: string]: unknown;
|
|
69
|
+
};
|
|
70
|
+
type ZodToJsonSchemaOptions = {
|
|
71
|
+
location?: string;
|
|
72
|
+
};
|
|
73
|
+
declare function zodToJsonSchema(schema: ZodTypeAny, options?: ZodToJsonSchemaOptions): JsonSchema;
|
|
74
|
+
|
|
75
|
+
type dsl_AdapterContext = AdapterContext;
|
|
76
|
+
type dsl_AdapterKind = AdapterKind;
|
|
77
|
+
type dsl_AdapterPurpose = AdapterPurpose;
|
|
78
|
+
declare const dsl_CONVEX_ID_TABLE: typeof CONVEX_ID_TABLE;
|
|
79
|
+
type dsl_CliCommandSpec = CliCommandSpec;
|
|
80
|
+
type dsl_CliOptionKind = CliOptionKind;
|
|
81
|
+
type dsl_CliOptionSpec = CliOptionSpec;
|
|
82
|
+
type dsl_ConvexDefault = ConvexDefault;
|
|
83
|
+
declare const dsl_ConvexIdSchema: typeof ConvexIdSchema;
|
|
84
|
+
declare const dsl_FunctionContract: typeof FunctionContract;
|
|
85
|
+
declare const dsl_FunctionEffect: typeof FunctionEffect;
|
|
86
|
+
type dsl_JsonSchema = JsonSchema;
|
|
87
|
+
type dsl_SchemaAdapterError = SchemaAdapterError;
|
|
88
|
+
declare const dsl_SchemaAdapterError: typeof SchemaAdapterError;
|
|
89
|
+
declare const dsl_TableComponent: typeof TableComponent;
|
|
90
|
+
declare const dsl_TableContract: typeof TableContract;
|
|
91
|
+
declare const dsl_TableDeprecation: typeof TableDeprecation;
|
|
92
|
+
declare const dsl_TableIndex: typeof TableIndex;
|
|
93
|
+
type dsl_ZodToCliOptions = ZodToCliOptions;
|
|
94
|
+
type dsl_ZodToConvexOptions = ZodToConvexOptions;
|
|
95
|
+
type dsl_ZodToConvexResult = ZodToConvexResult;
|
|
96
|
+
type dsl_ZodToJsonSchemaOptions = ZodToJsonSchemaOptions;
|
|
97
|
+
declare const dsl_defineFunction: typeof defineFunction;
|
|
98
|
+
declare const dsl_defineTable: typeof defineTable;
|
|
99
|
+
declare const dsl_getConvexIdTable: typeof getConvexIdTable;
|
|
100
|
+
declare const dsl_idOf: typeof idOf;
|
|
101
|
+
declare const dsl_schemaAdapterError: typeof schemaAdapterError;
|
|
102
|
+
declare const dsl_tableIndexToConvexSource: typeof tableIndexToConvexSource;
|
|
103
|
+
declare const dsl_zodToCli: typeof zodToCli;
|
|
104
|
+
declare const dsl_zodToConvex: typeof zodToConvex;
|
|
105
|
+
declare const dsl_zodToJsonSchema: typeof zodToJsonSchema;
|
|
106
|
+
declare namespace dsl {
|
|
107
|
+
export { type dsl_AdapterContext as AdapterContext, type dsl_AdapterKind as AdapterKind, type dsl_AdapterPurpose as AdapterPurpose, dsl_CONVEX_ID_TABLE as CONVEX_ID_TABLE, type dsl_CliCommandSpec as CliCommandSpec, type dsl_CliOptionKind as CliOptionKind, type dsl_CliOptionSpec as CliOptionSpec, type dsl_ConvexDefault as ConvexDefault, dsl_ConvexIdSchema as ConvexIdSchema, dsl_FunctionContract as FunctionContract, dsl_FunctionEffect as FunctionEffect, type dsl_JsonSchema as JsonSchema, dsl_SchemaAdapterError as SchemaAdapterError, dsl_TableComponent as TableComponent, dsl_TableContract as TableContract, dsl_TableDeprecation as TableDeprecation, dsl_TableIndex as TableIndex, type dsl_ZodToCliOptions as ZodToCliOptions, type dsl_ZodToConvexOptions as ZodToConvexOptions, type dsl_ZodToConvexResult as ZodToConvexResult, type dsl_ZodToJsonSchemaOptions as ZodToJsonSchemaOptions, dsl_defineFunction as defineFunction, dsl_defineTable as defineTable, dsl_getConvexIdTable as getConvexIdTable, dsl_idOf as idOf, dsl_schemaAdapterError as schemaAdapterError, dsl_tableIndexToConvexSource as tableIndexToConvexSource, dsl_zodToCli as zodToCli, dsl_zodToConvex as zodToConvex, dsl_zodToJsonSchema as zodToJsonSchema };
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { type AdapterKind as A, type CliOptionKind as C, type JsonSchema as J, SchemaAdapterError as S, type ZodToCliOptions as Z, type AdapterPurpose as a, type AdapterContext as b, type CliOptionSpec as c, dsl as d, type CliCommandSpec as e, type ConvexDefault as f, type ZodToConvexOptions as g, type ZodToConvexResult as h, zodToConvex as i, type ZodToJsonSchemaOptions as j, zodToJsonSchema as k, schemaAdapterError as s, tableIndexToConvexSource as t, zodToCli as z };
|
package/dist/dsl.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { a as FunctionContract, F as FunctionEffect, d as defineFunction } from './defineFunction-DO97DKs4.js';
|
|
2
|
+
export { b as TableComponent, T as TableContract, c as TableDeprecation, a as TableIndex, d as defineTable } from './defineTable-CBQ03FXl.js';
|
|
3
|
+
export { b as AdapterContext, A as AdapterKind, a as AdapterPurpose, e as CliCommandSpec, C as CliOptionKind, c as CliOptionSpec, f as ConvexDefault, J as JsonSchema, S as SchemaAdapterError, Z as ZodToCliOptions, g as ZodToConvexOptions, h as ZodToConvexResult, j as ZodToJsonSchemaOptions, s as schemaAdapterError, t as tableIndexToConvexSource, z as zodToCli, i as zodToConvex, k as zodToJsonSchema } from './dsl-BgpoVOVQ.js';
|
|
4
|
+
export { a as CONVEX_ID_TABLE, C as ConvexIdSchema, g as getConvexIdTable, i as idOf } from './idOf-DR8tkhQS.js';
|
|
5
|
+
import 'zod';
|