@edifice.io/collect-frontend 1.0.10-develop.0.20260924134949 → 1.0.10-develop.1.20261008132233

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.
@@ -12,25 +12,46 @@ export declare const userQueryOptions: {
12
12
  * @param search The search string to filter the users
13
13
  * @returns The query options for the search visible users
14
14
  */
15
- searchVisibles(search?: string, includeHidden?: boolean): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').SearchVisiblesResponse, Error, import('../api/user.service').SearchVisiblesResponse, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
16
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').SearchVisiblesResponse, import('@tanstack/react-query').QueryKey, never> | undefined;
15
+ searchVisibles(search?: string, includeHidden?: boolean): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').SearchVisiblesResponse, Error, import('../api/user.service').SearchVisiblesResponse, readonly ["user", "search", {
16
+ search: string;
17
+ } | undefined, {
18
+ includeHidden: true;
19
+ } | undefined]>, "queryFn"> & {
20
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').SearchVisiblesResponse, readonly ["user", "search", {
21
+ search: string;
22
+ } | undefined, {
23
+ includeHidden: true;
24
+ } | undefined], never> | undefined;
17
25
  } & {
18
- queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../api/user.service').SearchVisiblesResponse>;
26
+ queryKey: readonly ["user", "search", {
27
+ search: string;
28
+ } | undefined, {
29
+ includeHidden: true;
30
+ } | undefined] & {
31
+ [dataTagSymbol]: import('../api/user.service').SearchVisiblesResponse;
32
+ [dataTagErrorSymbol]: Error;
33
+ };
19
34
  };
20
35
  /**
21
36
  * Get users belonging to a specific group
22
37
  * @param groupId The ID of the group to fetch users from
23
38
  * @returns The query options for fetching users by group
24
39
  */
