@lssm/lib.contracts 1.7.1 → 1.7.3
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/app-config/contracts.d.ts +49 -51
- package/dist/app-config/contracts.d.ts.map +1 -1
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/contracts.js.map +1 -1
- package/dist/app-config/events.d.ts +26 -28
- package/dist/app-config/events.d.ts.map +1 -1
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/events.js.map +1 -1
- package/dist/app-config/lifecycle-contracts.d.ts +79 -81
- package/dist/app-config/lifecycle-contracts.d.ts.map +1 -1
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/app-config/lifecycle-contracts.js.map +1 -1
- package/dist/capabilities/openbanking.js.map +1 -1
- package/dist/client/react/form-render.d.ts +0 -1
- package/dist/client/react/form-render.d.ts.map +1 -1
- package/dist/contracts-adapter-input.d.ts +0 -1
- package/dist/contracts-adapter-input.d.ts.map +1 -1
- package/dist/events.d.ts +0 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/forms.d.ts +0 -1
- package/dist/forms.d.ts.map +1 -1
- package/dist/install.d.ts +0 -1
- package/dist/install.d.ts.map +1 -1
- package/dist/integrations/contracts.d.ts +101 -103
- package/dist/integrations/contracts.d.ts.map +1 -1
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/contracts.js.map +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +65 -67
- package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/integrations/openbanking/contracts/balances.d.ts +33 -35
- package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/integrations/openbanking/contracts/index.js.map +1 -1
- package/dist/integrations/openbanking/contracts/transactions.d.ts +47 -49
- package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/integrations/openbanking/guards.js.map +1 -1
- package/dist/integrations/openbanking/models.d.ts +54 -57
- package/dist/integrations/openbanking/models.d.ts.map +1 -1
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/integrations/openbanking/models.js.map +1 -1
- package/dist/integrations/openbanking/telemetry.js.map +1 -1
- package/dist/integrations/providers/powens.js.map +1 -1
- package/dist/jsonschema.d.ts +1 -1
- package/dist/jsonschema.d.ts.map +1 -1
- package/dist/knowledge/contracts.d.ts +65 -67
- package/dist/knowledge/contracts.d.ts.map +1 -1
- package/dist/knowledge/contracts.js +1 -1
- package/dist/knowledge/contracts.js.map +1 -1
- package/dist/knowledge/spaces/product-canon.js.map +1 -1
- package/dist/knowledge/spaces/support-faq.js.map +1 -1
- package/dist/knowledge/spec.js.map +1 -1
- package/dist/onboarding-base.d.ts +28 -30
- package/dist/onboarding-base.d.ts.map +1 -1
- package/dist/onboarding-base.js +1 -1
- package/dist/onboarding-base.js.map +1 -1
- package/dist/presentations.d.ts +0 -1
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.v2.d.ts +0 -1
- package/dist/presentations.v2.d.ts.map +1 -1
- package/dist/regenerator/executor.js.map +1 -1
- package/dist/regenerator/service.js.map +1 -1
- package/dist/regenerator/sinks.js.map +1 -1
- package/dist/regenerator/utils.js.map +1 -1
- package/dist/registry.d.ts +0 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/resources.d.ts.map +1 -1
- package/dist/schema/{dist → src}/FieldType.js +1 -1
- package/dist/schema/src/FieldType.js.map +1 -0
- package/dist/schema/src/ScalarTypeEnum.js +2 -0
- package/dist/schema/src/ScalarTypeEnum.js.map +1 -0
- package/dist/schema/{dist → src}/SchemaModel.js +1 -1
- package/dist/schema/src/SchemaModel.js.map +1 -0
- package/dist/schema/src/index.js +1 -0
- package/dist/spec.d.ts +0 -1
- package/dist/spec.d.ts.map +1 -1
- package/dist/workflow/spec.d.ts.map +1 -1
- package/package.json +339 -168
- package/dist/schema/dist/FieldType.js.map +0 -1
- package/dist/schema/dist/ScalarTypeEnum.js +0 -2
- package/dist/schema/dist/ScalarTypeEnum.js.map +0 -1
- package/dist/schema/dist/SchemaModel.js.map +0 -1
- package/dist/schema/dist/index.js +0 -1
- /package/dist/schema/{dist → src}/EnumType.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/lib.contracts",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "bun build:bundle && bun build:types",
|
|
6
6
|
"build:bundle": "tsdown",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"stripe": "^19.1.0",
|
|
31
31
|
"postmark": "^4.0.4",
|
|
32
32
|
"twilio": "^5.10.5",
|
|
33
|
-
"@lssm/lib.schema": "^1.7.
|
|
33
|
+
"@lssm/lib.schema": "^1.7.3",
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.20.1",
|
|
35
35
|
"mcp-handler": "^1.0.2",
|
|
36
36
|
"zod": "^4.1.5"
|
|
@@ -58,172 +58,343 @@
|
|
|
58
58
|
"README.md"
|
|
59
59
|
],
|
|
60
60
|
"exports": {
|
|
61
|
-
".": "./
|
|
62
|
-
"./app-config": "./
|
|
63
|
-
"./app-config/branding": "./
|
|
64
|
-
"./app-config/contracts": "./
|
|
65
|
-
"./app-config/events": "./
|
|
66
|
-
"./app-config/lifecycle": "./
|
|
67
|
-
"./app-config/lifecycle-contracts": "./
|
|
68
|
-
"./app-config/runtime": "./
|
|
69
|
-
"./app-config/spec": "./
|
|
70
|
-
"./app-config/validation": "./
|
|
71
|
-
"./capabilities": "./
|
|
72
|
-
"./capabilities/openbanking": "./
|
|
73
|
-
"./client": "./
|
|
74
|
-
"./client/react": "./
|
|
75
|
-
"./client/react/drivers/rn-reusables": "./
|
|
76
|
-
"./client/react/drivers/shadcn": "./
|
|
77
|
-
"./client/react/feature-render": "./
|
|
78
|
-
"./client/react/form-render": "./
|
|
79
|
-
"./contracts-adapter-hydration": "./
|
|
80
|
-
"./contracts-adapter-input": "./
|
|
81
|
-
"./data-views": "./
|
|
82
|
-
"./events": "./
|
|
83
|
-
"./experiments/evaluator": "./
|
|
84
|
-
"./experiments/spec": "./
|
|
85
|
-
"./features": "./
|
|
86
|
-
"./forms": "./
|
|
87
|
-
"./install": "./
|
|
88
|
-
"./integrations": "./
|
|
89
|
-
"./integrations/binding": "./
|
|
90
|
-
"./integrations/connection": "./
|
|
91
|
-
"./integrations/contracts": "./
|
|
92
|
-
"./integrations/health": "./
|
|
93
|
-
"./integrations/openbanking/contracts": "./
|
|
94
|
-
"./integrations/openbanking/contracts/accounts": "./
|
|
95
|
-
"./integrations/openbanking/contracts/balances": "./
|
|
96
|
-
"./integrations/openbanking/contracts/transactions": "./
|
|
97
|
-
"./integrations/openbanking/guards": "./
|
|
98
|
-
"./integrations/openbanking/models": "./
|
|
99
|
-
"./integrations/openbanking/telemetry": "./
|
|
100
|
-
"./integrations/providers": "./
|
|
101
|
-
"./integrations/providers/calendar": "./
|
|
102
|
-
"./integrations/providers/elevenlabs": "./
|
|
103
|
-
"./integrations/providers/email": "./
|
|
104
|
-
"./integrations/providers/embedding": "./
|
|
105
|
-
"./integrations/providers/gcs-storage": "./
|
|
106
|
-
"./integrations/providers/gmail": "./
|
|
107
|
-
"./integrations/providers/google-calendar": "./
|
|
108
|
-
"./integrations/providers/impls": "./
|
|
109
|
-
"./integrations/providers/impls/elevenlabs-voice": "./
|
|
110
|
-
"./integrations/providers/impls/gcs-storage": "./
|
|
111
|
-
"./integrations/providers/impls/gmail-inbound": "./
|
|
112
|
-
"./integrations/providers/impls/gmail-outbound": "./
|
|
113
|
-
"./integrations/providers/impls/google-calendar": "./
|
|
114
|
-
"./integrations/providers/impls/mistral-embedding": "./
|
|
115
|
-
"./integrations/providers/impls/mistral-llm": "./
|
|
116
|
-
"./integrations/providers/impls/postmark-email": "./
|
|
117
|
-
"./integrations/providers/impls/powens-client": "./
|
|
118
|
-
"./integrations/providers/impls/powens-openbanking": "./
|
|
119
|
-
"./integrations/providers/impls/provider-factory": "./
|
|
120
|
-
"./integrations/providers/impls/qdrant-vector": "./
|
|
121
|
-
"./integrations/providers/impls/stripe-payments": "./
|
|
122
|
-
"./integrations/providers/impls/twilio-sms": "./
|
|
123
|
-
"./integrations/providers/llm": "./
|
|
124
|
-
"./integrations/providers/mistral": "./
|
|
125
|
-
"./integrations/providers/openbanking": "./
|
|
126
|
-
"./integrations/providers/payments": "./
|
|
127
|
-
"./integrations/providers/postmark": "./
|
|
128
|
-
"./integrations/providers/powens": "./
|
|
129
|
-
"./integrations/providers/qdrant": "./
|
|
130
|
-
"./integrations/providers/sms": "./
|
|
131
|
-
"./integrations/providers/storage": "./
|
|
132
|
-
"./integrations/providers/stripe": "./
|
|
133
|
-
"./integrations/providers/twilio-sms": "./
|
|
134
|
-
"./integrations/providers/vector-store": "./
|
|
135
|
-
"./integrations/providers/voice": "./
|
|
136
|
-
"./integrations/runtime": "./
|
|
137
|
-
"./integrations/secrets": "./
|
|
138
|
-
"./integrations/secrets/env-secret-provider": "./
|
|
139
|
-
"./integrations/secrets/gcp-secret-manager": "./
|
|
140
|
-
"./integrations/secrets/manager": "./
|
|
141
|
-
"./integrations/secrets/provider": "./
|
|
142
|
-
"./integrations/spec": "./
|
|
143
|
-
"./jobs": "./
|
|
144
|
-
"./jobs/gcp-cloud-tasks": "./
|
|
145
|
-
"./jobs/gcp-pubsub": "./
|
|
146
|
-
"./jobs/handlers": "./
|
|
147
|
-
"./jobs/handlers/gmail-sync-handler": "./
|
|
148
|
-
"./jobs/handlers/storage-document-handler": "./
|
|
149
|
-
"./jobs/memory-queue": "./
|
|
150
|
-
"./jobs/queue": "./
|
|
151
|
-
"./jsonschema": "./
|
|
152
|
-
"./knowledge": "./
|
|
153
|
-
"./knowledge/binding": "./
|
|
154
|
-
"./knowledge/contracts": "./
|
|
155
|
-
"./knowledge/ingestion": "./
|
|
156
|
-
"./knowledge/ingestion/document-processor": "./
|
|
157
|
-
"./knowledge/ingestion/embedding-service": "./
|
|
158
|
-
"./knowledge/ingestion/gmail-adapter": "./
|
|
159
|
-
"./knowledge/ingestion/storage-adapter": "./
|
|
160
|
-
"./knowledge/ingestion/vector-indexer": "./
|
|
161
|
-
"./knowledge/query": "./
|
|
162
|
-
"./knowledge/query/service": "./
|
|
163
|
-
"./knowledge/runtime": "./
|
|
164
|
-
"./knowledge/source": "./
|
|
165
|
-
"./knowledge/spaces": "./
|
|
166
|
-
"./knowledge/spaces/email-threads": "./
|
|
167
|
-
"./knowledge/spaces/financial-docs": "./
|
|
168
|
-
"./knowledge/spaces/financial-overview": "./
|
|
169
|
-
"./knowledge/spaces/product-canon": "./
|
|
170
|
-
"./knowledge/spaces/support-faq": "./
|
|
171
|
-
"./knowledge/spaces/uploaded-docs": "./
|
|
172
|
-
"./knowledge/spec": "./
|
|
173
|
-
"./markdown": "./
|
|
174
|
-
"./migrations": "./
|
|
175
|
-
"./onboarding-base": "./
|
|
176
|
-
"./ownership": "./
|
|
177
|
-
"./policy/engine": "./
|
|
178
|
-
"./policy/opa-adapter": "./
|
|
179
|
-
"./policy/spec": "./
|
|
180
|
-
"./presentations": "./
|
|
181
|
-
"./presentations.backcompat": "./
|
|
182
|
-
"./presentations.v2": "./
|
|
183
|
-
"./prompt": "./
|
|
184
|
-
"./promptRegistry": "./
|
|
185
|
-
"./regenerator": "./
|
|
186
|
-
"./regenerator/adapters": "./
|
|
187
|
-
"./regenerator/executor": "./
|
|
188
|
-
"./regenerator/service": "./
|
|
189
|
-
"./regenerator/sinks": "./
|
|
190
|
-
"./regenerator/types": "./
|
|
191
|
-
"./regenerator/utils": "./
|
|
192
|
-
"./registry": "./
|
|
193
|
-
"./resources": "./
|
|
194
|
-
"./server": "./
|
|
195
|
-
"./server/graphql-pothos": "./
|
|
196
|
-
"./server/graphql-schema-export": "./
|
|
197
|
-
"./server/provider-mcp": "./
|
|
198
|
-
"./server/rest-elysia": "./
|
|
199
|
-
"./server/rest-express": "./
|
|
200
|
-
"./server/rest-generic": "./
|
|
201
|
-
"./server/rest-next-app": "./
|
|
202
|
-
"./server/rest-next-mcp": "./
|
|
203
|
-
"./server/rest-next-pages": "./
|
|
204
|
-
"./spec": "./
|
|
205
|
-
"./telemetry": "./
|
|
206
|
-
"./telemetry/anomaly": "./
|
|
207
|
-
"./telemetry/spec": "./
|
|
208
|
-
"./telemetry/tracker": "./
|
|
209
|
-
"./tests": "./
|
|
210
|
-
"./tests/runner": "./
|
|
211
|
-
"./tests/spec": "./
|
|
212
|
-
"./themes": "./
|
|
213
|
-
"./translations/catalog": "./
|
|
214
|
-
"./translations/tenant": "./
|
|
215
|
-
"./types": "./
|
|
216
|
-
"./types/all": "./
|
|
217
|
-
"./workflow": "./
|
|
218
|
-
"./workflow/adapters": "./
|
|
219
|
-
"./workflow/adapters/db-adapter": "./
|
|
220
|
-
"./workflow/adapters/file-adapter": "./
|
|
221
|
-
"./workflow/adapters/memory-store": "./
|
|
222
|
-
"./workflow/expression": "./
|
|
223
|
-
"./workflow/runner": "./
|
|
224
|
-
"./workflow/spec": "./
|
|
225
|
-
"./workflow/state": "./
|
|
226
|
-
"./workflow/validation": "./
|
|
61
|
+
".": "./src/index.ts",
|
|
62
|
+
"./app-config": "./src/app-config/index.ts",
|
|
63
|
+
"./app-config/branding": "./src/app-config/branding.ts",
|
|
64
|
+
"./app-config/contracts": "./src/app-config/contracts.ts",
|
|
65
|
+
"./app-config/events": "./src/app-config/events.ts",
|
|
66
|
+
"./app-config/lifecycle": "./src/app-config/lifecycle.ts",
|
|
67
|
+
"./app-config/lifecycle-contracts": "./src/app-config/lifecycle-contracts.ts",
|
|
68
|
+
"./app-config/runtime": "./src/app-config/runtime.ts",
|
|
69
|
+
"./app-config/spec": "./src/app-config/spec.ts",
|
|
70
|
+
"./app-config/validation": "./src/app-config/validation.ts",
|
|
71
|
+
"./capabilities": "./src/capabilities.ts",
|
|
72
|
+
"./capabilities/openbanking": "./src/capabilities/openbanking.ts",
|
|
73
|
+
"./client": "./src/client/index.ts",
|
|
74
|
+
"./client/react": "./src/client/react/index.ts",
|
|
75
|
+
"./client/react/drivers/rn-reusables": "./src/client/react/drivers/rn-reusables.ts",
|
|
76
|
+
"./client/react/drivers/shadcn": "./src/client/react/drivers/shadcn.ts",
|
|
77
|
+
"./client/react/feature-render": "./src/client/react/feature-render.ts",
|
|
78
|
+
"./client/react/form-render": "./src/client/react/form-render.tsx",
|
|
79
|
+
"./contracts-adapter-hydration": "./src/contracts-adapter-hydration.ts",
|
|
80
|
+
"./contracts-adapter-input": "./src/contracts-adapter-input.ts",
|
|
81
|
+
"./data-views": "./src/data-views.ts",
|
|
82
|
+
"./events": "./src/events.ts",
|
|
83
|
+
"./experiments/evaluator": "./src/experiments/evaluator.ts",
|
|
84
|
+
"./experiments/spec": "./src/experiments/spec.ts",
|
|
85
|
+
"./features": "./src/features.ts",
|
|
86
|
+
"./forms": "./src/forms.ts",
|
|
87
|
+
"./install": "./src/install.ts",
|
|
88
|
+
"./integrations": "./src/integrations/index.ts",
|
|
89
|
+
"./integrations/binding": "./src/integrations/binding.ts",
|
|
90
|
+
"./integrations/connection": "./src/integrations/connection.ts",
|
|
91
|
+
"./integrations/contracts": "./src/integrations/contracts.ts",
|
|
92
|
+
"./integrations/health": "./src/integrations/health.ts",
|
|
93
|
+
"./integrations/openbanking/contracts": "./src/integrations/openbanking/contracts/index.ts",
|
|
94
|
+
"./integrations/openbanking/contracts/accounts": "./src/integrations/openbanking/contracts/accounts.ts",
|
|
95
|
+
"./integrations/openbanking/contracts/balances": "./src/integrations/openbanking/contracts/balances.ts",
|
|
96
|
+
"./integrations/openbanking/contracts/transactions": "./src/integrations/openbanking/contracts/transactions.ts",
|
|
97
|
+
"./integrations/openbanking/guards": "./src/integrations/openbanking/guards.ts",
|
|
98
|
+
"./integrations/openbanking/models": "./src/integrations/openbanking/models.ts",
|
|
99
|
+
"./integrations/openbanking/telemetry": "./src/integrations/openbanking/telemetry.ts",
|
|
100
|
+
"./integrations/providers": "./src/integrations/providers/index.ts",
|
|
101
|
+
"./integrations/providers/calendar": "./src/integrations/providers/calendar.ts",
|
|
102
|
+
"./integrations/providers/elevenlabs": "./src/integrations/providers/elevenlabs.ts",
|
|
103
|
+
"./integrations/providers/email": "./src/integrations/providers/email.ts",
|
|
104
|
+
"./integrations/providers/embedding": "./src/integrations/providers/embedding.ts",
|
|
105
|
+
"./integrations/providers/gcs-storage": "./src/integrations/providers/gcs-storage.ts",
|
|
106
|
+
"./integrations/providers/gmail": "./src/integrations/providers/gmail.ts",
|
|
107
|
+
"./integrations/providers/google-calendar": "./src/integrations/providers/google-calendar.ts",
|
|
108
|
+
"./integrations/providers/impls": "./src/integrations/providers/impls/index.ts",
|
|
109
|
+
"./integrations/providers/impls/elevenlabs-voice": "./src/integrations/providers/impls/elevenlabs-voice.ts",
|
|
110
|
+
"./integrations/providers/impls/gcs-storage": "./src/integrations/providers/impls/gcs-storage.ts",
|
|
111
|
+
"./integrations/providers/impls/gmail-inbound": "./src/integrations/providers/impls/gmail-inbound.ts",
|
|
112
|
+
"./integrations/providers/impls/gmail-outbound": "./src/integrations/providers/impls/gmail-outbound.ts",
|
|
113
|
+
"./integrations/providers/impls/google-calendar": "./src/integrations/providers/impls/google-calendar.ts",
|
|
114
|
+
"./integrations/providers/impls/mistral-embedding": "./src/integrations/providers/impls/mistral-embedding.ts",
|
|
115
|
+
"./integrations/providers/impls/mistral-llm": "./src/integrations/providers/impls/mistral-llm.ts",
|
|
116
|
+
"./integrations/providers/impls/postmark-email": "./src/integrations/providers/impls/postmark-email.ts",
|
|
117
|
+
"./integrations/providers/impls/powens-client": "./src/integrations/providers/impls/powens-client.ts",
|
|
118
|
+
"./integrations/providers/impls/powens-openbanking": "./src/integrations/providers/impls/powens-openbanking.ts",
|
|
119
|
+
"./integrations/providers/impls/provider-factory": "./src/integrations/providers/impls/provider-factory.ts",
|
|
120
|
+
"./integrations/providers/impls/qdrant-vector": "./src/integrations/providers/impls/qdrant-vector.ts",
|
|
121
|
+
"./integrations/providers/impls/stripe-payments": "./src/integrations/providers/impls/stripe-payments.ts",
|
|
122
|
+
"./integrations/providers/impls/twilio-sms": "./src/integrations/providers/impls/twilio-sms.ts",
|
|
123
|
+
"./integrations/providers/llm": "./src/integrations/providers/llm.ts",
|
|
124
|
+
"./integrations/providers/mistral": "./src/integrations/providers/mistral.ts",
|
|
125
|
+
"./integrations/providers/openbanking": "./src/integrations/providers/openbanking.ts",
|
|
126
|
+
"./integrations/providers/payments": "./src/integrations/providers/payments.ts",
|
|
127
|
+
"./integrations/providers/postmark": "./src/integrations/providers/postmark.ts",
|
|
128
|
+
"./integrations/providers/powens": "./src/integrations/providers/powens.ts",
|
|
129
|
+
"./integrations/providers/qdrant": "./src/integrations/providers/qdrant.ts",
|
|
130
|
+
"./integrations/providers/sms": "./src/integrations/providers/sms.ts",
|
|
131
|
+
"./integrations/providers/storage": "./src/integrations/providers/storage.ts",
|
|
132
|
+
"./integrations/providers/stripe": "./src/integrations/providers/stripe.ts",
|
|
133
|
+
"./integrations/providers/twilio-sms": "./src/integrations/providers/twilio-sms.ts",
|
|
134
|
+
"./integrations/providers/vector-store": "./src/integrations/providers/vector-store.ts",
|
|
135
|
+
"./integrations/providers/voice": "./src/integrations/providers/voice.ts",
|
|
136
|
+
"./integrations/runtime": "./src/integrations/runtime.ts",
|
|
137
|
+
"./integrations/secrets": "./src/integrations/secrets/index.ts",
|
|
138
|
+
"./integrations/secrets/env-secret-provider": "./src/integrations/secrets/env-secret-provider.ts",
|
|
139
|
+
"./integrations/secrets/gcp-secret-manager": "./src/integrations/secrets/gcp-secret-manager.ts",
|
|
140
|
+
"./integrations/secrets/manager": "./src/integrations/secrets/manager.ts",
|
|
141
|
+
"./integrations/secrets/provider": "./src/integrations/secrets/provider.ts",
|
|
142
|
+
"./integrations/spec": "./src/integrations/spec.ts",
|
|
143
|
+
"./jobs": "./src/jobs/index.ts",
|
|
144
|
+
"./jobs/gcp-cloud-tasks": "./src/jobs/gcp-cloud-tasks.ts",
|
|
145
|
+
"./jobs/gcp-pubsub": "./src/jobs/gcp-pubsub.ts",
|
|
146
|
+
"./jobs/handlers": "./src/jobs/handlers/index.ts",
|
|
147
|
+
"./jobs/handlers/gmail-sync-handler": "./src/jobs/handlers/gmail-sync-handler.ts",
|
|
148
|
+
"./jobs/handlers/storage-document-handler": "./src/jobs/handlers/storage-document-handler.ts",
|
|
149
|
+
"./jobs/memory-queue": "./src/jobs/memory-queue.ts",
|
|
150
|
+
"./jobs/queue": "./src/jobs/queue.ts",
|
|
151
|
+
"./jsonschema": "./src/jsonschema.ts",
|
|
152
|
+
"./knowledge": "./src/knowledge/index.ts",
|
|
153
|
+
"./knowledge/binding": "./src/knowledge/binding.ts",
|
|
154
|
+
"./knowledge/contracts": "./src/knowledge/contracts.ts",
|
|
155
|
+
"./knowledge/ingestion": "./src/knowledge/ingestion/index.ts",
|
|
156
|
+
"./knowledge/ingestion/document-processor": "./src/knowledge/ingestion/document-processor.ts",
|
|
157
|
+
"./knowledge/ingestion/embedding-service": "./src/knowledge/ingestion/embedding-service.ts",
|
|
158
|
+
"./knowledge/ingestion/gmail-adapter": "./src/knowledge/ingestion/gmail-adapter.ts",
|
|
159
|
+
"./knowledge/ingestion/storage-adapter": "./src/knowledge/ingestion/storage-adapter.ts",
|
|
160
|
+
"./knowledge/ingestion/vector-indexer": "./src/knowledge/ingestion/vector-indexer.ts",
|
|
161
|
+
"./knowledge/query": "./src/knowledge/query/index.ts",
|
|
162
|
+
"./knowledge/query/service": "./src/knowledge/query/service.ts",
|
|
163
|
+
"./knowledge/runtime": "./src/knowledge/runtime.ts",
|
|
164
|
+
"./knowledge/source": "./src/knowledge/source.ts",
|
|
165
|
+
"./knowledge/spaces": "./src/knowledge/spaces/index.ts",
|
|
166
|
+
"./knowledge/spaces/email-threads": "./src/knowledge/spaces/email-threads.ts",
|
|
167
|
+
"./knowledge/spaces/financial-docs": "./src/knowledge/spaces/financial-docs.ts",
|
|
168
|
+
"./knowledge/spaces/financial-overview": "./src/knowledge/spaces/financial-overview.ts",
|
|
169
|
+
"./knowledge/spaces/product-canon": "./src/knowledge/spaces/product-canon.ts",
|
|
170
|
+
"./knowledge/spaces/support-faq": "./src/knowledge/spaces/support-faq.ts",
|
|
171
|
+
"./knowledge/spaces/uploaded-docs": "./src/knowledge/spaces/uploaded-docs.ts",
|
|
172
|
+
"./knowledge/spec": "./src/knowledge/spec.ts",
|
|
173
|
+
"./markdown": "./src/markdown.ts",
|
|
174
|
+
"./migrations": "./src/migrations.ts",
|
|
175
|
+
"./onboarding-base": "./src/onboarding-base.ts",
|
|
176
|
+
"./ownership": "./src/ownership.ts",
|
|
177
|
+
"./policy/engine": "./src/policy/engine.ts",
|
|
178
|
+
"./policy/opa-adapter": "./src/policy/opa-adapter.ts",
|
|
179
|
+
"./policy/spec": "./src/policy/spec.ts",
|
|
180
|
+
"./presentations": "./src/presentations.ts",
|
|
181
|
+
"./presentations.backcompat": "./src/presentations.backcompat.ts",
|
|
182
|
+
"./presentations.v2": "./src/presentations.v2.ts",
|
|
183
|
+
"./prompt": "./src/prompt.ts",
|
|
184
|
+
"./promptRegistry": "./src/promptRegistry.ts",
|
|
185
|
+
"./regenerator": "./src/regenerator/index.ts",
|
|
186
|
+
"./regenerator/adapters": "./src/regenerator/adapters.ts",
|
|
187
|
+
"./regenerator/executor": "./src/regenerator/executor.ts",
|
|
188
|
+
"./regenerator/service": "./src/regenerator/service.ts",
|
|
189
|
+
"./regenerator/sinks": "./src/regenerator/sinks.ts",
|
|
190
|
+
"./regenerator/types": "./src/regenerator/types.ts",
|
|
191
|
+
"./regenerator/utils": "./src/regenerator/utils.ts",
|
|
192
|
+
"./registry": "./src/registry.ts",
|
|
193
|
+
"./resources": "./src/resources.ts",
|
|
194
|
+
"./server": "./src/server/index.ts",
|
|
195
|
+
"./server/graphql-pothos": "./src/server/graphql-pothos.ts",
|
|
196
|
+
"./server/graphql-schema-export": "./src/server/graphql-schema-export.ts",
|
|
197
|
+
"./server/provider-mcp": "./src/server/provider-mcp.ts",
|
|
198
|
+
"./server/rest-elysia": "./src/server/rest-elysia.ts",
|
|
199
|
+
"./server/rest-express": "./src/server/rest-express.ts",
|
|
200
|
+
"./server/rest-generic": "./src/server/rest-generic.ts",
|
|
201
|
+
"./server/rest-next-app": "./src/server/rest-next-app.ts",
|
|
202
|
+
"./server/rest-next-mcp": "./src/server/rest-next-mcp.ts",
|
|
203
|
+
"./server/rest-next-pages": "./src/server/rest-next-pages.ts",
|
|
204
|
+
"./spec": "./src/spec.ts",
|
|
205
|
+
"./telemetry": "./src/telemetry/index.ts",
|
|
206
|
+
"./telemetry/anomaly": "./src/telemetry/anomaly.ts",
|
|
207
|
+
"./telemetry/spec": "./src/telemetry/spec.ts",
|
|
208
|
+
"./telemetry/tracker": "./src/telemetry/tracker.ts",
|
|
209
|
+
"./tests": "./src/tests/index.ts",
|
|
210
|
+
"./tests/runner": "./src/tests/runner.ts",
|
|
211
|
+
"./tests/spec": "./src/tests/spec.ts",
|
|
212
|
+
"./themes": "./src/themes.ts",
|
|
213
|
+
"./translations/catalog": "./src/translations/catalog.ts",
|
|
214
|
+
"./translations/tenant": "./src/translations/tenant.ts",
|
|
215
|
+
"./types": "./src/types.ts",
|
|
216
|
+
"./types/all": "./src/types/all.ts",
|
|
217
|
+
"./workflow": "./src/workflow/index.ts",
|
|
218
|
+
"./workflow/adapters": "./src/workflow/adapters/index.ts",
|
|
219
|
+
"./workflow/adapters/db-adapter": "./src/workflow/adapters/db-adapter.ts",
|
|
220
|
+
"./workflow/adapters/file-adapter": "./src/workflow/adapters/file-adapter.ts",
|
|
221
|
+
"./workflow/adapters/memory-store": "./src/workflow/adapters/memory-store.ts",
|
|
222
|
+
"./workflow/expression": "./src/workflow/expression.ts",
|
|
223
|
+
"./workflow/runner": "./src/workflow/runner.ts",
|
|
224
|
+
"./workflow/spec": "./src/workflow/spec.ts",
|
|
225
|
+
"./workflow/state": "./src/workflow/state.ts",
|
|
226
|
+
"./workflow/validation": "./src/workflow/validation.ts",
|
|
227
227
|
"./*": "./*"
|
|
228
|
+
},
|
|
229
|
+
"publishConfig": {
|
|
230
|
+
"exports": {
|
|
231
|
+
".": "./dist/index.js",
|
|
232
|
+
"./app-config": "./dist/app-config/index.js",
|
|
233
|
+
"./app-config/branding": "./dist/app-config/branding.js",
|
|
234
|
+
"./app-config/contracts": "./dist/app-config/contracts.js",
|
|
235
|
+
"./app-config/events": "./dist/app-config/events.js",
|
|
236
|
+
"./app-config/lifecycle": "./dist/app-config/lifecycle.js",
|
|
237
|
+
"./app-config/lifecycle-contracts": "./dist/app-config/lifecycle-contracts.js",
|
|
238
|
+
"./app-config/runtime": "./dist/app-config/runtime.js",
|
|
239
|
+
"./app-config/spec": "./dist/app-config/spec.js",
|
|
240
|
+
"./app-config/validation": "./dist/app-config/validation.js",
|
|
241
|
+
"./capabilities": "./dist/capabilities.js",
|
|
242
|
+
"./capabilities/openbanking": "./dist/capabilities/openbanking.js",
|
|
243
|
+
"./client": "./dist/client/index.js",
|
|
244
|
+
"./client/react": "./dist/client/react/index.js",
|
|
245
|
+
"./client/react/drivers/rn-reusables": "./dist/client/react/drivers/rn-reusables.js",
|
|
246
|
+
"./client/react/drivers/shadcn": "./dist/client/react/drivers/shadcn.js",
|
|
247
|
+
"./client/react/feature-render": "./dist/client/react/feature-render.js",
|
|
248
|
+
"./client/react/form-render": "./dist/client/react/form-render.js",
|
|
249
|
+
"./contracts-adapter-hydration": "./dist/contracts-adapter-hydration.js",
|
|
250
|
+
"./contracts-adapter-input": "./dist/contracts-adapter-input.js",
|
|
251
|
+
"./data-views": "./dist/data-views.js",
|
|
252
|
+
"./events": "./dist/events.js",
|
|
253
|
+
"./experiments/evaluator": "./dist/experiments/evaluator.js",
|
|
254
|
+
"./experiments/spec": "./dist/experiments/spec.js",
|
|
255
|
+
"./features": "./dist/features.js",
|
|
256
|
+
"./forms": "./dist/forms.js",
|
|
257
|
+
"./install": "./dist/install.js",
|
|
258
|
+
"./integrations": "./dist/integrations/index.js",
|
|
259
|
+
"./integrations/binding": "./dist/integrations/binding.js",
|
|
260
|
+
"./integrations/connection": "./dist/integrations/connection.js",
|
|
261
|
+
"./integrations/contracts": "./dist/integrations/contracts.js",
|
|
262
|
+
"./integrations/health": "./dist/integrations/health.js",
|
|
263
|
+
"./integrations/openbanking/contracts": "./dist/integrations/openbanking/contracts/index.js",
|
|
264
|
+
"./integrations/openbanking/contracts/accounts": "./dist/integrations/openbanking/contracts/accounts.js",
|
|
265
|
+
"./integrations/openbanking/contracts/balances": "./dist/integrations/openbanking/contracts/balances.js",
|
|
266
|
+
"./integrations/openbanking/contracts/transactions": "./dist/integrations/openbanking/contracts/transactions.js",
|
|
267
|
+
"./integrations/openbanking/guards": "./dist/integrations/openbanking/guards.js",
|
|
268
|
+
"./integrations/openbanking/models": "./dist/integrations/openbanking/models.js",
|
|
269
|
+
"./integrations/openbanking/telemetry": "./dist/integrations/openbanking/telemetry.js",
|
|
270
|
+
"./integrations/providers": "./dist/integrations/providers/index.js",
|
|
271
|
+
"./integrations/providers/calendar": "./dist/integrations/providers/calendar.js",
|
|
272
|
+
"./integrations/providers/elevenlabs": "./dist/integrations/providers/elevenlabs.js",
|
|
273
|
+
"./integrations/providers/email": "./dist/integrations/providers/email.js",
|
|
274
|
+
"./integrations/providers/embedding": "./dist/integrations/providers/embedding.js",
|
|
275
|
+
"./integrations/providers/gcs-storage": "./dist/integrations/providers/gcs-storage.js",
|
|
276
|
+
"./integrations/providers/gmail": "./dist/integrations/providers/gmail.js",
|
|
277
|
+
"./integrations/providers/google-calendar": "./dist/integrations/providers/google-calendar.js",
|
|
278
|
+
"./integrations/providers/impls": "./dist/integrations/providers/impls/index.js",
|
|
279
|
+
"./integrations/providers/impls/elevenlabs-voice": "./dist/integrations/providers/impls/elevenlabs-voice.js",
|
|
280
|
+
"./integrations/providers/impls/gcs-storage": "./dist/integrations/providers/impls/gcs-storage.js",
|
|
281
|
+
"./integrations/providers/impls/gmail-inbound": "./dist/integrations/providers/impls/gmail-inbound.js",
|
|
282
|
+
"./integrations/providers/impls/gmail-outbound": "./dist/integrations/providers/impls/gmail-outbound.js",
|
|
283
|
+
"./integrations/providers/impls/google-calendar": "./dist/integrations/providers/impls/google-calendar.js",
|
|
284
|
+
"./integrations/providers/impls/mistral-embedding": "./dist/integrations/providers/impls/mistral-embedding.js",
|
|
285
|
+
"./integrations/providers/impls/mistral-llm": "./dist/integrations/providers/impls/mistral-llm.js",
|
|
286
|
+
"./integrations/providers/impls/postmark-email": "./dist/integrations/providers/impls/postmark-email.js",
|
|
287
|
+
"./integrations/providers/impls/powens-client": "./dist/integrations/providers/impls/powens-client.js",
|
|
288
|
+
"./integrations/providers/impls/powens-openbanking": "./dist/integrations/providers/impls/powens-openbanking.js",
|
|
289
|
+
"./integrations/providers/impls/provider-factory": "./dist/integrations/providers/impls/provider-factory.js",
|
|
290
|
+
"./integrations/providers/impls/qdrant-vector": "./dist/integrations/providers/impls/qdrant-vector.js",
|
|
291
|
+
"./integrations/providers/impls/stripe-payments": "./dist/integrations/providers/impls/stripe-payments.js",
|
|
292
|
+
"./integrations/providers/impls/twilio-sms": "./dist/integrations/providers/impls/twilio-sms.js",
|
|
293
|
+
"./integrations/providers/llm": "./dist/integrations/providers/llm.js",
|
|
294
|
+
"./integrations/providers/mistral": "./dist/integrations/providers/mistral.js",
|
|
295
|
+
"./integrations/providers/openbanking": "./dist/integrations/providers/openbanking.js",
|
|
296
|
+
"./integrations/providers/payments": "./dist/integrations/providers/payments.js",
|
|
297
|
+
"./integrations/providers/postmark": "./dist/integrations/providers/postmark.js",
|
|
298
|
+
"./integrations/providers/powens": "./dist/integrations/providers/powens.js",
|
|
299
|
+
"./integrations/providers/qdrant": "./dist/integrations/providers/qdrant.js",
|
|
300
|
+
"./integrations/providers/sms": "./dist/integrations/providers/sms.js",
|
|
301
|
+
"./integrations/providers/storage": "./dist/integrations/providers/storage.js",
|
|
302
|
+
"./integrations/providers/stripe": "./dist/integrations/providers/stripe.js",
|
|
303
|
+
"./integrations/providers/twilio-sms": "./dist/integrations/providers/twilio-sms.js",
|
|
304
|
+
"./integrations/providers/vector-store": "./dist/integrations/providers/vector-store.js",
|
|
305
|
+
"./integrations/providers/voice": "./dist/integrations/providers/voice.js",
|
|
306
|
+
"./integrations/runtime": "./dist/integrations/runtime.js",
|
|
307
|
+
"./integrations/secrets": "./dist/integrations/secrets/index.js",
|
|
308
|
+
"./integrations/secrets/env-secret-provider": "./dist/integrations/secrets/env-secret-provider.js",
|
|
309
|
+
"./integrations/secrets/gcp-secret-manager": "./dist/integrations/secrets/gcp-secret-manager.js",
|
|
310
|
+
"./integrations/secrets/manager": "./dist/integrations/secrets/manager.js",
|
|
311
|
+
"./integrations/secrets/provider": "./dist/integrations/secrets/provider.js",
|
|
312
|
+
"./integrations/spec": "./dist/integrations/spec.js",
|
|
313
|
+
"./jobs": "./dist/jobs/index.js",
|
|
314
|
+
"./jobs/gcp-cloud-tasks": "./dist/jobs/gcp-cloud-tasks.js",
|
|
315
|
+
"./jobs/gcp-pubsub": "./dist/jobs/gcp-pubsub.js",
|
|
316
|
+
"./jobs/handlers": "./dist/jobs/handlers/index.js",
|
|
317
|
+
"./jobs/handlers/gmail-sync-handler": "./dist/jobs/handlers/gmail-sync-handler.js",
|
|
318
|
+
"./jobs/handlers/storage-document-handler": "./dist/jobs/handlers/storage-document-handler.js",
|
|
319
|
+
"./jobs/memory-queue": "./dist/jobs/memory-queue.js",
|
|
320
|
+
"./jobs/queue": "./dist/jobs/queue.js",
|
|
321
|
+
"./jsonschema": "./dist/jsonschema.js",
|
|
322
|
+
"./knowledge": "./dist/knowledge/index.js",
|
|
323
|
+
"./knowledge/binding": "./dist/knowledge/binding.js",
|
|
324
|
+
"./knowledge/contracts": "./dist/knowledge/contracts.js",
|
|
325
|
+
"./knowledge/ingestion": "./dist/knowledge/ingestion/index.js",
|
|
326
|
+
"./knowledge/ingestion/document-processor": "./dist/knowledge/ingestion/document-processor.js",
|
|
327
|
+
"./knowledge/ingestion/embedding-service": "./dist/knowledge/ingestion/embedding-service.js",
|
|
328
|
+
"./knowledge/ingestion/gmail-adapter": "./dist/knowledge/ingestion/gmail-adapter.js",
|
|
329
|
+
"./knowledge/ingestion/storage-adapter": "./dist/knowledge/ingestion/storage-adapter.js",
|
|
330
|
+
"./knowledge/ingestion/vector-indexer": "./dist/knowledge/ingestion/vector-indexer.js",
|
|
331
|
+
"./knowledge/query": "./dist/knowledge/query/index.js",
|
|
332
|
+
"./knowledge/query/service": "./dist/knowledge/query/service.js",
|
|
333
|
+
"./knowledge/runtime": "./dist/knowledge/runtime.js",
|
|
334
|
+
"./knowledge/source": "./dist/knowledge/source.js",
|
|
335
|
+
"./knowledge/spaces": "./dist/knowledge/spaces/index.js",
|
|
336
|
+
"./knowledge/spaces/email-threads": "./dist/knowledge/spaces/email-threads.js",
|
|
337
|
+
"./knowledge/spaces/financial-docs": "./dist/knowledge/spaces/financial-docs.js",
|
|
338
|
+
"./knowledge/spaces/financial-overview": "./dist/knowledge/spaces/financial-overview.js",
|
|
339
|
+
"./knowledge/spaces/product-canon": "./dist/knowledge/spaces/product-canon.js",
|
|
340
|
+
"./knowledge/spaces/support-faq": "./dist/knowledge/spaces/support-faq.js",
|
|
341
|
+
"./knowledge/spaces/uploaded-docs": "./dist/knowledge/spaces/uploaded-docs.js",
|
|
342
|
+
"./knowledge/spec": "./dist/knowledge/spec.js",
|
|
343
|
+
"./markdown": "./dist/markdown.js",
|
|
344
|
+
"./migrations": "./dist/migrations.js",
|
|
345
|
+
"./onboarding-base": "./dist/onboarding-base.js",
|
|
346
|
+
"./ownership": "./dist/ownership.js",
|
|
347
|
+
"./policy/engine": "./dist/policy/engine.js",
|
|
348
|
+
"./policy/opa-adapter": "./dist/policy/opa-adapter.js",
|
|
349
|
+
"./policy/spec": "./dist/policy/spec.js",
|
|
350
|
+
"./presentations": "./dist/presentations.js",
|
|
351
|
+
"./presentations.backcompat": "./dist/presentations.backcompat.js",
|
|
352
|
+
"./presentations.v2": "./dist/presentations.v2.js",
|
|
353
|
+
"./prompt": "./dist/prompt.js",
|
|
354
|
+
"./promptRegistry": "./dist/promptRegistry.js",
|
|
355
|
+
"./regenerator": "./dist/regenerator/index.js",
|
|
356
|
+
"./regenerator/adapters": "./dist/regenerator/adapters.js",
|
|
357
|
+
"./regenerator/executor": "./dist/regenerator/executor.js",
|
|
358
|
+
"./regenerator/service": "./dist/regenerator/service.js",
|
|
359
|
+
"./regenerator/sinks": "./dist/regenerator/sinks.js",
|
|
360
|
+
"./regenerator/types": "./dist/regenerator/types.js",
|
|
361
|
+
"./regenerator/utils": "./dist/regenerator/utils.js",
|
|
362
|
+
"./registry": "./dist/registry.js",
|
|
363
|
+
"./resources": "./dist/resources.js",
|
|
364
|
+
"./server": "./dist/server/index.js",
|
|
365
|
+
"./server/graphql-pothos": "./dist/server/graphql-pothos.js",
|
|
366
|
+
"./server/graphql-schema-export": "./dist/server/graphql-schema-export.js",
|
|
367
|
+
"./server/provider-mcp": "./dist/server/provider-mcp.js",
|
|
368
|
+
"./server/rest-elysia": "./dist/server/rest-elysia.js",
|
|
369
|
+
"./server/rest-express": "./dist/server/rest-express.js",
|
|
370
|
+
"./server/rest-generic": "./dist/server/rest-generic.js",
|
|
371
|
+
"./server/rest-next-app": "./dist/server/rest-next-app.js",
|
|
372
|
+
"./server/rest-next-mcp": "./dist/server/rest-next-mcp.js",
|
|
373
|
+
"./server/rest-next-pages": "./dist/server/rest-next-pages.js",
|
|
374
|
+
"./spec": "./dist/spec.js",
|
|
375
|
+
"./telemetry": "./dist/telemetry/index.js",
|
|
376
|
+
"./telemetry/anomaly": "./dist/telemetry/anomaly.js",
|
|
377
|
+
"./telemetry/spec": "./dist/telemetry/spec.js",
|
|
378
|
+
"./telemetry/tracker": "./dist/telemetry/tracker.js",
|
|
379
|
+
"./tests": "./dist/tests/index.js",
|
|
380
|
+
"./tests/runner": "./dist/tests/runner.js",
|
|
381
|
+
"./tests/spec": "./dist/tests/spec.js",
|
|
382
|
+
"./themes": "./dist/themes.js",
|
|
383
|
+
"./translations/catalog": "./dist/translations/catalog.js",
|
|
384
|
+
"./translations/tenant": "./dist/translations/tenant.js",
|
|
385
|
+
"./types": "./dist/types.js",
|
|
386
|
+
"./types/all": "./dist/types/all.js",
|
|
387
|
+
"./workflow": "./dist/workflow/index.js",
|
|
388
|
+
"./workflow/adapters": "./dist/workflow/adapters/index.js",
|
|
389
|
+
"./workflow/adapters/db-adapter": "./dist/workflow/adapters/db-adapter.js",
|
|
390
|
+
"./workflow/adapters/file-adapter": "./dist/workflow/adapters/file-adapter.js",
|
|
391
|
+
"./workflow/adapters/memory-store": "./dist/workflow/adapters/memory-store.js",
|
|
392
|
+
"./workflow/expression": "./dist/workflow/expression.js",
|
|
393
|
+
"./workflow/runner": "./dist/workflow/runner.js",
|
|
394
|
+
"./workflow/spec": "./dist/workflow/spec.js",
|
|
395
|
+
"./workflow/state": "./dist/workflow/state.js",
|
|
396
|
+
"./workflow/validation": "./dist/workflow/validation.js",
|
|
397
|
+
"./*": "./*"
|
|
398
|
+
}
|
|
228
399
|
}
|
|
229
400
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldType.js","names":["t","r"],"sources":["../../../../schema/dist/FieldType.js"],"sourcesContent":["import{z as e}from\"zod\";import{GraphQLScalarType as t,Kind as n}from\"graphql\";var r=class extends t{zodSchema;jsonSchemaDef;constructor(e){super(e),this.zodSchema=e.zod,this.jsonSchemaDef=e.jsonSchema}getZod(){return this.zodSchema}getPothos(){return this}getJson(){return typeof this.jsonSchemaDef==`function`?this.jsonSchemaDef():this.jsonSchemaDef}getJsonSchemaDef(){return this.jsonSchemaDef}getJsonSchema(){let e=t=>{let n=typeof t==`function`?t():t;if(Array.isArray(n))return n.map(t=>e(t));if(n&&typeof n==`object`){let t={};for(let[r,i]of Object.entries(n))t[r]=e(i);return t}return n};return e(this.getJson())}};export{r as FieldType};\n//# sourceMappingURL=FieldType.js.map"],"mappings":"8EAA8E,IAAI,EAAE,cAAcA,CAAC,CAAC,UAAU,cAAc,YAAY,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,UAAU,EAAE,IAAI,KAAK,cAAc,EAAE,WAAW,QAAQ,CAAC,OAAO,KAAK,UAAU,WAAW,CAAC,OAAO,KAAK,SAAS,CAAC,OAAO,OAAO,KAAK,eAAe,WAAW,KAAK,eAAe,CAAC,KAAK,cAAc,kBAAkB,CAAC,OAAO,KAAK,cAAc,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,GAAG,WAAW,GAAG,CAAC,EAAE,GAAG,MAAM,QAAQ,EAAE,CAAC,OAAO,EAAE,IAAI,GAAG,EAAEA,EAAE,CAAC,CAAC,GAAG,GAAG,OAAO,GAAG,SAAS,CAAC,IAAIA,EAAE,EAAE,CAAC,IAAI,GAAG,CAACC,EAAE,KAAK,OAAO,QAAQ,EAAE,CAAC,EAAEA,GAAG,EAAE,EAAE,CAAC,OAAOD,EAAE,OAAO,GAAG,OAAO,EAAE,KAAK,SAAS,CAAC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./FieldType.js";import{z as t}from"zod";import{Kind as n}from"graphql";const r=/^[A-Za-z]{2}(?:-[A-Za-z0-9]{2,8})*$/,i=/^(?:UTC|[A-Za-z_]+\/[A-Za-z_]+)$/,a=/^[+]?\d[\d\s().-]{3,}$/,o=/^[A-Z]{3}$/,s=/^[A-Z]{2}$/,c=-180,l={String_unsecure:()=>new e({name:`String_unsecure`,description:`Unvalidated string scalar`,zod:t.string(),parseValue:e=>t.string().parse(e),serialize:e=>String(e),parseLiteral:e=>{if(e.kind!==n.STRING)throw TypeError(`Invalid literal`);return e.value},jsonSchema:{type:`string`}}),Int_unsecure:()=>new e({name:`Int_unsecure`,description:`Unvalidated integer scalar`,zod:t.number().int(),parseValue:e=>{let n=typeof e==`number`?e:Number(e);return t.number().int().parse(n)},serialize:e=>Math.trunc(typeof e==`number`?e:Number(e)),parseLiteral:e=>{if(e.kind!==n.INT)throw TypeError(`Invalid literal`);return Number(e.value)},jsonSchema:{type:`integer`}}),Float_unsecure:()=>new e({name:`Float_unsecure`,description:`Unvalidated float scalar`,zod:t.number(),parseValue:e=>{let n=typeof e==`number`?e:Number(e);return t.number().parse(n)},serialize:e=>Number(e),parseLiteral:e=>{if(e.kind!==n.FLOAT&&e.kind!==n.INT)throw TypeError(`Invalid literal`);return Number(e.value)},jsonSchema:{type:`number`}}),Boolean:()=>new e({name:`Boolean`,description:`Unvalidated boolean scalar`,zod:t.boolean(),parseValue:e=>t.coerce.boolean().parse(e),serialize:e=>!!e,parseLiteral:e=>{if(e.kind!==n.BOOLEAN)throw TypeError(`Invalid literal`);return e.value},jsonSchema:{type:`boolean`}}),ID:()=>new e({name:`ID`,description:`Unvalidated id scalar`,zod:t.string(),parseValue:e=>t.string().parse(e),serialize:e=>String(e),parseLiteral:e=>{if(e.kind!==n.STRING)throw TypeError(`Invalid literal`);return e.value},jsonSchema:{type:`string`}}),JSON:()=>new e({name:`JSON`,zod:t.any(),parseValue:e=>e,serialize:e=>e,jsonSchema:{}}),JSONObject:()=>new e({name:`JSONObject`,zod:t.record(t.string(),t.any()),parseValue:e=>t.record(t.string(),t.any()).parse(e),serialize:e=>e??{},jsonSchema:{type:`object`}}),Date:()=>new e({name:`Date`,zod:t.date(),parseValue:e=>e instanceof Date?e:new Date(String(e)),serialize:e=>e instanceof Date?e.toISOString().split(`T`)[0]:String(e),jsonSchema:{type:`string`,format:`date`}}),DateTime:()=>new e({name:`DateTime`,zod:t.date(),parseValue:e=>e instanceof Date?e:new Date(String(e)),serialize:e=>e instanceof Date?e.toISOString():String(e),jsonSchema:{type:`string`,format:`date-time`}}),Time:()=>new e({name:`Time`,zod:t.string().regex(/^\d{2}:\d{2}(:\d{2})?$/),parseValue:e=>t.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,pattern:`^\\d{2}:\\d{2}(:\\d{2})?$`}}),EmailAddress:()=>new e({name:`EmailAddress`,zod:t.string().email(),parseValue:e=>t.string().email().parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,format:`email`}}),URL:()=>new e({name:`URL`,zod:t.string().url(),parseValue:e=>t.string().url().parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,format:`uri`}}),PhoneNumber:()=>new e({name:`PhoneNumber`,zod:t.string().regex(a),parseValue:e=>t.string().regex(a).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,pattern:a.source}}),NonEmptyString:()=>new e({name:`NonEmptyString`,zod:t.string().min(1),parseValue:e=>t.string().min(1).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,minLength:1}}),Locale:()=>new e({name:`Locale`,zod:t.string().regex(r),parseValue:e=>t.string().regex(r).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,pattern:r.source}}),TimeZone:()=>new e({name:`TimeZone`,zod:t.string().regex(i),parseValue:e=>t.string().regex(i).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,pattern:i.source}}),Latitude:()=>new e({name:`Latitude`,zod:t.number().min(-90).max(90),parseValue:e=>t.coerce.number().min(-90).max(90).parse(e),serialize:e=>Number(e),jsonSchema:{type:`number`,minimum:-90,maximum:90}}),Longitude:()=>new e({name:`Longitude`,zod:t.number().min(c).max(180),parseValue:e=>t.coerce.number().min(c).max(180).parse(e),serialize:e=>Number(e),jsonSchema:{type:`number`,minimum:c,maximum:180}}),Currency:()=>new e({name:`Currency`,zod:t.string().regex(o),parseValue:e=>t.string().regex(o).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,pattern:o.source}}),CountryCode:()=>new e({name:`CountryCode`,zod:t.string().regex(s),parseValue:e=>t.string().regex(s).parse(e),serialize:e=>String(e),jsonSchema:{type:`string`,pattern:s.source}})};export{l};
|
|
2
|
-
//# sourceMappingURL=ScalarTypeEnum.js.map
|