@tstdl/base 0.93.2 → 0.93.4
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/ai/ai.service.d.ts +2 -1
- package/ai/ai.service.js +11 -3
- package/ai/types.d.ts +3 -1
- package/api/server/api-request-token.provider.d.ts +5 -3
- package/api/server/api-request-token.provider.js +12 -4
- package/api/server/gateway.d.ts +1 -9
- package/api/server/gateway.js +67 -36
- package/api/types.d.ts +5 -1
- package/application/application.d.ts +2 -0
- package/application/application.js +3 -1
- package/application/providers.d.ts +1 -1
- package/application/providers.js +1 -1
- package/audit/audit.model.d.ts +14 -9
- package/audit/audit.model.js +36 -27
- package/audit/auditor.d.ts +32 -23
- package/audit/auditor.js +84 -21
- package/audit/drizzle/{0000_tiny_the_captain.sql → 0000_bored_stick.sql} +5 -4
- package/audit/drizzle/meta/0000_snapshot.json +22 -15
- package/audit/drizzle/meta/_journal.json +2 -2
- package/audit/index.d.ts +3 -1
- package/audit/index.js +3 -1
- package/audit/module.d.ts +1 -1
- package/audit/module.js +1 -2
- package/audit/schemas.d.ts +2 -2
- package/audit/schemas.js +1 -1
- package/audit/types.d.ts +2 -1
- package/audit/types.js +2 -1
- package/authentication/models/authentication-credentials.model.js +1 -2
- package/authentication/models/authentication-session.model.d.ts +2 -2
- package/authentication/models/authentication-session.model.js +3 -5
- package/authentication/server/authentication-api-request-token.provider.d.ts +2 -2
- package/authentication/server/authentication-api-request-token.provider.js +8 -5
- package/authentication/server/authentication.api-controller.d.ts +8 -8
- package/authentication/server/authentication.api-controller.js +16 -16
- package/authentication/server/authentication.audit.d.ts +34 -0
- package/authentication/server/authentication.audit.js +1 -0
- package/authentication/server/authentication.service.d.ts +19 -10
- package/authentication/server/authentication.service.js +158 -43
- package/authentication/server/module.d.ts +1 -1
- package/authentication/server/schemas.d.ts +2 -3
- package/authentication/server/schemas.js +2 -3
- package/constants.d.ts +1 -0
- package/constants.js +1 -0
- package/document-management/api/document-management.api.d.ts +74 -74
- package/document-management/models/document-assignment-scope.model.d.ts +1 -2
- package/document-management/models/document-assignment-scope.model.js +4 -6
- package/document-management/models/document-assignment-task.model.d.ts +1 -2
- package/document-management/models/document-assignment-task.model.js +3 -5
- package/document-management/models/document-category.model.d.ts +1 -2
- package/document-management/models/document-category.model.js +3 -4
- package/document-management/models/document-collection-assignment.model.d.ts +1 -2
- package/document-management/models/document-collection-assignment.model.js +5 -7
- package/document-management/models/document-collection.model.d.ts +1 -2
- package/document-management/models/document-collection.model.js +3 -4
- package/document-management/models/document-management-table.d.ts +1 -1
- package/document-management/models/document-management-table.js +1 -1
- package/document-management/models/document-property-value.model.d.ts +1 -2
- package/document-management/models/document-property-value.model.js +5 -8
- package/document-management/models/document-property.model.d.ts +1 -2
- package/document-management/models/document-property.model.js +2 -3
- package/document-management/models/document-request-collection-assignment.model.d.ts +1 -2
- package/document-management/models/document-request-collection-assignment.model.js +4 -6
- package/document-management/models/document-request-template.d.ts +1 -2
- package/document-management/models/document-request-template.js +4 -6
- package/document-management/models/document-request.model.d.ts +1 -1
- package/document-management/models/document-request.model.js +4 -5
- package/document-management/models/document-requests-template.d.ts +1 -1
- package/document-management/models/document-requests-template.js +2 -3
- package/document-management/models/document-tag-assignment.model.d.ts +1 -2
- package/document-management/models/document-tag-assignment.model.js +4 -6
- package/document-management/models/document-tag.model.d.ts +1 -1
- package/document-management/models/document-tag.model.js +2 -3
- package/document-management/models/document-type-property.model.d.ts +1 -2
- package/document-management/models/document-type-property.model.js +4 -6
- package/document-management/models/document-type-validation.model.d.ts +1 -2
- package/document-management/models/document-type-validation.model.js +4 -6
- package/document-management/models/document-type.model.d.ts +1 -2
- package/document-management/models/document-type.model.js +3 -5
- package/document-management/models/document-validation-definition.model.d.ts +1 -2
- package/document-management/models/document-validation-definition.model.js +3 -4
- package/document-management/models/document-validation-execution-related-document.model.d.ts +1 -2
- package/document-management/models/document-validation-execution-related-document.model.js +4 -6
- package/document-management/models/document-validation-execution.model.d.ts +1 -2
- package/document-management/models/document-validation-execution.model.js +8 -9
- package/document-management/models/document-workflow.model.d.ts +1 -2
- package/document-management/models/document-workflow.model.js +5 -7
- package/document-management/models/document.model.d.ts +1 -2
- package/document-management/models/document.model.js +5 -7
- package/document-management/server/api/document-management.api.js +1 -1
- package/document-management/server/module.d.ts +1 -1
- package/document-management/server/module.js +1 -1
- package/document-management/server/schemas.d.ts +1 -1
- package/document-management/server/schemas.js +1 -1
- package/document-management/server/services/document-category-type.service.d.ts +2 -2
- package/document-management/server/services/document-category-type.service.js +1 -2
- package/document-management/server/services/document-collection.service.d.ts +1 -1
- package/document-management/server/services/document-collection.service.js +1 -2
- package/document-management/server/services/document-management-ai.service.js +3 -3
- package/document-management/server/services/document-management.service.js +6 -6
- package/document-management/server/services/document-property.service.d.ts +1 -1
- package/document-management/server/services/document-property.service.js +1 -2
- package/document-management/server/services/document-validation.service.js +2 -2
- package/document-management/server/services/document-workflow.service.d.ts +2 -2
- package/document-management/server/services/document-workflow.service.js +1 -2
- package/document-management/server/services/document.service.d.ts +1 -1
- package/document-management/server/services/document.service.js +1 -2
- package/document-management/server/services/singleton.js +1 -1
- package/document-management/server/validators/ai-validation-executor.d.ts +2 -2
- package/document-management/server/validators/ai-validation-executor.js +6 -6
- package/document-management/server/validators/single-document-validation-executor.d.ts +2 -1
- package/document-management/server/validators/single-document-validation-executor.js +3 -2
- package/document-management/service-models/document.service-model.d.ts +62 -62
- package/document-management/service-models/document.service-model.js +1 -1
- package/document-management/service-models/enriched/enriched-document-management-data.view.js +1 -1
- package/document-management/service-models/enriched/enriched-document.view.d.ts +1 -1
- package/examples/api/authentication.js +2 -2
- package/examples/api/basic-overview.js +2 -2
- package/examples/api/custom-authentication.js +2 -2
- package/examples/api/streaming.js +2 -2
- package/examples/browser/basic.js +2 -2
- package/examples/document-management/main.js +4 -2
- package/examples/http/client.js +2 -2
- package/examples/mail/basic.js +2 -2
- package/examples/pdf/basic.js +2 -2
- package/examples/template/basic.js +2 -2
- package/http/server/http-server-request.d.ts +3 -3
- package/key-value-store/postgres/key-value-store.service.js +1 -2
- package/key-value-store/postgres/models/key-value.model.d.ts +1 -2
- package/key-value-store/postgres/models/key-value.model.js +2 -4
- package/key-value-store/postgres/models/schemas.d.ts +1 -1
- package/key-value-store/postgres/models/schemas.js +1 -1
- package/lock/postgres/lock.js +1 -1
- package/lock/postgres/models/lock.model.d.ts +1 -2
- package/lock/postgres/models/lock.model.js +3 -5
- package/lock/postgres/models/schemas.d.ts +1 -1
- package/lock/postgres/models/schemas.js +1 -1
- package/lock/postgres/provider.js +1 -2
- package/mail/models/mail-log.model.d.ts +1 -1
- package/mail/models/mail-log.model.js +4 -5
- package/mail/models/schemas.d.ts +1 -1
- package/mail/models/schemas.js +1 -1
- package/openid-connect/oidc-state.model.d.ts +1 -1
- package/openid-connect/oidc-state.model.js +2 -3
- package/openid-connect/oidc.service.js +1 -1
- package/orm/data-types/bytea.js +1 -1
- package/orm/data-types/numeric-date.js +1 -1
- package/orm/decorators.d.ts +65 -72
- package/orm/decorators.js +42 -40
- package/orm/entity.d.ts +1 -1
- package/orm/entity.js +13 -13
- package/orm/index.d.ts +2 -1
- package/orm/index.js +2 -1
- package/orm/schemas/json.d.ts +1 -1
- package/orm/schemas/json.js +1 -1
- package/orm/schemas/numeric-date.d.ts +1 -1
- package/orm/schemas/numeric-date.js +1 -1
- package/orm/schemas/timestamp.d.ts +1 -1
- package/orm/schemas/timestamp.js +1 -1
- package/orm/schemas/uuid.d.ts +2 -2
- package/orm/schemas/uuid.js +1 -1
- package/orm/server/drizzle/index.js +1 -0
- package/orm/server/drizzle/schema-converter.d.ts +15 -0
- package/orm/server/drizzle/schema-converter.js +300 -0
- package/orm/server/repository.d.ts +1 -1
- package/orm/server/repository.js +12 -9
- package/orm/sqls.d.ts +1 -1
- package/orm/sqls.js +1 -1
- package/orm/types.d.ts +2 -6
- package/orm/types.js +1 -4
- package/package.json +12 -10
- package/queue/postgres/job.model.d.ts +3 -3
- package/queue/postgres/job.model.js +5 -6
- package/queue/postgres/queue.js +2 -2
- package/queue/postgres/schemas.d.ts +1 -1
- package/queue/postgres/schemas.js +1 -1
- package/supports.d.ts +1 -0
- package/supports.js +2 -1
- package/types/types.d.ts +12 -1
- package/utils/object/object.d.ts +3 -1
- package/utils/object/object.js +7 -1
- package/orm/server/drizzle/schema-converter.ts +0 -408
- /package/orm/server/drizzle/{index.ts → index.d.ts} +0 -0
|
@@ -88,10 +88,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
88
88
|
resource: string;
|
|
89
89
|
method: "POST";
|
|
90
90
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
91
|
-
parentId: import("../../orm/
|
|
91
|
+
parentId: import("../../orm/types.js").Uuid | null;
|
|
92
92
|
label: string;
|
|
93
93
|
metadata?: Partial<{
|
|
94
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
94
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
95
95
|
}> | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
result: typeof DocumentCategory;
|
|
@@ -102,9 +102,9 @@ export declare const documentManagementApiDefinition: {
|
|
|
102
102
|
method: "POST";
|
|
103
103
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
104
104
|
label: string;
|
|
105
|
-
categoryId: import("../../orm/
|
|
105
|
+
categoryId: import("../../orm/types.js").Uuid;
|
|
106
106
|
metadata?: Partial<{
|
|
107
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
107
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
108
108
|
}> | undefined;
|
|
109
109
|
}>;
|
|
110
110
|
result: typeof DocumentType;
|
|
@@ -146,15 +146,15 @@ export declare const documentManagementApiDefinition: {
|
|
|
146
146
|
};
|
|
147
147
|
uploadId: string;
|
|
148
148
|
properties?: {
|
|
149
|
-
propertyId: import("../../orm/
|
|
149
|
+
propertyId: import("../../orm/types.js").Uuid;
|
|
150
150
|
value: string | number | boolean | null;
|
|
151
151
|
metadata?: Partial<{
|
|
152
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
152
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
153
153
|
}> | undefined;
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
tags?: string[] | undefined;
|
|
156
156
|
metadata?: Partial<{
|
|
157
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
157
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
158
158
|
}> | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
result: typeof Document;
|
|
@@ -167,7 +167,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
167
167
|
description: string | null;
|
|
168
168
|
label: string;
|
|
169
169
|
metadata?: Partial<{
|
|
170
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
170
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
171
171
|
}> | undefined;
|
|
172
172
|
}>;
|
|
173
173
|
result: typeof DocumentRequestsTemplate;
|
|
@@ -177,12 +177,12 @@ export declare const documentManagementApiDefinition: {
|
|
|
177
177
|
resource: string;
|
|
178
178
|
method: "PATCH";
|
|
179
179
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
180
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
180
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
181
181
|
description?: string | null | undefined;
|
|
182
182
|
tenantId?: string | null | undefined;
|
|
183
183
|
label?: string | undefined;
|
|
184
184
|
metadata?: Partial<{
|
|
185
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
185
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
186
186
|
}> | undefined;
|
|
187
187
|
}>;
|
|
188
188
|
result: typeof DocumentRequestsTemplate;
|
|
@@ -192,10 +192,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
192
192
|
resource: string;
|
|
193
193
|
method: "POST";
|
|
194
194
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
195
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
195
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
196
196
|
collectionIds: string[];
|
|
197
197
|
metadata?: Partial<{
|
|
198
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
198
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
199
199
|
}> | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -205,9 +205,9 @@ export declare const documentManagementApiDefinition: {
|
|
|
205
205
|
resource: string;
|
|
206
206
|
method: "DELETE";
|
|
207
207
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
208
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
208
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
209
209
|
metadata?: Partial<{
|
|
210
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
210
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
211
211
|
}> | undefined;
|
|
212
212
|
}>;
|
|
213
213
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -217,11 +217,11 @@ export declare const documentManagementApiDefinition: {
|
|
|
217
217
|
resource: string;
|
|
218
218
|
method: "POST";
|
|
219
219
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
220
|
-
typeId: import("../../orm/
|
|
220
|
+
typeId: import("../../orm/types.js").Uuid;
|
|
221
221
|
comment: string | null;
|
|
222
|
-
requestsTemplateId: import("../../orm/
|
|
222
|
+
requestsTemplateId: import("../../orm/types.js").Uuid;
|
|
223
223
|
metadata?: Partial<{
|
|
224
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
224
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
225
225
|
}> | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
result: typeof DocumentRequestTemplate;
|
|
@@ -231,12 +231,12 @@ export declare const documentManagementApiDefinition: {
|
|
|
231
231
|
resource: string;
|
|
232
232
|
method: "PATCH";
|
|
233
233
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
234
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
234
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
235
235
|
tenantId?: string | null | undefined;
|
|
236
236
|
typeId?: import("../../orm/types.js").Uuid | undefined;
|
|
237
237
|
comment?: string | null | undefined;
|
|
238
238
|
metadata?: Partial<{
|
|
239
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
239
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
240
240
|
}> | undefined;
|
|
241
241
|
}>;
|
|
242
242
|
result: typeof DocumentRequestTemplate;
|
|
@@ -246,9 +246,9 @@ export declare const documentManagementApiDefinition: {
|
|
|
246
246
|
resource: string;
|
|
247
247
|
method: "DELETE";
|
|
248
248
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
249
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
249
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
250
250
|
metadata?: Partial<{
|
|
251
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
251
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
252
252
|
}> | undefined;
|
|
253
253
|
}>;
|
|
254
254
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -258,11 +258,11 @@ export declare const documentManagementApiDefinition: {
|
|
|
258
258
|
resource: string;
|
|
259
259
|
method: "POST";
|
|
260
260
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
261
|
-
typeId: import("../../orm/
|
|
261
|
+
typeId: import("../../orm/types.js").Uuid | null;
|
|
262
262
|
comment: string | null;
|
|
263
263
|
collectionIds: string[];
|
|
264
264
|
metadata?: Partial<{
|
|
265
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
265
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
266
266
|
}> | undefined;
|
|
267
267
|
}>;
|
|
268
268
|
result: typeof DocumentRequest;
|
|
@@ -272,11 +272,11 @@ export declare const documentManagementApiDefinition: {
|
|
|
272
272
|
resource: string;
|
|
273
273
|
method: "PATCH";
|
|
274
274
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
275
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
275
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
276
276
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
277
277
|
comment?: string | null | undefined;
|
|
278
278
|
metadata?: Partial<{
|
|
279
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
279
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
280
280
|
}> | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -286,9 +286,9 @@ export declare const documentManagementApiDefinition: {
|
|
|
286
286
|
resource: string;
|
|
287
287
|
method: "DELETE";
|
|
288
288
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
289
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
289
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
290
290
|
metadata?: Partial<{
|
|
291
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
291
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
292
292
|
}> | undefined;
|
|
293
293
|
}>;
|
|
294
294
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -298,10 +298,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
298
298
|
resource: string;
|
|
299
299
|
method: "PUT";
|
|
300
300
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
301
|
-
collectionId: import("../../orm/
|
|
302
|
-
documentId: import("../../orm/
|
|
301
|
+
collectionId: import("../../orm/types.js").Uuid;
|
|
302
|
+
documentId: import("../../orm/types.js").Uuid;
|
|
303
303
|
metadata?: Partial<{
|
|
304
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
304
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
305
305
|
}> | undefined;
|
|
306
306
|
}>;
|
|
307
307
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -311,10 +311,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
311
311
|
resource: string;
|
|
312
312
|
method: "DELETE";
|
|
313
313
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
314
|
-
collectionId: import("../../orm/
|
|
315
|
-
documentId: import("../../orm/
|
|
314
|
+
collectionId: import("../../orm/types.js").Uuid;
|
|
315
|
+
documentId: import("../../orm/types.js").Uuid;
|
|
316
316
|
metadata?: Partial<{
|
|
317
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
317
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
318
318
|
}> | undefined;
|
|
319
319
|
}>;
|
|
320
320
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -324,17 +324,17 @@ export declare const documentManagementApiDefinition: {
|
|
|
324
324
|
resource: string;
|
|
325
325
|
method: "PATCH";
|
|
326
326
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
327
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
327
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
328
328
|
date?: import("../../orm/types.js").NumericDate | null | undefined;
|
|
329
329
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
330
330
|
title?: string | null | undefined;
|
|
331
331
|
subtitle?: string | null | undefined;
|
|
332
332
|
comment?: string | null | undefined;
|
|
333
333
|
properties?: {
|
|
334
|
-
propertyId: import("../../orm/
|
|
334
|
+
propertyId: import("../../orm/types.js").Uuid;
|
|
335
335
|
value: string | number | boolean | null;
|
|
336
336
|
metadata?: Partial<{
|
|
337
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
337
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
338
338
|
}> | undefined;
|
|
339
339
|
}[] | undefined;
|
|
340
340
|
collections?: {
|
|
@@ -343,7 +343,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
343
343
|
} | undefined;
|
|
344
344
|
tags?: string[] | undefined;
|
|
345
345
|
metadata?: Partial<{
|
|
346
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
346
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
347
347
|
}> | undefined;
|
|
348
348
|
}>;
|
|
349
349
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -488,10 +488,10 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
488
488
|
resource: string;
|
|
489
489
|
method: "POST";
|
|
490
490
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
491
|
-
parentId: import("../../orm/
|
|
491
|
+
parentId: import("../../orm/types.js").Uuid | null;
|
|
492
492
|
label: string;
|
|
493
493
|
metadata?: Partial<{
|
|
494
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
494
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
495
495
|
}> | undefined;
|
|
496
496
|
}>;
|
|
497
497
|
result: typeof DocumentCategory;
|
|
@@ -502,9 +502,9 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
502
502
|
method: "POST";
|
|
503
503
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
504
504
|
label: string;
|
|
505
|
-
categoryId: import("../../orm/
|
|
505
|
+
categoryId: import("../../orm/types.js").Uuid;
|
|
506
506
|
metadata?: Partial<{
|
|
507
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
507
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
508
508
|
}> | undefined;
|
|
509
509
|
}>;
|
|
510
510
|
result: typeof DocumentType;
|
|
@@ -546,15 +546,15 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
546
546
|
};
|
|
547
547
|
uploadId: string;
|
|
548
548
|
properties?: {
|
|
549
|
-
propertyId: import("../../orm/
|
|
549
|
+
propertyId: import("../../orm/types.js").Uuid;
|
|
550
550
|
value: string | number | boolean | null;
|
|
551
551
|
metadata?: Partial<{
|
|
552
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
552
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
553
553
|
}> | undefined;
|
|
554
554
|
}[] | undefined;
|
|
555
555
|
tags?: string[] | undefined;
|
|
556
556
|
metadata?: Partial<{
|
|
557
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
557
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
558
558
|
}> | undefined;
|
|
559
559
|
}>;
|
|
560
560
|
result: typeof Document;
|
|
@@ -567,7 +567,7 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
567
567
|
description: string | null;
|
|
568
568
|
label: string;
|
|
569
569
|
metadata?: Partial<{
|
|
570
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
570
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
571
571
|
}> | undefined;
|
|
572
572
|
}>;
|
|
573
573
|
result: typeof DocumentRequestsTemplate;
|
|
@@ -577,12 +577,12 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
577
577
|
resource: string;
|
|
578
578
|
method: "PATCH";
|
|
579
579
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
580
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
580
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
581
581
|
description?: string | null | undefined;
|
|
582
582
|
tenantId?: string | null | undefined;
|
|
583
583
|
label?: string | undefined;
|
|
584
584
|
metadata?: Partial<{
|
|
585
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
585
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
586
586
|
}> | undefined;
|
|
587
587
|
}>;
|
|
588
588
|
result: typeof DocumentRequestsTemplate;
|
|
@@ -592,10 +592,10 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
592
592
|
resource: string;
|
|
593
593
|
method: "POST";
|
|
594
594
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
595
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
595
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
596
596
|
collectionIds: string[];
|
|
597
597
|
metadata?: Partial<{
|
|
598
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
598
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
599
599
|
}> | undefined;
|
|
600
600
|
}>;
|
|
601
601
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -605,9 +605,9 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
605
605
|
resource: string;
|
|
606
606
|
method: "DELETE";
|
|
607
607
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
608
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
608
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
609
609
|
metadata?: Partial<{
|
|
610
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
610
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
611
611
|
}> | undefined;
|
|
612
612
|
}>;
|
|
613
613
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -617,11 +617,11 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
617
617
|
resource: string;
|
|
618
618
|
method: "POST";
|
|
619
619
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
620
|
-
typeId: import("../../orm/
|
|
620
|
+
typeId: import("../../orm/types.js").Uuid;
|
|
621
621
|
comment: string | null;
|
|
622
|
-
requestsTemplateId: import("../../orm/
|
|
622
|
+
requestsTemplateId: import("../../orm/types.js").Uuid;
|
|
623
623
|
metadata?: Partial<{
|
|
624
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
624
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
625
625
|
}> | undefined;
|
|
626
626
|
}>;
|
|
627
627
|
result: typeof DocumentRequestTemplate;
|
|
@@ -631,12 +631,12 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
631
631
|
resource: string;
|
|
632
632
|
method: "PATCH";
|
|
633
633
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
634
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
634
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
635
635
|
tenantId?: string | null | undefined;
|
|
636
636
|
typeId?: import("../../orm/types.js").Uuid | undefined;
|
|
637
637
|
comment?: string | null | undefined;
|
|
638
638
|
metadata?: Partial<{
|
|
639
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
639
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
640
640
|
}> | undefined;
|
|
641
641
|
}>;
|
|
642
642
|
result: typeof DocumentRequestTemplate;
|
|
@@ -646,9 +646,9 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
646
646
|
resource: string;
|
|
647
647
|
method: "DELETE";
|
|
648
648
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
649
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
649
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
650
650
|
metadata?: Partial<{
|
|
651
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
651
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
652
652
|
}> | undefined;
|
|
653
653
|
}>;
|
|
654
654
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -658,11 +658,11 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
658
658
|
resource: string;
|
|
659
659
|
method: "POST";
|
|
660
660
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
661
|
-
typeId: import("../../orm/
|
|
661
|
+
typeId: import("../../orm/types.js").Uuid | null;
|
|
662
662
|
comment: string | null;
|
|
663
663
|
collectionIds: string[];
|
|
664
664
|
metadata?: Partial<{
|
|
665
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
665
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
666
666
|
}> | undefined;
|
|
667
667
|
}>;
|
|
668
668
|
result: typeof DocumentRequest;
|
|
@@ -672,11 +672,11 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
672
672
|
resource: string;
|
|
673
673
|
method: "PATCH";
|
|
674
674
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
675
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
675
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
676
676
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
677
677
|
comment?: string | null | undefined;
|
|
678
678
|
metadata?: Partial<{
|
|
679
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
679
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
680
680
|
}> | undefined;
|
|
681
681
|
}>;
|
|
682
682
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -686,9 +686,9 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
686
686
|
resource: string;
|
|
687
687
|
method: "DELETE";
|
|
688
688
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
689
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
689
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
690
690
|
metadata?: Partial<{
|
|
691
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
691
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
692
692
|
}> | undefined;
|
|
693
693
|
}>;
|
|
694
694
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -698,10 +698,10 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
698
698
|
resource: string;
|
|
699
699
|
method: "PUT";
|
|
700
700
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
701
|
-
collectionId: import("../../orm/
|
|
702
|
-
documentId: import("../../orm/
|
|
701
|
+
collectionId: import("../../orm/types.js").Uuid;
|
|
702
|
+
documentId: import("../../orm/types.js").Uuid;
|
|
703
703
|
metadata?: Partial<{
|
|
704
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
704
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
705
705
|
}> | undefined;
|
|
706
706
|
}>;
|
|
707
707
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -711,10 +711,10 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
711
711
|
resource: string;
|
|
712
712
|
method: "DELETE";
|
|
713
713
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
714
|
-
collectionId: import("../../orm/
|
|
715
|
-
documentId: import("../../orm/
|
|
714
|
+
collectionId: import("../../orm/types.js").Uuid;
|
|
715
|
+
documentId: import("../../orm/types.js").Uuid;
|
|
716
716
|
metadata?: Partial<{
|
|
717
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
717
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
718
718
|
}> | undefined;
|
|
719
719
|
}>;
|
|
720
720
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -724,17 +724,17 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
724
724
|
resource: string;
|
|
725
725
|
method: "PATCH";
|
|
726
726
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
727
|
-
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/
|
|
727
|
+
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/types.js").Uuid>>;
|
|
728
728
|
date?: import("../../orm/types.js").NumericDate | null | undefined;
|
|
729
729
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
730
730
|
title?: string | null | undefined;
|
|
731
731
|
subtitle?: string | null | undefined;
|
|
732
732
|
comment?: string | null | undefined;
|
|
733
733
|
properties?: {
|
|
734
|
-
propertyId: import("../../orm/
|
|
734
|
+
propertyId: import("../../orm/types.js").Uuid;
|
|
735
735
|
value: string | number | boolean | null;
|
|
736
736
|
metadata?: Partial<{
|
|
737
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
737
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
738
738
|
}> | undefined;
|
|
739
739
|
}[] | undefined;
|
|
740
740
|
collections?: {
|
|
@@ -743,7 +743,7 @@ declare const _DocumentManagementApi: import("../../api/client/index.js").ApiCli
|
|
|
743
743
|
} | undefined;
|
|
744
744
|
tags?: string[] | undefined;
|
|
745
745
|
metadata?: Partial<{
|
|
746
|
-
attributes: import("../../orm/types.js").HasDefault<import("../../orm/
|
|
746
|
+
attributes: import("../../orm/types.js").HasDefault<import("../../orm/types.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
747
747
|
}> | undefined;
|
|
748
748
|
}>;
|
|
749
749
|
result: import("../../schema/index.js").LiteralSchema<"ok">;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Entity } from '../../orm/
|
|
2
|
-
import { Uuid } from '../../orm/types.js';
|
|
1
|
+
import { Entity, type Uuid } from '../../orm/index.js';
|
|
3
2
|
/**
|
|
4
3
|
* Defines which collections or requests in these collections (depends on assignment task) are allowed to be assigned to a document in the assignment workflow.
|
|
5
4
|
* This is used to prevent documents from being assigned to collections/requests that are out of scope/context.
|
|
@@ -7,9 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { ForeignKey, References } from '../../orm/
|
|
11
|
-
import { Entity } from '../../orm/entity.js';
|
|
12
|
-
import { Unique, Uuid } from '../../orm/types.js';
|
|
10
|
+
import { Entity, ForeignKey, References, Unique, UuidProperty } from '../../orm/index.js';
|
|
13
11
|
import { DocumentAssignmentTask } from './document-assignment-task.model.js';
|
|
14
12
|
import { DocumentCollection } from './document-collection.model.js';
|
|
15
13
|
import { DocumentManagementTable } from './document-management-table.js';
|
|
@@ -23,16 +21,16 @@ let DocumentAssignmentScope = class DocumentAssignmentScope extends Entity {
|
|
|
23
21
|
collectionId;
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
|
-
|
|
24
|
+
UuidProperty(),
|
|
27
25
|
__metadata("design:type", String)
|
|
28
26
|
], DocumentAssignmentScope.prototype, "tenantId", void 0);
|
|
29
27
|
__decorate([
|
|
30
|
-
|
|
28
|
+
UuidProperty(),
|
|
31
29
|
References(() => DocumentAssignmentTask),
|
|
32
30
|
__metadata("design:type", String)
|
|
33
31
|
], DocumentAssignmentScope.prototype, "taskId", void 0);
|
|
34
32
|
__decorate([
|
|
35
|
-
|
|
33
|
+
UuidProperty(),
|
|
36
34
|
References(() => DocumentCollection),
|
|
37
35
|
__metadata("design:type", String)
|
|
38
36
|
], DocumentAssignmentScope.prototype, "collectionId", void 0);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type EnumType } from '../../enumeration/enumeration.js';
|
|
2
|
-
import { Entity } from '../../orm/
|
|
3
|
-
import { Uuid } from '../../orm/types.js';
|
|
2
|
+
import { Entity, type Uuid } from '../../orm/index.js';
|
|
4
3
|
export declare const DocumentAssignmentTarget: {
|
|
5
4
|
readonly Collection: "collection";
|
|
6
5
|
readonly Request: "request";
|
|
@@ -8,9 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { defineEnum } from '../../enumeration/enumeration.js';
|
|
11
|
-
import { ForeignKey, References } from '../../orm/
|
|
12
|
-
import { Entity } from '../../orm/entity.js';
|
|
13
|
-
import { Unique, Uuid } from '../../orm/types.js';
|
|
11
|
+
import { Entity, ForeignKey, References, Unique, UuidProperty } from '../../orm/index.js';
|
|
14
12
|
import { Enumeration } from '../../schema/index.js';
|
|
15
13
|
import { DocumentManagementTable } from './document-management-table.js';
|
|
16
14
|
import { Document } from './document.model.js';
|
|
@@ -24,11 +22,11 @@ let DocumentAssignmentTask = class DocumentAssignmentTask extends Entity {
|
|
|
24
22
|
target;
|
|
25
23
|
};
|
|
26
24
|
__decorate([
|
|
27
|
-
|
|
25
|
+
UuidProperty(),
|
|
28
26
|
__metadata("design:type", String)
|
|
29
27
|
], DocumentAssignmentTask.prototype, "tenantId", void 0);
|
|
30
28
|
__decorate([
|
|
31
|
-
|
|
29
|
+
UuidProperty(),
|
|
32
30
|
References(() => Document),
|
|
33
31
|
Unique(),
|
|
34
32
|
__metadata("design:type", String)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Entity } from '../../orm/
|
|
2
|
-
import { Uuid } from '../../orm/types.js';
|
|
1
|
+
import { Entity, type Uuid } from '../../orm/index.js';
|
|
3
2
|
export declare class DocumentCategory extends Entity {
|
|
4
3
|
static readonly entityName: 'DocumentCategory';
|
|
5
4
|
tenantId: string | null;
|
|
@@ -7,8 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Entity } from '../../orm/
|
|
11
|
-
import { References, Unique, Uuid } from '../../orm/types.js';
|
|
10
|
+
import { Entity, References, Unique, UuidProperty } from '../../orm/index.js';
|
|
12
11
|
import { StringProperty } from '../../schema/index.js';
|
|
13
12
|
import { DocumentManagementTable } from './document-management-table.js';
|
|
14
13
|
let DocumentCategory = class DocumentCategory extends Entity {
|
|
@@ -17,11 +16,11 @@ let DocumentCategory = class DocumentCategory extends Entity {
|
|
|
17
16
|
label;
|
|
18
17
|
};
|
|
19
18
|
__decorate([
|
|
20
|
-
|
|
19
|
+
UuidProperty({ nullable: true }),
|
|
21
20
|
__metadata("design:type", Object)
|
|
22
21
|
], DocumentCategory.prototype, "tenantId", void 0);
|
|
23
22
|
__decorate([
|
|
24
|
-
|
|
23
|
+
UuidProperty({ nullable: true }),
|
|
25
24
|
References(() => DocumentCategory),
|
|
26
25
|
__metadata("design:type", Object)
|
|
27
26
|
], DocumentCategory.prototype, "parentId", void 0);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Entity } from '../../orm/
|
|
2
|
-
import { Timestamp, Uuid } from '../../orm/types.js';
|
|
1
|
+
import { Entity, type Timestamp, type Uuid } from '../../orm/index.js';
|
|
3
2
|
export declare class DocumentCollectionAssignment extends Entity {
|
|
4
3
|
tenantId: Uuid;
|
|
5
4
|
collectionId: Uuid;
|