@graphiql/plugin-doc-explorer 0.3.1-canary-5028aa1e.0 → 0.3.1-canary-23fbed22.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/context.d.ts CHANGED
@@ -50,29 +50,9 @@ export declare const docExplorerStore: import('zustand').StoreApi<DocExplorerSto
50
50
  export declare const DocExplorerStore: FC<{
51
51
  children: ReactNode;
52
52
  }>;
53
- export declare const useDocExplorer: () => DocExplorerNavStack;
53
+ export declare const useDocExplorer: () => any;
54
54
  /**
55
55
  * Actions are functions used to update values in your store. They are static and never change.
56
56
  * @see https://tkdodo.eu/blog/working-with-zustand#separate-actions-from-state
57
57
  */
58
- export declare const useDocExplorerActions: () => {
59
- /**
60
- * Push an item to the navigation stack.
61
- * @param item The item that should be pushed to the stack.
62
- */
63
- push(item: DocExplorerNavStackItem): void;
64
- /**
65
- * Pop the last item from the navigation stack.
66
- */
67
- pop(): void;
68
- /**
69
- * Reset the navigation stack to its initial state, this will remove all but
70
- * the initial stack item.
71
- */
72
- reset(): void;
73
- resolveSchemaReferenceToNavItem(schemaReference: SchemaReference | null): void;
74
- /**
75
- * Replace the nav stack with an updated version using the new schema.
76
- */
77
- rebuildNavStackWithSchema(schema: GraphQLSchema): void;
78
- };
58
+ export declare const useDocExplorerActions: () => any;
@@ -1,11 +1,4 @@
1
1
  /**
2
2
  * @deprecated Use `useDocExplorerActions` and `useDocExplorer` hooks instead.
3
3
  */
4
- export declare function useExplorerContext(): {
5
- explorerNavStack: import('./context').DocExplorerNavStack;
6
- push(item: import('./context').DocExplorerNavStackItem): void;
7
- pop(): void;
8
- reset(): void;
9
- resolveSchemaReferenceToNavItem(schemaReference: import('@graphiql/react').SchemaReference | null): void;
10
- rebuildNavStackWithSchema(schema: import('graphql').GraphQLSchema): void;
11
- };
4
+ export declare function useExplorerContext(): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphiql/plugin-doc-explorer",
3
- "version": "0.3.1-canary-5028aa1e.0",
3
+ "version": "0.3.1-canary-23fbed22.0",
4
4
  "sideEffects": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,12 +36,12 @@
36
36
  "test": "vitest"
37
37
  },
38
38
  "peerDependencies": {
39
+ "@graphiql/react": "^0.36.0-canary-23fbed22.0",
39
40
  "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0",
40
41
  "react": "^18 || ^19",
41
42
  "react-dom": "^18 || ^19"
42
43
  },
43
44
  "dependencies": {
44
- "@graphiql/react": "^0.36.0-canary-5028aa1e.0",
45
45
  "@headlessui/react": "^2.2",
46
46
  "react-compiler-runtime": "19.1.0-rc.1",
47
47
  "zustand": "^5"