@kl1/contracts 1.1.22-uat → 1.1.22

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/snippet/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAKlB,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACxD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC9E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiG3B,CAAC"}
@@ -27,98 +27,17 @@ export declare const SnippetGroupSchema: z.ZodObject<{
27
27
  deletedAt: Date | null;
28
28
  platformType: string;
29
29
  }>;
30
- export declare const SnippetContentSchema: z.ZodObject<{
30
+ export declare const SnippetSchema: z.ZodObject<{
31
31
  id: z.ZodString;
32
32
  createdAt: z.ZodDate;
33
33
  updatedAt: z.ZodDate;
34
34
  deletedAt: z.ZodNullable<z.ZodDate>;
35
+ shortcutName: z.ZodString;
35
36
  contentType: z.ZodString;
36
37
  contentValue: z.ZodNullable<z.ZodString>;
37
- contentTemplate: z.ZodNullable<z.ZodAny>;
38
- order: z.ZodNumber;
39
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
40
- id: z.ZodString;
41
- createdAt: z.ZodDate;
42
- updatedAt: z.ZodDate;
43
- deletedAt: z.ZodNullable<z.ZodDate>;
44
- bucketName: z.ZodString;
45
- fileName: z.ZodString;
46
- fileSize: z.ZodNumber;
47
- fileKey: z.ZodString;
48
- fileUrl: z.ZodNullable<z.ZodString>;
49
- status: z.ZodOptional<z.ZodString>;
50
- }, "strip", z.ZodTypeAny, {
51
- id: string;
52
- createdAt: Date;
53
- updatedAt: Date;
54
- deletedAt: Date | null;
55
- fileName: string;
56
- fileKey: string;
57
- bucketName: string;
58
- fileSize: number;
59
- fileUrl: string | null;
60
- status?: string | undefined;
61
- }, {
62
- id: string;
63
- createdAt: Date;
64
- updatedAt: Date;
65
- deletedAt: Date | null;
66
- fileName: string;
67
- fileKey: string;
68
- bucketName: string;
69
- fileSize: number;
70
- fileUrl: string | null;
71
- status?: string | undefined;
72
- }>>>;
73
- }, "strip", z.ZodTypeAny, {
74
- id: string;
75
- order: number;
76
- createdAt: Date;
77
- updatedAt: Date;
78
- deletedAt: Date | null;
79
- contentType: string;
80
- contentValue: string | null;
81
- contentTemplate?: any;
82
- upload?: {
83
- id: string;
84
- createdAt: Date;
85
- updatedAt: Date;
86
- deletedAt: Date | null;
87
- fileName: string;
88
- fileKey: string;
89
- bucketName: string;
90
- fileSize: number;
91
- fileUrl: string | null;
92
- status?: string | undefined;
93
- } | null | undefined;
94
- }, {
95
- id: string;
96
- order: number;
97
- createdAt: Date;
98
- updatedAt: Date;
99
- deletedAt: Date | null;
100
- contentType: string;
101
- contentValue: string | null;
102
- contentTemplate?: any;
103
- upload?: {
104
- id: string;
105
- createdAt: Date;
106
- updatedAt: Date;
107
- deletedAt: Date | null;
108
- fileName: string;
109
- fileKey: string;
110
- bucketName: string;
111
- fileSize: number;
112
- fileUrl: string | null;
113
- status?: string | undefined;
114
- } | null | undefined;
115
- }>;
116
- export declare const SnippetSchema: z.ZodObject<{
117
- id: z.ZodString;
118
- createdAt: z.ZodDate;
119
- updatedAt: z.ZodDate;
120
- deletedAt: z.ZodNullable<z.ZodDate>;
121
- name: z.ZodString;
38
+ uploadId: z.ZodNullable<z.ZodString>;
39
+ order: z.ZodOptional<z.ZodNumber>;
40
+ snippetGroupId: z.ZodString;
122
41
  snippetGroup: z.ZodObject<{
123
42
  id: z.ZodString;
124
43
  createdAt: z.ZodDate;
@@ -141,98 +60,16 @@ export declare const SnippetSchema: z.ZodObject<{
141
60
  deletedAt: Date | null;
142
61
  platformType: string;
143
62
  }>;
144
- snippetContent: z.ZodObject<{
145
- id: z.ZodString;
146
- createdAt: z.ZodDate;
147
- updatedAt: z.ZodDate;
148
- deletedAt: z.ZodNullable<z.ZodDate>;
149
- contentType: z.ZodString;
150
- contentValue: z.ZodNullable<z.ZodString>;
151
- contentTemplate: z.ZodNullable<z.ZodAny>;
152
- order: z.ZodNumber;
153
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
154
- id: z.ZodString;
155
- createdAt: z.ZodDate;
156
- updatedAt: z.ZodDate;
157
- deletedAt: z.ZodNullable<z.ZodDate>;
158
- bucketName: z.ZodString;
159
- fileName: z.ZodString;
160
- fileSize: z.ZodNumber;
161
- fileKey: z.ZodString;
162
- fileUrl: z.ZodNullable<z.ZodString>;
163
- status: z.ZodOptional<z.ZodString>;
164
- }, "strip", z.ZodTypeAny, {
165
- id: string;
166
- createdAt: Date;
167
- updatedAt: Date;
168
- deletedAt: Date | null;
169
- fileName: string;
170
- fileKey: string;
171
- bucketName: string;
172
- fileSize: number;
173
- fileUrl: string | null;
174
- status?: string | undefined;
175
- }, {
176
- id: string;
177
- createdAt: Date;
178
- updatedAt: Date;
179
- deletedAt: Date | null;
180
- fileName: string;
181
- fileKey: string;
182
- bucketName: string;
183
- fileSize: number;
184
- fileUrl: string | null;
185
- status?: string | undefined;
186
- }>>>;
187
- }, "strip", z.ZodTypeAny, {
188
- id: string;
189
- order: number;
190
- createdAt: Date;
191
- updatedAt: Date;
192
- deletedAt: Date | null;
193
- contentType: string;
194
- contentValue: string | null;
195
- contentTemplate?: any;
196
- upload?: {
197
- id: string;
198
- createdAt: Date;
199
- updatedAt: Date;
200
- deletedAt: Date | null;
201
- fileName: string;
202
- fileKey: string;
203
- bucketName: string;
204
- fileSize: number;
205
- fileUrl: string | null;
206
- status?: string | undefined;
207
- } | null | undefined;
208
- }, {
209
- id: string;
210
- order: number;
211
- createdAt: Date;
212
- updatedAt: Date;
213
- deletedAt: Date | null;
214
- contentType: string;
215
- contentValue: string | null;
216
- contentTemplate?: any;
217
- upload?: {
218
- id: string;
219
- createdAt: Date;
220
- updatedAt: Date;
221
- deletedAt: Date | null;
222
- fileName: string;
223
- fileKey: string;
224
- bucketName: string;
225
- fileSize: number;
226
- fileUrl: string | null;
227
- status?: string | undefined;
228
- } | null | undefined;
229
- }>;
230
63
  }, "strip", z.ZodTypeAny, {
231
64
  id: string;
232
- name: string;
233
65
  createdAt: Date;
234
66
  updatedAt: Date;
235
67
  deletedAt: Date | null;
68
+ contentType: string;
69
+ uploadId: string | null;
70
+ shortcutName: string;
71
+ contentValue: string | null;
72
+ snippetGroupId: string;
236
73
  snippetGroup: {
237
74
  id: string;
238
75
  name: string;
@@ -241,34 +78,17 @@ export declare const SnippetSchema: z.ZodObject<{
241
78
  deletedAt: Date | null;
242
79
  platformType: string;
243
80
  };
244
- snippetContent: {
245
- id: string;
246
- order: number;
247
- createdAt: Date;
248
- updatedAt: Date;
249
- deletedAt: Date | null;
250
- contentType: string;
251
- contentValue: string | null;
252
- contentTemplate?: any;
253
- upload?: {
254
- id: string;
255
- createdAt: Date;
256
- updatedAt: Date;
257
- deletedAt: Date | null;
258
- fileName: string;
259
- fileKey: string;
260
- bucketName: string;
261
- fileSize: number;
262
- fileUrl: string | null;
263
- status?: string | undefined;
264
- } | null | undefined;
265
- };
81
+ order?: number | undefined;
266
82
  }, {
267
83
  id: string;
268
- name: string;
269
84
  createdAt: Date;
270
85
  updatedAt: Date;
271
86
  deletedAt: Date | null;
87
+ contentType: string;
88
+ uploadId: string | null;
89
+ shortcutName: string;
90
+ contentValue: string | null;
91
+ snippetGroupId: string;
272
92
  snippetGroup: {
273
93
  id: string;
274
94
  name: string;
@@ -277,28 +97,7 @@ export declare const SnippetSchema: z.ZodObject<{
277
97
  deletedAt: Date | null;
278
98
  platformType: string;
279
99
  };
280
- snippetContent: {
281
- id: string;
282
- order: number;
283
- createdAt: Date;
284
- updatedAt: Date;
285
- deletedAt: Date | null;
286
- contentType: string;
287
- contentValue: string | null;
288
- contentTemplate?: any;
289
- upload?: {
290
- id: string;
291
- createdAt: Date;
292
- updatedAt: Date;
293
- deletedAt: Date | null;
294
- fileName: string;
295
- fileKey: string;
296
- bucketName: string;
297
- fileSize: number;
298
- fileUrl: string | null;
299
- status?: string | undefined;
300
- } | null | undefined;
301
- };
100
+ order?: number | undefined;
302
101
  }>;
303
102
  export declare const SnippetGroupListItemSchema: z.ZodObject<{
304
103
  id: z.ZodString;
@@ -320,13 +119,13 @@ export declare const SnippetListItemSchema: z.ZodObject<{
320
119
  id: string;
321
120
  contentType: string;
322
121
  contentValue: string | null;
323
- shortCutName: string;
324
122
  snippetGroupId: string;
123
+ shortCutName: string;
325
124
  }, {
326
125
  id: string;
327
126
  contentType: string;
328
127
  contentValue: string | null;
329
- shortCutName: string;
330
128
  snippetGroupId: string;
129
+ shortCutName: string;
331
130
  }>;
332
131
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/snippet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB;;;;;GAKG;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIxB,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAMhC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/snippet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB;;;;;GAKG;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAMhC,CAAC"}
@@ -38,35 +38,35 @@ export declare const CreateSnippetSchema: z.ZodObject<{
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  contentType: string;
40
40
  platformType: string;
41
- snippetGroupId: string;
42
41
  shortcutName: string;
42
+ snippetGroupId: string;
43
43
  contentValue?: string | undefined;
44
44
  }, {
45
45
  contentType: string;
46
46
  platformType: string;
47
- snippetGroupId: string;
48
47
  shortcutName: string;
48
+ snippetGroupId: string;
49
49
  contentValue?: string | undefined;
50
50
  }>;
51
51
  export declare const UpdateSnippetSchema: z.ZodObject<{
52
52
  contentType: z.ZodString;
53
53
  platformType: z.ZodString;
54
+ shortcutName: z.ZodString;
54
55
  contentValue: z.ZodOptional<z.ZodString>;
55
56
  snippetGroupId: z.ZodString;
56
- shortcutName: z.ZodString;
57
57
  snippetContentId: z.ZodString;
58
58
  }, "strip", z.ZodTypeAny, {
59
59
  contentType: string;
60
60
  platformType: string;
61
- snippetGroupId: string;
62
61
  shortcutName: string;
62
+ snippetGroupId: string;
63
63
  snippetContentId: string;
64
64
  contentValue?: string | undefined;
65
65
  }, {
66
66
  contentType: string;
67
67
  platformType: string;
68
- snippetGroupId: string;
69
68
  shortcutName: string;
69
+ snippetGroupId: string;
70
70
  snippetContentId: string;
71
71
  contentValue?: string | undefined;
72
72
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl1/contracts",
3
- "version": "1.1.22-uat",
3
+ "version": "1.1.22",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",