@edifice.io/wiki 3.6.18-develop-enabling.20261014142901 → 3.6.18-develop-pedago.20261014170501

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.
@@ -1,4 +1,4 @@
1
- import { AssistantGenerateRequest, AssistantGenerateResponse } from './assistant.types';
1
+ import { AssistantGenerateRequest, AssistantGenerateResponse, AssistantImportPDFRequest, AssistantImportPDFResponse } from './assistant.types';
2
2
  export declare const baseURL = "/wiki";
3
3
  export declare const assistantService: {
4
4
  /**
@@ -6,4 +6,10 @@ export declare const assistantService: {
6
6
  * @returns a Promise of PagesStructureResponse
7
7
  */
8
8
  generate(requestPayload: AssistantGenerateRequest): Promise<AssistantGenerateResponse>;
9
+ /**
10
+ * Post the pdf import for AI Course generation
11
+ * @param requestPayload the request payload
12
+ * @returns
13
+ */
14
+ importPDF(requestPayload: AssistantImportPDFRequest): Promise<AssistantImportPDFResponse>;
9
15
  };
@@ -17,3 +17,10 @@ export interface AssistantGenerateResponse {
17
17
  export interface PageStructure {
18
18
  title: string;
19
19
  }
20
+ export interface AssistantImportPDFRequest {
21
+ fileId: string;
22
+ wikiId: string;
23
+ }
24
+ export interface AssistantImportPDFResponse {
25
+ wikiId: string;
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/wiki",
3
- "version": "3.6.18-develop-enabling.20261014142901",
3
+ "version": "3.6.18-develop-pedago.20261014170501",
4
4
  "description": "Wiki application",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "Edifice",
@@ -23,7 +23,7 @@
23
23
  "i18next": "23.8.1",
24
24
  "i18next-http-backend": "2.4.2",
25
25
  "lottie-react": "2.4.1",
26
- "ode-explorer": "develop-enabling",
26
+ "ode-explorer": "develop-pedago",
27
27
  "react-error-boundary": "4.0.13",
28
28
  "react-hook-form": "7.71.1",
29
29
  "react-router-dom": "6.30.3",
@@ -41,10 +41,10 @@
41
41
  "devDependencies": {
42
42
  "@axe-core/react": "4.11.1",
43
43
  "@babel/plugin-transform-react-pure-annotations": "7.23.3",
44
- "@edifice.io/bootstrap": "develop-enabling",
45
- "@edifice.io/cli": "develop-enabling",
46
- "@edifice.io/client": "develop-enabling",
47
- "@edifice.io/react": "develop-enabling",
44
+ "@edifice.io/bootstrap": "develop-pedago",
45
+ "@edifice.io/cli": "develop-pedago",
46
+ "@edifice.io/client": "develop-pedago",
47
+ "@edifice.io/react": "develop-pedago",
48
48
  "@eslint/js": "9.39.2",
49
49
  "@tanstack/react-query": "5.62.7",
50
50
  "@tanstack/react-query-devtools": "5.91.3",
@@ -1 +0,0 @@
1
- export declare const PagesAssistantImportPollCard: () => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- export declare const pollQueryOptions: {
2
- base: readonly ["poll"];
3
- findOne: (pollName: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../api/poll/poll.types').Poll, Error, import('../../api/poll/poll.types').Poll, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
4
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../api/poll/poll.types').Poll, import('@tanstack/react-query').QueryKey, never> | undefined;
5
- } & {
6
- queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../api/poll/poll.types').Poll>;
7
- };
8
- };
9
- export declare const useGetPoll: (pollName: string) => import('@tanstack/react-query').UseQueryResult<import('../../api/poll/poll.types').Poll, Error>;
@@ -1 +0,0 @@
1
- export {};