@pipe0/react-sdk 0.0.5 → 0.0.8
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 { type
|
|
1
|
+
import { type PipeCategory, type PipeId } from "@pipe0/client-sdk";
|
|
2
2
|
import { type ColumnFilter } from "@tanstack/react-table";
|
|
3
3
|
export declare function useDebounce(cb: (v: string) => unknown, config?: {
|
|
4
4
|
initialValue?: string;
|
|
@@ -11,28 +11,26 @@ export declare function usePipeCatalogTable(config?: {
|
|
|
11
11
|
}): {
|
|
12
12
|
table: import("@tanstack/react-table").Table<PipeCatalogTableData>;
|
|
13
13
|
sidebar: {
|
|
14
|
-
sortedInputFieldEntries:
|
|
15
|
-
sortedOutputFieldEntries:
|
|
16
|
-
sortedTagEntries:
|
|
17
|
-
sortedProviderEntries:
|
|
18
|
-
pipeIdsByInputField:
|
|
19
|
-
pipeIdsByOutputField:
|
|
20
|
-
pipeIdsByProvider:
|
|
21
|
-
pipeIdsByTag:
|
|
14
|
+
sortedInputFieldEntries: any;
|
|
15
|
+
sortedOutputFieldEntries: any;
|
|
16
|
+
sortedTagEntries: any;
|
|
17
|
+
sortedProviderEntries: any;
|
|
18
|
+
pipeIdsByInputField: any;
|
|
19
|
+
pipeIdsByOutputField: any;
|
|
20
|
+
pipeIdsByProvider: any;
|
|
21
|
+
pipeIdsByTag: any;
|
|
22
22
|
expandedSidebarSections: string[];
|
|
23
23
|
setExpandedSidebarSections: import("react").Dispatch<import("react").SetStateAction<string[]>>;
|
|
24
24
|
removeColumnFilter: (id: "inputFields" | "outputFields" | "tags" | "providers") => void;
|
|
25
25
|
addColumnFilter: (id: "inputFields" | "outputFields" | "tags" | "providers", value: string) => void;
|
|
26
26
|
};
|
|
27
|
-
pipeEntriesByBasePipe:
|
|
28
|
-
pipeId: PipeId;
|
|
29
|
-
})[]>;
|
|
27
|
+
pipeEntriesByBasePipe: any;
|
|
30
28
|
filterByField: (id: "inputFields" | "outputFields", fieldName: string) => void;
|
|
31
29
|
globalFilterInput: string;
|
|
32
30
|
setGlobalFilterInput: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
33
31
|
isFilterChecked: (id: "inputFields" | "outputFields" | "tags" | "providers", value: string) => boolean;
|
|
34
32
|
resetColumnFilters: () => void;
|
|
35
|
-
category:
|
|
33
|
+
category: any;
|
|
36
34
|
setCategory: (category: PipeCategory | null) => void;
|
|
37
35
|
showFeaturedPipes: boolean;
|
|
38
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePipeCatalogTable.d.ts","sourceRoot":"","sources":["../../src/hooks/usePipeCatalogTable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"usePipeCatalogTable.d.ts","sourceRoot":"","sources":["../../src/hooks/usePipeCatalogTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,YAAY,EACjB,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EAMlB,MAAM,uBAAuB,CAAC;AAG/B,wBAAgB,WAAW,CACzB,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,EAC1B,MAAM,GAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,2FAQjB,MAAM,WAc9C;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AA0B1D,wBAAgB,mBAAmB,CACjC,MAAM,GAAE;IACN,oBAAoB,CAAC,EAAE,YAAY,EAAE,CAAC;CAClC;;;;;;;;;;;;;iCAkFA,aAAa,GAAG,cAAc,GAAG,MAAM,GAAG,WAAW;8BAhBrD,aAAa,GAAG,cAAc,GAAG,MAAM,GAAG,WAAW,SAClD,MAAM;;;wBA4BT,aAAa,GAAG,cAAc,aACvB,MAAM;;;0BARb,aAAa,GAAG,cAAc,GAAG,MAAM,GAAG,WAAW,SAClD,MAAM;;;4BA1CgB,YAAY,GAAG,IAAI;;EA0FnD"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipe0/react-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React utils to work with pipe0",
|
|
6
6
|
"keywords": [
|
|
@@ -22,26 +22,25 @@
|
|
|
22
22
|
".": "./dist/index.js"
|
|
23
23
|
},
|
|
24
24
|
"private": false,
|
|
25
|
-
"scripts": {
|
|
26
|
-
"lint": "eslint . --max-warnings 0",
|
|
27
|
-
"check-types": "tsc --noEmit",
|
|
28
|
-
"dev": " tsc --watch",
|
|
29
|
-
"build": "rm -rf ./dist && tsc",
|
|
30
|
-
"prepublishOnly": "pnpm run build"
|
|
31
|
-
},
|
|
32
25
|
"author": "",
|
|
33
26
|
"license": "MIT",
|
|
34
27
|
"dependencies": {
|
|
35
|
-
"
|
|
36
|
-
"react": "
|
|
37
|
-
"react-
|
|
38
|
-
"@
|
|
28
|
+
"react": "^19.0.0",
|
|
29
|
+
"react-dom": "^19.0.0",
|
|
30
|
+
"@tanstack/react-table": "^8.21.2",
|
|
31
|
+
"@pipe0/client-sdk": "0.0.51"
|
|
39
32
|
},
|
|
40
33
|
"devDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"@types/react": "catalog:",
|
|
34
|
+
"@types/react": "^19.0.8",
|
|
43
35
|
"@types/node": "^22.13.2",
|
|
44
|
-
"eslint": "
|
|
45
|
-
"@types/react-dom": "
|
|
36
|
+
"eslint": "^9.30.0",
|
|
37
|
+
"@types/react-dom": "^19.0.3",
|
|
38
|
+
"@pipe0/eslint-config": "0.0.0"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"lint": "eslint . --max-warnings 0",
|
|
42
|
+
"check-types": "tsc --noEmit",
|
|
43
|
+
"dev": " tsc --watch",
|
|
44
|
+
"build": "rm -rf ./dist && tsc"
|
|
46
45
|
}
|
|
47
|
-
}
|
|
46
|
+
}
|