25
- fetchUsersByGroup(groupId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').UserForGroup[], Error, import('../api/user.service').UserForGroup[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
26
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').UserForGroup[], import('@tanstack/react-query').QueryKey, never> | undefined;
40
+ fetchUsersByGroup(groupId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').UserForGroup[], Error, import('../api/user.service').UserForGroup[], readonly ["user", "group", string]>, "queryFn"> & {
41
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').UserForGroup[], readonly ["user", "group", string], never> | undefined;
27
42
  } & {
28
- queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../api/user.service').UserForGroup[]>;
43
+ queryKey: readonly ["user", "group", string] & {
44
+ [dataTagSymbol]: import('../api/user.service').UserForGroup[];
45
+ [dataTagErrorSymbol]: Error;
46
+ };
29
47
  };
30
- fetchSharebookmark(sharebookmarkId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').FetchSharebookmarkResponse, Error, import('../api/user.service').FetchSharebookmarkResponse, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
31
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').FetchSharebookmarkResponse, import('@tanstack/react-query').QueryKey, never> | undefined;
48
+ fetchSharebookmark(sharebookmarkId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').FetchSharebookmarkResponse, Error, import('../api/user.service').FetchSharebookmarkResponse, readonly ["user", "sharebookmark", string]>, "queryFn"> & {
49
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').FetchSharebookmarkResponse, readonly ["user", "sharebookmark", string], never> | undefined;
32
50
  } & {
33
- queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../api/user.service').FetchSharebookmarkResponse>;
51
+ queryKey: readonly ["user", "sharebookmark", string] & {
52
+ [dataTagSymbol]: import('../api/user.service').FetchSharebookmarkResponse;
53
+ [dataTagErrorSymbol]: Error;
54
+ };
34
55
  };
35
56
  };
36
57
  /**
package/package.json CHANGED
@@ -1,58 +1,39 @@
1
1
  {
2
2
  "name": "@edifice.io/collect-frontend",
3
- "version": "1.0.10-develop.0.20260924134949",
3
+ "version": "1.0.10-develop.1.20261008132233",
4
4
  "private": false,
5
5
  "license": "GPL-3.0",
6
6
  "author": "Edifice",
7
7
  "type": "module",
8
- "scripts": {
9
- "build": "pnpm run typecheck && vite build && vite build --mode lib",
10
- "build:lib": "vite build --mode lib",
11
- "build:prod:lib": "vite build --mode lib --debug",
12
- "build:prod": "NODE_ENV=production pnpm run typecheck && vite build && pnpm run build:prod:lib",
13
- "clean": "rm -rf dist lib node_modules",
14
- "dev": "vite",
15
- "format": "prettier --write .",
16
- "lint": "eslint .",
17
- "lint:fix": "eslint . --fix",
18
- "prebuild": "pnpm install",
19
- "pre-commit": "lint-staged",
20
- "preview": "vite preview",
21
- "prune:prod": "CI=true NPM_CONFIG_IGNORE_SCRIPTS=true pnpm prune --prod --production --loglevel verbose || true",
22
- "test": "vitest",
23
- "test:coverage": "vitest run --coverage",
24
- "test:ui": "vitest --ui",
25
- "test:watch": "vitest --watch",
26
- "typecheck": "tsc -b --noEmit"
27
- },
28
8
  "dependencies": {
29
- "@edifice.io/collect-client-rest": "workspace:*",
30
- "@edifice.io/bootstrap": "develop-pedago",
31
- "@edifice.io/client": "develop-pedago",
32
- "@edifice.io/react": "develop-pedago",
33
- "@react-spring/web": "9.7.5",
34
- "@tanstack/react-query": "5.62.7",
35
9
  "@uidotdev/usehooks": "2.4.1",
36
10
  "antd": "5.27.6",
37
11
  "clsx": "2.1.1",
38
12
  "i18next": "23.8.1",
39
13
  "i18next-http-backend": "2.4.2",
40
- "ode-explorer": "develop-pedago",
41
14
  "pdfjs-dist": "5.4.394",
42
- "react": "18.3.1",
43
- "react-dom": "18.3.1",
44
15
  "react-error-boundary": "4.0.13",
45
16
  "react-hook-form": "7.71.1",
46
- "react-i18next": "14.1.0",
47
17
  "react-pdf": "10.2.0",
48
18
  "react-router-dom": "6.30.3",
49
- "zustand": "4.5.7"
19
+ "zustand": "4.5.7",
20
+ "@edifice.io/collect-client-rest": "1.0.10-develop.1.20261008132214"
50
21
  },
51
- "resolutions": {
52
- "@tanstack/react-query": "5.81.5"
22
+ "peerDependencies": {
23
+ "@edifice.io/bootstrap": "*",
24
+ "@edifice.io/client": "*",
25
+ "@edifice.io/react": "*",
26
+ "@tanstack/react-query": "^5",
27
+ "react": "18.3.1",
28
+ "react-dom": "18.3.1",
29
+ "react-i18next": "^14"
53
30
  },
54
31
  "devDependencies": {
55
32
  "@axe-core/react": "4.10.2",
33
+ "@edifice.io/bootstrap": "develop",
34
+ "@edifice.io/client": "develop",
35
+ "@edifice.io/react": "develop",
36
+ "@tanstack/react-query": "5.81.5",
56
37
  "@tanstack/react-query-devtools": "5.81.5",
57
38
  "@testing-library/jest-dom": "6.5.0",
58
39
  "@testing-library/react": "16.0.1",
@@ -63,6 +44,9 @@
63
44
  "@vitest/coverage-v8": "2.1.9",
64
45
  "@vitest/ui": "2.1.9",
65
46
  "eslint": "9.35.0",
47
+ "react": "18.3.1",
48
+ "react-dom": "18.3.1",
49
+ "react-i18next": "14.1.0",
66
50
  "eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614",
67
51
  "eslint-plugin-react-refresh": "0.4.20",
68
52
  "globals": "15.15.0",
@@ -75,7 +59,6 @@
75
59
  "vite-plugin-dts": "4.5.4",
76
60
  "vite-tsconfig-paths": "5.1.4"
77
61
  },
78
- "packageManager": "pnpm@9.12.2",
79
62
  "engines": {
80
63
  "node": ">=20"
81
64
  },
@@ -88,5 +71,25 @@
88
71
  "files": [
89
72
  "lib"
90
73
  ],
91
- "nx": {}
92
- }
74
+ "nx": {},
75
+ "scripts": {
76
+ "build": "pnpm run typecheck && vite build && vite build --mode lib",
77
+ "build:lib": "vite build --mode lib",
78
+ "build:prod:lib": "vite build --mode lib --debug",
79
+ "build:prod": "NODE_ENV=production pnpm run typecheck && vite build && pnpm run build:prod:lib",
80
+ "clean": "rm -rf dist lib node_modules",
81
+ "dev": "vite",
82
+ "format": "prettier --write .",
83
+ "lint": "eslint .",
84
+ "lint:fix": "eslint . --fix",
85
+ "prebuild": "pnpm install",
86
+ "pre-commit": "lint-staged",
87
+ "preview": "vite preview",
88
+ "prune:prod": "CI=true NPM_CONFIG_IGNORE_SCRIPTS=true pnpm prune --prod --production --loglevel verbose || true",
89
+ "test": "vitest",
90
+ "test:coverage": "vitest run --coverage",
91
+ "test:ui": "vitest --ui",
92
+ "test:watch": "vitest --watch",
93
+ "typecheck": "tsc -b --noEmit"
94
+ }
95
+ }