@instructure/platform-institutional-tagging 3.0.2 → 4.0.0
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/App.d.ts.map +1 -1
- package/dist/__tests__/helpers.d.ts +1 -0
- package/dist/__tests__/helpers.d.ts.map +1 -1
- package/dist/api/index.d.ts +2 -3
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/types.d.ts +8 -13
- package/dist/api/types.d.ts.map +1 -1
- package/dist/api/utils.d.ts +9 -1
- package/dist/api/utils.d.ts.map +1 -1
- package/dist/components/Alert/AlertProvider.d.ts.map +1 -1
- package/dist/components/Alert/AriaLiveContainer.d.ts +3 -0
- package/dist/components/Alert/AriaLiveContainer.d.ts.map +1 -0
- package/dist/components/Alert/constants.d.ts +3 -0
- package/dist/components/Alert/constants.d.ts.map +1 -0
- package/dist/components/AppContainer/GenericStoryWrapper.d.ts.map +1 -1
- package/dist/components/Category/BottomSection.d.ts.map +1 -1
- package/dist/components/Category/CategoryInfoPills.d.ts.map +1 -1
- package/dist/components/Category/CategoryList.d.ts.map +1 -1
- package/dist/components/Category/CategoryListItem.d.ts.map +1 -1
- package/dist/components/Category/TagArea.d.ts.map +1 -1
- package/dist/components/Category/types.d.ts +5 -4
- package/dist/components/Category/types.d.ts.map +1 -1
- package/dist/components/NewCategoryButton/NewCategoryButton.d.ts.map +1 -1
- package/dist/components/NewCategoryButton/styles.d.ts +0 -3
- package/dist/components/NewCategoryButton/styles.d.ts.map +1 -1
- package/dist/components/NewCategoryButton/useNewCategoryPopover.d.ts +1 -2
- package/dist/components/NewCategoryButton/useNewCategoryPopover.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +4 -4
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/constants/app.d.ts +1 -0
- package/dist/constants/app.d.ts.map +1 -1
- package/dist/constants/i18n.d.ts +1 -0
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/contexts/CategoryContext.d.ts +3 -3
- package/dist/graphql/mutations.d.ts +10 -0
- package/dist/graphql/mutations.d.ts.map +1 -0
- package/dist/graphql/queries.d.ts +7 -0
- package/dist/graphql/queries.d.ts.map +1 -0
- package/dist/hooks/useAccountTagsScreen.d.ts +4 -2
- package/dist/hooks/useAccountTagsScreen.d.ts.map +1 -1
- package/dist/hooks/useArchiveTag.d.ts +2 -2
- package/dist/hooks/useArchiveTag.d.ts.map +1 -1
- package/dist/hooks/useCreateCategory.d.ts +7 -2
- package/dist/hooks/useCreateCategory.d.ts.map +1 -1
- package/dist/hooks/useFetchTagsForCategory.d.ts +4 -2
- package/dist/hooks/useFetchTagsForCategory.d.ts.map +1 -1
- package/dist/hooks/useMoveTag.d.ts +2 -2
- package/dist/hooks/useMoveTag.d.ts.map +1 -1
- package/dist/hooks/usePlatformUiContext.d.ts +5 -0
- package/dist/hooks/usePlatformUiContext.d.ts.map +1 -0
- package/dist/index.js +8333 -10812
- package/dist/modals/MoveTagModal/MoveTagModal.d.ts +2 -2
- package/dist/modals/TagModal/CreateTagModal.d.ts +2 -2
- package/dist/modals/TagModal/CreateTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/EditTagModal.d.ts +1 -1
- package/dist/modals/TagModal/fields/CategoryField.d.ts +4 -3
- package/dist/modals/TagModal/fields/CategoryField.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useCategoryFormFields.d.ts +8 -6
- package/dist/modals/TagModal/hooks/useCategoryFormFields.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useCreateTagForm.d.ts +6 -4
- package/dist/modals/TagModal/hooks/useCreateTagForm.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts +4 -4
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts.map +1 -1
- package/dist/screens/AccountTags/AccountTags.d.ts.map +1 -1
- package/dist/stories/mocks/application.d.ts.map +1 -1
- package/dist/stories/mocks/category.d.ts.map +1 -1
- package/dist/stories/mocks/tag.d.ts.map +1 -1
- package/dist/types/application.d.ts +6 -9
- package/dist/types/application.d.ts.map +1 -1
- package/dist/types/category.d.ts +7 -11
- package/dist/types/category.d.ts.map +1 -1
- package/dist/types/context.d.ts +3 -7
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/tag.d.ts +8 -11
- package/dist/types/tag.d.ts.map +1 -1
- package/dist/types/user.d.ts +5 -0
- package/dist/types/user.d.ts.map +1 -0
- package/dist/utils/category.d.ts +1 -1
- package/locales/en.json +1 -0
- package/package.json +4 -5
- package/dist/api/constants.d.ts +0 -4
- package/dist/api/constants.d.ts.map +0 -1
- package/dist/api/schemas.d.ts +0 -349
- package/dist/api/schemas.d.ts.map +0 -1
- package/dist/services/association.d.ts +0 -6
- package/dist/services/association.d.ts.map +0 -1
- package/dist/services/category.d.ts +0 -15
- package/dist/services/category.d.ts.map +0 -1
- package/dist/services/tag.d.ts +0 -25
- package/dist/services/tag.d.ts.map +0 -1
- package/dist/services/users.d.ts +0 -12
- package/dist/services/users.d.ts.map +0 -1
- package/dist/types/pageable.d.ts +0 -8
- package/dist/types/pageable.d.ts.map +0 -1
- package/dist/utils/pagination.d.ts +0 -4
- package/dist/utils/pagination.d.ts.map +0 -1
package/dist/api/schemas.d.ts
DELETED
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
import { ContextType } from '../types/context';
|
|
2
|
-
import { WorkflowState } from '../types/state';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
export declare const categorySchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodNumber;
|
|
6
|
-
name: z.ZodString;
|
|
7
|
-
description: z.ZodString;
|
|
8
|
-
account_id: z.ZodNumber;
|
|
9
|
-
root_account_id: z.ZodNumber;
|
|
10
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
11
|
-
tags_count: z.ZodNumber;
|
|
12
|
-
created_at: z.ZodString;
|
|
13
|
-
updated_at: z.ZodString;
|
|
14
|
-
created_by: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodNull]>>;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
id: number;
|
|
17
|
-
name: string;
|
|
18
|
-
description: string;
|
|
19
|
-
account_id: number;
|
|
20
|
-
root_account_id: number;
|
|
21
|
-
workflow_state: WorkflowState;
|
|
22
|
-
created_at: string;
|
|
23
|
-
updated_at: string;
|
|
24
|
-
tags_count: number;
|
|
25
|
-
created_by?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
id: number;
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
account_id: number;
|
|
31
|
-
root_account_id: number;
|
|
32
|
-
workflow_state: WorkflowState;
|
|
33
|
-
created_at: string;
|
|
34
|
-
updated_at: string;
|
|
35
|
-
tags_count: number;
|
|
36
|
-
created_by?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
37
|
-
}>;
|
|
38
|
-
export declare const tagSchema: z.ZodObject<{
|
|
39
|
-
id: z.ZodNumber;
|
|
40
|
-
name: z.ZodString;
|
|
41
|
-
description: z.ZodString;
|
|
42
|
-
sis_source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
category_id: z.ZodNumber;
|
|
44
|
-
account_id: z.ZodNumber;
|
|
45
|
-
root_account_id: z.ZodNumber;
|
|
46
|
-
associations_count: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
48
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
49
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
id: number;
|
|
52
|
-
name: string;
|
|
53
|
-
description: string;
|
|
54
|
-
category_id: number;
|
|
55
|
-
account_id: number;
|
|
56
|
-
root_account_id: number;
|
|
57
|
-
workflow_state: WorkflowState;
|
|
58
|
-
sis_source_id?: string | null | undefined;
|
|
59
|
-
associations_count?: number | undefined;
|
|
60
|
-
created_at?: string | undefined;
|
|
61
|
-
updated_at?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
id: number;
|
|
64
|
-
name: string;
|
|
65
|
-
description: string;
|
|
66
|
-
category_id: number;
|
|
67
|
-
account_id: number;
|
|
68
|
-
root_account_id: number;
|
|
69
|
-
workflow_state: WorkflowState;
|
|
70
|
-
sis_source_id?: string | null | undefined;
|
|
71
|
-
associations_count?: number | undefined;
|
|
72
|
-
created_at?: string | undefined;
|
|
73
|
-
updated_at?: string | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
export declare const tagAssociationSchema: z.ZodObject<{
|
|
76
|
-
id: z.ZodNumber;
|
|
77
|
-
institutional_tag: z.ZodObject<{
|
|
78
|
-
id: z.ZodNumber;
|
|
79
|
-
name: z.ZodString;
|
|
80
|
-
description: z.ZodString;
|
|
81
|
-
sis_source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
-
category_id: z.ZodNumber;
|
|
83
|
-
account_id: z.ZodNumber;
|
|
84
|
-
root_account_id: z.ZodNumber;
|
|
85
|
-
associations_count: z.ZodOptional<z.ZodNumber>;
|
|
86
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
87
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
88
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
89
|
-
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
id: number;
|
|
91
|
-
name: string;
|
|
92
|
-
description: string;
|
|
93
|
-
category_id: number;
|
|
94
|
-
account_id: number;
|
|
95
|
-
root_account_id: number;
|
|
96
|
-
workflow_state: WorkflowState;
|
|
97
|
-
sis_source_id?: string | null | undefined;
|
|
98
|
-
associations_count?: number | undefined;
|
|
99
|
-
created_at?: string | undefined;
|
|
100
|
-
updated_at?: string | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
id: number;
|
|
103
|
-
name: string;
|
|
104
|
-
description: string;
|
|
105
|
-
category_id: number;
|
|
106
|
-
account_id: number;
|
|
107
|
-
root_account_id: number;
|
|
108
|
-
workflow_state: WorkflowState;
|
|
109
|
-
sis_source_id?: string | null | undefined;
|
|
110
|
-
associations_count?: number | undefined;
|
|
111
|
-
created_at?: string | undefined;
|
|
112
|
-
updated_at?: string | undefined;
|
|
113
|
-
}>;
|
|
114
|
-
context_type: z.ZodNativeEnum<typeof ContextType>;
|
|
115
|
-
context_id: z.ZodNumber;
|
|
116
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
117
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
118
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
id: number;
|
|
121
|
-
workflow_state: WorkflowState;
|
|
122
|
-
institutional_tag: {
|
|
123
|
-
id: number;
|
|
124
|
-
name: string;
|
|
125
|
-
description: string;
|
|
126
|
-
category_id: number;
|
|
127
|
-
account_id: number;
|
|
128
|
-
root_account_id: number;
|
|
129
|
-
workflow_state: WorkflowState;
|
|
130
|
-
sis_source_id?: string | null | undefined;
|
|
131
|
-
associations_count?: number | undefined;
|
|
132
|
-
created_at?: string | undefined;
|
|
133
|
-
updated_at?: string | undefined;
|
|
134
|
-
};
|
|
135
|
-
context_type: ContextType;
|
|
136
|
-
context_id: number;
|
|
137
|
-
created_at?: string | undefined;
|
|
138
|
-
updated_at?: string | undefined;
|
|
139
|
-
}, {
|
|
140
|
-
id: number;
|
|
141
|
-
workflow_state: WorkflowState;
|
|
142
|
-
institutional_tag: {
|
|
143
|
-
id: number;
|
|
144
|
-
name: string;
|
|
145
|
-
description: string;
|
|
146
|
-
category_id: number;
|
|
147
|
-
account_id: number;
|
|
148
|
-
root_account_id: number;
|
|
149
|
-
workflow_state: WorkflowState;
|
|
150
|
-
sis_source_id?: string | null | undefined;
|
|
151
|
-
associations_count?: number | undefined;
|
|
152
|
-
created_at?: string | undefined;
|
|
153
|
-
updated_at?: string | undefined;
|
|
154
|
-
};
|
|
155
|
-
context_type: ContextType;
|
|
156
|
-
context_id: number;
|
|
157
|
-
created_at?: string | undefined;
|
|
158
|
-
updated_at?: string | undefined;
|
|
159
|
-
}>;
|
|
160
|
-
export declare const tagUserSchema: z.ZodObject<{
|
|
161
|
-
id: z.ZodNumber;
|
|
162
|
-
name: z.ZodString;
|
|
163
|
-
login_id: z.ZodString;
|
|
164
|
-
sis_user_id: z.ZodOptional<z.ZodString>;
|
|
165
|
-
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
id: number;
|
|
167
|
-
name: string;
|
|
168
|
-
login_id: string;
|
|
169
|
-
sis_user_id?: string | undefined;
|
|
170
|
-
}, {
|
|
171
|
-
id: number;
|
|
172
|
-
name: string;
|
|
173
|
-
login_id: string;
|
|
174
|
-
sis_user_id?: string | undefined;
|
|
175
|
-
}>;
|
|
176
|
-
export declare const categoryListSchema: z.ZodArray<z.ZodObject<{
|
|
177
|
-
id: z.ZodNumber;
|
|
178
|
-
name: z.ZodString;
|
|
179
|
-
description: z.ZodString;
|
|
180
|
-
account_id: z.ZodNumber;
|
|
181
|
-
root_account_id: z.ZodNumber;
|
|
182
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
183
|
-
tags_count: z.ZodNumber;
|
|
184
|
-
created_at: z.ZodString;
|
|
185
|
-
updated_at: z.ZodString;
|
|
186
|
-
created_by: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodNull]>>;
|
|
187
|
-
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
id: number;
|
|
189
|
-
name: string;
|
|
190
|
-
description: string;
|
|
191
|
-
account_id: number;
|
|
192
|
-
root_account_id: number;
|
|
193
|
-
workflow_state: WorkflowState;
|
|
194
|
-
created_at: string;
|
|
195
|
-
updated_at: string;
|
|
196
|
-
tags_count: number;
|
|
197
|
-
created_by?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
198
|
-
}, {
|
|
199
|
-
id: number;
|
|
200
|
-
name: string;
|
|
201
|
-
description: string;
|
|
202
|
-
account_id: number;
|
|
203
|
-
root_account_id: number;
|
|
204
|
-
workflow_state: WorkflowState;
|
|
205
|
-
created_at: string;
|
|
206
|
-
updated_at: string;
|
|
207
|
-
tags_count: number;
|
|
208
|
-
created_by?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
209
|
-
}>, "many">;
|
|
210
|
-
export declare const tagListSchema: z.ZodArray<z.ZodObject<{
|
|
211
|
-
id: z.ZodNumber;
|
|
212
|
-
name: z.ZodString;
|
|
213
|
-
description: z.ZodString;
|
|
214
|
-
sis_source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
|
-
category_id: z.ZodNumber;
|
|
216
|
-
account_id: z.ZodNumber;
|
|
217
|
-
root_account_id: z.ZodNumber;
|
|
218
|
-
associations_count: z.ZodOptional<z.ZodNumber>;
|
|
219
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
220
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
221
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
222
|
-
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
id: number;
|
|
224
|
-
name: string;
|
|
225
|
-
description: string;
|
|
226
|
-
category_id: number;
|
|
227
|
-
account_id: number;
|
|
228
|
-
root_account_id: number;
|
|
229
|
-
workflow_state: WorkflowState;
|
|
230
|
-
sis_source_id?: string | null | undefined;
|
|
231
|
-
associations_count?: number | undefined;
|
|
232
|
-
created_at?: string | undefined;
|
|
233
|
-
updated_at?: string | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
id: number;
|
|
236
|
-
name: string;
|
|
237
|
-
description: string;
|
|
238
|
-
category_id: number;
|
|
239
|
-
account_id: number;
|
|
240
|
-
root_account_id: number;
|
|
241
|
-
workflow_state: WorkflowState;
|
|
242
|
-
sis_source_id?: string | null | undefined;
|
|
243
|
-
associations_count?: number | undefined;
|
|
244
|
-
created_at?: string | undefined;
|
|
245
|
-
updated_at?: string | undefined;
|
|
246
|
-
}>, "many">;
|
|
247
|
-
export declare const tagAssociationListSchema: z.ZodArray<z.ZodObject<{
|
|
248
|
-
id: z.ZodNumber;
|
|
249
|
-
institutional_tag: z.ZodObject<{
|
|
250
|
-
id: z.ZodNumber;
|
|
251
|
-
name: z.ZodString;
|
|
252
|
-
description: z.ZodString;
|
|
253
|
-
sis_source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
254
|
-
category_id: z.ZodNumber;
|
|
255
|
-
account_id: z.ZodNumber;
|
|
256
|
-
root_account_id: z.ZodNumber;
|
|
257
|
-
associations_count: z.ZodOptional<z.ZodNumber>;
|
|
258
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
259
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
260
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
261
|
-
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
id: number;
|
|
263
|
-
name: string;
|
|
264
|
-
description: string;
|
|
265
|
-
category_id: number;
|
|
266
|
-
account_id: number;
|
|
267
|
-
root_account_id: number;
|
|
268
|
-
workflow_state: WorkflowState;
|
|
269
|
-
sis_source_id?: string | null | undefined;
|
|
270
|
-
associations_count?: number | undefined;
|
|
271
|
-
created_at?: string | undefined;
|
|
272
|
-
updated_at?: string | undefined;
|
|
273
|
-
}, {
|
|
274
|
-
id: number;
|
|
275
|
-
name: string;
|
|
276
|
-
description: string;
|
|
277
|
-
category_id: number;
|
|
278
|
-
account_id: number;
|
|
279
|
-
root_account_id: number;
|
|
280
|
-
workflow_state: WorkflowState;
|
|
281
|
-
sis_source_id?: string | null | undefined;
|
|
282
|
-
associations_count?: number | undefined;
|
|
283
|
-
created_at?: string | undefined;
|
|
284
|
-
updated_at?: string | undefined;
|
|
285
|
-
}>;
|
|
286
|
-
context_type: z.ZodNativeEnum<typeof ContextType>;
|
|
287
|
-
context_id: z.ZodNumber;
|
|
288
|
-
workflow_state: z.ZodNativeEnum<typeof WorkflowState>;
|
|
289
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
290
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
291
|
-
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
id: number;
|
|
293
|
-
workflow_state: WorkflowState;
|
|
294
|
-
institutional_tag: {
|
|
295
|
-
id: number;
|
|
296
|
-
name: string;
|
|
297
|
-
description: string;
|
|
298
|
-
category_id: number;
|
|
299
|
-
account_id: number;
|
|
300
|
-
root_account_id: number;
|
|
301
|
-
workflow_state: WorkflowState;
|
|
302
|
-
sis_source_id?: string | null | undefined;
|
|
303
|
-
associations_count?: number | undefined;
|
|
304
|
-
created_at?: string | undefined;
|
|
305
|
-
updated_at?: string | undefined;
|
|
306
|
-
};
|
|
307
|
-
context_type: ContextType;
|
|
308
|
-
context_id: number;
|
|
309
|
-
created_at?: string | undefined;
|
|
310
|
-
updated_at?: string | undefined;
|
|
311
|
-
}, {
|
|
312
|
-
id: number;
|
|
313
|
-
workflow_state: WorkflowState;
|
|
314
|
-
institutional_tag: {
|
|
315
|
-
id: number;
|
|
316
|
-
name: string;
|
|
317
|
-
description: string;
|
|
318
|
-
category_id: number;
|
|
319
|
-
account_id: number;
|
|
320
|
-
root_account_id: number;
|
|
321
|
-
workflow_state: WorkflowState;
|
|
322
|
-
sis_source_id?: string | null | undefined;
|
|
323
|
-
associations_count?: number | undefined;
|
|
324
|
-
created_at?: string | undefined;
|
|
325
|
-
updated_at?: string | undefined;
|
|
326
|
-
};
|
|
327
|
-
context_type: ContextType;
|
|
328
|
-
context_id: number;
|
|
329
|
-
created_at?: string | undefined;
|
|
330
|
-
updated_at?: string | undefined;
|
|
331
|
-
}>, "many">;
|
|
332
|
-
export declare const tagUserListSchema: z.ZodArray<z.ZodObject<{
|
|
333
|
-
id: z.ZodNumber;
|
|
334
|
-
name: z.ZodString;
|
|
335
|
-
login_id: z.ZodString;
|
|
336
|
-
sis_user_id: z.ZodOptional<z.ZodString>;
|
|
337
|
-
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
id: number;
|
|
339
|
-
name: string;
|
|
340
|
-
login_id: string;
|
|
341
|
-
sis_user_id?: string | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
id: number;
|
|
344
|
-
name: string;
|
|
345
|
-
login_id: string;
|
|
346
|
-
sis_user_id?: string | undefined;
|
|
347
|
-
}>, "many">;
|
|
348
|
-
export declare const nullSchema: z.ZodNull;
|
|
349
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/api/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWzB,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYpB,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAKxB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAA0B,CAAA;AACzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAqB,CAAA;AAC/C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAgC,CAAA;AACrE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;WAAyB,CAAA;AAGvD,eAAO,MAAM,UAAU,WAAW,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PagedResponse } from '../api/types';
|
|
2
|
-
import { TagAssociationType } from '../types/application';
|
|
3
|
-
export declare const removeTagAssociation: (tagId: number, associationId: number) => Promise<void>;
|
|
4
|
-
export declare const fetchUserTagAssociations: (userId: number, page?: number, perPage?: number, signal?: AbortSignal) => Promise<PagedResponse<TagAssociationType>>;
|
|
5
|
-
export declare const applyTagToUser: (tagId: number, userId: number) => Promise<TagAssociationType>;
|
|
6
|
-
//# sourceMappingURL=association.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"association.d.ts","sourceRoot":"","sources":["../../src/services/association.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAEvD,eAAO,MAAM,oBAAoB,GAAI,OAAO,MAAM,EAAE,eAAe,MAAM,KAAG,OAAO,CAAC,IAAI,CAI/D,CAAA;AAEzB,eAAO,MAAM,wBAAwB,GACnC,QAAQ,MAAM,EACd,aAAQ,EACR,gBAAwB,EACxB,SAAS,WAAW,KACnB,OAAO,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAiB3C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,KAAG,OAAO,CAAC,kBAAkB,CAQpE,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PagedResponse } from '../api/types';
|
|
2
|
-
import { CategoryType } from '../types/category';
|
|
3
|
-
import { WorkflowState } from '../types/state';
|
|
4
|
-
export declare const fetchCategory: (categoryId: number, signal?: AbortSignal) => Promise<CategoryType>;
|
|
5
|
-
export declare const createCategory: (body: {
|
|
6
|
-
name: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
}) => Promise<CategoryType>;
|
|
9
|
-
export declare const updateCategory: (categoryId: number, body: {
|
|
10
|
-
name?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
}) => Promise<CategoryType>;
|
|
13
|
-
export declare const archiveCategory: (categoryId: number) => Promise<CategoryType>;
|
|
14
|
-
export declare const fetchCategories: (page?: number, perPage?: number, signal?: AbortSignal, search?: string, workflowState?: WorkflowState) => Promise<PagedResponse<CategoryType>>;
|
|
15
|
-
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../src/services/category.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM,EAAE,SAAS,WAAW,KAAG,OAAO,CAAC,YAAY,CAIxE,CAAA;AAErB,eAAO,MAAM,cAAc,GAAI,MAAM;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,KAAG,OAAO,CAAC,YAAY,CAIH,CAAA;AAErB,eAAO,MAAM,cAAc,GACzB,YAAY,MAAM,EAClB,MAAM;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,KAC5C,OAAO,CAAC,YAAY,CAIF,CAAA;AAErB,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,KAAG,OAAO,CAAC,YAAY,CAIpD,CAAA;AAErB,eAAO,MAAM,eAAe,GAC1B,aAAQ,EACR,gBAAwB,EACxB,SAAS,WAAW,EACpB,SAAS,MAAM,EACf,gBAAgB,aAAa,KAC5B,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAoBrC,CAAA"}
|
package/dist/services/tag.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PagedResponse } from '../api/types';
|
|
2
|
-
import { TagType } from '../types/tag';
|
|
3
|
-
export declare const fetchTags: (params?: {
|
|
4
|
-
page?: number;
|
|
5
|
-
perPage?: number;
|
|
6
|
-
categoryId?: number;
|
|
7
|
-
search?: string;
|
|
8
|
-
workflowState?: string;
|
|
9
|
-
}, signal?: AbortSignal) => Promise<PagedResponse<TagType>>;
|
|
10
|
-
export declare const fetchTag: (tagId: number, signal?: AbortSignal) => Promise<TagType>;
|
|
11
|
-
export declare const createTag: (body: {
|
|
12
|
-
name: string;
|
|
13
|
-
description: string;
|
|
14
|
-
category_id: number;
|
|
15
|
-
sis_source_id?: string | null;
|
|
16
|
-
}) => Promise<TagType>;
|
|
17
|
-
export declare const updateTag: (tagId: number, body: {
|
|
18
|
-
name?: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
category_id?: number;
|
|
21
|
-
sis_source_id?: string | null;
|
|
22
|
-
}) => Promise<TagType>;
|
|
23
|
-
export declare const archiveTag: (tagId: number) => Promise<TagType>;
|
|
24
|
-
export declare const fetchTagsForCategory: (categoryId: number, page?: number, perPage?: number, signal?: AbortSignal, workflowState?: string) => Promise<PagedResponse<TagType>>;
|
|
25
|
-
//# sourceMappingURL=tag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../src/services/tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE1C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,eAAO,MAAM,SAAS,GACpB,SAAQ;IACN,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;CAClB,EACN,SAAS,WAAW,KACnB,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAqBhC,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,SAAS,WAAW,KAAG,OAAO,CAAC,OAAO,CAG3E,CAAA;AAEH,eAAO,MAAM,SAAS,GAAI,MAAM;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B,KAAG,OAAO,CAAC,OAAO,CAGhB,CAAA;AAEH,eAAO,MAAM,SAAS,GACpB,OAAO,MAAM,EACb,MAAM;IACJ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B,KACA,OAAO,CAAC,OAAO,CAIG,CAAA;AAErB,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,OAAO,CAAC,OAAO,CAIrC,CAAA;AAErB,eAAO,MAAM,oBAAoB,GAC/B,YAAY,MAAM,EAClB,aAAQ,EACR,gBAAwB,EACxB,SAAS,WAAW,EACpB,gBAAgB,MAAM,KACrB,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CACgC,CAAA"}
|
package/dist/services/users.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PagedResponse } from '../api/types';
|
|
2
|
-
export declare const fetchTagUsers: (tagId: number, params?: {
|
|
3
|
-
page?: number;
|
|
4
|
-
perPage?: number;
|
|
5
|
-
searchTerm?: string;
|
|
6
|
-
}, signal?: AbortSignal) => Promise<PagedResponse<{
|
|
7
|
-
id: number;
|
|
8
|
-
name: string;
|
|
9
|
-
login_id: string;
|
|
10
|
-
sis_user_id?: string;
|
|
11
|
-
}>>;
|
|
12
|
-
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/services/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG1C,eAAO,MAAM,aAAa,GACxB,OAAO,MAAM,EACb,SAAQ;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAO,EACrE,SAAS,WAAW,KACnB,OAAO,CAAC,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAoB7F,CAAA"}
|
package/dist/types/pageable.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pageable.d.ts","sourceRoot":"","sources":["../../src/types/pageable.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,CAAC,EAAE;QACL,IAAI,CAAC,EAAE;YACL,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;SACtB,CAAA;KACF,CAAA;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/utils/pagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,wBAAgB,aAAa,CAAC,CAAC,SAAS,QAAQ,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,sBAEnF"}
|