@locusai/shared 0.4.5 → 0.4.9

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.
Files changed (55) hide show
  1. package/dist/common.d.ts +200 -0
  2. package/dist/common.d.ts.map +1 -0
  3. package/dist/enums.d.ts +51 -0
  4. package/dist/enums.d.ts.map +1 -0
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +884 -3
  8. package/dist/models/activity.d.ts +947 -0
  9. package/dist/models/activity.d.ts.map +1 -0
  10. package/dist/models/agent.d.ts +21 -0
  11. package/dist/models/agent.d.ts.map +1 -0
  12. package/dist/models/auth.d.ts +374 -0
  13. package/dist/models/auth.d.ts.map +1 -0
  14. package/dist/models/ci.d.ts +76 -0
  15. package/dist/models/ci.d.ts.map +1 -0
  16. package/dist/models/doc-group.d.ts +144 -0
  17. package/dist/models/doc-group.d.ts.map +1 -0
  18. package/dist/models/doc.d.ts +251 -0
  19. package/dist/models/doc.d.ts.map +1 -0
  20. package/{src/models/index.ts → dist/models/index.d.ts} +1 -0
  21. package/dist/models/index.d.ts.map +1 -0
  22. package/dist/models/invitation.d.ts +257 -0
  23. package/dist/models/invitation.d.ts.map +1 -0
  24. package/dist/models/organization.d.ts +357 -0
  25. package/dist/models/organization.d.ts.map +1 -0
  26. package/dist/models/sprint.d.ts +218 -0
  27. package/dist/models/sprint.d.ts.map +1 -0
  28. package/dist/models/task.d.ts +1208 -0
  29. package/dist/models/task.d.ts.map +1 -0
  30. package/dist/models/user.d.ts +101 -0
  31. package/dist/models/user.d.ts.map +1 -0
  32. package/dist/models/workspace.d.ts +319 -0
  33. package/dist/models/workspace.d.ts.map +1 -0
  34. package/package.json +11 -3
  35. package/CHANGELOG.md +0 -151
  36. package/dist/schemas.d.ts +0 -297
  37. package/dist/schemas.d.ts.map +0 -1
  38. package/dist/schemas.js +0 -129
  39. package/src/common.ts +0 -106
  40. package/src/enums.ts +0 -56
  41. package/src/index.ts +0 -3
  42. package/src/models/activity.ts +0 -237
  43. package/src/models/agent.ts +0 -13
  44. package/src/models/auth.ts +0 -188
  45. package/src/models/ci.ts +0 -21
  46. package/src/models/doc-group.ts +0 -42
  47. package/src/models/doc.ts +0 -66
  48. package/src/models/invitation.ts +0 -83
  49. package/src/models/organization.ts +0 -105
  50. package/src/models/sprint.ts +0 -71
  51. package/src/models/task.ts +0 -110
  52. package/src/models/user.ts +0 -35
  53. package/src/models/workspace.ts +0 -99
  54. package/tsconfig.json +0 -22
  55. package/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,251 @@
