@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 PipeCatalogTableData, type PipeCategory, type PipeId } from "@pipe0/client-sdk";
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: [string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]][];
15
- sortedOutputFieldEntries: [string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]][];
16
- sortedTagEntries: [string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]][];
17
- sortedProviderEntries: [string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]][];
18
- pipeIdsByInputField: Record<string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]>;
19
- pipeIdsByOutputField: Record<string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]>;
20
- pipeIdsByProvider: Record<string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]>;
21
- pipeIdsByTag: Record<string, ("run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1")[]>;
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: Record<string, (import("@pipe0/client-sdk").PipeMetaCatalogEntry<"run:prompt@1" | "company:newssummary:website@1" | "website:technologystack:builtwith@1" | "company:websiteurl:email@1" | "people:workemail:waterfall@1" | "people:is:workemail@1" | "people:split:name@1" | "people:join:name@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:personalemail:professionalprofile:waterfall@1" | "people:validate:email:zerobounce@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "people:mobilenumber:workemail:waterfall@1" | "company:profile:builtwith@1" | "company:identity@1" | "company:overview@1"> & {
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: PipeCategory;
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,EAGL,KAAK,oBAAoB,EACzB,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,MAA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Ac,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
@@ -1,3 +1,2 @@
1
1
  export * from "./hooks/usePipeCatalogTable.js";
2
- export * from "@pipe0/client-sdk";
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1 @@
1
1
  export * from "./hooks/usePipeCatalogTable.js";
2
- export * from "@pipe0/client-sdk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipe0/react-sdk",
3
- "version": "0.0.5",
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
- "@pipe0/client-sdk": "workspace:*",
36
- "react": "catalog:",
37
- "react-dom": "catalog:",
38
- "@tanstack/react-table": "catalog:"
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
- "@pipe0/eslint-config": "workspace:*",
42
- "@types/react": "catalog:",
34
+ "@types/react": "^19.0.8",
43
35
  "@types/node": "^22.13.2",
44
- "eslint": "catalog:",
45
- "@types/react-dom": "catalog:"
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
+ }