@refinedev/devtools-internal 1.1.11 → 1.1.12

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 +1,3 @@
1
- {"version":3,"file":"clean-stack.d.ts","sourceRoot":"","sources":["../src/clean-stack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD,eAAO,MAAM,UAAU,UAAW,UAAU,EAAE,iBAU7C,CAAC"}
1
+ import type { StackFrame } from "error-stack-parser";
2
+ export declare const cleanStack: (stack: StackFrame[]) => StackFrame[];
3
+ //# sourceMappingURL=clean-stack.d.ts.map
@@ -1 +1,2 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,QAGD,CAAC"}
1
+ export declare const REFINE_PACKAGE_FILEPATH_REGEXP: RegExp;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"create-identifier.d.ts","sourceRoot":"","sources":["../src/create-identifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEnE,eAAO,MAAM,gBAAgB,SACrB,QAAQ,GAAG,WAAW,UACpB,SAAS,EAAE,WAWpB,CAAC"}
1
+ import type { TraceType } from "@refinedev/devtools-shared";
2
+ import type { MutationKey, QueryKey } from "@tanstack/react-query";
3
+ export declare const createIdentifier: (key?: QueryKey | MutationKey, trace?: TraceType[]) => string;
4
+ //# sourceMappingURL=create-identifier.d.ts.map
@@ -1 +1,2 @@
1
- {"version":3,"file":"get-package-name-from-filename.d.ts","sourceRoot":"","sources":["../src/get-package-name-from-filename.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,cAAe,MAAM,uBAU3D,CAAC"}
1
+ export declare const getPackageNameFromFilename: (filename?: string) => string | undefined;
2
+ //# sourceMappingURL=get-package-name-from-filename.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"get-resource-path.d.ts","sourceRoot":"","sources":["../src/get-resource-path.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EAEhB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,QAAQ,GAClB,qBAAqB,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7F,eAAO,MAAM,eAAe,aAChB,UAAU,aACT,OAAO,KACjB,MAAM,GAAG,IAuCX,CAAC"}
1
+ import { type DevtoolsEvent, type DevtoolsEventPayloads, type RefineHook } from "@refinedev/devtools-shared";
2
+ export type Activity = DevtoolsEventPayloads[DevtoolsEvent.DEVTOOLS_ACTIVITY_UPDATE]["updatedActivities"][number];
3
+ export declare const getResourcePath: (hookName: RefineHook, legacyKey: boolean) => string | null;
4
+ //# sourceMappingURL=get-resource-path.d.ts.map
@@ -1 +1,3 @@
1
- {"version":3,"file":"get-trace.d.ts","sourceRoot":"","sources":["../src/get-trace.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,wBAAgB,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,EAAE,eA0BnD"}
1
+ import type { TraceType } from "@refinedev/devtools-shared";
2
+ export declare function getTrace(excludeFromTrace?: string[]): TraceType[];
3
+ //# sourceMappingURL=get-trace.d.ts.map
@@ -1 +1,10 @@
1
- {"version":3,"file":"get-xray.d.ts","sourceRoot":"","sources":["../src/get-xray.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAIxE,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,OAAO,CACrB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,OAAO,EAClB,YAAY,CAAC,EAAE,MAAM,EACrB,gBAAgB,CAAC,EAAE,MAAM,EAAE,GAC1B,YAAY,CAoBd"}
1
+ import type { TraceType } from "@refinedev/devtools-shared";
2
+ export type XRayResponse = {
3
+ hookName: string;
4
+ trace: TraceType[];
5
+ resourcePath: string | null;
6
+ legacyKey: boolean;
7
+ resourceName?: string;
8
+ };
9
+ export declare function getXRay(hookName: string, legacyKey: boolean, resourceName?: string, excludeFromTrace?: string[]): XRayResponse;
10
+ //# sourceMappingURL=get-xray.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC"}
1
+ export { getTrace } from "./get-trace.js";
2
+ export { getXRay } from "./get-xray.js";
3
+ export { useQuerySubscription } from "./use-query-subscription.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
- {"version":3,"file":"is-refine-stack.d.ts","sourceRoot":"","sources":["../src/is-refine-stack.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,cAAe,MAAM,YAM9C,CAAC"}
1
+ export declare const isRefineStack: (filename?: string) => boolean;
2
+ //# sourceMappingURL=is-refine-stack.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"listeners.d.ts","sourceRoot":"","sources":["../src/listeners.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAK7D,eAAO,MAAM,sBAAsB,OAC5B,SAAS,iBAAiB,QAAQ,SAoBtC,CAAC;AAEJ,eAAO,MAAM,mBAAmB,OAAQ,SAAS,aAAa,KAAK,SAgBlE,CAAC"}
1
+ import type { Mutation, Query } from "@tanstack/react-query";
2
+ export declare const createMutationListener: (ws: WebSocket) => (mutation?: Mutation) => void;
3
+ export declare const createQueryListener: (ws: WebSocket) => (query: Query) => void;
4
+ //# sourceMappingURL=listeners.d.ts.map
@@ -1 +1,3 @@
1
- {"version":3,"file":"use-query-subscription.d.ts","sourceRoot":"","sources":["../src/use-query-subscription.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIzD,eAAO,MAAM,oBAAoB,gBAKb,WAAW,OA6DxB,CAAC"}
1
+ import type { QueryClient } from "@tanstack/react-query";
2
+ export declare const useQuerySubscription: (queryClient: QueryClient) => {};
3
+ //# sourceMappingURL=use-query-subscription.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinedev/devtools-internal",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "private": false,
5
5
  "description": "refine devtools offers a set of features from monitoring to quickly prototyping a UI.",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "src"
32
32
  ],
33
33
  "dependencies": {
34
- "@refinedev/devtools-shared": "1.1.9",
34
+ "@refinedev/devtools-shared": "1.1.10",
35
35
  "@tanstack/react-query": "^4.10.1",
36
36
  "error-stack-parser": "^2.1.4"
37
37
  },