1
+ import { z } from "zod";
2
+ export declare const DocGroupSchemaForDoc: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ id: string;
7
+ name: string;
8
+ }, {
9
+ id: string;
10
+ name: string;
11
+ }>;
12
+ export declare const DocSchema: z.ZodObject<{
13
+ id: z.ZodString;
14
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
15
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
16
+ } & {
17
+ workspaceId: z.ZodString;
18
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ title: z.ZodString;
20
+ content: z.ZodDefault<z.ZodString>;
21
+ group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ id: z.ZodString;
23
+ name: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ id: string;
26
+ name: string;
27
+ }, {
28
+ id: string;
29
+ name: string;
30
+ }>>>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ id: string;
33
+ createdAt: number | Date;
34
+ updatedAt: number | Date;
35
+ title: string;
36
+ workspaceId: string;
37
+ content: string;
38
+ groupId?: string | null | undefined;
39
+ group?: {
40
+ id: string;
41
+ name: string;
42
+ } | null | undefined;
43
+ }, {
44
+ id: string;
45
+ createdAt: number | Date;
46
+ updatedAt: number | Date;
47
+ title: string;
48
+ workspaceId: string;
49
+ groupId?: string | null | undefined;
50
+ content?: string | undefined;
51
+ group?: {
52
+ id: string;
53
+ name: string;
54
+ } | null | undefined;
55
+ }>;
56
+ export type Doc = z.infer<typeof DocSchema>;
57
+ export declare const CreateDocSchema: z.ZodObject<{
58
+ title: z.ZodString;
59
+ content: z.ZodOptional<z.ZodString>;
60
+ groupId: z.ZodOptional<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ title: string;
63
+ groupId?: string | undefined;
64
+ content?: string | undefined;
65
+ }, {
66
+ title: string;
67
+ groupId?: string | undefined;
68
+ content?: string | undefined;
69
+ }>;
70
+ export type CreateDoc = z.infer<typeof CreateDocSchema>;
71
+ export declare const UpdateDocSchema: z.ZodObject<{
72
+ title: z.ZodOptional<z.ZodString>;
73
+ content: z.ZodOptional<z.ZodString>;
74
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ title?: string | undefined;
77
+ groupId?: string | null | undefined;
78
+ content?: string | undefined;
79
+ }, {
80
+ title?: string | undefined;
81
+ groupId?: string | null | undefined;
82
+ content?: string | undefined;
83
+ }>;
84
+ export type UpdateDoc = z.infer<typeof UpdateDocSchema>;
85
+ export declare const DocResponseSchema: z.ZodObject<{
86
+ doc: z.ZodObject<{
87
+ id: z.ZodString;
88
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
89
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
90
+ } & {
91
+ workspaceId: z.ZodString;
92
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ title: z.ZodString;
94
+ content: z.ZodDefault<z.ZodString>;
95
+ group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96
+ id: z.ZodString;
97
+ name: z.ZodString;
98
+ }, "strip", z.ZodTypeAny, {
99
+ id: string;
100
+ name: string;
101
+ }, {
102
+ id: string;
103
+ name: string;
104
+ }>>>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ id: string;
107
+ createdAt: number | Date;
108
+ updatedAt: number | Date;
109
+ title: string;
110
+ workspaceId: string;
111
+ content: string;
112
+ groupId?: string | null | undefined;
113
+ group?: {
114
+ id: string;
115
+ name: string;
116
+ } | null | undefined;
117
+ }, {
118
+ id: string;
119
+ createdAt: number | Date;
120
+ updatedAt: number | Date;
121
+ title: string;
122
+ workspaceId: string;
123
+ groupId?: string | null | undefined;
124
+ content?: string | undefined;
125
+ group?: {
126
+ id: string;
127
+ name: string;
128
+ } | null | undefined;
129
+ }>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ doc: {
132
+ id: string;
133
+ createdAt: number | Date;
134
+ updatedAt: number | Date;
135
+ title: string;
136
+ workspaceId: string;
137
+ content: string;
138
+ groupId?: string | null | undefined;
139
+ group?: {
140
+ id: string;
141
+ name: string;
142
+ } | null | undefined;
143
+ };
144
+ }, {
145
+ doc: {
146
+ id: string;
147
+ createdAt: number | Date;
148
+ updatedAt: number | Date;
149
+ title: string;
150
+ workspaceId: string;
151
+ groupId?: string | null | undefined;
152
+ content?: string | undefined;
153
+ group?: {
154
+ id: string;
155
+ name: string;
156
+ } | null | undefined;
157
+ };
158
+ }>;
159
+ export type DocResponse = z.infer<typeof DocResponseSchema>;
160
+ export declare const DocsResponseSchema: z.ZodObject<{
161
+ docs: z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
164
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
165
+ } & {
166
+ workspaceId: z.ZodString;
167
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ title: z.ZodString;
169
+ content: z.ZodDefault<z.ZodString>;
170
+ group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
171
+ id: z.ZodString;
172
+ name: z.ZodString;
173
+ }, "strip", z.ZodTypeAny, {
174
+ id: string;
175
+ name: string;
176
+ }, {
177
+ id: string;
178
+ name: string;
179
+ }>>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ id: string;
182
+ createdAt: number | Date;
183
+ updatedAt: number | Date;
184
+ title: string;
185
+ workspaceId: string;
186
+ content: string;
187
+ groupId?: string | null | undefined;
188
+ group?: {
189
+ id: string;
190
+ name: string;
191
+ } | null | undefined;
192
+ }, {
193
+ id: string;
194
+ createdAt: number | Date;
195
+ updatedAt: number | Date;
196
+ title: string;
197
+ workspaceId: string;
198
+ groupId?: string | null | undefined;
199
+ content?: string | undefined;
200
+ group?: {
201
+ id: string;
202
+ name: string;
203
+ } | null | undefined;
204
+ }>, "many">;
205
+ }, "strip", z.ZodTypeAny, {
206
+ docs: {
207
+ id: string;
208
+ createdAt: number | Date;
209
+ updatedAt: number | Date;
210
+ title: string;
211
+ workspaceId: string;
212
+ content: string;
213
+ groupId?: string | null | undefined;
214
+ group?: {
215
+ id: string;
216
+ name: string;
217
+ } | null | undefined;
218
+ }[];
219
+ }, {
220
+ docs: {
221
+ id: string;
222
+ createdAt: number | Date;
223
+ updatedAt: number | Date;
224
+ title: string;
225
+ workspaceId: string;
226
+ groupId?: string | null | undefined;
227
+ content?: string | undefined;
228
+ group?: {
229
+ id: string;
230
+ name: string;
231
+ } | null | undefined;
232
+ }[];
233
+ }>;
234
+ export type DocsResponse = z.infer<typeof DocsResponseSchema>;
235
+ export declare const DocIdParamSchema: z.ZodObject<{
236
+ id: z.ZodString;
237
+ }, "strip", z.ZodTypeAny, {
238
+ id: string;
239
+ }, {
240
+ id: string;
241
+ }>;
242
+ export type DocIdParam = z.infer<typeof DocIdParamSchema>;
243
+ export declare const DocQuerySchema: z.ZodObject<{
244
+ workspaceId: z.ZodOptional<z.ZodString>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ workspaceId?: string | undefined;
247
+ }, {
248
+ workspaceId?: string | undefined;
249
+ }>;
250
+ export type DocQuery = z.infer<typeof DocQuerySchema>;
251
+ //# sourceMappingURL=doc.d.ts.map
@@ -0,0 +1 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AK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -10,3 +10,4 @@ export * from "./sprint";
10
10
  export * from "./task";
