@tachybase/module-collection 0.23.8
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/.turbo/turbo-build.log +14 -0
- package/LICENSE +201 -0
- package/README.md +9 -0
- package/README.zh-CN.md +9 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client/index.js +1 -0
- package/dist/externalVersion.js +14 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -0
- package/dist/server/actions/collectionImportExportMeta.d.ts +2 -0
- package/dist/server/actions/collectionImportExportMeta.js +226 -0
- package/dist/server/collections/collectionCategories.d.ts +3 -0
- package/dist/server/collections/collectionCategories.js +52 -0
- package/dist/server/collections/collections.d.ts +3 -0
- package/dist/server/collections/collections.js +92 -0
- package/dist/server/collections/fields.d.ts +3 -0
- package/dist/server/collections/fields.js +94 -0
- package/dist/server/hooks/afterCreateForForeignKeyField.d.ts +2 -0
- package/dist/server/hooks/afterCreateForForeignKeyField.js +195 -0
- package/dist/server/hooks/afterCreateForReverseField.d.ts +4 -0
- package/dist/server/hooks/afterCreateForReverseField.js +37 -0
- package/dist/server/hooks/afterDestroyForForeignKeyField.d.ts +2 -0
- package/dist/server/hooks/afterDestroyForForeignKeyField.js +89 -0
- package/dist/server/hooks/beforeCreateForChildrenCollection.d.ts +5 -0
- package/dist/server/hooks/beforeCreateForChildrenCollection.js +58 -0
- package/dist/server/hooks/beforeCreateForReverseField.d.ts +4 -0
- package/dist/server/hooks/beforeCreateForReverseField.js +64 -0
- package/dist/server/hooks/beforeCreateForValidateField.d.ts +4 -0
- package/dist/server/hooks/beforeCreateForValidateField.js +48 -0
- package/dist/server/hooks/beforeCreateForViewCollection.d.ts +5 -0
- package/dist/server/hooks/beforeCreateForViewCollection.js +30 -0
- package/dist/server/hooks/beforeDestroyForeignKey.d.ts +2 -0
- package/dist/server/hooks/beforeDestroyForeignKey.js +66 -0
- package/dist/server/hooks/beforeInitOptions.d.ts +29 -0
- package/dist/server/hooks/beforeInitOptions.js +233 -0
- package/dist/server/hooks/index.d.ts +6 -0
- package/dist/server/hooks/index.js +31 -0
- package/dist/server/index.d.ts +4 -0
- package/dist/server/index.js +45 -0
- package/dist/server/migrations/20220613103214-alert-sub-table.d.ts +5 -0
- package/dist/server/migrations/20220613103214-alert-sub-table.js +40 -0
- package/dist/server/migrations/20220704225714-drop-foreign-keys.d.ts +5 -0
- package/dist/server/migrations/20220704225714-drop-foreign-keys.js +67 -0
- package/dist/server/migrations/20221101111110-update-foreign-fields.d.ts +5 -0
- package/dist/server/migrations/20221101111110-update-foreign-fields.js +64 -0
- package/dist/server/migrations/20221104151410-update-collections-hidden.d.ts +5 -0
- package/dist/server/migrations/20221104151410-update-collections-hidden.js +47 -0
- package/dist/server/migrations/20221121111110-update-fk-type.d.ts +5 -0
- package/dist/server/migrations/20221121111110-update-fk-type.js +144 -0
- package/dist/server/migrations/20221121111113-update-id-to-bigint.d.ts +5 -0
- package/dist/server/migrations/20221121111113-update-id-to-bigint.js +178 -0
- package/dist/server/migrations/20221221103220-timestamps.d.ts +5 -0
- package/dist/server/migrations/20221221103220-timestamps.js +45 -0
- package/dist/server/migrations/20230225111112-drop-ui-schema-relation.d.ts +5 -0
- package/dist/server/migrations/20230225111112-drop-ui-schema-relation.js +87 -0
- package/dist/server/migrations/20230509111114-alert-ui-schema.d.ts +5 -0
- package/dist/server/migrations/20230509111114-alert-ui-schema.js +77 -0
- package/dist/server/migrations/20230623145414-number-step.d.ts +5 -0
- package/dist/server/migrations/20230623145414-number-step.js +71 -0
- package/dist/server/migrations/20230704222935-tableoid.d.ts +5 -0
- package/dist/server/migrations/20230704222935-tableoid.js +73 -0
- package/dist/server/migrations/20230918024546-set-collection-schema.d.ts +5 -0
- package/dist/server/migrations/20230918024546-set-collection-schema.js +45 -0
- package/dist/server/migrations/20240220153103-install-main-datasource.d.ts +6 -0
- package/dist/server/migrations/20240220153103-install-main-datasource.js +41 -0
- package/dist/server/models/collection.d.ts +23 -0
- package/dist/server/models/collection.js +221 -0
- package/dist/server/models/field.d.ts +22 -0
- package/dist/server/models/field.js +188 -0
- package/dist/server/models/index.d.ts +2 -0
- package/dist/server/models/index.js +23 -0
- package/dist/server/repositories/collection-repository.d.ts +12 -0
- package/dist/server/repositories/collection-repository.js +135 -0
- package/dist/server/repositories/index.d.ts +1 -0
- package/dist/server/repositories/index.js +21 -0
- package/dist/server/resourcers/collections.d.ts +4 -0
- package/dist/server/resourcers/collections.js +93 -0
- package/dist/server/resourcers/sql.d.ts +10 -0
- package/dist/server/resourcers/sql.js +108 -0
- package/dist/server/resourcers/views.d.ts +9 -0
- package/dist/server/resourcers/views.js +98 -0
- package/dist/server/server.d.ts +11 -0
- package/dist/server/server.js +332 -0
- package/dist/swagger/index.d.ts +405 -0
- package/dist/swagger/index.js +431 -0
- package/package.json +34 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var swagger_exports = {};
|
|
19
|
+
__export(swagger_exports, {
|
|
20
|
+
default: () => swagger_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(swagger_exports);
|
|
23
|
+
var swagger_default = {
|
|
24
|
+
openapi: "3.0.2",
|
|
25
|
+
info: {
|
|
26
|
+
title: "TachyBase API - Collection manager plugin"
|
|
27
|
+
},
|
|
28
|
+
tags: [
|
|
29
|
+
{
|
|
30
|
+
name: "collections"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "collections.fields"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "collectionCategories"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "dbViews",
|
|
40
|
+
description: "manager db views"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
paths: {
|
|
44
|
+
"/collections:list": {
|
|
45
|
+
get: {
|
|
46
|
+
tags: ["collections"],
|
|
47
|
+
description: "",
|
|
48
|
+
parameters: [],
|
|
49
|
+
responses: {
|
|
50
|
+
"200": {
|
|
51
|
+
description: "OK"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"/collections:get": {
|
|
57
|
+
get: {
|
|
58
|
+
tags: ["collections"],
|
|
59
|
+
description: "",
|
|
60
|
+
parameters: [],
|
|
61
|
+
responses: {
|
|
62
|
+
"200": {
|
|
63
|
+
description: "OK"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"/collections:create": {
|
|
69
|
+
post: {
|
|
70
|
+
tags: ["collections"],
|
|
71
|
+
description: "",
|
|
72
|
+
parameters: [],
|
|
73
|
+
responses: {
|
|
74
|
+
"200": {
|
|
75
|
+
description: "OK"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"/collections:update": {
|
|
81
|
+
post: {
|
|
82
|
+
tags: ["collections"],
|
|
83
|
+
description: "",
|
|
84
|
+
parameters: [],
|
|
85
|
+
responses: {
|
|
86
|
+
"200": {
|
|
87
|
+
description: "OK"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"/collections:destroy": {
|
|
93
|
+
post: {
|
|
94
|
+
tags: ["collections"],
|
|
95
|
+
description: "",
|
|
96
|
+
parameters: [],
|
|
97
|
+
responses: {
|
|
98
|
+
"200": {
|
|
99
|
+
description: "OK"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"/collections:move": {
|
|
105
|
+
post: {
|
|
106
|
+
tags: ["collections"],
|
|
107
|
+
description: "",
|
|
108
|
+
parameters: [],
|
|
109
|
+
responses: {
|
|
110
|
+
"200": {
|
|
111
|
+
description: "OK"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"/collections:setFields": {
|
|
117
|
+
post: {
|
|
118
|
+
tags: ["collections"],
|
|
119
|
+
description: "",
|
|
120
|
+
parameters: [],
|
|
121
|
+
responses: {
|
|
122
|
+
"200": {
|
|
123
|
+
description: "OK"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"/collections/{collectionName}/fields:get": {
|
|
129
|
+
get: {
|
|
130
|
+
tags: ["collections.fields"],
|
|
131
|
+
description: "",
|
|
132
|
+
parameters: [],
|
|
133
|
+
responses: {
|
|
134
|
+
"200": {
|
|
135
|
+
description: "OK"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"/collections/{collectionName}/fields:list": {
|
|
141
|
+
get: {
|
|
142
|
+
tags: ["collections.fields"],
|
|
143
|
+
description: "",
|
|
144
|
+
parameters: [],
|
|
145
|
+
responses: {
|
|
146
|
+
"200": {
|
|
147
|
+
description: "OK"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"/collections/{collectionName}/fields:create": {
|
|
153
|
+
post: {
|
|
154
|
+
tags: ["collections.fields"],
|
|
155
|
+
description: "",
|
|
156
|
+
parameters: [],
|
|
157
|
+
responses: {
|
|
158
|
+
"200": {
|
|
159
|
+
description: "OK"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"/collections/{collectionName}/fields:update": {
|
|
165
|
+
post: {
|
|
166
|
+
tags: ["collections.fields"],
|
|
167
|
+
description: "",
|
|
168
|
+
parameters: [],
|
|
169
|
+
responses: {
|
|
170
|
+
"200": {
|
|
171
|
+
description: "OK"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"/collections/{collectionName}/fields:destroy": {
|
|
177
|
+
post: {
|
|
178
|
+
tags: ["collections.fields"],
|
|
179
|
+
description: "",
|
|
180
|
+
parameters: [],
|
|
181
|
+
responses: {
|
|
182
|
+
"200": {
|
|
183
|
+
description: "OK"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"/collections/{collectionName}/fields:move": {
|
|
189
|
+
post: {
|
|
190
|
+
tags: ["collections.fields"],
|
|
191
|
+
description: "",
|
|
192
|
+
parameters: [],
|
|
193
|
+
responses: {
|
|
194
|
+
"200": {
|
|
195
|
+
description: "OK"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"/collectionCategories:list": {
|
|
201
|
+
post: {
|
|
202
|
+
tags: ["collectionCategories"],
|
|
203
|
+
description: "",
|
|
204
|
+
parameters: [],
|
|
205
|
+
responses: {
|
|
206
|
+
"200": {
|
|
207
|
+
description: "OK"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"/collectionCategories:get": {
|
|
213
|
+
post: {
|
|
214
|
+
tags: ["collectionCategories"],
|
|
215
|
+
description: "",
|
|
216
|
+
parameters: [],
|
|
217
|
+
responses: {
|
|
218
|
+
"200": {
|
|
219
|
+
description: "OK"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"/collectionCategories:create": {
|
|
225
|
+
post: {
|
|
226
|
+
tags: ["collectionCategories"],
|
|
227
|
+
description: "",
|
|
228
|
+
parameters: [],
|
|
229
|
+
responses: {
|
|
230
|
+
"200": {
|
|
231
|
+
description: "OK"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"/collectionCategories:update": {
|
|
237
|
+
post: {
|
|
238
|
+
tags: ["collectionCategories"],
|
|
239
|
+
description: "",
|
|
240
|
+
parameters: [],
|
|
241
|
+
responses: {
|
|
242
|
+
"200": {
|
|
243
|
+
description: "OK"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"/collectionCategories:destroy": {
|
|
249
|
+
post: {
|
|
250
|
+
tags: ["collectionCategories"],
|
|
251
|
+
description: "",
|
|
252
|
+
parameters: [],
|
|
253
|
+
responses: {
|
|
254
|
+
"200": {
|
|
255
|
+
description: "OK"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"/collectionCategories:move": {
|
|
261
|
+
post: {
|
|
262
|
+
tags: ["collectionCategories"],
|
|
263
|
+
description: "",
|
|
264
|
+
parameters: [],
|
|
265
|
+
responses: {
|
|
266
|
+
"200": {
|
|
267
|
+
description: "OK"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"/dbViews:get": {
|
|
273
|
+
get: {
|
|
274
|
+
tags: ["dbViews"],
|
|
275
|
+
summary: "get db view fields",
|
|
276
|
+
parameters: [
|
|
277
|
+
{
|
|
278
|
+
name: "filterByTk",
|
|
279
|
+
in: "query",
|
|
280
|
+
description: "view name in database",
|
|
281
|
+
schema: {
|
|
282
|
+
type: "string"
|
|
283
|
+
},
|
|
284
|
+
required: true,
|
|
285
|
+
example: "posts_view"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: "schema",
|
|
289
|
+
in: "query",
|
|
290
|
+
description: "postgres schema of view in database",
|
|
291
|
+
schema: {
|
|
292
|
+
type: "string"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
responses: {
|
|
297
|
+
"200": {
|
|
298
|
+
description: "OK",
|
|
299
|
+
content: {
|
|
300
|
+
"application/json": {
|
|
301
|
+
schema: {
|
|
302
|
+
type: "object",
|
|
303
|
+
properties: {
|
|
304
|
+
data: {
|
|
305
|
+
type: "object",
|
|
306
|
+
properties: {
|
|
307
|
+
fields: {
|
|
308
|
+
type: "object",
|
|
309
|
+
additionalProperties: {
|
|
310
|
+
type: "object",
|
|
311
|
+
properties: {
|
|
312
|
+
name: { type: "string", description: "field name" },
|
|
313
|
+
type: { type: "string", description: "field type" },
|
|
314
|
+
source: { type: "string", required: false, description: "source field of view field" }
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
sources: {
|
|
319
|
+
type: "array",
|
|
320
|
+
items: { type: "string" }
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"/dbViews:list": {
|
|
333
|
+
get: {
|
|
334
|
+
tags: ["dbViews"],
|
|
335
|
+
summary: "list views that not connected to collections in database",
|
|
336
|
+
responses: {
|
|
337
|
+
"200": {
|
|
338
|
+
description: "OK",
|
|
339
|
+
content: {
|
|
340
|
+
"application/json": {
|
|
341
|
+
schema: {
|
|
342
|
+
type: "object",
|
|
343
|
+
properties: {
|
|
344
|
+
data: {
|
|
345
|
+
type: "array",
|
|
346
|
+
items: {
|
|
347
|
+
type: "object",
|
|
348
|
+
properties: {
|
|
349
|
+
name: { type: "string", description: "name of view" },
|
|
350
|
+
definition: { type: "string", description: "definition of view" },
|
|
351
|
+
schema: { type: "string", description: "schema of view" }
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"/dbViews:query": {
|
|
364
|
+
get: {
|
|
365
|
+
tags: ["dbViews"],
|
|
366
|
+
summary: "query db view data",
|
|
367
|
+
parameters: [
|
|
368
|
+
{
|
|
369
|
+
name: "filterByTk",
|
|
370
|
+
in: "query",
|
|
371
|
+
description: "view name in database",
|
|
372
|
+
schema: {
|
|
373
|
+
type: "string"
|
|
374
|
+
},
|
|
375
|
+
required: true,
|
|
376
|
+
example: "posts_view"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
name: "schema",
|
|
380
|
+
in: "query",
|
|
381
|
+
description: "postgres schema of view in database",
|
|
382
|
+
schema: {
|
|
383
|
+
type: "string"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
name: "page",
|
|
388
|
+
in: "query",
|
|
389
|
+
description: "page number",
|
|
390
|
+
schema: {
|
|
391
|
+
type: "integer"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: "pageSize",
|
|
396
|
+
in: "query",
|
|
397
|
+
description: "page size",
|
|
398
|
+
schema: {
|
|
399
|
+
type: "integer"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
responses: {
|
|
404
|
+
"200": {
|
|
405
|
+
description: "OK",
|
|
406
|
+
content: {
|
|
407
|
+
"application/json": {
|
|
408
|
+
schema: {
|
|
409
|
+
type: "object",
|
|
410
|
+
properties: {
|
|
411
|
+
data: {
|
|
412
|
+
type: "array",
|
|
413
|
+
items: {
|
|
414
|
+
type: "object",
|
|
415
|
+
description: "row data of view",
|
|
416
|
+
additionalProperties: {
|
|
417
|
+
type: "object",
|
|
418
|
+
description: "row data's field value"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tachybase/module-collection",
|
|
3
|
+
"displayName": "Data source: Main",
|
|
4
|
+
"version": "0.23.8",
|
|
5
|
+
"description": "TachyBase main database, supports relational databases such as MySQL, PostgreSQL, SQLite and so on.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"Data sources"
|
|
8
|
+
],
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"main": "./dist/server/index.js",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@hapi/topo": "^6.0.2",
|
|
13
|
+
"@types/lodash": "4.17.13",
|
|
14
|
+
"async-mutex": "^0.3.2",
|
|
15
|
+
"lodash": "4.17.21",
|
|
16
|
+
"sequelize": "^6.37.5",
|
|
17
|
+
"toposort": "^2.0.2"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"@tachybase/resourcer": "0.23.8",
|
|
21
|
+
"@tachybase/server": "0.23.8",
|
|
22
|
+
"@tachybase/actions": "0.23.8",
|
|
23
|
+
"@tachybase/database": "0.23.8",
|
|
24
|
+
"@tachybase/client": "0.23.8",
|
|
25
|
+
"@tachybase/utils": "0.23.8",
|
|
26
|
+
"@tachybase/test": "0.23.8",
|
|
27
|
+
"@tachybase/module-error-handler": "0.23.8"
|
|
28
|
+
},
|
|
29
|
+
"description.zh-CN": "TachyBase 主数据库,支持 MySQL、PostgreSQL、SQLite 等关系型数据库。",
|
|
30
|
+
"displayName.zh-CN": "数据源:主数据库",
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tachybase-build --no-dts @tachybase/module-collection"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/server.d.ts
ADDED
package/server.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/server/index.js');
|