@hazeljs/flow 0.2.0-beta.75
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/LICENSE +192 -0
- package/README.md +111 -0
- package/dist/decorators/flow.decorators.d.ts +32 -0
- package/dist/decorators/flow.decorators.d.ts.map +1 -0
- package/dist/decorators/flow.decorators.js +100 -0
- package/dist/dsl/flow.d.ts +19 -0
- package/dist/dsl/flow.d.ts.map +1 -0
- package/dist/dsl/flow.js +46 -0
- package/dist/dsl/types.d.ts +5 -0
- package/dist/dsl/types.d.ts.map +1 -0
- package/dist/dsl/types.js +2 -0
- package/dist/engine/Executor.d.ts +11 -0
- package/dist/engine/Executor.d.ts.map +1 -0
- package/dist/engine/Executor.js +113 -0
- package/dist/engine/FlowEngine.d.ts +46 -0
- package/dist/engine/FlowEngine.d.ts.map +1 -0
- package/dist/engine/FlowEngine.js +237 -0
- package/dist/engine/Idempotency.d.ts +10 -0
- package/dist/engine/Idempotency.d.ts.map +1 -0
- package/dist/engine/Idempotency.js +16 -0
- package/dist/engine/Locks.d.ts +11 -0
- package/dist/engine/Locks.d.ts.map +1 -0
- package/dist/engine/Locks.js +68 -0
- package/dist/engine/Retry.d.ts +7 -0
- package/dist/engine/Retry.d.ts.map +1 -0
- package/dist/engine/Retry.js +22 -0
- package/dist/engine/Timeout.d.ts +10 -0
- package/dist/engine/Timeout.d.ts.map +1 -0
- package/dist/engine/Timeout.js +25 -0
- package/dist/engine/Transition.d.ts +6 -0
- package/dist/engine/Transition.d.ts.map +1 -0
- package/dist/engine/Transition.js +19 -0
- package/dist/engine/utils.d.ts +5 -0
- package/dist/engine/utils.d.ts.map +1 -0
- package/dist/engine/utils.js +25 -0
- package/dist/examples/branching.d.ts +2 -0
- package/dist/examples/branching.d.ts.map +1 -0
- package/dist/examples/branching.js +72 -0
- package/dist/examples/simple.d.ts +2 -0
- package/dist/examples/simple.d.ts.map +1 -0
- package/dist/examples/simple.js +65 -0
- package/dist/examples/wait_resume.d.ts +2 -0
- package/dist/examples/wait_resume.d.ts.map +1 -0
- package/dist/examples/wait_resume.js +75 -0
- package/dist/generated/prisma/client.d.ts +1 -0
- package/dist/generated/prisma/client.js +5 -0
- package/dist/generated/prisma/default.d.ts +1 -0
- package/dist/generated/prisma/default.js +5 -0
- package/dist/generated/prisma/edge.d.ts +1 -0
- package/dist/generated/prisma/edge.js +250 -0
- package/dist/generated/prisma/index-browser.js +236 -0
- package/dist/generated/prisma/index.d.ts +6577 -0
- package/dist/generated/prisma/index.js +271 -0
- package/dist/generated/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/generated/prisma/package.json +183 -0
- package/dist/generated/prisma/query_engine_bg.js +2 -0
- package/dist/generated/prisma/query_engine_bg.wasm +0 -0
- package/dist/generated/prisma/runtime/edge-esm.js +35 -0
- package/dist/generated/prisma/runtime/edge.js +35 -0
- package/dist/generated/prisma/runtime/index-browser.d.ts +370 -0
- package/dist/generated/prisma/runtime/index-browser.js +17 -0
- package/dist/generated/prisma/runtime/library.d.ts +3982 -0
- package/dist/generated/prisma/runtime/library.js +147 -0
- package/dist/generated/prisma/runtime/react-native.js +84 -0
- package/dist/generated/prisma/runtime/wasm-compiler-edge.js +85 -0
- package/dist/generated/prisma/runtime/wasm-engine-edge.js +38 -0
- package/dist/generated/prisma/schema.prisma +70 -0
- package/dist/generated/prisma/wasm-edge-light-loader.mjs +5 -0
- package/dist/generated/prisma/wasm-worker-loader.mjs +5 -0
- package/dist/generated/prisma/wasm.d.ts +1 -0
- package/dist/generated/prisma/wasm.js +257 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/persistence/FlowDefinitionRepo.d.ts +14 -0
- package/dist/persistence/FlowDefinitionRepo.d.ts.map +1 -0
- package/dist/persistence/FlowDefinitionRepo.js +44 -0
- package/dist/persistence/FlowEventRepo.d.ts +15 -0
- package/dist/persistence/FlowEventRepo.d.ts.map +1 -0
- package/dist/persistence/FlowEventRepo.js +33 -0
- package/dist/persistence/FlowRunRepo.d.ts +12 -0
- package/dist/persistence/FlowRunRepo.d.ts.map +1 -0
- package/dist/persistence/FlowRunRepo.js +50 -0
- package/dist/persistence/IdempotencyRepo.d.ts +15 -0
- package/dist/persistence/IdempotencyRepo.d.ts.map +1 -0
- package/dist/persistence/IdempotencyRepo.js +39 -0
- package/dist/persistence/memory.d.ts +9 -0
- package/dist/persistence/memory.d.ts.map +1 -0
- package/dist/persistence/memory.js +154 -0
- package/dist/persistence/prisma.d.ts +5 -0
- package/dist/persistence/prisma.d.ts.map +1 -0
- package/dist/persistence/prisma.js +9 -0
- package/dist/persistence/prismaClient.d.ts +21 -0
- package/dist/persistence/prismaClient.d.ts.map +1 -0
- package/dist/persistence/prismaClient.js +47 -0
- package/dist/persistence/prismaStorage.d.ts +11 -0
- package/dist/persistence/prismaStorage.d.ts.map +1 -0
- package/dist/persistence/prismaStorage.js +24 -0
- package/dist/persistence/serialize.d.ts +6 -0
- package/dist/persistence/serialize.d.ts.map +1 -0
- package/dist/persistence/serialize.js +28 -0
- package/dist/persistence/storage.d.ts +75 -0
- package/dist/persistence/storage.d.ts.map +1 -0
- package/dist/persistence/storage.js +6 -0
- package/dist/prisma.d.ts +14 -0
- package/dist/prisma.d.ts.map +1 -0
- package/dist/prisma.js +25 -0
- package/dist/types/Errors.d.ts +21 -0
- package/dist/types/Errors.d.ts.map +1 -0
- package/dist/types/Errors.js +44 -0
- package/dist/types/Events.d.ts +17 -0
- package/dist/types/Events.d.ts.map +1 -0
- package/dist/types/Events.js +5 -0
- package/dist/types/FlowTypes.d.ts +66 -0
- package/dist/types/FlowTypes.d.ts.map +1 -0
- package/dist/types/FlowTypes.js +5 -0
- package/package.json +72 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
|
|
8
|
+
const {
|
|
9
|
+
PrismaClientKnownRequestError,
|
|
10
|
+
PrismaClientUnknownRequestError,
|
|
11
|
+
PrismaClientRustPanicError,
|
|
12
|
+
PrismaClientInitializationError,
|
|
13
|
+
PrismaClientValidationError,
|
|
14
|
+
getPrismaClient,
|
|
15
|
+
sqltag,
|
|
16
|
+
empty,
|
|
17
|
+
join,
|
|
18
|
+
raw,
|
|
19
|
+
skip,
|
|
20
|
+
Decimal,
|
|
21
|
+
Debug,
|
|
22
|
+
objectEnumValues,
|
|
23
|
+
makeStrictEnum,
|
|
24
|
+
Extensions,
|
|
25
|
+
warnOnce,
|
|
26
|
+
defineDmmfProperty,
|
|
27
|
+
Public,
|
|
28
|
+
getRuntime,
|
|
29
|
+
createParam,
|
|
30
|
+
} = require('./runtime/library.js')
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
const Prisma = {}
|
|
34
|
+
|
|
35
|
+
exports.Prisma = Prisma
|
|
36
|
+
exports.$Enums = {}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Prisma Client JS version: 6.19.2
|
|
40
|
+
* Query Engine version: c2990dca591cba766e3b7ef5d9e8a84796e47ab7
|
|
41
|
+
*/
|
|
42
|
+
Prisma.prismaVersion = {
|
|
43
|
+
client: "6.19.2",
|
|
44
|
+
engine: "c2990dca591cba766e3b7ef5d9e8a84796e47ab7"
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
48
|
+
Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
|
|
49
|
+
Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
|
|
50
|
+
Prisma.PrismaClientInitializationError = PrismaClientInitializationError
|
|
51
|
+
Prisma.PrismaClientValidationError = PrismaClientValidationError
|
|
52
|
+
Prisma.Decimal = Decimal
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Re-export of sql-template-tag
|
|
56
|
+
*/
|
|
57
|
+
Prisma.sql = sqltag
|
|
58
|
+
Prisma.empty = empty
|
|
59
|
+
Prisma.join = join
|
|
60
|
+
Prisma.raw = raw
|
|
61
|
+
Prisma.validator = Public.validator
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Extensions
|
|
65
|
+
*/
|
|
66
|
+
Prisma.getExtensionContext = Extensions.getExtensionContext
|
|
67
|
+
Prisma.defineExtension = Extensions.defineExtension
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Shorthand utilities for JSON filtering
|
|
71
|
+
*/
|
|
72
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
73
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
74
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
75
|
+
|
|
76
|
+
Prisma.NullTypes = {
|
|
77
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
78
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
79
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
const path = require('path')
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Enums
|
|
89
|
+
*/
|
|
90
|
+
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
91
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
92
|
+
ReadCommitted: 'ReadCommitted',
|
|
93
|
+
RepeatableRead: 'RepeatableRead',
|
|
94
|
+
Serializable: 'Serializable'
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
exports.Prisma.FlowDefinitionScalarFieldEnum = {
|
|
98
|
+
flowId: 'flowId',
|
|
99
|
+
version: 'version',
|
|
100
|
+
definitionJson: 'definitionJson',
|
|
101
|
+
createdAt: 'createdAt'
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
exports.Prisma.FlowRunScalarFieldEnum = {
|
|
105
|
+
runId: 'runId',
|
|
106
|
+
flowId: 'flowId',
|
|
107
|
+
flowVersion: 'flowVersion',
|
|
108
|
+
tenantId: 'tenantId',
|
|
109
|
+
status: 'status',
|
|
110
|
+
currentNodeId: 'currentNodeId',
|
|
111
|
+
inputJson: 'inputJson',
|
|
112
|
+
stateJson: 'stateJson',
|
|
113
|
+
outputsJson: 'outputsJson',
|
|
114
|
+
createdAt: 'createdAt',
|
|
115
|
+
updatedAt: 'updatedAt'
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
exports.Prisma.FlowRunEventScalarFieldEnum = {
|
|
119
|
+
id: 'id',
|
|
120
|
+
runId: 'runId',
|
|
121
|
+
at: 'at',
|
|
122
|
+
type: 'type',
|
|
123
|
+
nodeId: 'nodeId',
|
|
124
|
+
attempt: 'attempt',
|
|
125
|
+
payloadJson: 'payloadJson'
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
exports.Prisma.FlowIdempotencyScalarFieldEnum = {
|
|
129
|
+
key: 'key',
|
|
130
|
+
runId: 'runId',
|
|
131
|
+
nodeId: 'nodeId',
|
|
132
|
+
outputJson: 'outputJson',
|
|
133
|
+
patchJson: 'patchJson',
|
|
134
|
+
createdAt: 'createdAt'
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
exports.Prisma.SortOrder = {
|
|
138
|
+
asc: 'asc',
|
|
139
|
+
desc: 'desc'
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
exports.Prisma.JsonNullValueInput = {
|
|
143
|
+
JsonNull: Prisma.JsonNull
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
exports.Prisma.NullableJsonNullValueInput = {
|
|
147
|
+
DbNull: Prisma.DbNull,
|
|
148
|
+
JsonNull: Prisma.JsonNull
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
exports.Prisma.QueryMode = {
|
|
152
|
+
default: 'default',
|
|
153
|
+
insensitive: 'insensitive'
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
exports.Prisma.JsonNullValueFilter = {
|
|
157
|
+
DbNull: Prisma.DbNull,
|
|
158
|
+
JsonNull: Prisma.JsonNull,
|
|
159
|
+
AnyNull: Prisma.AnyNull
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
exports.Prisma.NullsOrder = {
|
|
163
|
+
first: 'first',
|
|
164
|
+
last: 'last'
|
|
165
|
+
};
|
|
166
|
+
exports.FlowRunStatus = exports.$Enums.FlowRunStatus = {
|
|
167
|
+
RUNNING: 'RUNNING',
|
|
168
|
+
WAITING: 'WAITING',
|
|
169
|
+
COMPLETED: 'COMPLETED',
|
|
170
|
+
FAILED: 'FAILED'
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
exports.Prisma.ModelName = {
|
|
174
|
+
FlowDefinition: 'FlowDefinition',
|
|
175
|
+
FlowRun: 'FlowRun',
|
|
176
|
+
FlowRunEvent: 'FlowRunEvent',
|
|
177
|
+
FlowIdempotency: 'FlowIdempotency'
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Create the Client
|
|
181
|
+
*/
|
|
182
|
+
const config = {
|
|
183
|
+
"generator": {
|
|
184
|
+
"name": "client",
|
|
185
|
+
"provider": {
|
|
186
|
+
"fromEnvVar": null,
|
|
187
|
+
"value": "prisma-client-js"
|
|
188
|
+
},
|
|
189
|
+
"output": {
|
|
190
|
+
"value": "/home/runner/work/hazeljs/hazeljs/packages/flow/src/generated/prisma",
|
|
191
|
+
"fromEnvVar": null
|
|
192
|
+
},
|
|
193
|
+
"config": {
|
|
194
|
+
"engineType": "library"
|
|
195
|
+
},
|
|
196
|
+
"binaryTargets": [
|
|
197
|
+
{
|
|
198
|
+
"fromEnvVar": null,
|
|
199
|
+
"value": "debian-openssl-3.0.x",
|
|
200
|
+
"native": true
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"previewFeatures": [],
|
|
204
|
+
"sourceFilePath": "/home/runner/work/hazeljs/hazeljs/packages/flow/prisma/schema.prisma",
|
|
205
|
+
"isCustomOutput": true
|
|
206
|
+
},
|
|
207
|
+
"relativeEnvPaths": {
|
|
208
|
+
"rootEnvPath": null
|
|
209
|
+
},
|
|
210
|
+
"relativePath": "../../../prisma",
|
|
211
|
+
"clientVersion": "6.19.2",
|
|
212
|
+
"engineVersion": "c2990dca591cba766e3b7ef5d9e8a84796e47ab7",
|
|
213
|
+
"datasourceNames": [
|
|
214
|
+
"db"
|
|
215
|
+
],
|
|
216
|
+
"activeProvider": "postgresql",
|
|
217
|
+
"postinstall": false,
|
|
218
|
+
"ciName": "GitHub Actions",
|
|
219
|
+
"inlineDatasources": {
|
|
220
|
+
"db": {
|
|
221
|
+
"url": {
|
|
222
|
+
"fromEnvVar": "DATABASE_URL",
|
|
223
|
+
"value": null
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"inlineSchema": "// @hazeljs/flow - Flow engine Prisma schema\n// Uses its own database/schema - independent of Hazel core\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../src/generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel FlowDefinition {\n flowId String\n version String\n definitionJson Json\n createdAt DateTime @default(now())\n\n @@id([flowId, version])\n}\n\nenum FlowRunStatus {\n RUNNING\n WAITING\n COMPLETED\n FAILED\n}\n\nmodel FlowRun {\n runId String @id @default(uuid())\n flowId String\n flowVersion String\n tenantId String?\n status FlowRunStatus\n currentNodeId String?\n inputJson Json\n stateJson Json\n outputsJson Json\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([flowId, flowVersion])\n @@index([tenantId])\n @@index([status])\n}\n\nmodel FlowRunEvent {\n id String @id @default(uuid())\n runId String\n at DateTime @default(now())\n type String\n nodeId String?\n attempt Int?\n payloadJson Json\n\n @@index([runId])\n @@index([runId, at])\n}\n\nmodel FlowIdempotency {\n key String @id\n runId String\n nodeId String\n outputJson Json?\n patchJson Json?\n createdAt DateTime @default(now())\n\n @@index([runId])\n}\n",
|
|
228
|
+
"inlineSchemaHash": "4fac31978e869618c9606b5e6e4a3f3b2b61de867e68f57dd91ec56b009f7e5f",
|
|
229
|
+
"copyEngine": true
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
const fs = require('fs')
|
|
233
|
+
|
|
234
|
+
config.dirname = __dirname
|
|
235
|
+
if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) {
|
|
236
|
+
const alternativePaths = [
|
|
237
|
+
"src/generated/prisma",
|
|
238
|
+
"generated/prisma",
|
|
239
|
+
]
|
|
240
|
+
|
|
241
|
+
const alternativePath = alternativePaths.find((altPath) => {
|
|
242
|
+
return fs.existsSync(path.join(process.cwd(), altPath, 'schema.prisma'))
|
|
243
|
+
}) ?? alternativePaths[0]
|
|
244
|
+
|
|
245
|
+
config.dirname = path.join(process.cwd(), alternativePath)
|
|
246
|
+
config.isBundled = true
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
config.runtimeDataModel = JSON.parse("{\"models\":{\"FlowDefinition\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"flowId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"version\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"definitionJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"flowId\",\"version\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"FlowRun\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"runId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":null,\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"flowId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"flowVersion\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tenantId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"FlowRunStatus\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"currentNodeId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"inputJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"stateJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"outputsJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"FlowRunEvent\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":null,\"default\":{\"name\":\"uuid\",\"args\":[4]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"runId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"attempt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"payloadJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"FlowIdempotency\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"key\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"runId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"outputJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"patchJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{\"FlowRunStatus\":{\"values\":[{\"name\":\"RUNNING\",\"dbName\":null},{\"name\":\"WAITING\",\"dbName\":null},{\"name\":\"COMPLETED\",\"dbName\":null},{\"name\":\"FAILED\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}")
|
|
250
|
+
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
|
|
251
|
+
config.engineWasm = undefined
|
|
252
|
+
config.compilerWasm = undefined
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
const { warnEnvConflicts } = require('./runtime/library.js')
|
|
256
|
+
|
|
257
|
+
warnEnvConflicts({
|
|
258
|
+
rootEnvPath: config.relativeEnvPaths.rootEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.rootEnvPath),
|
|
259
|
+
schemaEnvPath: config.relativeEnvPaths.schemaEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.schemaEnvPath)
|
|
260
|
+
})
|
|
261
|
+
|
|
262
|
+
const PrismaClient = getPrismaClient(config)
|
|
263
|
+
exports.PrismaClient = PrismaClient
|
|
264
|
+
Object.assign(exports, Prisma)
|
|
265
|
+
|
|
266
|
+
// file annotations for bundling tools to include these files
|
|
267
|
+
path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node");
|
|
268
|
+
path.join(process.cwd(), "src/generated/prisma/libquery_engine-debian-openssl-3.0.x.so.node")
|
|
269
|
+
// file annotations for bundling tools to include these files
|
|
270
|
+
path.join(__dirname, "schema.prisma");
|
|
271
|
+
path.join(process.cwd(), "src/generated/prisma/schema.prisma")
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prisma-client-74c68f63a27014040aff4302a59bd12639d877ebd6a982189699b7b7fa55f731",
|
|
3
|
+
"main": "index.js",
|
|
4
|
+
"types": "index.d.ts",
|
|
5
|
+
"browser": "default.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./client": {
|
|
8
|
+
"require": {
|
|
9
|
+
"node": "./index.js",
|
|
10
|
+
"edge-light": "./wasm.js",
|
|
11
|
+
"workerd": "./wasm.js",
|
|
12
|
+
"worker": "./wasm.js",
|
|
13
|
+
"browser": "./index-browser.js",
|
|
14
|
+
"default": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"import": {
|
|
17
|
+
"node": "./index.js",
|
|
18
|
+
"edge-light": "./wasm.js",
|
|
19
|
+
"workerd": "./wasm.js",
|
|
20
|
+
"worker": "./wasm.js",
|
|
21
|
+
"browser": "./index-browser.js",
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"default": "./index.js"
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
".": {
|
|
28
|
+
"require": {
|
|
29
|
+
"node": "./index.js",
|
|
30
|
+
"edge-light": "./wasm.js",
|
|
31
|
+
"workerd": "./wasm.js",
|
|
32
|
+
"worker": "./wasm.js",
|
|
33
|
+
"browser": "./index-browser.js",
|
|
34
|
+
"default": "./index.js"
|
|
35
|
+
},
|
|
36
|
+
"import": {
|
|
37
|
+
"node": "./index.js",
|
|
38
|
+
"edge-light": "./wasm.js",
|
|
39
|
+
"workerd": "./wasm.js",
|
|
40
|
+
"worker": "./wasm.js",
|
|
41
|
+
"browser": "./index-browser.js",
|
|
42
|
+
"default": "./index.js"
|
|
43
|
+
},
|
|
44
|
+
"default": "./index.js"
|
|
45
|
+
},
|
|
46
|
+
"./edge": {
|
|
47
|
+
"types": "./edge.d.ts",
|
|
48
|
+
"require": "./edge.js",
|
|
49
|
+
"import": "./edge.js",
|
|
50
|
+
"default": "./edge.js"
|
|
51
|
+
},
|
|
52
|
+
"./react-native": {
|
|
53
|
+
"types": "./react-native.d.ts",
|
|
54
|
+
"require": "./react-native.js",
|
|
55
|
+
"import": "./react-native.js",
|
|
56
|
+
"default": "./react-native.js"
|
|
57
|
+
},
|
|
58
|
+
"./extension": {
|
|
59
|
+
"types": "./extension.d.ts",
|
|
60
|
+
"require": "./extension.js",
|
|
61
|
+
"import": "./extension.js",
|
|
62
|
+
"default": "./extension.js"
|
|
63
|
+
},
|
|
64
|
+
"./index-browser": {
|
|
65
|
+
"types": "./index.d.ts",
|
|
66
|
+
"require": "./index-browser.js",
|
|
67
|
+
"import": "./index-browser.js",
|
|
68
|
+
"default": "./index-browser.js"
|
|
69
|
+
},
|
|
70
|
+
"./index": {
|
|
71
|
+
"types": "./index.d.ts",
|
|
72
|
+
"require": "./index.js",
|
|
73
|
+
"import": "./index.js",
|
|
74
|
+
"default": "./index.js"
|
|
75
|
+
},
|
|
76
|
+
"./wasm": {
|
|
77
|
+
"types": "./wasm.d.ts",
|
|
78
|
+
"require": "./wasm.js",
|
|
79
|
+
"import": "./wasm.mjs",
|
|
80
|
+
"default": "./wasm.mjs"
|
|
81
|
+
},
|
|
82
|
+
"./runtime/client": {
|
|
83
|
+
"types": "./runtime/client.d.ts",
|
|
84
|
+
"node": {
|
|
85
|
+
"require": "./runtime/client.js",
|
|
86
|
+
"default": "./runtime/client.js"
|
|
87
|
+
},
|
|
88
|
+
"require": "./runtime/client.js",
|
|
89
|
+
"import": "./runtime/client.mjs",
|
|
90
|
+
"default": "./runtime/client.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./runtime/library": {
|
|
93
|
+
"types": "./runtime/library.d.ts",
|
|
94
|
+
"require": "./runtime/library.js",
|
|
95
|
+
"import": "./runtime/library.mjs",
|
|
96
|
+
"default": "./runtime/library.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./runtime/binary": {
|
|
99
|
+
"types": "./runtime/binary.d.ts",
|
|
100
|
+
"require": "./runtime/binary.js",
|
|
101
|
+
"import": "./runtime/binary.mjs",
|
|
102
|
+
"default": "./runtime/binary.mjs"
|
|
103
|
+
},
|
|
104
|
+
"./runtime/wasm-engine-edge": {
|
|
105
|
+
"types": "./runtime/wasm-engine-edge.d.ts",
|
|
106
|
+
"require": "./runtime/wasm-engine-edge.js",
|
|
107
|
+
"import": "./runtime/wasm-engine-edge.mjs",
|
|
108
|
+
"default": "./runtime/wasm-engine-edge.mjs"
|
|
109
|
+
},
|
|
110
|
+
"./runtime/wasm-compiler-edge": {
|
|
111
|
+
"types": "./runtime/wasm-compiler-edge.d.ts",
|
|
112
|
+
"require": "./runtime/wasm-compiler-edge.js",
|
|
113
|
+
"import": "./runtime/wasm-compiler-edge.mjs",
|
|
114
|
+
"default": "./runtime/wasm-compiler-edge.mjs"
|
|
115
|
+
},
|
|
116
|
+
"./runtime/edge": {
|
|
117
|
+
"types": "./runtime/edge.d.ts",
|
|
118
|
+
"require": "./runtime/edge.js",
|
|
119
|
+
"import": "./runtime/edge-esm.js",
|
|
120
|
+
"default": "./runtime/edge-esm.js"
|
|
121
|
+
},
|
|
122
|
+
"./runtime/react-native": {
|
|
123
|
+
"types": "./runtime/react-native.d.ts",
|
|
124
|
+
"require": "./runtime/react-native.js",
|
|
125
|
+
"import": "./runtime/react-native.js",
|
|
126
|
+
"default": "./runtime/react-native.js"
|
|
127
|
+
},
|
|
128
|
+
"./runtime/index-browser": {
|
|
129
|
+
"types": "./runtime/index-browser.d.ts",
|
|
130
|
+
"require": "./runtime/index-browser.js",
|
|
131
|
+
"import": "./runtime/index-browser.mjs",
|
|
132
|
+
"default": "./runtime/index-browser.mjs"
|
|
133
|
+
},
|
|
134
|
+
"./generator-build": {
|
|
135
|
+
"require": "./generator-build/index.js",
|
|
136
|
+
"import": "./generator-build/index.js",
|
|
137
|
+
"default": "./generator-build/index.js"
|
|
138
|
+
},
|
|
139
|
+
"./sql": {
|
|
140
|
+
"require": {
|
|
141
|
+
"types": "./sql.d.ts",
|
|
142
|
+
"node": "./sql.js",
|
|
143
|
+
"default": "./sql.js"
|
|
144
|
+
},
|
|
145
|
+
"import": {
|
|
146
|
+
"types": "./sql.d.ts",
|
|
147
|
+
"node": "./sql.mjs",
|
|
148
|
+
"default": "./sql.mjs"
|
|
149
|
+
},
|
|
150
|
+
"default": "./sql.js"
|
|
151
|
+
},
|
|
152
|
+
"./*": "./*"
|
|
153
|
+
},
|
|
154
|
+
"version": "6.19.2",
|
|
155
|
+
"sideEffects": false,
|
|
156
|
+
"imports": {
|
|
157
|
+
"#wasm-engine-loader": {
|
|
158
|
+
"edge-light": "./wasm-edge-light-loader.mjs",
|
|
159
|
+
"workerd": "./wasm-worker-loader.mjs",
|
|
160
|
+
"worker": "./wasm-worker-loader.mjs",
|
|
161
|
+
"default": "./wasm-worker-loader.mjs"
|
|
162
|
+
},
|
|
163
|
+
"#main-entry-point": {
|
|
164
|
+
"require": {
|
|
165
|
+
"node": "./index.js",
|
|
166
|
+
"edge-light": "./wasm.js",
|
|
167
|
+
"workerd": "./wasm.js",
|
|
168
|
+
"worker": "./wasm.js",
|
|
169
|
+
"browser": "./index-browser.js",
|
|
170
|
+
"default": "./index.js"
|
|
171
|
+
},
|
|
172
|
+
"import": {
|
|
173
|
+
"node": "./index.js",
|
|
174
|
+
"edge-light": "./wasm.js",
|
|
175
|
+
"workerd": "./wasm.js",
|
|
176
|
+
"worker": "./wasm.js",
|
|
177
|
+
"browser": "./index-browser.js",
|
|
178
|
+
"default": "./index.js"
|
|
179
|
+
},
|
|
180
|
+
"default": "./index.js"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var F=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var L=(e,t)=>{for(var n in t)F(e,n,{get:t[n],enumerable:!0})},N=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B(t))!U.call(e,o)&&o!==n&&F(e,o,{get:()=>t[o],enumerable:!(r=j(t,o))||r.enumerable});return e};var C=e=>N(F({},"__esModule",{value:!0}),e);var kt={};L(kt,{QueryEngine:()=>k,__wbg_Error_e83987f665cf5504:()=>J,__wbg_Number_bb48ca12f395cd08:()=>X,__wbg_String_8f0eb39a4a4c2f66:()=>Y,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd:()=>K,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68:()=>Z,__wbg___wbindgen_debug_string_df47ffb5e35e6763:()=>ee,__wbg___wbindgen_in_bb933bd9e1b3bc0f:()=>te,__wbg___wbindgen_is_bigint_cb320707dcd35f0b:()=>ne,__wbg___wbindgen_is_function_ee8a6c5833c90377:()=>re,__wbg___wbindgen_is_object_c818261d21f283a4:()=>_e,__wbg___wbindgen_is_string_fbb76cb2940daafd:()=>oe,__wbg___wbindgen_is_undefined_2d472862bd29a478:()=>ce,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50:()=>ie,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147:()=>ue,__wbg___wbindgen_number_get_a20bf9b85341449d:()=>se,__wbg___wbindgen_string_get_e4f06c90489ad01b:()=>be,__wbg___wbindgen_throw_b855445ff6a94295:()=>fe,__wbg__wbg_cb_unref_2454a539ea5790d9:()=>ae,__wbg_call_525440f72fbfc0ea:()=>ge,__wbg_call_e762c39fa8ea36bf:()=>le,__wbg_crypto_805be4ce92f1e370:()=>de,__wbg_done_2042aa2670fb1db1:()=>we,__wbg_entries_e171b586f8f6bdbf:()=>pe,__wbg_exec_fdeec61d47617356:()=>xe,__wbg_getRandomValues_f6a868620c8bab49:()=>ye,__wbg_getTime_14776bfb48a1bff9:()=>me,__wbg_get_7bed016f185add81:()=>he,__wbg_get_ece95cf6585650d9:()=>Te,__wbg_get_efcb449f58ec27c2:()=>Ae,__wbg_get_with_ref_key_1dc361bd10053bfe:()=>Se,__wbg_has_787fafc980c3ccdb:()=>Fe,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38:()=>Ie,__wbg_instanceof_Map_8579b5e2ab5437c7:()=>qe,__wbg_instanceof_Promise_001fdd42afa1b7ef:()=>Ee,__wbg_instanceof_Uint8Array_20c8e73002f7af98:()=>ke,__wbg_isArray_96e0af9891d0945d:()=>Oe,__wbg_isSafeInteger_d216eda7911dde36:()=>Me,__wbg_iterator_e5822695327a3c39:()=>ve,__wbg_keys_b4d27b02ad14f4be:()=>De,__wbg_length_69bca3cb64fc8748:()=>Re,__wbg_length_cdd215e10d9dd507:()=>je,__wbg_msCrypto_2ac4d17c4748234a:()=>Be,__wbg_new_0_f9740686d739025c:()=>Ue,__wbg_new_1acc0b6eea89d040:()=>Le,__wbg_new_23fa8b12a239f036:()=>Ne,__wbg_new_3c3d849046688a66:()=>Ce,__wbg_new_5a79be3ab53b8aa5:()=>$e,__wbg_new_68651c719dcda04e:()=>Ve,__wbg_new_e17d9f43105b08be:()=>We,__wbg_new_from_slice_92f4d78ca282a2d2:()=>ze,__wbg_new_no_args_ee98eee5275000a4:()=>Pe,__wbg_new_with_length_01aa0dc35aa13543:()=>Ge,__wbg_next_020810e0ae8ebcb0:()=>Qe,__wbg_next_2c826fe5dfec6b6a:()=>He,__wbg_node_ecc8306b9857f33d:()=>Je,__wbg_now_793306c526e2e3b6:()=>Xe,__wbg_now_7fd00a794a07d388:()=>Ye,__wbg_now_b3f7572f6ef3d3a9:()=>Ke,__wbg_process_5cff2739921be718:()=>Ze,__wbg_prototypesetcall_2a6620b6922694b2:()=>et,__wbg_push_df81a39d04db858c:()=>tt,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>nt,__wbg_queueMicrotask_6d79674585219521:()=>rt,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>_t,__wbg_require_0c566c6f2eef6c79:()=>ot,__wbg_resolve_caf97c30b83f7053:()=>ct,__wbg_setTimeout_5d6a1d4fc51ea450:()=>it,__wbg_set_3f1d0b984ed272ed:()=>ut,__wbg_set_907fb406c34a251d:()=>st,__wbg_set_c213c871859d6500:()=>bt,__wbg_set_c2abbebe8b9ebee1:()=>ft,__wbg_set_wasm:()=>$,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e:()=>at,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac:()=>gt,__wbg_static_accessor_SELF_6fdf4b64710cc91b:()=>lt,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2:()=>dt,__wbg_subarray_480600f3d6a9f26c:()=>wt,__wbg_then_4f46f6544e6b4a28:()=>pt,__wbg_then_70d05cf780a18d77:()=>xt,__wbg_valueOf_9eee4828c11458ca:()=>yt,__wbg_value_692627309814bb8c:()=>mt,__wbg_versions_a8e5a362e1f16442:()=>ht,__wbindgen_cast_2241b6af4c4b2941:()=>Tt,__wbindgen_cast_4625c577ab2ec9ee:()=>At,__wbindgen_cast_7bf296c42657ff30:()=>St,__wbindgen_cast_9ae0607507abb057:()=>Ft,__wbindgen_cast_cb9088102bce6b30:()=>It,__wbindgen_cast_d6cd19b81560fd6e:()=>qt,__wbindgen_init_externref_table:()=>Et,debug_panic:()=>G,getBuildTimeInfo:()=>P});module.exports=C(kt);var T=()=>{};T.prototype=T;let _;function $(e){_=e}let A=null;function y(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(_.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const V=2146435072;let I=0;function W(e,t){return I+=t,I>=V&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),I=t),S.decode(y().subarray(e,e+t))}function w(e,t){return e=e>>>0,W(e,t)}let s=0;const m=new TextEncoder;"encodeInto"in m||(m.encodeInto=function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const u=m.encode(e),f=t(u.length,1)>>>0;return y().subarray(f,f+u.length).set(u),s=u.length,f}let r=e.length,o=t(r,1)>>>0;const i=y();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),o=n(o,r,r=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+r),f=m.encodeInto(e,u);c+=f.written,o=n(o,r,c,1)>>>0}return s=c,o}let p=null;function l(){return(p===null||p.buffer.detached===!0||p.buffer.detached===void 0&&p.buffer!==_.memory.buffer)&&(p=new DataView(_.memory.buffer)),p}function a(e){return e==null}function q(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=q(e[0]));for(let c=1;c<o;c++)i+=", "+q(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
+
${e.stack}`:r}function x(e){const t=_.__externref_table_alloc();return _.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const r=x(n);_.__wbindgen_exn_store(r)}}function E(e,t){return e=e>>>0,y().subarray(e/1,e/1+t)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function z(e,t,n,r){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const u=o.a;o.a=0;try{return r(u,o.b,...c)}finally{o.a=u,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,O.unregister(o))},O.register(i,o,o),i}function M(e){const t=_.__wbindgen_externrefs.get(e);return _.__externref_table_dealloc(e),t}function P(){return _.getBuildTimeInfo()}function G(e){var t=a(e)?0:b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),n=s;const r=_.debug_panic(t,n);if(r[1])throw M(r[0])}function Q(e,t,n){_.wasm_bindgen__convert__closures_____invoke__ha235f3ea55a06a09(e,t,n)}function H(e,t,n,r){_.wasm_bindgen__convert__closures_____invoke__h1a2f20be69ab8911(e,t,n,r)}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_queryengine_free(e>>>0,1));class k{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}disconnect(t,n){const r=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s,i=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s;return _.queryengine_disconnect(this.__wbg_ptr,r,o,i,c)}startTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_startTransaction(this.__wbg_ptr,o,i,c,u,f,d)}commitTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,u,f,d)}rollbackTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,u,f,d)}constructor(t,n,r){const o=_.queryengine_new(t,n,r);if(o[2])throw M(o[1]);return this.__wbg_ptr=o[0]>>>0,v.register(this,this.__wbg_ptr,this),this}query(t,n,r,o){const i=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),f=s;var d=a(r)?0:b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),h=s;const D=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),R=s;return _.queryengine_query(this.__wbg_ptr,i,c,u,f,d,h,D,R)}trace(t){const n=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),r=s;return _.queryengine_trace(this.__wbg_ptr,n,r)}connect(t,n){const r=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s,i=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s;return _.queryengine_connect(this.__wbg_ptr,r,o,i,c)}metrics(t){const n=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),r=s;return _.queryengine_metrics(this.__wbg_ptr,n,r)}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);function J(e,t){return Error(w(e,t))}function X(e){return Number(e)}function Y(e,t){const n=String(t),r=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,r,!0)}function K(e,t){const n=t,r=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(r)?BigInt(0):r,!0),l().setInt32(e+4*0,!a(r),!0)}function Z(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function ee(e,t){const n=q(t),r=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,r,!0)}function te(e,t){return e in t}function ne(e){return typeof e=="bigint"}function re(e){return typeof e=="function"}function _e(e){const t=e;return typeof t=="object"&&t!==null}function oe(e){return typeof e=="string"}function ce(e){return e===void 0}function ie(e,t){return e===t}function ue(e,t){return e==t}function se(e,t){const n=t,r=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(r)?0:r,!0),l().setInt32(e+4*0,!a(r),!0)}function be(e,t){const n=t,r=typeof n=="string"?n:void 0;var o=a(r)?0:b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function fe(e,t){throw new Error(w(e,t))}function ae(e){e._wbg_cb_unref()}function ge(){return g(function(e,t,n){return e.call(t,n)},arguments)}function le(){return g(function(e,t){return e.call(t)},arguments)}function de(e){return e.crypto}function we(e){return e.done}function pe(e){return Object.entries(e)}function xe(e,t,n){const r=e.exec(w(t,n));return a(r)?0:x(r)}function ye(){return g(function(e,t){e.getRandomValues(t)},arguments)}function me(e){return e.getTime()}function he(e,t){return e[t>>>0]}function Te(){return g(function(e,t){return e[t]},arguments)}function Ae(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function Se(e,t){return e[t]}function Fe(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function Ie(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function qe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function Ee(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ke(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function Oe(e){return Array.isArray(e)}function Me(e){return Number.isSafeInteger(e)}function ve(){return Symbol.iterator}function De(e){return Object.keys(e)}function Re(e){return e.length}function je(e){return e.length}function Be(e){return e.msCrypto}function Ue(){return new Date}function Le(){return new Object}function Ne(e,t,n,r){return new RegExp(w(e,t),w(n,r))}function Ce(e,t){try{var n={a:e,b:t},r=(i,c)=>{const u=n.a;n.a=0;try{return H(u,n.b,i,c)}finally{n.a=u}};return new Promise(r)}finally{n.a=n.b=0}}function $e(e){return new Uint8Array(e)}function Ve(){return new Map}function We(){return new Array}function ze(e,t){return new Uint8Array(E(e,t))}function Pe(e,t){return new T(w(e,t))}function Ge(e){return new Uint8Array(e>>>0)}function Qe(){return g(function(e){return e.next()},arguments)}function He(e){return e.next}function Je(e){return e.node}function Xe(){return Date.now()}function Ye(e){return e.now()}function Ke(){return g(function(){return Date.now()},arguments)}function Ze(e){return e.process}function et(e,t,n){Uint8Array.prototype.set.call(E(e,t),n)}function tt(e,t){return e.push(t)}function nt(e){return e.queueMicrotask}function rt(e){queueMicrotask(e)}function _t(){return g(function(e,t){e.randomFillSync(t)},arguments)}function ot(){return g(function(){return module.require},arguments)}function ct(e){return Promise.resolve(e)}function it(e,t){return setTimeout(e,t>>>0)}function ut(e,t,n){e[t]=n}function st(e,t,n){return e.set(t,n)}function bt(e,t,n){e[t>>>0]=n}function ft(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function at(){const e=typeof global>"u"?null:global;return a(e)?0:x(e)}function gt(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:x(e)}function lt(){const e=typeof self>"u"?null:self;return a(e)?0:x(e)}function dt(){const e=typeof window>"u"?null:window;return a(e)?0:x(e)}function wt(e,t,n){return e.subarray(t>>>0,n>>>0)}function pt(e,t){return e.then(t)}function xt(e,t,n){return e.then(t,n)}function yt(e){return e.valueOf()}function mt(e){return e.value}function ht(e){return e.versions}function Tt(e,t){return w(e,t)}function At(e){return BigInt.asUintN(64,e)}function St(e,t){return z(e,t,_.wasm_bindgen__closure__destroy__hf9ae564cf31e91c2,Q)}function Ft(e){return e}function It(e,t){return E(e,t)}function qt(e){return e}function Et(){const e=_.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}0&&(module.exports={QueryEngine,__wbg_Error_e83987f665cf5504,__wbg_Number_bb48ca12f395cd08,__wbg_String_8f0eb39a4a4c2f66,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,__wbg___wbindgen_debug_string_df47ffb5e35e6763,__wbg___wbindgen_in_bb933bd9e1b3bc0f,__wbg___wbindgen_is_bigint_cb320707dcd35f0b,__wbg___wbindgen_is_function_ee8a6c5833c90377,__wbg___wbindgen_is_object_c818261d21f283a4,__wbg___wbindgen_is_string_fbb76cb2940daafd,__wbg___wbindgen_is_undefined_2d472862bd29a478,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,__wbg___wbindgen_number_get_a20bf9b85341449d,__wbg___wbindgen_string_get_e4f06c90489ad01b,__wbg___wbindgen_throw_b855445ff6a94295,__wbg__wbg_cb_unref_2454a539ea5790d9,__wbg_call_525440f72fbfc0ea,__wbg_call_e762c39fa8ea36bf,__wbg_crypto_805be4ce92f1e370,__wbg_done_2042aa2670fb1db1,__wbg_entries_e171b586f8f6bdbf,__wbg_exec_fdeec61d47617356,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_14776bfb48a1bff9,__wbg_get_7bed016f185add81,__wbg_get_ece95cf6585650d9,__wbg_get_efcb449f58ec27c2,__wbg_get_with_ref_key_1dc361bd10053bfe,__wbg_has_787fafc980c3ccdb,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38,__wbg_instanceof_Map_8579b5e2ab5437c7,__wbg_instanceof_Promise_001fdd42afa1b7ef,__wbg_instanceof_Uint8Array_20c8e73002f7af98,__wbg_isArray_96e0af9891d0945d,__wbg_isSafeInteger_d216eda7911dde36,__wbg_iterator_e5822695327a3c39,__wbg_keys_b4d27b02ad14f4be,__wbg_length_69bca3cb64fc8748,__wbg_length_cdd215e10d9dd507,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new_0_f9740686d739025c,__wbg_new_1acc0b6eea89d040,__wbg_new_23fa8b12a239f036,__wbg_new_3c3d849046688a66,__wbg_new_5a79be3ab53b8aa5,__wbg_new_68651c719dcda04e,__wbg_new_e17d9f43105b08be,__wbg_new_from_slice_92f4d78ca282a2d2,__wbg_new_no_args_ee98eee5275000a4,__wbg_new_with_length_01aa0dc35aa13543,__wbg_next_020810e0ae8ebcb0,__wbg_next_2c826fe5dfec6b6a,__wbg_node_ecc8306b9857f33d,__wbg_now_793306c526e2e3b6,__wbg_now_7fd00a794a07d388,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_prototypesetcall_2a6620b6922694b2,__wbg_push_df81a39d04db858c,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_caf97c30b83f7053,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_3f1d0b984ed272ed,__wbg_set_907fb406c34a251d,__wbg_set_c213c871859d6500,__wbg_set_c2abbebe8b9ebee1,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,__wbg_static_accessor_SELF_6fdf4b64710cc91b,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,__wbg_subarray_480600f3d6a9f26c,__wbg_then_4f46f6544e6b4a28,__wbg_then_70d05cf780a18d77,__wbg_valueOf_9eee4828c11458ca,__wbg_value_692627309814bb8c,__wbg_versions_a8e5a362e1f16442,__wbindgen_cast_2241b6af4c4b2941,__wbindgen_cast_4625c577ab2ec9ee,__wbindgen_cast_7bf296c42657ff30,__wbindgen_cast_9ae0607507abb057,__wbindgen_cast_cb9088102bce6b30,__wbindgen_cast_d6cd19b81560fd6e,__wbindgen_init_externref_table,debug_panic,getBuildTimeInfo});
|
|
Binary file
|