@burdenoff/sdk-libs 2026.627.2 → 2026.627.3
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/dist/modules/artistrybase/index.cjs +351 -0
- package/dist/modules/artistrybase/index.d.cts +469 -0
- package/dist/modules/artistrybase/index.d.ts +469 -0
- package/dist/modules/artistrybase/index.js +351 -0
- package/dist/modules/brainyrich/index.cjs +355 -0
- package/dist/modules/brainyrich/index.d.cts +483 -0
- package/dist/modules/brainyrich/index.d.ts +483 -0
- package/dist/modules/brainyrich/index.js +355 -0
- package/dist/modules/buildmyiq/index.cjs +259 -0
- package/dist/modules/buildmyiq/index.d.cts +384 -0
- package/dist/modules/buildmyiq/index.d.ts +384 -0
- package/dist/modules/buildmyiq/index.js +259 -0
- package/dist/modules/collabkin/index.cjs +238 -0
- package/dist/modules/collabkin/index.d.cts +340 -0
- package/dist/modules/collabkin/index.d.ts +340 -0
- package/dist/modules/collabkin/index.js +238 -0
- package/dist/modules/comradecircle/index.cjs +311 -0
- package/dist/modules/comradecircle/index.d.cts +390 -0
- package/dist/modules/comradecircle/index.d.ts +390 -0
- package/dist/modules/comradecircle/index.js +311 -0
- package/package.json +1 -1
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { S as SdkModule } from '../../module-JDbvil5h.js';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type ColCertainty = 'CONFIRMED' | 'DISPUTED' | 'PROBABLE' | 'UNVERIFIED';
|
|
5
|
+
type ColEventType = 'BIRTH' | 'DEATH' | 'DIVORCE' | 'EDUCATION' | 'IMMIGRATION' | 'MARRIAGE' | 'MILESTONE' | 'MILITARY' | 'OTHER' | 'RESIDENCE';
|
|
6
|
+
type ColGender = 'FEMALE' | 'MALE' | 'OTHER' | 'UNKNOWN';
|
|
7
|
+
type ColLifeStatus = 'DECEASED' | 'LIVING' | 'UNKNOWN';
|
|
8
|
+
type ColMemberRole = 'CONTRIBUTOR' | 'OWNER' | 'STEWARD' | 'VIEWER';
|
|
9
|
+
type ColMembershipStatus = 'ACTIVE' | 'DECLINED' | 'INVITED' | 'REMOVED';
|
|
10
|
+
type ColMemoryKind = 'ARTIFACT' | 'AUDIO' | 'DOCUMENT' | 'PHOTO' | 'VIDEO';
|
|
11
|
+
type ColRelationshipType = 'CHILD' | 'GRANDCHILD' | 'GRANDPARENT' | 'GUARDIAN' | 'PARENT' | 'PARTNER' | 'SIBLING' | 'SPOUSE';
|
|
12
|
+
type ColStoryFormat = 'AUDIO' | 'VIDEO' | 'WRITTEN';
|
|
13
|
+
type ColTreeStatus = 'ACTIVE' | 'ARCHIVED';
|
|
14
|
+
type ColVisibility = 'PRIVATE' | 'STEWARDS' | 'TREE';
|
|
15
|
+
interface ColFileRef {
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
interface ColPageInfo {
|
|
19
|
+
cursor?: string | null;
|
|
20
|
+
hasMore: boolean;
|
|
21
|
+
}
|
|
22
|
+
interface ColComment {
|
|
23
|
+
id: string;
|
|
24
|
+
body: string;
|
|
25
|
+
memoryId?: string | null;
|
|
26
|
+
storyId?: string | null;
|
|
27
|
+
workspaceId: string;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
}
|
|
31
|
+
interface ColEvent {
|
|
32
|
+
id: string;
|
|
33
|
+
treeId: string;
|
|
34
|
+
personId?: string | null;
|
|
35
|
+
title: string;
|
|
36
|
+
description?: string | null;
|
|
37
|
+
type: ColEventType;
|
|
38
|
+
date: string;
|
|
39
|
+
isApproximate: boolean;
|
|
40
|
+
place?: string | null;
|
|
41
|
+
workspaceId: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
updatedAt: string;
|
|
44
|
+
}
|
|
45
|
+
interface ColMembership {
|
|
46
|
+
id: string;
|
|
47
|
+
treeId: string;
|
|
48
|
+
memberUserId: string;
|
|
49
|
+
personId?: string | null;
|
|
50
|
+
role: ColMemberRole;
|
|
51
|
+
status: ColMembershipStatus;
|
|
52
|
+
invitedById?: string | null;
|
|
53
|
+
invitedAt: string;
|
|
54
|
+
acceptedAt?: string | null;
|
|
55
|
+
workspaceId: string;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
updatedAt: string;
|
|
58
|
+
}
|
|
59
|
+
interface ColRelationship {
|
|
60
|
+
id: string;
|
|
61
|
+
treeId: string;
|
|
62
|
+
type: ColRelationshipType;
|
|
63
|
+
certainty: ColCertainty;
|
|
64
|
+
fromPersonId: string;
|
|
65
|
+
toPersonId: string;
|
|
66
|
+
notes?: string | null;
|
|
67
|
+
startDate?: string | null;
|
|
68
|
+
endDate?: string | null;
|
|
69
|
+
fromPerson?: ColPerson | null;
|
|
70
|
+
toPerson?: ColPerson | null;
|
|
71
|
+
workspaceId: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
}
|
|
75
|
+
interface ColPerson {
|
|
76
|
+
id: string;
|
|
77
|
+
treeId: string;
|
|
78
|
+
givenName: string;
|
|
79
|
+
familyName?: string | null;
|
|
80
|
+
maidenName?: string | null;
|
|
81
|
+
nickname?: string | null;
|
|
82
|
+
bio?: string | null;
|
|
83
|
+
gender: ColGender;
|
|
84
|
+
lifeStatus: ColLifeStatus;
|
|
85
|
+
birthDate?: string | null;
|
|
86
|
+
birthPlace?: string | null;
|
|
87
|
+
deathDate?: string | null;
|
|
88
|
+
linkedUserId?: string | null;
|
|
89
|
+
photoFile?: ColFileRef | null;
|
|
90
|
+
tags: string[];
|
|
91
|
+
relationships?: ColRelationship[];
|
|
92
|
+
workspaceId: string;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
updatedAt: string;
|
|
95
|
+
}
|
|
96
|
+
interface ColMemory {
|
|
97
|
+
id: string;
|
|
98
|
+
treeId: string;
|
|
99
|
+
personId?: string | null;
|
|
100
|
+
title: string;
|
|
101
|
+
description?: string | null;
|
|
102
|
+
kind: ColMemoryKind;
|
|
103
|
+
place?: string | null;
|
|
104
|
+
takenAt?: string | null;
|
|
105
|
+
visibility: ColVisibility;
|
|
106
|
+
file?: ColFileRef | null;
|
|
107
|
+
tags: string[];
|
|
108
|
+
comments?: ColComment[];
|
|
109
|
+
workspaceId: string;
|
|
110
|
+
createdAt: string;
|
|
111
|
+
updatedAt: string;
|
|
112
|
+
}
|
|
113
|
+
interface ColStory {
|
|
114
|
+
id: string;
|
|
115
|
+
treeId: string;
|
|
116
|
+
personId?: string | null;
|
|
117
|
+
title: string;
|
|
118
|
+
body?: string | null;
|
|
119
|
+
format: ColStoryFormat;
|
|
120
|
+
narrator?: string | null;
|
|
121
|
+
recordingFile?: ColFileRef | null;
|
|
122
|
+
visibility: ColVisibility;
|
|
123
|
+
tags: string[];
|
|
124
|
+
comments?: ColComment[];
|
|
125
|
+
workspaceId: string;
|
|
126
|
+
createdAt: string;
|
|
127
|
+
updatedAt: string;
|
|
128
|
+
}
|
|
129
|
+
interface ColFamilyTree {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
surname?: string | null;
|
|
133
|
+
description?: string | null;
|
|
134
|
+
status: ColTreeStatus;
|
|
135
|
+
coverFile?: ColFileRef | null;
|
|
136
|
+
tags: string[];
|
|
137
|
+
memberships?: ColMembership[];
|
|
138
|
+
people?: ColPerson[];
|
|
139
|
+
workspaceId: string;
|
|
140
|
+
createdAt: string;
|
|
141
|
+
updatedAt: string;
|
|
142
|
+
}
|
|
143
|
+
interface ColFamilyTreeConnection {
|
|
144
|
+
items: ColFamilyTree[];
|
|
145
|
+
pageInfo: ColPageInfo;
|
|
146
|
+
}
|
|
147
|
+
interface ColPersonConnection {
|
|
148
|
+
items: ColPerson[];
|
|
149
|
+
pageInfo: ColPageInfo;
|
|
150
|
+
}
|
|
151
|
+
interface ColMemoryConnection {
|
|
152
|
+
items: ColMemory[];
|
|
153
|
+
pageInfo: ColPageInfo;
|
|
154
|
+
}
|
|
155
|
+
interface ColStoryConnection {
|
|
156
|
+
items: ColStory[];
|
|
157
|
+
pageInfo: ColPageInfo;
|
|
158
|
+
}
|
|
159
|
+
interface ColPaginationInput {
|
|
160
|
+
cursor?: string;
|
|
161
|
+
limit?: number;
|
|
162
|
+
offset?: number;
|
|
163
|
+
}
|
|
164
|
+
interface ColCreateFamilyTreeInput {
|
|
165
|
+
name: string;
|
|
166
|
+
surname?: string;
|
|
167
|
+
description?: string;
|
|
168
|
+
coverFileId?: string;
|
|
169
|
+
tags?: string[];
|
|
170
|
+
}
|
|
171
|
+
interface ColUpdateFamilyTreeInput {
|
|
172
|
+
name?: string;
|
|
173
|
+
surname?: string;
|
|
174
|
+
description?: string;
|
|
175
|
+
coverFileId?: string;
|
|
176
|
+
tags?: string[];
|
|
177
|
+
}
|
|
178
|
+
interface ColCreatePersonInput {
|
|
179
|
+
treeId: string;
|
|
180
|
+
givenName: string;
|
|
181
|
+
familyName?: string;
|
|
182
|
+
maidenName?: string;
|
|
183
|
+
nickname?: string;
|
|
184
|
+
bio?: string;
|
|
185
|
+
gender?: ColGender;
|
|
186
|
+
lifeStatus?: ColLifeStatus;
|
|
187
|
+
birthDate?: string;
|
|
188
|
+
birthPlace?: string;
|
|
189
|
+
deathDate?: string;
|
|
190
|
+
linkedUserId?: string;
|
|
191
|
+
photoFileId?: string;
|
|
192
|
+
tags?: string[];
|
|
193
|
+
}
|
|
194
|
+
interface ColUpdatePersonInput {
|
|
195
|
+
givenName?: string;
|
|
196
|
+
familyName?: string;
|
|
197
|
+
maidenName?: string;
|
|
198
|
+
nickname?: string;
|
|
199
|
+
bio?: string;
|
|
200
|
+
gender?: ColGender;
|
|
201
|
+
lifeStatus?: ColLifeStatus;
|
|
202
|
+
birthDate?: string;
|
|
203
|
+
birthPlace?: string;
|
|
204
|
+
deathDate?: string;
|
|
205
|
+
linkedUserId?: string;
|
|
206
|
+
photoFileId?: string;
|
|
207
|
+
tags?: string[];
|
|
208
|
+
}
|
|
209
|
+
interface ColCreateRelationshipInput {
|
|
210
|
+
treeId: string;
|
|
211
|
+
fromPersonId: string;
|
|
212
|
+
toPersonId: string;
|
|
213
|
+
type: ColRelationshipType;
|
|
214
|
+
certainty?: ColCertainty;
|
|
215
|
+
notes?: string;
|
|
216
|
+
startDate?: string;
|
|
217
|
+
endDate?: string;
|
|
218
|
+
}
|
|
219
|
+
interface ColInviteMemberInput {
|
|
220
|
+
treeId: string;
|
|
221
|
+
memberUserId: string;
|
|
222
|
+
personId?: string;
|
|
223
|
+
role?: ColMemberRole;
|
|
224
|
+
}
|
|
225
|
+
interface ColCreateMemoryInput {
|
|
226
|
+
treeId: string;
|
|
227
|
+
title: string;
|
|
228
|
+
description?: string;
|
|
229
|
+
fileId?: string;
|
|
230
|
+
kind?: ColMemoryKind;
|
|
231
|
+
personId?: string;
|
|
232
|
+
place?: string;
|
|
233
|
+
tags?: string[];
|
|
234
|
+
takenAt?: string;
|
|
235
|
+
visibility?: ColVisibility;
|
|
236
|
+
}
|
|
237
|
+
interface ColUpdateMemoryInput {
|
|
238
|
+
title?: string;
|
|
239
|
+
description?: string;
|
|
240
|
+
fileId?: string;
|
|
241
|
+
kind?: ColMemoryKind;
|
|
242
|
+
personId?: string;
|
|
243
|
+
place?: string;
|
|
244
|
+
tags?: string[];
|
|
245
|
+
takenAt?: string;
|
|
246
|
+
visibility?: ColVisibility;
|
|
247
|
+
}
|
|
248
|
+
interface ColCreateStoryInput {
|
|
249
|
+
treeId: string;
|
|
250
|
+
title: string;
|
|
251
|
+
body?: string;
|
|
252
|
+
format?: ColStoryFormat;
|
|
253
|
+
narrator?: string;
|
|
254
|
+
personId?: string;
|
|
255
|
+
recordingFileId?: string;
|
|
256
|
+
tags?: string[];
|
|
257
|
+
visibility?: ColVisibility;
|
|
258
|
+
}
|
|
259
|
+
interface ColCreateCommentInput {
|
|
260
|
+
body: string;
|
|
261
|
+
memoryId?: string;
|
|
262
|
+
storyId?: string;
|
|
263
|
+
}
|
|
264
|
+
interface ColCreateEventInput {
|
|
265
|
+
treeId: string;
|
|
266
|
+
title: string;
|
|
267
|
+
date: string;
|
|
268
|
+
description?: string;
|
|
269
|
+
isApproximate?: boolean;
|
|
270
|
+
personId?: string;
|
|
271
|
+
place?: string;
|
|
272
|
+
type?: ColEventType;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
interface CollabkinTreesApi {
|
|
276
|
+
get(id: string): Promise<ColFamilyTree | null>;
|
|
277
|
+
list(status?: ColTreeStatus, pagination?: ColPaginationInput): Promise<ColFamilyTreeConnection>;
|
|
278
|
+
create(input: ColCreateFamilyTreeInput): Promise<ColFamilyTree>;
|
|
279
|
+
update(id: string, input: ColUpdateFamilyTreeInput): Promise<ColFamilyTree>;
|
|
280
|
+
archive(id: string): Promise<boolean>;
|
|
281
|
+
}
|
|
282
|
+
interface CollabkinPeopleApi {
|
|
283
|
+
get(id: string): Promise<ColPerson | null>;
|
|
284
|
+
list(treeId?: string, lifeStatus?: ColLifeStatus, pagination?: ColPaginationInput): Promise<ColPersonConnection>;
|
|
285
|
+
create(input: ColCreatePersonInput): Promise<ColPerson>;
|
|
286
|
+
update(id: string, input: ColUpdatePersonInput): Promise<ColPerson>;
|
|
287
|
+
delete(id: string): Promise<boolean>;
|
|
288
|
+
}
|
|
289
|
+
interface CollabkinRelationshipsApi {
|
|
290
|
+
list(treeId?: string, personId?: string): Promise<ColRelationship[]>;
|
|
291
|
+
create(input: ColCreateRelationshipInput): Promise<ColRelationship>;
|
|
292
|
+
delete(id: string): Promise<boolean>;
|
|
293
|
+
}
|
|
294
|
+
interface CollabkinMembershipsApi {
|
|
295
|
+
list(treeId: string): Promise<ColMembership[]>;
|
|
296
|
+
invite(input: ColInviteMemberInput): Promise<ColMembership>;
|
|
297
|
+
accept(id: string): Promise<ColMembership>;
|
|
298
|
+
remove(id: string): Promise<boolean>;
|
|
299
|
+
}
|
|
300
|
+
interface CollabkinMemoriesApi {
|
|
301
|
+
get(id: string): Promise<ColMemory | null>;
|
|
302
|
+
list(treeId?: string, personId?: string, kind?: ColMemoryKind, pagination?: ColPaginationInput): Promise<ColMemoryConnection>;
|
|
303
|
+
create(input: ColCreateMemoryInput): Promise<ColMemory>;
|
|
304
|
+
update(id: string, input: ColUpdateMemoryInput): Promise<ColMemory>;
|
|
305
|
+
delete(id: string): Promise<boolean>;
|
|
306
|
+
}
|
|
307
|
+
interface CollabkinStoriesApi {
|
|
308
|
+
get(id: string): Promise<ColStory | null>;
|
|
309
|
+
list(treeId?: string, personId?: string, pagination?: ColPaginationInput): Promise<ColStoryConnection>;
|
|
310
|
+
create(input: ColCreateStoryInput): Promise<ColStory>;
|
|
311
|
+
delete(id: string): Promise<boolean>;
|
|
312
|
+
}
|
|
313
|
+
interface CollabkinCommentsApi {
|
|
314
|
+
list(memoryId?: string, storyId?: string): Promise<ColComment[]>;
|
|
315
|
+
add(input: ColCreateCommentInput): Promise<ColComment>;
|
|
316
|
+
delete(id: string): Promise<boolean>;
|
|
317
|
+
}
|
|
318
|
+
interface CollabkinTimelineApi {
|
|
319
|
+
list(treeId: string, personId?: string, type?: ColEventType): Promise<ColEvent[]>;
|
|
320
|
+
createEvent(input: ColCreateEventInput): Promise<ColEvent>;
|
|
321
|
+
deleteEvent(id: string): Promise<boolean>;
|
|
322
|
+
}
|
|
323
|
+
interface CollabkinSystemApi {
|
|
324
|
+
health(): Promise<string>;
|
|
325
|
+
}
|
|
326
|
+
interface CollabkinApi {
|
|
327
|
+
trees: CollabkinTreesApi;
|
|
328
|
+
people: CollabkinPeopleApi;
|
|
329
|
+
relationships: CollabkinRelationshipsApi;
|
|
330
|
+
memberships: CollabkinMembershipsApi;
|
|
331
|
+
memories: CollabkinMemoriesApi;
|
|
332
|
+
stories: CollabkinStoriesApi;
|
|
333
|
+
comments: CollabkinCommentsApi;
|
|
334
|
+
timeline: CollabkinTimelineApi;
|
|
335
|
+
system: CollabkinSystemApi;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
declare const collabkinModule: SdkModule<CollabkinApi>;
|
|
339
|
+
|
|
340
|
+
export { type ColCertainty, type ColComment, type ColCreateCommentInput, type ColCreateEventInput, type ColCreateFamilyTreeInput, type ColCreateMemoryInput, type ColCreatePersonInput, type ColCreateRelationshipInput, type ColCreateStoryInput, type ColEvent, type ColEventType, type ColFamilyTree, type ColFamilyTreeConnection, type ColFileRef, type ColGender, type ColInviteMemberInput, type ColLifeStatus, type ColMemberRole, type ColMembership, type ColMembershipStatus, type ColMemory, type ColMemoryConnection, type ColMemoryKind, type ColPageInfo, type ColPaginationInput, type ColPerson, type ColPersonConnection, type ColRelationship, type ColRelationshipType, type ColStory, type ColStoryConnection, type ColStoryFormat, type ColTreeStatus, type ColUpdateFamilyTreeInput, type ColUpdateMemoryInput, type ColUpdatePersonInput, type ColVisibility, type CollabkinApi, type CollabkinCommentsApi, type CollabkinMembershipsApi, type CollabkinMemoriesApi, type CollabkinPeopleApi, type CollabkinRelationshipsApi, type CollabkinStoriesApi, type CollabkinSystemApi, type CollabkinTimelineApi, type CollabkinTreesApi, collabkinModule as default };
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
var r=`
|
|
2
|
+
fragment CommentFields on ColComment {
|
|
3
|
+
id body memoryId storyId workspaceId createdAt updatedAt
|
|
4
|
+
}
|
|
5
|
+
`,a=`
|
|
6
|
+
fragment MembershipFields on ColMembership {
|
|
7
|
+
id treeId memberUserId personId role status
|
|
8
|
+
invitedById invitedAt acceptedAt workspaceId createdAt updatedAt
|
|
9
|
+
}
|
|
10
|
+
`,I=`
|
|
11
|
+
fragment EventFields on ColEvent {
|
|
12
|
+
id treeId personId title description type date isApproximate place
|
|
13
|
+
workspaceId createdAt updatedAt
|
|
14
|
+
}
|
|
15
|
+
`,l=`
|
|
16
|
+
fragment PersonScalars on ColPerson {
|
|
17
|
+
id treeId givenName familyName maidenName nickname bio
|
|
18
|
+
gender lifeStatus birthDate birthPlace deathDate linkedUserId
|
|
19
|
+
photoFile { id } tags workspaceId createdAt updatedAt
|
|
20
|
+
}
|
|
21
|
+
`,y=`
|
|
22
|
+
fragment RelationshipScalars on ColRelationship {
|
|
23
|
+
id treeId type certainty fromPersonId toPersonId notes startDate endDate
|
|
24
|
+
workspaceId createdAt updatedAt
|
|
25
|
+
}
|
|
26
|
+
`,s=`
|
|
27
|
+
${r}
|
|
28
|
+
fragment MemoryFields on ColMemory {
|
|
29
|
+
id treeId personId title description kind place takenAt visibility
|
|
30
|
+
file { id } tags comments { ...CommentFields }
|
|
31
|
+
workspaceId createdAt updatedAt
|
|
32
|
+
}
|
|
33
|
+
`,C=`
|
|
34
|
+
${r}
|
|
35
|
+
fragment StoryFields on ColStory {
|
|
36
|
+
id treeId personId title body format narrator visibility
|
|
37
|
+
recordingFile { id } tags comments { ...CommentFields }
|
|
38
|
+
workspaceId createdAt updatedAt
|
|
39
|
+
}
|
|
40
|
+
`,E=`
|
|
41
|
+
${y}
|
|
42
|
+
${l}
|
|
43
|
+
fragment RelationshipFull on ColRelationship {
|
|
44
|
+
...RelationshipScalars
|
|
45
|
+
fromPerson { ...PersonScalars }
|
|
46
|
+
toPerson { ...PersonScalars }
|
|
47
|
+
}
|
|
48
|
+
`,m=`
|
|
49
|
+
${l}
|
|
50
|
+
${y}
|
|
51
|
+
fragment PersonFull on ColPerson {
|
|
52
|
+
...PersonScalars
|
|
53
|
+
relationships { ...RelationshipScalars }
|
|
54
|
+
}
|
|
55
|
+
`,d=`
|
|
56
|
+
${a}
|
|
57
|
+
${l}
|
|
58
|
+
fragment TreeFull on ColFamilyTree {
|
|
59
|
+
id name surname description status coverFile { id } tags
|
|
60
|
+
memberships { ...MembershipFields }
|
|
61
|
+
people { ...PersonScalars }
|
|
62
|
+
workspaceId createdAt updatedAt
|
|
63
|
+
}
|
|
64
|
+
`,X=`
|
|
65
|
+
fragment TreeScalars on ColFamilyTree {
|
|
66
|
+
id name surname description status coverFile { id } tags
|
|
67
|
+
workspaceId createdAt updatedAt
|
|
68
|
+
}
|
|
69
|
+
`,T=`
|
|
70
|
+
${d}
|
|
71
|
+
query ColFamilyTree($id: ID!) {
|
|
72
|
+
colFamilyTree(id: $id) { ...TreeFull }
|
|
73
|
+
}
|
|
74
|
+
`,M=`
|
|
75
|
+
${X}
|
|
76
|
+
query ColListFamilyTrees($status: ColTreeStatus, $pagination: PaginationInput) {
|
|
77
|
+
colListFamilyTrees(status: $status, pagination: $pagination) {
|
|
78
|
+
items { ...TreeScalars }
|
|
79
|
+
pageInfo { cursor hasMore }
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`,S=`
|
|
83
|
+
${d}
|
|
84
|
+
mutation ColCreateFamilyTree($input: ColCreateFamilyTreeInput!) {
|
|
85
|
+
colCreateFamilyTree(input: $input) { ...TreeFull }
|
|
86
|
+
}
|
|
87
|
+
`,P=`
|
|
88
|
+
${d}
|
|
89
|
+
mutation ColUpdateFamilyTree($id: ID!, $input: ColUpdateFamilyTreeInput!) {
|
|
90
|
+
colUpdateFamilyTree(id: $id, input: $input) { ...TreeFull }
|
|
91
|
+
}
|
|
92
|
+
`,A=`
|
|
93
|
+
mutation ColArchiveFamilyTree($id: ID!) {
|
|
94
|
+
colArchiveFamilyTree(id: $id)
|
|
95
|
+
}
|
|
96
|
+
`,$=`
|
|
97
|
+
${m}
|
|
98
|
+
query ColPerson($id: ID!) {
|
|
99
|
+
colPerson(id: $id) { ...PersonFull }
|
|
100
|
+
}
|
|
101
|
+
`,b=`
|
|
102
|
+
${l}
|
|
103
|
+
query ColListPeople($treeId: ID, $lifeStatus: ColLifeStatus, $pagination: PaginationInput) {
|
|
104
|
+
colListPeople(treeId: $treeId, lifeStatus: $lifeStatus, pagination: $pagination) {
|
|
105
|
+
items { ...PersonScalars }
|
|
106
|
+
pageInfo { cursor hasMore }
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
`,R=`
|
|
110
|
+
${m}
|
|
111
|
+
mutation ColCreatePerson($input: ColCreatePersonInput!) {
|
|
112
|
+
colCreatePerson(input: $input) { ...PersonFull }
|
|
113
|
+
}
|
|
114
|
+
`,F=`
|
|
115
|
+
${m}
|
|
116
|
+
mutation ColUpdatePerson($id: ID!, $input: ColUpdatePersonInput!) {
|
|
117
|
+
colUpdatePerson(id: $id, input: $input) { ...PersonFull }
|
|
118
|
+
}
|
|
119
|
+
`,L=`
|
|
120
|
+
mutation ColDeletePerson($id: ID!) {
|
|
121
|
+
colDeletePerson(id: $id)
|
|
122
|
+
}
|
|
123
|
+
`,h=`
|
|
124
|
+
${E}
|
|
125
|
+
query ColListRelationships($treeId: ID, $personId: ID) {
|
|
126
|
+
colListRelationships(treeId: $treeId, personId: $personId) { ...RelationshipFull }
|
|
127
|
+
}
|
|
128
|
+
`,g=`
|
|
129
|
+
${E}
|
|
130
|
+
mutation ColCreateRelationship($input: ColCreateRelationshipInput!) {
|
|
131
|
+
colCreateRelationship(input: $input) { ...RelationshipFull }
|
|
132
|
+
}
|
|
133
|
+
`,_=`
|
|
134
|
+
mutation ColDeleteRelationship($id: ID!) {
|
|
135
|
+
colDeleteRelationship(id: $id)
|
|
136
|
+
}
|
|
137
|
+
`,D=`
|
|
138
|
+
${a}
|
|
139
|
+
query ColListMemberships($treeId: ID!) {
|
|
140
|
+
colListMemberships(treeId: $treeId) { ...MembershipFields }
|
|
141
|
+
}
|
|
142
|
+
`,k=`
|
|
143
|
+
${a}
|
|
144
|
+
mutation ColInviteMember($input: ColInviteMemberInput!) {
|
|
145
|
+
colInviteMember(input: $input) { ...MembershipFields }
|
|
146
|
+
}
|
|
147
|
+
`,v=`
|
|
148
|
+
${a}
|
|
149
|
+
mutation ColAcceptMembership($id: ID!) {
|
|
150
|
+
colAcceptMembership(id: $id) { ...MembershipFields }
|
|
151
|
+
}
|
|
152
|
+
`,O=`
|
|
153
|
+
mutation ColRemoveMember($id: ID!) {
|
|
154
|
+
colRemoveMember(id: $id)
|
|
155
|
+
}
|
|
156
|
+
`,x=`
|
|
157
|
+
${s}
|
|
158
|
+
query ColMemory($id: ID!) {
|
|
159
|
+
colMemory(id: $id) { ...MemoryFields }
|
|
160
|
+
}
|
|
161
|
+
`,f=`
|
|
162
|
+
${s}
|
|
163
|
+
query ColListMemories(
|
|
164
|
+
$treeId: ID
|
|
165
|
+
$personId: ID
|
|
166
|
+
$kind: ColMemoryKind
|
|
167
|
+
$pagination: PaginationInput
|
|
168
|
+
) {
|
|
169
|
+
colListMemories(treeId: $treeId, personId: $personId, kind: $kind, pagination: $pagination) {
|
|
170
|
+
items { ...MemoryFields }
|
|
171
|
+
pageInfo { cursor hasMore }
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
`,q=`
|
|
175
|
+
${s}
|
|
176
|
+
mutation ColCreateMemory($input: ColCreateMemoryInput!) {
|
|
177
|
+
colCreateMemory(input: $input) { ...MemoryFields }
|
|
178
|
+
}
|
|
179
|
+
`,w=`
|
|
180
|
+
${s}
|
|
181
|
+
mutation ColUpdateMemory($id: ID!, $input: ColUpdateMemoryInput!) {
|
|
182
|
+
colUpdateMemory(id: $id, input: $input) { ...MemoryFields }
|
|
183
|
+
}
|
|
184
|
+
`,N=`
|
|
185
|
+
mutation ColDeleteMemory($id: ID!) {
|
|
186
|
+
colDeleteMemory(id: $id)
|
|
187
|
+
}
|
|
188
|
+
`,U=`
|
|
189
|
+
${C}
|
|
190
|
+
query ColStory($id: ID!) {
|
|
191
|
+
colStory(id: $id) { ...StoryFields }
|
|
192
|
+
}
|
|
193
|
+
`,Y=`
|
|
194
|
+
${C}
|
|
195
|
+
query ColListStories($treeId: ID, $personId: ID, $pagination: PaginationInput) {
|
|
196
|
+
colListStories(treeId: $treeId, personId: $personId, pagination: $pagination) {
|
|
197
|
+
items { ...StoryFields }
|
|
198
|
+
pageInfo { cursor hasMore }
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
`,H=`
|
|
202
|
+
${C}
|
|
203
|
+
mutation ColCreateStory($input: ColCreateStoryInput!) {
|
|
204
|
+
colCreateStory(input: $input) { ...StoryFields }
|
|
205
|
+
}
|
|
206
|
+
`,V=`
|
|
207
|
+
mutation ColDeleteStory($id: ID!) {
|
|
208
|
+
colDeleteStory(id: $id)
|
|
209
|
+
}
|
|
210
|
+
`,B=`
|
|
211
|
+
${r}
|
|
212
|
+
query ColListComments($memoryId: ID, $storyId: ID) {
|
|
213
|
+
colListComments(memoryId: $memoryId, storyId: $storyId) { ...CommentFields }
|
|
214
|
+
}
|
|
215
|
+
`,G=`
|
|
216
|
+
${r}
|
|
217
|
+
mutation ColAddComment($input: ColCreateCommentInput!) {
|
|
218
|
+
colAddComment(input: $input) { ...CommentFields }
|
|
219
|
+
}
|
|
220
|
+
`,j=`
|
|
221
|
+
mutation ColDeleteComment($id: ID!) {
|
|
222
|
+
colDeleteComment(id: $id)
|
|
223
|
+
}
|
|
224
|
+
`,K=`
|
|
225
|
+
${I}
|
|
226
|
+
query ColTimeline($treeId: ID!, $personId: ID, $type: ColEventType) {
|
|
227
|
+
colTimeline(treeId: $treeId, personId: $personId, type: $type) { ...EventFields }
|
|
228
|
+
}
|
|
229
|
+
`,z=`
|
|
230
|
+
${I}
|
|
231
|
+
mutation ColCreateEvent($input: ColCreateEventInput!) {
|
|
232
|
+
colCreateEvent(input: $input) { ...EventFields }
|
|
233
|
+
}
|
|
234
|
+
`,J=`
|
|
235
|
+
mutation ColDeleteEvent($id: ID!) {
|
|
236
|
+
colDeleteEvent(id: $id)
|
|
237
|
+
}
|
|
238
|
+
`,Q="query ColHealth { colHealth }";function W(p){let{workspace:o}=p.gql;return {trees:{async get(e){return (await o.request(T,{id:e})).colFamilyTree},async list(e,t){return (await o.request(M,{status:e,pagination:t})).colListFamilyTrees},async create(e){return (await o.request(S,{input:e})).colCreateFamilyTree},async update(e,t){return (await o.request(P,{id:e,input:t})).colUpdateFamilyTree},async archive(e){return (await o.request(A,{id:e})).colArchiveFamilyTree}},people:{async get(e){return (await o.request($,{id:e})).colPerson},async list(e,t,i){return (await o.request(b,{treeId:e,lifeStatus:t,pagination:i})).colListPeople},async create(e){return (await o.request(R,{input:e})).colCreatePerson},async update(e,t){return (await o.request(F,{id:e,input:t})).colUpdatePerson},async delete(e){return (await o.request(L,{id:e})).colDeletePerson}},relationships:{async list(e,t){return (await o.request(h,{treeId:e,personId:t})).colListRelationships},async create(e){return (await o.request(g,{input:e})).colCreateRelationship},async delete(e){return (await o.request(_,{id:e})).colDeleteRelationship}},memberships:{async list(e){return (await o.request(D,{treeId:e})).colListMemberships},async invite(e){return (await o.request(k,{input:e})).colInviteMember},async accept(e){return (await o.request(v,{id:e})).colAcceptMembership},async remove(e){return (await o.request(O,{id:e})).colRemoveMember}},memories:{async get(e){return (await o.request(x,{id:e})).colMemory},async list(e,t,i,n){return (await o.request(f,{treeId:e,personId:t,kind:i,pagination:n})).colListMemories},async create(e){return (await o.request(q,{input:e})).colCreateMemory},async update(e,t){return (await o.request(w,{id:e,input:t})).colUpdateMemory},async delete(e){return (await o.request(N,{id:e})).colDeleteMemory}},stories:{async get(e){return (await o.request(U,{id:e})).colStory},async list(e,t,i){return (await o.request(Y,{treeId:e,personId:t,pagination:i})).colListStories},async create(e){return (await o.request(H,{input:e})).colCreateStory},async delete(e){return (await o.request(V,{id:e})).colDeleteStory}},comments:{async list(e,t){return (await o.request(B,{memoryId:e,storyId:t})).colListComments},async add(e){return (await o.request(G,{input:e})).colAddComment},async delete(e){return (await o.request(j,{id:e})).colDeleteComment}},timeline:{async list(e,t,i){return (await o.request(K,{treeId:e,personId:t,type:i})).colTimeline},async createEvent(e){return (await o.request(z,{input:e})).colCreateEvent},async deleteEvent(e){return (await o.request(J,{id:e})).colDeleteEvent}},system:{async health(){return (await o.request(Q)).colHealth}}}}var Z={id:"collabkin",version:"1.0.0",displayName:"Collabkin",dependsOn:["auth"],attach(p){return W(p)}},ye=Z;export{ye as default};
|