11
11
  export * from "./user";
12
12
  export * from "./workspace";
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,257 @@
1
+ import { z } from "zod";
2
+ import { MembershipRole } from "../enums";
3
+ export declare const InvitationSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
6
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
7
+ } & {
8
+ orgId: z.ZodString;
9
+ email: z.ZodString;
10
+ role: z.ZodNativeEnum<typeof MembershipRole>;
11
+ token: z.ZodString;
12
+ expiresAt: z.ZodNumber;
13
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ invitedBy: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ id: string;
17
+ createdAt: number | Date;
18
+ updatedAt: number | Date;
19
+ role: MembershipRole;
20
+ email: string;
21
+ orgId: string;
22
+ token: string;
23
+ expiresAt: number;
24
+ invitedBy: string;
25
+ acceptedAt?: number | null | undefined;
26
+ }, {
27
+ id: string;
28
+ createdAt: number | Date;
29
+ updatedAt: number | Date;
30
+ role: MembershipRole;
31
+ email: string;
32
+ orgId: string;
33
+ token: string;
34
+ expiresAt: number;
35
+ invitedBy: string;
36
+ acceptedAt?: number | null | undefined;
37
+ }>;
38
+ export type Invitation = z.infer<typeof InvitationSchema>;
39
+ export declare const CreateInvitationSchema: z.ZodObject<{
40
+ orgId: z.ZodString;
41
+ email: z.ZodString;
42
+ role: z.ZodDefault<z.ZodNativeEnum<typeof MembershipRole>>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ role: MembershipRole;
45
+ email: string;
46
+ orgId: string;
47
+ }, {
48
+ email: string;
49
+ orgId: string;
50
+ role?: MembershipRole | undefined;
51
+ }>;
52
+ export type CreateInvitation = z.infer<typeof CreateInvitationSchema>;
53
+ export declare const AcceptInvitationSchema: z.ZodObject<{
54
+ token: z.ZodString;
55
+ name: z.ZodOptional<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ token: string;
58
+ name?: string | undefined;
59
+ }, {
60
+ token: string;
61
+ name?: string | undefined;
62
+ }>;
63
+ export type AcceptInvitation = z.infer<typeof AcceptInvitationSchema>;
64
+ export declare const InvitationIdParamSchema: z.ZodObject<{
65
+ id: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ id: string;
68
+ }, {
69
+ id: string;
70
+ }>;
71
+ export type InvitationIdParam = z.infer<typeof InvitationIdParamSchema>;
72
+ export declare const InvitationVerifyParamSchema: z.ZodObject<{
73
+ token: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ token: string;
76
+ }, {
77
+ token: string;
78
+ }>;
79
+ export type InvitationVerifyParam = z.infer<typeof InvitationVerifyParamSchema>;
80
+ export declare const InvitationQuerySchema: z.ZodObject<{
81
+ orgId: z.ZodOptional<z.ZodString>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ orgId?: string | undefined;
84
+ }, {
85
+ orgId?: string | undefined;
86
+ }>;
87
+ export type InvitationQuery = z.infer<typeof InvitationQuerySchema>;
88
+ export declare const InvitationResponseSchema: z.ZodObject<{
89
+ invitation: z.ZodObject<{
90
+ id: z.ZodString;
91
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
92
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
93
+ } & {
94
+ orgId: z.ZodString;
95
+ email: z.ZodString;
96
+ role: z.ZodNativeEnum<typeof MembershipRole>;
97
+ token: z.ZodString;
98
+ expiresAt: z.ZodNumber;
99
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
100
+ invitedBy: z.ZodString;
101
+ }, "strip", z.ZodTypeAny, {
102
+ id: string;
103
+ createdAt: number | Date;
104
+ updatedAt: number | Date;
105
+ role: MembershipRole;
106
+ email: string;
107
+ orgId: string;
108
+ token: string;
109
+ expiresAt: number;
110
+ invitedBy: string;
111
+ acceptedAt?: number | null | undefined;
112
+ }, {
113
+ id: string;
114
+ createdAt: number | Date;
115
+ updatedAt: number | Date;
116
+ role: MembershipRole;
117
+ email: string;
118
+ orgId: string;
119
+ token: string;
120
+ expiresAt: number;
121
+ invitedBy: string;
122
+ acceptedAt?: number | null | undefined;
123
+ }>;
124
+ userExists: z.ZodOptional<z.ZodBoolean>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ invitation: {
127
+ id: string;
128
+ createdAt: number | Date;
129
+ updatedAt: number | Date;
130
+ role: MembershipRole;
131
+ email: string;
132
+ orgId: string;
133
+ token: string;
134
+ expiresAt: number;
135
+ invitedBy: string;
136
+ acceptedAt?: number | null | undefined;
137
+ };
138
+ userExists?: boolean | undefined;
139
+ }, {
140
+ invitation: {
141
+ id: string;
142
+ createdAt: number | Date;
143
+ updatedAt: number | Date;
144
+ role: MembershipRole;
145
+ email: string;
146
+ orgId: string;
147
+ token: string;
148
+ expiresAt: number;
149
+ invitedBy: string;
150
+ acceptedAt?: number | null | undefined;
151
+ };
152
+ userExists?: boolean | undefined;
153
+ }>;
154
+ export type InvitationResponse = z.infer<typeof InvitationResponseSchema>;
155
+ export declare const InvitationsResponseSchema: z.ZodObject<{
156
+ invitations: z.ZodArray<z.ZodObject<{
157
+ id: z.ZodString;
158
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
159
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
160
+ } & {
161
+ orgId: z.ZodString;
162
+ email: z.ZodString;
163
+ role: z.ZodNativeEnum<typeof MembershipRole>;
164
+ token: z.ZodString;
165
+ expiresAt: z.ZodNumber;
166
+ acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
167
+ invitedBy: z.ZodString;
168
+ }, "strip", z.ZodTypeAny, {
169
+ id: string;
170
+ createdAt: number | Date;
171
+ updatedAt: number | Date;
172
+ role: MembershipRole;
173
+ email: string;
174
+ orgId: string;
175
+ token: string;
176
+ expiresAt: number;
177
+ invitedBy: string;
178
+ acceptedAt?: number | null | undefined;
179
+ }, {
180
+ id: string;
181
+ createdAt: number | Date;
182
+ updatedAt: number | Date;
183
+ role: MembershipRole;
184
+ email: string;
185
+ orgId: string;
186
+ token: string;
187
+ expiresAt: number;
188
+ invitedBy: string;
189
+ acceptedAt?: number | null | undefined;
190
+ }>, "many">;
191
+ }, "strip", z.ZodTypeAny, {
192
+ invitations: {
193
+ id: string;
194
+ createdAt: number | Date;
195
+ updatedAt: number | Date;
196
+ role: MembershipRole;
197
+ email: string;
198
+ orgId: string;
199
+ token: string;
200
+ expiresAt: number;
201
+ invitedBy: string;
202
+ acceptedAt?: number | null | undefined;
203
+ }[];
204
+ }, {
205
+ invitations: {
206
+ id: string;
207
+ createdAt: number | Date;
208
+ updatedAt: number | Date;
209
+ role: MembershipRole;
210
+ email: string;
211
+ orgId: string;
212
+ token: string;
213
+ expiresAt: number;
214
+ invitedBy: string;
215
+ acceptedAt?: number | null | undefined;
216
+ }[];
217
+ }>;
218
+ export type InvitationsResponse = z.infer<typeof InvitationsResponseSchema>;
219
+ export declare const AcceptInvitationResponseSchema: z.ZodObject<{
220
+ membership: z.ZodObject<{
221
+ id: z.ZodString;
222
+ userId: z.ZodString;
223
+ orgId: z.ZodString;
224
+ role: z.ZodNativeEnum<typeof MembershipRole>;
225
+ createdAt: z.ZodNumber;
226
+ }, "strip", z.ZodTypeAny, {
227
+ id: string;
228
+ createdAt: number;
229
+ userId: string;
230
+ role: MembershipRole;
231
+ orgId: string;
232
+ }, {
233
+ id: string;
234
+ createdAt: number;
235
+ userId: string;
236
+ role: MembershipRole;
237
+ orgId: string;
238
+ }>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ membership: {
241
+ id: string;
242
+ createdAt: number;
243
+ userId: string;
244
+ role: MembershipRole;
245
+ orgId: string;
246
+ };
247
+ }, {
248
+ membership: {
249
+ id: string;
250
+ createdAt: number;
251
+ userId: string;
252
+ role: MembershipRole;
253
+ orgId: string;
254
+ };
255
+ }>;
256
+ export type AcceptInvitationResponse = z.infer<typeof AcceptInvitationResponseSchema>;
257
+ //# sourceMappingURL=invitation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../src/models/invitation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMtE,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG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