@instructure/platform-institutional-tagging 3.0.1 → 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/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAkBvB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/react-query';
|
|
2
2
|
import { AlertConfig } from '../contexts/AlertContext';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
|
+
export declare const createGqlHandler: (operationName: string, mockData: unknown) => import('msw').HttpHandler;
|
|
4
5
|
export declare const createWrapper: (queryClient: QueryClient, showAlert?: (config: AlertConfig) => void) => ({ children }: {
|
|
5
6
|
children: React.ReactNode;
|
|
6
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/__tests__/helpers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/__tests__/helpers.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD,OAAO,EAAE,WAAW,EAAgB,MAAM,wBAAwB,CAAA;AAKlE,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,gBAAgB,GAAI,eAAe,MAAM,EAAE,UAAU,OAAO,8BAKrE,CAAA;AAeJ,eAAO,MAAM,aAAa,GACvB,aAAa,WAAW,EAAE,YAAW,CAAC,MAAM,EAAE,WAAW,KAAK,IAAe,MAC7E,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAW3C,CAAA"}
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { isApiError } from './utils';
|
|
1
|
+
export type { CursorPagedResponse } from './types';
|
|
2
|
+
export { hasGqlConflict, isGqlError } from './utils';
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
|
package/dist/api/types.d.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Unauthorized = 401,
|
|
10
|
-
Forbidden = 403,
|
|
11
|
-
NotFound = 404,
|
|
12
|
-
Conflict = 409,
|
|
13
|
-
UnprocessableEntity = 422
|
|
1
|
+
export interface CursorPagedResponse<T> {
|
|
2
|
+
nodes: T[];
|
|
3
|
+
pageInfo: {
|
|
4
|
+
hasNextPage: boolean;
|
|
5
|
+
hasPreviousPage: boolean;
|
|
6
|
+
endCursor: string | null;
|
|
7
|
+
startCursor: string | null;
|
|
8
|
+
};
|
|
14
9
|
}
|
|
15
10
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/api/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,QAAQ,EAAE;QACR,WAAW,EAAE,OAAO,CAAA;QACpB,eAAe,EAAE,OAAO,CAAA;QACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;QACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;KAC3B,CAAA;CACF"}
|
package/dist/api/utils.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
interface GqlPayload {
|
|
2
|
+
errors?: Array<{
|
|
3
|
+
attribute?: string | null;
|
|
4
|
+
message: string;
|
|
5
|
+
} | null> | null;
|
|
6
|
+
}
|
|
7
|
+
export declare function isGqlError(payload: GqlPayload | null | undefined): boolean;
|
|
8
|
+
export declare function hasGqlConflict(payload: GqlPayload | null | undefined): boolean;
|
|
9
|
+
export {};
|
|
2
10
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/api/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/api/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/api/utils.ts"],"names":[],"mappings":"AAAA,UAAU,UAAU;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAA;CAC7E;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAQ9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"AlertProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAwBzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAsCjE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AriaLiveContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AriaLiveContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAWnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,mEAAoE,CAAA;AAC9F,eAAO,MAAM,gBAAgB,yEAGnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericStoryWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/GenericStoryWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GenericStoryWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/GenericStoryWrapper.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,wBAAwB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAkBlE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/BottomSection.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"BottomSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/BottomSection.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA8GlD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryInfoPills.d.ts","sourceRoot":"","sources":["../../../src/components/Category/CategoryInfoPills.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"CategoryInfoPills.d.ts","sourceRoot":"","sources":["../../../src/components/Category/CategoryInfoPills.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4C9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryList.d.ts","sourceRoot":"","sources":["../../../src/components/Category/CategoryList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"CategoryList.d.ts","sourceRoot":"","sources":["../../../src/components/Category/CategoryList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqDpD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryListItem.d.ts","sourceRoot":"","sources":["../../../src/components/Category/CategoryListItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAE/C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"CategoryListItem.d.ts","sourceRoot":"","sources":["../../../src/components/Category/CategoryListItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAE/C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAe5D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagArea.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TagArea.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagArea.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TagArea.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqJ1C,CAAA"}
|
|
@@ -20,6 +20,7 @@ export interface CategoryListItemProps {
|
|
|
20
20
|
export interface CategoryListProps {
|
|
21
21
|
categories: CategoryType[];
|
|
22
22
|
isPending: boolean;
|
|
23
|
+
isFetching: boolean;
|
|
23
24
|
isError: boolean;
|
|
24
25
|
error: Error | null;
|
|
25
26
|
currentPage: number;
|
|
@@ -34,12 +35,12 @@ export interface CategoryProps {
|
|
|
34
35
|
currentPage?: number;
|
|
35
36
|
totalPages?: number;
|
|
36
37
|
onPageChange?: (page: number) => void;
|
|
37
|
-
editHandler?: (categoryId:
|
|
38
|
-
viewAllPeopleHandler?: (categoryId:
|
|
39
|
-
archiveHandler?: (categoryId:
|
|
38
|
+
editHandler?: (categoryId: string) => void;
|
|
39
|
+
viewAllPeopleHandler?: (categoryId: string) => void;
|
|
40
|
+
archiveHandler?: (categoryId: string) => void;
|
|
40
41
|
}
|
|
41
42
|
export interface TagAreaProps {
|
|
42
|
-
categoryId:
|
|
43
|
+
categoryId: string;
|
|
43
44
|
tags?: TagType[];
|
|
44
45
|
isLoadingTags?: boolean;
|
|
45
46
|
currentPage?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Category/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,YAAY,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,YAAY,EAAE,CAAA;IAC1B,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,oBAAoB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,OAAO,CAAA;CACpB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Category/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,YAAY,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,YAAY,EAAE,CAAA;IAC1B,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,oBAAoB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,YAAY,CAAA;IACtB,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,OAAO,CAAA;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewCategoryButton.d.ts","sourceRoot":"","sources":["../../../src/components/NewCategoryButton/NewCategoryButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NewCategoryButton.d.ts","sourceRoot":"","sources":["../../../src/components/NewCategoryButton/NewCategoryButton.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAoErC,CAAA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
export declare const PopoverContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export declare const FormWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const NewCategoryButtonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
4
3
|
export declare const ButtonRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
export declare const CancelButtonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
6
|
-
export declare const SaveButtonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
7
4
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/NewCategoryButton/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/NewCategoryButton/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,6NAI1B,CAAA;AAED,eAAO,MAAM,WAAW,6NAIvB,CAAA;AAED,eAAO,MAAM,SAAS,6NAKrB,CAAA"}
|
|
@@ -4,8 +4,7 @@ export declare const useNewCategoryPopover: () => {
|
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
7
|
-
|
|
8
|
-
formMessages: FormMessage[];
|
|
7
|
+
nameErrors: FormMessage[];
|
|
9
8
|
onOpen: () => void;
|
|
10
9
|
onClose: () => void;
|
|
11
10
|
onNameChange: (value: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNewCategoryPopover.d.ts","sourceRoot":"","sources":["../../../src/components/NewCategoryButton/useNewCategoryPopover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAK7D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"useNewCategoryPopover.d.ts","sourceRoot":"","sources":["../../../src/components/NewCategoryButton/useNewCategoryPopover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAK7D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,qBAAqB;;;;;;;0BA0BC,MAAM;;;CA4BxC,CAAA"}
|
|
@@ -4,11 +4,11 @@ export interface TagProps {
|
|
|
4
4
|
tag: TagType;
|
|
5
5
|
isSelected: boolean;
|
|
6
6
|
editHandler: (tag: TagType) => void;
|
|
7
|
-
viewAllPeopleHandler: (tagId:
|
|
8
|
-
archiveHandler: (tagId:
|
|
9
|
-
restoreHandler: (tagId:
|
|
7
|
+
viewAllPeopleHandler: (tagId: string) => void;
|
|
8
|
+
archiveHandler: (tagId: string) => void;
|
|
9
|
+
restoreHandler: (tagId: string) => void;
|
|
10
10
|
moveToHandler: () => void;
|
|
11
|
-
onSelectHandler: (tagId:
|
|
11
|
+
onSelectHandler: (tagId: string) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare const Tag: React.FC<TagProps>;
|
|
14
14
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,OAAO,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACzC;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,OAAO,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACzC;AAmHD,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAKlC,CAAA"}
|
package/dist/constants/app.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,wCAAwC,CAAA"}
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,eAAO,MAAM,qBAAqB,QAAQ,CAAA"}
|
package/dist/constants/i18n.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare const i18nKeys: {
|
|
|
44
44
|
readonly other: "%{count} tags selected";
|
|
45
45
|
};
|
|
46
46
|
readonly viewTagDetails: "View tag details";
|
|
47
|
+
readonly categoryCreated: "Category created";
|
|
47
48
|
readonly tagArchived: "Tag archived";
|
|
48
49
|
readonly tagDeleted: "Tag deleted";
|
|
49
50
|
readonly tagMoved: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"AAoGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOX,CAAA"}
|
|
@@ -2,9 +2,9 @@ import { CategoryContextValue } from '../types/context';
|
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
interface CategoryProviderProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
editHandler?: (id:
|
|
6
|
-
viewAllPeopleHandler?: (id:
|
|
7
|
-
archiveHandler?: (id:
|
|
5
|
+
editHandler?: (id: string) => void;
|
|
6
|
+
viewAllPeopleHandler?: (id: string) => void;
|
|
7
|
+
archiveHandler?: (id: string) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const CategoryProvider: React.FC<CategoryProviderProps>;
|
|
10
10
|
export declare const useCategoryContext: () => CategoryContextValue;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DocumentNode } from 'graphql';
|
|
2
|
+
export declare const CREATE_INSTITUTIONAL_TAG_CATEGORY: DocumentNode;
|
|
3
|
+
export declare const UPDATE_INSTITUTIONAL_TAG_CATEGORY: DocumentNode;
|
|
4
|
+
export declare const ARCHIVE_INSTITUTIONAL_TAG_CATEGORY: DocumentNode;
|
|
5
|
+
export declare const CREATE_INSTITUTIONAL_TAG: DocumentNode;
|
|
6
|
+
export declare const UPDATE_INSTITUTIONAL_TAG: DocumentNode;
|
|
7
|
+
export declare const ARCHIVE_INSTITUTIONAL_TAG: DocumentNode;
|
|
8
|
+
export declare const APPLY_INSTITUTIONAL_TAG: DocumentNode;
|
|
9
|
+
export declare const REMOVE_INSTITUTIONAL_TAG: DocumentNode;
|
|
10
|
+
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/graphql/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAahD,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,YAavC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,YAoBrC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DocumentNode } from 'graphql';
|
|
2
|
+
export declare const GET_INSTITUTIONAL_TAG_CATEGORIES: DocumentNode;
|
|
3
|
+
export declare const GET_INSTITUTIONAL_TAGS_FOR_CATEGORY: DocumentNode;
|
|
4
|
+
export declare const GET_INSTITUTIONAL_TAG: DocumentNode;
|
|
5
|
+
export declare const GET_INSTITUTIONAL_TAG_CATEGORY: DocumentNode;
|
|
6
|
+
export declare const GET_INSTITUTIONAL_TAG_CATEGORY_WITH_TAGS: DocumentNode;
|
|
7
|
+
//# sourceMappingURL=queries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/graphql/queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,eAAO,MAAM,gCAAgC,EAAE,YAkC9C,CAAA;AAED,eAAO,MAAM,mCAAmC,EAAE,YAuCjD,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,YAcnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAS5C,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,YAiCtD,CAAA"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { CategoryType } from '../types/category';
|
|
1
2
|
import { ViewType } from '../types/state';
|
|
2
3
|
export declare const useAccountTagsScreen: () => {
|
|
3
|
-
shownCategories:
|
|
4
|
+
shownCategories: CategoryType[];
|
|
4
5
|
isPending: boolean;
|
|
6
|
+
isFetching: boolean;
|
|
5
7
|
isError: boolean;
|
|
6
8
|
error: Error | null;
|
|
7
9
|
currentPage: number;
|
|
@@ -10,6 +12,6 @@ export declare const useAccountTagsScreen: () => {
|
|
|
10
12
|
handleSearchQueryChange: (query: string) => void;
|
|
11
13
|
handleViewTypeChange: (view: ViewType) => void;
|
|
12
14
|
selectedView: ViewType;
|
|
13
|
-
searchResultCount:
|
|
15
|
+
searchResultCount: any;
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=useAccountTagsScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAccountTagsScreen.d.ts","sourceRoot":"","sources":["../../src/hooks/useAccountTagsScreen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAccountTagsScreen.d.ts","sourceRoot":"","sources":["../../src/hooks/useAccountTagsScreen.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAiB,MAAM,cAAc,CAAA;AAUtD,eAAO,MAAM,oBAAoB;qBA+DxB,YAAY,EAAE;;;;WAIH,KAAK,GAAG,IAAI;;;6BAjBE,MAAM;qCA5BE,MAAM;iCAIV,QAAQ;;;CAkD7C,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const useArchiveTag: (categoryId:
|
|
2
|
-
archive: import('@tanstack/react-query').UseMutateFunction<
|
|
1
|
+
export declare const useArchiveTag: (categoryId: string) => {
|
|
2
|
+
archive: import('@tanstack/react-query').UseMutateFunction<ArchiveInstitutionalTagMutation, Error, string, unknown>;
|
|
3
3
|
};
|
|
4
4
|
//# sourceMappingURL=useArchiveTag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchiveTag.d.ts","sourceRoot":"","sources":["../../src/hooks/useArchiveTag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useArchiveTag.d.ts","sourceRoot":"","sources":["../../src/hooks/useArchiveTag.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM;;CA0B/C,CAAA"}
|
|
@@ -4,10 +4,15 @@ type CreateCategoryPayload = {
|
|
|
4
4
|
};
|
|
5
5
|
type UseCreateCategoryOptions = {
|
|
6
6
|
onSuccess: () => void;
|
|
7
|
-
onError: (
|
|
7
|
+
onError: (payload: {
|
|
8
|
+
errors?: Array<{
|
|
9
|
+
attribute?: string | null;
|
|
10
|
+
message: string;
|
|
11
|
+
}> | null;
|
|
12
|
+
}) => void;
|
|
8
13
|
};
|
|
9
14
|
export declare const useCreateCategory: ({ onSuccess, onError }: UseCreateCategoryOptions) => {
|
|
10
|
-
create: import('@tanstack/react-query').UseMutateFunction<
|
|
15
|
+
create: import('@tanstack/react-query').UseMutateFunction<CreateInstitutionalTagCategoryMutation, Error, CreateCategoryPayload, unknown>;
|
|
11
16
|
isPending: boolean;
|
|
12
17
|
};
|
|
13
18
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateCategory.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateCategory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCreateCategory.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateCategory.ts"],"names":[],"mappings":"AAWA,KAAK,qBAAqB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAEnE,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,OAAO,EAAE,CAAC,OAAO,EAAE;QACjB,MAAM,CAAC,EAAE,KAAK,CAAC;YAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC,GAAG,IAAI,CAAA;KACtE,KAAK,IAAI,CAAA;CACX,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,wBAAwB,wBAAwB;;;CA2BjF,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { TagType } from '../types/tag';
|
|
2
|
+
export declare const useFetchTagsForCategory: (categoryId: string, workflowState?: string) => {
|
|
3
|
+
tags: TagType[];
|
|
3
4
|
isPending: boolean;
|
|
4
5
|
currentPage: number;
|
|
5
6
|
totalPages: number;
|
|
7
|
+
totalTagCount: any;
|
|
6
8
|
handlePageChange: (page: number) => void;
|
|
7
9
|
};
|
|
8
10
|
//# sourceMappingURL=useFetchTagsForCategory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchTagsForCategory.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchTagsForCategory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFetchTagsForCategory.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchTagsForCategory.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAGpC,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,EAAE,gBAAgB,MAAM;UAoCI,OAAO,EAAE;;;;;6BAX7D,MAAM;CAkBvC,CAAA"}
|
|
@@ -2,9 +2,9 @@ import { TagType } from '../types/tag';
|
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
export declare const useMoveTag: () => {
|
|
4
4
|
handleMoveTag: (tag: TagType) => void;
|
|
5
|
-
handleMoveTags: (tags: TagType[], sourceCategoryId:
|
|
5
|
+
handleMoveTags: (tags: TagType[], sourceCategoryId: string) => void;
|
|
6
6
|
validateRef: React.MutableRefObject<(() => boolean) | undefined>;
|
|
7
|
-
selectedCategoryRef: React.MutableRefObject<
|
|
7
|
+
selectedCategoryRef: React.MutableRefObject<string | undefined>;
|
|
8
8
|
selectedCategoryNameRef: React.MutableRefObject<string>;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=useMoveTag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMoveTag.d.ts","sourceRoot":"","sources":["../../src/hooks/useMoveTag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMoveTag.d.ts","sourceRoot":"","sources":["../../src/hooks/useMoveTag.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAgBzB,eAAO,MAAM,UAAU;yBAoEO,OAAO;2BAWL,OAAO,EAAE,oBAAoB,MAAM;+CA1EzB,OAAO;;;CAuFhD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePlatformUiContext.d.ts","sourceRoot":"","sources":["../../src/hooks/usePlatformUiContext.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB;;;EAGnC"}
|