ode-explorer 1.3.2 → 1.3.3-develop-b2school.202402081140

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.
@@ -83,8 +83,8 @@ export declare const moveToFolder: ({ searchParams, resourceIds, folderId, folde
83
83
  * @param searchParams, entId, shares
84
84
  * @returns shared resource
85
85
  */
86
- export declare const shareResource: ({ searchParams, resourceId, rights, }: {
87
- searchParams: ISearchParameters & IActionParameters;
86
+ export declare const shareResource: ({ application, resourceId, rights, }: {
87
+ application: string;
88
88
  resourceId: ID;
89
89
  rights: ShareRight[];
90
90
  }) => Promise<import("edifice-ts-client").PutShareResponse>;
@@ -93,8 +93,8 @@ export declare const shareResource: ({ searchParams, resourceId, rights, }: {
93
93
  * @param searchParams, params
94
94
  * @returns updated resource
95
95
  */
96
- export declare const updateResource: ({ searchParams, params, }: {
97
- searchParams: ISearchParameters & IActionParameters;
96
+ export declare const updateResource: ({ application, params, }: {
97
+ application: string;
98
98
  params: UpdateParameters;
99
99
  }) => Promise<import("edifice-ts-client").UpdateResult>;
100
100
  /**
@@ -115,6 +115,18 @@ export declare const printResource: ({ searchParams, assetId, }: {
115
115
  searchParams: ISearchParameters & IActionParameters;
116
116
  assetId: ID;
117
117
  }) => Window | null;
118
+ export declare const goToCreate: ({ searchParams, folderId, }: {
119
+ searchParams: ISearchParameters & IActionParameters;
120
+ folderId?: string | undefined;
121
+ }) => Window | null;
122
+ export declare const goToEdit: ({ searchParams, assetId, }: {
123
+ searchParams: ISearchParameters & IActionParameters;
124
+ assetId: ID;
125
+ }) => Window | null;
126
+ export declare const goToExport: ({ searchParams, assetId, }: {
127
+ searchParams: ISearchParameters & IActionParameters;
128
+ assetId: ID;
129
+ }) => Window | null;
118
130
  export declare const publishResource: ({ searchParams, params, }: {
119
131
  searchParams: ISearchParameters & IActionParameters;
120
132
  params: PublishParameters;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-explorer",
3
- "version": "1.3.2",
3
+ "version": "1.3.3-develop-b2school.202402081140",
4
4
  "description": "Open Digital Education Explorer",
5
5
  "homepage": "https://github.com/opendigitaleducation/explorer#readme",
6
6
  "bugs": {
@@ -36,53 +36,51 @@
36
36
  ]
37
37
  },
38
38
  "dependencies": {
39
- "@edifice-ui/icons": "1.4.0",
40
- "@edifice-ui/react": "1.4.0",
39
+ "@edifice-ui/icons": "develop-b2school",
40
+ "@edifice-ui/react": "develop-b2school",
41
41
  "@react-spring/web": "9.7.3",
42
42
  "@tanstack/react-query": "5.8.4",
43
- "clsx": "2.0.0",
43
+ "clsx": "2.1.0",
44
44
  "dayjs": "1.11.10",
45
- "i18next": "23.7.6",
45
+ "i18next": "23.8.1",
46
46
  "i18next-http-backend": "2.4.2",
47
47
  "react": "18.2.0",
48
48
  "react-dom": "18.2.0",
49
- "react-error-boundary": "4.0.11",
50
- "react-hook-form": "7.49.2",
51
- "react-i18next": "13.5.0",
49
+ "react-error-boundary": "4.0.12",
50
+ "react-hook-form": "7.49.3",
51
+ "react-i18next": "14.0.1",
52
52
  "react-intersection-observer": "9.5.3",
53
- "swiper": "11.0.4",
54
- "zustand": "4.4.6"
53
+ "zustand": "4.5.0"
55
54
  },
56
55
  "devDependencies": {
57
- "@axe-core/react": "4.8.1",
56
+ "@axe-core/react": "4.8.4",
58
57
  "@babel/plugin-transform-react-pure-annotations": "7.23.3",
59
58
  "@tanstack/react-query-devtools": "5.8.4",
60
- "@types/node": "20.9.3",
61
- "@types/react": "18.2.38",
62
- "@types/react-dom": "18.2.16",
63
- "@typescript-eslint/eslint-plugin": "6.12.0",
64
- "@typescript-eslint/parser": "6.12.0",
65
- "@vitejs/plugin-react": "4.2.0",
59
+ "@types/node": "20.11.10",
60
+ "@types/react": "18.2.48",
61
+ "@types/react-dom": "18.2.18",
62
+ "@typescript-eslint/eslint-plugin": "6.19.1",
63
+ "@typescript-eslint/parser": "6.19.1",
64
+ "@vitejs/plugin-react": "4.2.1",
66
65
  "@vitejs/plugin-react-swc": "3.5.0",
67
- "clsx": "2.0.0",
68
66
  "concurrently": "8.2.2",
69
- "csstype": "3.1.2",
70
- "edifice-bootstrap": "develop",
71
- "edifice-ts-client": "develop",
72
- "eslint": "8.54.0",
73
- "eslint-config-prettier": "9.0.0",
74
- "eslint-plugin-import": "2.29.0",
67
+ "csstype": "3.1.3",
68
+ "edifice-bootstrap": "develop-b2school",
69
+ "edifice-ts-client": "develop-b2school",
70
+ "eslint": "8.56.0",
71
+ "eslint-config-prettier": "9.1.0",
72
+ "eslint-plugin-import": "2.29.1",
75
73
  "eslint-plugin-jsx-a11y": "6.8.0",
76
74
  "eslint-plugin-react": "7.33.2",
77
75
  "eslint-plugin-react-hooks": "4.6.0",
78
76
  "eslint-plugin-react-refresh": "0.4.5",
79
77
  "husky": "8.0.3",
80
- "lint-staged": "15.1.0",
81
- "prettier": "3.1.0",
82
- "typescript": "5.2.2",
83
- "vite": "4.5.1",
84
- "vite-plugin-dts": "3.7.0",
85
- "vite-tsconfig-paths": "4.2.1"
78
+ "lint-staged": "15.2.0",
79
+ "prettier": "3.2.4",
80
+ "typescript": "5.3.3",
81
+ "vite": "5.0.12",
82
+ "vite-plugin-dts": "3.7.2",
83
+ "vite-tsconfig-paths": "4.3.1"
86
84
  },
87
85
  "peerDependencies": {
88
86
  "@edifice-ui/icons": "*",
@@ -90,17 +88,17 @@
90
88
  "@react-spring/web": "9.7.3",
91
89
  "@tanstack/react-query": "5.8.4",
92
90
  "clsx": "2.0.0",
93
- "i18next": "23.7.6",
91
+ "i18next": "23.8.1",
94
92
  "i18next-http-backend": "2.4.2",
95
93
  "react": "18.2.0",
96
94
  "react-dom": "18.2.0",
97
- "react-hook-form": "7.49.2",
98
- "react-i18next": "13.5.0",
99
- "zustand": "4.4.6"
95
+ "react-hook-form": "7.49.3",
96
+ "react-i18next": "14.0.1",
97
+ "zustand": "4.5.0"
100
98
  },
101
99
  "packageManager": "pnpm@8.6.6",
102
100
  "engines": {
103
- "node": "18"
101
+ "node": "18 || 20"
104
102
  },
105
103
  "scripts": {
106
104
  "build": "vite build && vite build --mode lib",
@@ -1 +0,0 @@
1
- import{Y as r}from"./edifice-react.js";import"./react.js";import"/assets/js/edifice-ts-client/index.js";import"./edifice-icons.js";export{r as default};
package/lib/ShareModal.js DELETED
@@ -1,5 +0,0 @@
1
- import "@edifice-ui/react";
2
- import { ShareModal as d } from "@edifice-ui/react";
3
- export {
4
- d as default
5
- };