@lssm/lib.files 0.0.0-canary-20251217080011 → 0.0.0-canary-20251219202229
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 +21 -0
- package/README.md +2 -0
- package/dist/contracts/dist/capabilities/openbanking.js +2 -1
- package/dist/contracts/dist/capabilities/openbanking.js.map +1 -0
- package/dist/contracts/dist/contract-registry/schemas.js +2 -1
- package/dist/contracts/dist/contract-registry/schemas.js.map +1 -0
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/index.js +2 -6
- package/dist/contracts/dist/docs/meta.docs.js +30 -0
- package/dist/contracts/dist/docs/meta.docs.js.map +1 -0
- package/dist/contracts/dist/docs/presentations.js +2 -1
- package/dist/contracts/dist/docs/presentations.js.map +1 -0
- package/dist/contracts/dist/docs/registry.js +2 -1
- package/dist/contracts/dist/docs/registry.js.map +1 -0
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech-contracts.docs.js +97 -0
- package/dist/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
- package/dist/contracts/dist/events.js +2 -1
- package/dist/contracts/dist/events.js.map +1 -0
- package/dist/contracts/dist/index.js +2 -1
- package/dist/contracts/dist/integrations/contracts.js +65 -66
- package/dist/contracts/dist/integrations/contracts.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/models.js +60 -61
- package/dist/contracts/dist/integrations/openbanking/models.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/telemetry.js +2 -1
- package/dist/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/elevenlabs.js +2 -1
- package/dist/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/gcs-storage.js +2 -1
- package/dist/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/gmail.js +2 -1
- package/dist/contracts/dist/integrations/providers/gmail.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/google-calendar.js +2 -1
- package/dist/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/mistral.js +2 -1
- package/dist/contracts/dist/integrations/providers/mistral.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/postmark.js +2 -1
- package/dist/contracts/dist/integrations/providers/postmark.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/powens.js +2 -1
- package/dist/contracts/dist/integrations/providers/powens.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/qdrant.js +2 -1
- package/dist/contracts/dist/integrations/providers/qdrant.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/stripe.js +2 -1
- package/dist/contracts/dist/integrations/providers/stripe.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/twilio-sms.js +2 -1
- package/dist/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
- package/dist/contracts/dist/knowledge/contracts.js +44 -45
- package/dist/contracts/dist/knowledge/contracts.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/email-threads.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/product-canon.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/support-faq.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
- package/dist/contracts/dist/llm/exporters.js +2 -1
- package/dist/contracts/dist/llm/exporters.js.map +1 -0
- package/dist/contracts/dist/onboarding-base.js +22 -23
- package/dist/contracts/dist/onboarding-base.js.map +1 -0
- package/dist/contracts/dist/ownership.js +4 -2
- package/dist/contracts/dist/ownership.js.map +1 -0
- package/dist/contracts/dist/presentations.v2.js +2 -1
- package/dist/contracts/dist/presentations.v2.js.map +1 -0
- package/dist/contracts/dist/regenerator/service.js +2 -1
- package/dist/contracts/dist/regenerator/service.js.map +1 -0
- package/dist/contracts/dist/schema/dist/index.js +3873 -6
- package/dist/contracts/dist/schema/dist/index.js.map +1 -0
- package/dist/contracts/dist/spec.js +2 -1
- package/dist/contracts/dist/spec.js.map +1 -0
- package/dist/contracts/index.d.ts +292 -291
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +115 -116
- package/dist/contracts/index.js.map +1 -0
- package/dist/docs/files.docblock.js +2 -1
- package/dist/docs/files.docblock.js.map +1 -0
- package/dist/entities/index.d.ts +135 -134
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +81 -81
- package/dist/entities/index.js.map +1 -0
- package/dist/events.d.ts +2 -1
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +61 -62
- package/dist/events.js.map +1 -0
- package/dist/files.feature.d.ts +2 -1
- package/dist/files.feature.d.ts.map +1 -0
- package/dist/files.feature.js +2 -1
- package/dist/files.feature.js.map +1 -0
- package/dist/schema/dist/index.js +4889 -6
- package/dist/schema/dist/index.js.map +1 -0
- package/dist/storage/index.d.ts +2 -1
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +2 -1
- package/dist/storage/index.js.map +1 -0
- package/package.json +7 -6
- package/dist/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -236
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/contracts/index.ts"],"sourcesContent":[],"mappings":";;;;cAOa,+BAAS;;UAwBpB,mBAAA,CAAA;;EAxBW,CAAA;EAwBX,IAAA,EAAA;;;;;;;;;;;;;;;;;;qBAxBoB;EAAA,CAAA;EA0BT,QAAA,EAAA;IAcX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAd2B,OAAA,EAAA;IAgBhB,IAAA,+BAoBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cApCW,sCAAgB;;UAc3B,mBAAA,CAAA;;;EAE0B,MAAA,EAAA;IAsBf,IAAA,+BAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IAV4B,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IA+LjB,UAAA,EAAA,KAgCX;EAAA,CAAA;;;;;;;;;EAhC6B,OAAA,EAAA;;;;;;;;;;;;;cArNlB,qCAAe;;UAoB1B,mBAAA,CAAA;;;;uCAiM6B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAqClB,CAAA;EA0BX,UAAA,EAAA;;;;;u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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BrB,2CAAmB,iCAAA;;UA0B9B,mBAAA,CAAA;;;;;;;;;;;;;;;cA1B8B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BnB,0CAAkB,iCAAA;;UAgC7B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAhC6B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqClB,0CAAkB,iCAAA;;UA0B7B,mBAAA,CAAA;;;;;UA1B6B,mBAAA,CAAA;;;;;;;cA+BlB,+CAAuB,iCAAA;;UAkBlC,mBAAA,CAAA;;;;;;;;;;;;;;;cAlBkC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBvB,kDAA0B,iCAAA;;UAgCrC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;UAhCqC,mBAAA,CAAA"}
|
package/dist/contracts/index.js
CHANGED
|
@@ -1,169 +1,167 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineSchemaModel } from "../schema/dist/SchemaModel.js";
|
|
3
|
-
import "../schema/dist/index.js";
|
|
1
|
+
import { E5, K5 } from "../schema/dist/index.js";
|
|
4
2
|
import { defineCommand, defineQuery } from "./dist/spec.js";
|
|
5
3
|
import "./dist/index.js";
|
|
6
4
|
|
|
7
5
|
//#region src/contracts/index.ts
|
|
8
6
|
const OWNERS = ["platform.files"];
|
|
9
|
-
const FileModel =
|
|
7
|
+
const FileModel = K5({
|
|
10
8
|
name: "File",
|
|
11
9
|
description: "Represents an uploaded file",
|
|
12
10
|
fields: {
|
|
13
11
|
id: {
|
|
14
|
-
type:
|
|
12
|
+
type: E5.String_unsecure(),
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
name: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.String_unsecure(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
},
|
|
21
19
|
mimeType: {
|
|
22
|
-
type:
|
|
20
|
+
type: E5.String_unsecure(),
|
|
23
21
|
isOptional: false
|
|
24
22
|
},
|
|
25
23
|
size: {
|
|
26
|
-
type:
|
|
24
|
+
type: E5.Int_unsecure(),
|
|
27
25
|
isOptional: false
|
|
28
26
|
},
|
|
29
27
|
storageProvider: {
|
|
30
|
-
type:
|
|
28
|
+
type: E5.String_unsecure(),
|
|
31
29
|
isOptional: false
|
|
32
30
|
},
|
|
33
31
|
storagePath: {
|
|
34
|
-
type:
|
|
32
|
+
type: E5.String_unsecure(),
|
|
35
33
|
isOptional: false
|
|
36
34
|
},
|
|
37
35
|
checksum: {
|
|
38
|
-
type:
|
|
36
|
+
type: E5.String_unsecure(),
|
|
39
37
|
isOptional: true
|
|
40
38
|
},
|
|
41
39
|
status: {
|
|
42
|
-
type:
|
|
40
|
+
type: E5.String_unsecure(),
|
|
43
41
|
isOptional: false
|
|
44
42
|
},
|
|
45
43
|
isPublic: {
|
|
46
|
-
type:
|
|
44
|
+
type: E5.Boolean(),
|
|
47
45
|
isOptional: false
|
|
48
46
|
},
|
|
49
47
|
ownerId: {
|
|
50
|
-
type:
|
|
48
|
+
type: E5.String_unsecure(),
|
|
51
49
|
isOptional: false
|
|
52
50
|
},
|
|
53
51
|
orgId: {
|
|
54
|
-
type:
|
|
52
|
+
type: E5.String_unsecure(),
|
|
55
53
|
isOptional: true
|
|
56
54
|
},
|
|
57
55
|
metadata: {
|
|
58
|
-
type:
|
|
56
|
+
type: E5.JSON(),
|
|
59
57
|
isOptional: true
|
|
60
58
|
},
|
|
61
59
|
width: {
|
|
62
|
-
type:
|
|
60
|
+
type: E5.Int_unsecure(),
|
|
63
61
|
isOptional: true
|
|
64
62
|
},
|
|
65
63
|
height: {
|
|
66
|
-
type:
|
|
64
|
+
type: E5.Int_unsecure(),
|
|
67
65
|
isOptional: true
|
|
68
66
|
},
|
|
69
67
|
createdAt: {
|
|
70
|
-
type:
|
|
68
|
+
type: E5.DateTime(),
|
|
71
69
|
isOptional: false
|
|
72
70
|
},
|
|
73
71
|
updatedAt: {
|
|
74
|
-
type:
|
|
72
|
+
type: E5.DateTime(),
|
|
75
73
|
isOptional: false
|
|
76
74
|
}
|
|
77
75
|
}
|
|
78
76
|
});
|
|
79
|
-
const FileVersionModel =
|
|
77
|
+
const FileVersionModel = K5({
|
|
80
78
|
name: "FileVersion",
|
|
81
79
|
description: "Represents a file version",
|
|
82
80
|
fields: {
|
|
83
81
|
id: {
|
|
84
|
-
type:
|
|
82
|
+
type: E5.String_unsecure(),
|
|
85
83
|
isOptional: false
|
|
86
84
|
},
|
|
87
85
|
fileId: {
|
|
88
|
-
type:
|
|
86
|
+
type: E5.String_unsecure(),
|
|
89
87
|
isOptional: false
|
|
90
88
|
},
|
|
91
89
|
version: {
|
|
92
|
-
type:
|
|
90
|
+
type: E5.Int_unsecure(),
|
|
93
91
|
isOptional: false
|
|
94
92
|
},
|
|
95
93
|
size: {
|
|
96
|
-
type:
|
|
94
|
+
type: E5.Int_unsecure(),
|
|
97
95
|
isOptional: false
|
|
98
96
|
},
|
|
99
97
|
storagePath: {
|
|
100
|
-
type:
|
|
98
|
+
type: E5.String_unsecure(),
|
|
101
99
|
isOptional: false
|
|
102
100
|
},
|
|
103
101
|
checksum: {
|
|
104
|
-
type:
|
|
102
|
+
type: E5.String_unsecure(),
|
|
105
103
|
isOptional: true
|
|
106
104
|
},
|
|
107
105
|
comment: {
|
|
108
|
-
type:
|
|
106
|
+
type: E5.String_unsecure(),
|
|
109
107
|
isOptional: true
|
|
110
108
|
},
|
|
111
109
|
createdBy: {
|
|
112
|
-
type:
|
|
110
|
+
type: E5.String_unsecure(),
|
|
113
111
|
isOptional: false
|
|
114
112
|
},
|
|
115
113
|
createdAt: {
|
|
116
|
-
type:
|
|
114
|
+
type: E5.DateTime(),
|
|
117
115
|
isOptional: false
|
|
118
116
|
}
|
|
119
117
|
}
|
|
120
118
|
});
|
|
121
|
-
const AttachmentModel =
|
|
119
|
+
const AttachmentModel = K5({
|
|
122
120
|
name: "Attachment",
|
|
123
121
|
description: "Represents an attachment",
|
|
124
122
|
fields: {
|
|
125
123
|
id: {
|
|
126
|
-
type:
|
|
124
|
+
type: E5.String_unsecure(),
|
|
127
125
|
isOptional: false
|
|
128
126
|
},
|
|
129
127
|
fileId: {
|
|
130
|
-
type:
|
|
128
|
+
type: E5.String_unsecure(),
|
|
131
129
|
isOptional: false
|
|
132
130
|
},
|
|
133
131
|
entityType: {
|
|
134
|
-
type:
|
|
132
|
+
type: E5.String_unsecure(),
|
|
135
133
|
isOptional: false
|
|
136
134
|
},
|
|
137
135
|
entityId: {
|
|
138
|
-
type:
|
|
136
|
+
type: E5.String_unsecure(),
|
|
139
137
|
isOptional: false
|
|
140
138
|
},
|
|
141
139
|
attachmentType: {
|
|
142
|
-
type:
|
|
140
|
+
type: E5.String_unsecure(),
|
|
143
141
|
isOptional: true
|
|
144
142
|
},
|
|
145
143
|
name: {
|
|
146
|
-
type:
|
|
144
|
+
type: E5.String_unsecure(),
|
|
147
145
|
isOptional: true
|
|
148
146
|
},
|
|
149
147
|
description: {
|
|
150
|
-
type:
|
|
148
|
+
type: E5.String_unsecure(),
|
|
151
149
|
isOptional: true
|
|
152
150
|
},
|
|
153
151
|
order: {
|
|
154
|
-
type:
|
|
152
|
+
type: E5.Int_unsecure(),
|
|
155
153
|
isOptional: false
|
|
156
154
|
},
|
|
157
155
|
metadata: {
|
|
158
|
-
type:
|
|
156
|
+
type: E5.JSON(),
|
|
159
157
|
isOptional: true
|
|
160
158
|
},
|
|
161
159
|
createdBy: {
|
|
162
|
-
type:
|
|
160
|
+
type: E5.String_unsecure(),
|
|
163
161
|
isOptional: false
|
|
164
162
|
},
|
|
165
163
|
createdAt: {
|
|
166
|
-
type:
|
|
164
|
+
type: E5.DateTime(),
|
|
167
165
|
isOptional: false
|
|
168
166
|
},
|
|
169
167
|
file: {
|
|
@@ -172,147 +170,147 @@ const AttachmentModel = defineSchemaModel({
|
|
|
172
170
|
}
|
|
173
171
|
}
|
|
174
172
|
});
|
|
175
|
-
const PresignedUrlModel =
|
|
173
|
+
const PresignedUrlModel = K5({
|
|
176
174
|
name: "PresignedUrl",
|
|
177
175
|
description: "A presigned URL for file operations",
|
|
178
176
|
fields: {
|
|
179
177
|
url: {
|
|
180
|
-
type:
|
|
178
|
+
type: E5.String_unsecure(),
|
|
181
179
|
isOptional: false
|
|
182
180
|
},
|
|
183
181
|
fields: {
|
|
184
|
-
type:
|
|
182
|
+
type: E5.JSON(),
|
|
185
183
|
isOptional: true
|
|
186
184
|
},
|
|
187
185
|
expiresAt: {
|
|
188
|
-
type:
|
|
186
|
+
type: E5.DateTime(),
|
|
189
187
|
isOptional: false
|
|
190
188
|
},
|
|
191
189
|
fileId: {
|
|
192
|
-
type:
|
|
190
|
+
type: E5.String_unsecure(),
|
|
193
191
|
isOptional: true
|
|
194
192
|
},
|
|
195
193
|
sessionId: {
|
|
196
|
-
type:
|
|
194
|
+
type: E5.String_unsecure(),
|
|
197
195
|
isOptional: true
|
|
198
196
|
}
|
|
199
197
|
}
|
|
200
198
|
});
|
|
201
|
-
const UploadFileInput =
|
|
199
|
+
const UploadFileInput = K5({
|
|
202
200
|
name: "UploadFileInput",
|
|
203
201
|
description: "Input for uploading a file",
|
|
204
202
|
fields: {
|
|
205
203
|
name: {
|
|
206
|
-
type:
|
|
204
|
+
type: E5.String_unsecure(),
|
|
207
205
|
isOptional: false
|
|
208
206
|
},
|
|
209
207
|
mimeType: {
|
|
210
|
-
type:
|
|
208
|
+
type: E5.String_unsecure(),
|
|
211
209
|
isOptional: false
|
|
212
210
|
},
|
|
213
211
|
size: {
|
|
214
|
-
type:
|
|
212
|
+
type: E5.Int_unsecure(),
|
|
215
213
|
isOptional: false
|
|
216
214
|
},
|
|
217
215
|
content: {
|
|
218
|
-
type:
|
|
216
|
+
type: E5.String_unsecure(),
|
|
219
217
|
isOptional: false
|
|
220
218
|
},
|
|
221
219
|
orgId: {
|
|
222
|
-
type:
|
|
220
|
+
type: E5.String_unsecure(),
|
|
223
221
|
isOptional: true
|
|
224
222
|
},
|
|
225
223
|
isPublic: {
|
|
226
|
-
type:
|
|
224
|
+
type: E5.Boolean(),
|
|
227
225
|
isOptional: true
|
|
228
226
|
},
|
|
229
227
|
metadata: {
|
|
230
|
-
type:
|
|
228
|
+
type: E5.JSON(),
|
|
231
229
|
isOptional: true
|
|
232
230
|
},
|
|
233
231
|
tags: {
|
|
234
|
-
type:
|
|
232
|
+
type: E5.JSON(),
|
|
235
233
|
isOptional: true
|
|
236
234
|
}
|
|
237
235
|
}
|
|
238
236
|
});
|
|
239
|
-
const UpdateFileInput =
|
|
237
|
+
const UpdateFileInput = K5({
|
|
240
238
|
name: "UpdateFileInput",
|
|
241
239
|
description: "Input for updating a file",
|
|
242
240
|
fields: {
|
|
243
241
|
fileId: {
|
|
244
|
-
type:
|
|
242
|
+
type: E5.String_unsecure(),
|
|
245
243
|
isOptional: false
|
|
246
244
|
},
|
|
247
245
|
name: {
|
|
248
|
-
type:
|
|
246
|
+
type: E5.String_unsecure(),
|
|
249
247
|
isOptional: true
|
|
250
248
|
},
|
|
251
249
|
isPublic: {
|
|
252
|
-
type:
|
|
250
|
+
type: E5.Boolean(),
|
|
253
251
|
isOptional: true
|
|
254
252
|
},
|
|
255
253
|
metadata: {
|
|
256
|
-
type:
|
|
254
|
+
type: E5.JSON(),
|
|
257
255
|
isOptional: true
|
|
258
256
|
},
|
|
259
257
|
tags: {
|
|
260
|
-
type:
|
|
258
|
+
type: E5.JSON(),
|
|
261
259
|
isOptional: true
|
|
262
260
|
}
|
|
263
261
|
}
|
|
264
262
|
});
|
|
265
|
-
const DeleteFileInput =
|
|
263
|
+
const DeleteFileInput = K5({
|
|
266
264
|
name: "DeleteFileInput",
|
|
267
265
|
description: "Input for deleting a file",
|
|
268
266
|
fields: { fileId: {
|
|
269
|
-
type:
|
|
267
|
+
type: E5.String_unsecure(),
|
|
270
268
|
isOptional: false
|
|
271
269
|
} }
|
|
272
270
|
});
|
|
273
|
-
const GetFileInput =
|
|
271
|
+
const GetFileInput = K5({
|
|
274
272
|
name: "GetFileInput",
|
|
275
273
|
description: "Input for getting a file",
|
|
276
274
|
fields: { fileId: {
|
|
277
|
-
type:
|
|
275
|
+
type: E5.String_unsecure(),
|
|
278
276
|
isOptional: false
|
|
279
277
|
} }
|
|
280
278
|
});
|
|
281
|
-
const ListFilesInput =
|
|
279
|
+
const ListFilesInput = K5({
|
|
282
280
|
name: "ListFilesInput",
|
|
283
281
|
description: "Input for listing files",
|
|
284
282
|
fields: {
|
|
285
283
|
orgId: {
|
|
286
|
-
type:
|
|
284
|
+
type: E5.String_unsecure(),
|
|
287
285
|
isOptional: true
|
|
288
286
|
},
|
|
289
287
|
ownerId: {
|
|
290
|
-
type:
|
|
288
|
+
type: E5.String_unsecure(),
|
|
291
289
|
isOptional: true
|
|
292
290
|
},
|
|
293
291
|
mimeType: {
|
|
294
|
-
type:
|
|
292
|
+
type: E5.String_unsecure(),
|
|
295
293
|
isOptional: true
|
|
296
294
|
},
|
|
297
295
|
status: {
|
|
298
|
-
type:
|
|
296
|
+
type: E5.String_unsecure(),
|
|
299
297
|
isOptional: true
|
|
300
298
|
},
|
|
301
299
|
tags: {
|
|
302
|
-
type:
|
|
300
|
+
type: E5.JSON(),
|
|
303
301
|
isOptional: true
|
|
304
302
|
},
|
|
305
303
|
limit: {
|
|
306
|
-
type:
|
|
304
|
+
type: E5.Int_unsecure(),
|
|
307
305
|
isOptional: true
|
|
308
306
|
},
|
|
309
307
|
offset: {
|
|
310
|
-
type:
|
|
308
|
+
type: E5.Int_unsecure(),
|
|
311
309
|
isOptional: true
|
|
312
310
|
}
|
|
313
311
|
}
|
|
314
312
|
});
|
|
315
|
-
const ListFilesOutput =
|
|
313
|
+
const ListFilesOutput = K5({
|
|
316
314
|
name: "ListFilesOutput",
|
|
317
315
|
description: "Output for listing files",
|
|
318
316
|
fields: {
|
|
@@ -322,62 +320,62 @@ const ListFilesOutput = defineSchemaModel({
|
|
|
322
320
|
isOptional: false
|
|
323
321
|
},
|
|
324
322
|
total: {
|
|
325
|
-
type:
|
|
323
|
+
type: E5.Int_unsecure(),
|
|
326
324
|
isOptional: false
|
|
327
325
|
}
|
|
328
326
|
}
|
|
329
327
|
});
|
|
330
|
-
const GetDownloadUrlInput =
|
|
328
|
+
const GetDownloadUrlInput = K5({
|
|
331
329
|
name: "GetDownloadUrlInput",
|
|
332
330
|
description: "Input for getting a download URL",
|
|
333
331
|
fields: {
|
|
334
332
|
fileId: {
|
|
335
|
-
type:
|
|
333
|
+
type: E5.String_unsecure(),
|
|
336
334
|
isOptional: false
|
|
337
335
|
},
|
|
338
336
|
expiresInSeconds: {
|
|
339
|
-
type:
|
|
337
|
+
type: E5.Int_unsecure(),
|
|
340
338
|
isOptional: true
|
|
341
339
|
}
|
|
342
340
|
}
|
|
343
341
|
});
|
|
344
|
-
const CreateVersionInput =
|
|
342
|
+
const CreateVersionInput = K5({
|
|
345
343
|
name: "CreateVersionInput",
|
|
346
344
|
description: "Input for creating a file version",
|
|
347
345
|
fields: {
|
|
348
346
|
fileId: {
|
|
349
|
-
type:
|
|
347
|
+
type: E5.String_unsecure(),
|
|
350
348
|
isOptional: false
|
|
351
349
|
},
|
|
352
350
|
content: {
|
|
353
|
-
type:
|
|
351
|
+
type: E5.String_unsecure(),
|
|
354
352
|
isOptional: false
|
|
355
353
|
},
|
|
356
354
|
comment: {
|
|
357
|
-
type:
|
|
355
|
+
type: E5.String_unsecure(),
|
|
358
356
|
isOptional: true
|
|
359
357
|
}
|
|
360
358
|
}
|
|
361
359
|
});
|
|
362
|
-
const GetVersionsInput =
|
|
360
|
+
const GetVersionsInput = K5({
|
|
363
361
|
name: "GetVersionsInput",
|
|
364
362
|
description: "Input for getting file versions",
|
|
365
363
|
fields: {
|
|
366
364
|
fileId: {
|
|
367
|
-
type:
|
|
365
|
+
type: E5.String_unsecure(),
|
|
368
366
|
isOptional: false
|
|
369
367
|
},
|
|
370
368
|
limit: {
|
|
371
|
-
type:
|
|
369
|
+
type: E5.Int_unsecure(),
|
|
372
370
|
isOptional: true
|
|
373
371
|
},
|
|
374
372
|
offset: {
|
|
375
|
-
type:
|
|
373
|
+
type: E5.Int_unsecure(),
|
|
376
374
|
isOptional: true
|
|
377
375
|
}
|
|
378
376
|
}
|
|
379
377
|
});
|
|
380
|
-
const GetVersionsOutput =
|
|
378
|
+
const GetVersionsOutput = K5({
|
|
381
379
|
name: "GetVersionsOutput",
|
|
382
380
|
description: "Output for getting file versions",
|
|
383
381
|
fields: {
|
|
@@ -387,76 +385,76 @@ const GetVersionsOutput = defineSchemaModel({
|
|
|
387
385
|
isOptional: false
|
|
388
386
|
},
|
|
389
387
|
total: {
|
|
390
|
-
type:
|
|
388
|
+
type: E5.Int_unsecure(),
|
|
391
389
|
isOptional: false
|
|
392
390
|
}
|
|
393
391
|
}
|
|
394
392
|
});
|
|
395
|
-
const AttachFileInput =
|
|
393
|
+
const AttachFileInput = K5({
|
|
396
394
|
name: "AttachFileInput",
|
|
397
395
|
description: "Input for attaching a file to an entity",
|
|
398
396
|
fields: {
|
|
399
397
|
fileId: {
|
|
400
|
-
type:
|
|
398
|
+
type: E5.String_unsecure(),
|
|
401
399
|
isOptional: false
|
|
402
400
|
},
|
|
403
401
|
entityType: {
|
|
404
|
-
type:
|
|
402
|
+
type: E5.String_unsecure(),
|
|
405
403
|
isOptional: false
|
|
406
404
|
},
|
|
407
405
|
entityId: {
|
|
408
|
-
type:
|
|
406
|
+
type: E5.String_unsecure(),
|
|
409
407
|
isOptional: false
|
|
410
408
|
},
|
|
411
409
|
attachmentType: {
|
|
412
|
-
type:
|
|
410
|
+
type: E5.String_unsecure(),
|
|
413
411
|
isOptional: true
|
|
414
412
|
},
|
|
415
413
|
name: {
|
|
416
|
-
type:
|
|
414
|
+
type: E5.String_unsecure(),
|
|
417
415
|
isOptional: true
|
|
418
416
|
},
|
|
419
417
|
description: {
|
|
420
|
-
type:
|
|
418
|
+
type: E5.String_unsecure(),
|
|
421
419
|
isOptional: true
|
|
422
420
|
},
|
|
423
421
|
order: {
|
|
424
|
-
type:
|
|
422
|
+
type: E5.Int_unsecure(),
|
|
425
423
|
isOptional: true
|
|
426
424
|
},
|
|
427
425
|
metadata: {
|
|
428
|
-
type:
|
|
426
|
+
type: E5.JSON(),
|
|
429
427
|
isOptional: true
|
|
430
428
|
}
|
|
431
429
|
}
|
|
432
430
|
});
|
|
433
|
-
const DetachFileInput =
|
|
431
|
+
const DetachFileInput = K5({
|
|
434
432
|
name: "DetachFileInput",
|
|
435
433
|
description: "Input for detaching a file",
|
|
436
434
|
fields: { attachmentId: {
|
|
437
|
-
type:
|
|
435
|
+
type: E5.String_unsecure(),
|
|
438
436
|
isOptional: false
|
|
439
437
|
} }
|
|
440
438
|
});
|
|
441
|
-
const ListAttachmentsInput =
|
|
439
|
+
const ListAttachmentsInput = K5({
|
|
442
440
|
name: "ListAttachmentsInput",
|
|
443
441
|
description: "Input for listing attachments",
|
|
444
442
|
fields: {
|
|
445
443
|
entityType: {
|
|
446
|
-
type:
|
|
444
|
+
type: E5.String_unsecure(),
|
|
447
445
|
isOptional: false
|
|
448
446
|
},
|
|
449
447
|
entityId: {
|
|
450
|
-
type:
|
|
448
|
+
type: E5.String_unsecure(),
|
|
451
449
|
isOptional: false
|
|
452
450
|
},
|
|
453
451
|
attachmentType: {
|
|
454
|
-
type:
|
|
452
|
+
type: E5.String_unsecure(),
|
|
455
453
|
isOptional: true
|
|
456
454
|
}
|
|
457
455
|
}
|
|
458
456
|
});
|
|
459
|
-
const ListAttachmentsOutput =
|
|
457
|
+
const ListAttachmentsOutput = K5({
|
|
460
458
|
name: "ListAttachmentsOutput",
|
|
461
459
|
description: "Output for listing attachments",
|
|
462
460
|
fields: {
|
|
@@ -466,42 +464,42 @@ const ListAttachmentsOutput = defineSchemaModel({
|
|
|
466
464
|
isOptional: false
|
|
467
465
|
},
|
|
468
466
|
total: {
|
|
469
|
-
type:
|
|
467
|
+
type: E5.Int_unsecure(),
|
|
470
468
|
isOptional: false
|
|
471
469
|
}
|
|
472
470
|
}
|
|
473
471
|
});
|
|
474
|
-
const CreatePresignedUrlInput =
|
|
472
|
+
const CreatePresignedUrlInput = K5({
|
|
475
473
|
name: "CreatePresignedUrlInput",
|
|
476
474
|
description: "Input for creating a presigned upload URL",
|
|
477
475
|
fields: {
|
|
478
476
|
fileName: {
|
|
479
|
-
type:
|
|
477
|
+
type: E5.String_unsecure(),
|
|
480
478
|
isOptional: false
|
|
481
479
|
},
|
|
482
480
|
mimeType: {
|
|
483
|
-
type:
|
|
481
|
+
type: E5.String_unsecure(),
|
|
484
482
|
isOptional: false
|
|
485
483
|
},
|
|
486
484
|
size: {
|
|
487
|
-
type:
|
|
485
|
+
type: E5.Int_unsecure(),
|
|
488
486
|
isOptional: false
|
|
489
487
|
},
|
|
490
488
|
orgId: {
|
|
491
|
-
type:
|
|
489
|
+
type: E5.String_unsecure(),
|
|
492
490
|
isOptional: true
|
|
493
491
|
},
|
|
494
492
|
expiresInSeconds: {
|
|
495
|
-
type:
|
|
493
|
+
type: E5.Int_unsecure(),
|
|
496
494
|
isOptional: true
|
|
497
495
|
}
|
|
498
496
|
}
|
|
499
497
|
});
|
|
500
|
-
const SuccessOutput =
|
|
498
|
+
const SuccessOutput = K5({
|
|
501
499
|
name: "SuccessOutput",
|
|
502
500
|
description: "Generic success output",
|
|
503
501
|
fields: { success: {
|
|
504
|
-
type:
|
|
502
|
+
type: E5.Boolean(),
|
|
505
503
|
isOptional: false
|
|
506
504
|
} }
|
|
507
505
|
});
|
|
@@ -855,4 +853,5 @@ const CreatePresignedUrlContract = defineCommand({
|
|
|
855
853
|
});
|
|
856
854
|
|
|
857
855
|
//#endregion
|
|
858
|
-
export { AttachFileContract, AttachmentModel, CreatePresignedUrlContract, CreateVersionContract, DeleteFileContract, DetachFileContract, FileModel, FileVersionModel, GetDownloadUrlContract, GetFileContract, GetVersionsContract, ListAttachmentsContract, ListFilesContract, PresignedUrlModel, UpdateFileContract, UploadFileContract };
|
|
856
|
+
export { AttachFileContract, AttachmentModel, CreatePresignedUrlContract, CreateVersionContract, DeleteFileContract, DetachFileContract, FileModel, FileVersionModel, GetDownloadUrlContract, GetFileContract, GetVersionsContract, ListAttachmentsContract, ListFilesContract, PresignedUrlModel, UpdateFileContract, UploadFileContract };
|
|
857
|
+
//# sourceMappingURL=index.js.map
|