@story-protocol/ipkit 0.4.0-beta.9
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/components/Accordion/Accordion.d.ts +8 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/__docs__/Accordion.stories.d.ts +18 -0
- package/dist/components/Accordion/__docs__/Accordion.stories.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +13 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/__docs__/Button.stories.d.ts +23 -0
- package/dist/components/Button/__docs__/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.d.ts +9 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/__docs__/Checkbox.stories.d.ts +17 -0
- package/dist/components/Checkbox/__docs__/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/DateInputPicker/DateInputPicker.d.ts +23 -0
- package/dist/components/DateInputPicker/DateInputPicker.d.ts.map +1 -0
- package/dist/components/DateInputPicker/__docs__/DateInputPicker.stories.d.ts +31 -0
- package/dist/components/DateInputPicker/__docs__/DateInputPicker.stories.d.ts.map +1 -0
- package/dist/components/DateInputPicker/dateUtils.d.ts +18 -0
- package/dist/components/DateInputPicker/dateUtils.d.ts.map +1 -0
- package/dist/components/DateInputPicker/index.d.ts +2 -0
- package/dist/components/DateInputPicker/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +13 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/__docs__/Input.stories.d.ts +26 -0
- package/dist/components/Input/__docs__/Input.stories.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +7 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/__docs__/Popover.stories.d.ts +17 -0
- package/dist/components/Popover/__docs__/Popover.stories.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +14 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/components/RadioGroup/__docs__/RadioGroup.stories.d.ts +31 -0
- package/dist/components/RadioGroup/__docs__/RadioGroup.stories.d.ts.map +1 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/utility/If.d.ts +9 -0
- package/dist/components/utility/If.d.ts.map +1 -0
- package/dist/components/utility/context.d.ts +12 -0
- package/dist/components/utility/context.d.ts.map +1 -0
- package/dist/constants/api.d.ts +5 -0
- package/dist/constants/api.d.ts.map +1 -0
- package/dist/constants/chains.d.ts +10 -0
- package/dist/constants/chains.d.ts.map +1 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/pil-flavors.d.ts +7 -0
- package/dist/constants/pil-flavors.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +15 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/stories/(components)/CopyText.d.ts +8 -0
- package/dist/hooks/stories/(components)/CopyText.d.ts.map +1 -0
- package/dist/hooks/stories/(components)/DataTable.d.ts +8 -0
- package/dist/hooks/stories/(components)/DataTable.d.ts.map +1 -0
- package/dist/hooks/stories/useCollection.stories.d.ts +20 -0
- package/dist/hooks/stories/useCollection.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useCollections.stories.d.ts +28 -0
- package/dist/hooks/stories/useCollections.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useDispute.stories.d.ts +20 -0
- package/dist/hooks/stories/useDispute.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useDisputes.stories.d.ts +37 -0
- package/dist/hooks/stories/useDisputes.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAsset.stories.d.ts +21 -0
- package/dist/hooks/stories/useIpAsset.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetChildren.stories.d.ts +28 -0
- package/dist/hooks/stories/useIpAssetChildren.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetEdges.stories.d.ts +27 -0
- package/dist/hooks/stories/useIpAssetEdges.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetLicenses.stories.d.ts +20 -0
- package/dist/hooks/stories/useIpAssetLicenses.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetParents.stories.d.ts +28 -0
- package/dist/hooks/stories/useIpAssetParents.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssets.stories.d.ts +38 -0
- package/dist/hooks/stories/useIpAssets.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetsByOwner.stories.d.ts +30 -0
- package/dist/hooks/stories/useIpAssetsByOwner.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useSearch.stories.d.ts +19 -0
- package/dist/hooks/stories/useSearch.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useTransaction.stories.d.ts +20 -0
- package/dist/hooks/stories/useTransaction.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useTransactions.stories.d.ts +30 -0
- package/dist/hooks/stories/useTransactions.stories.d.ts.map +1 -0
- package/dist/hooks/useCollection.d.ts +10 -0
- package/dist/hooks/useCollection.d.ts.map +1 -0
- package/dist/hooks/useCollections.d.ts +11 -0
- package/dist/hooks/useCollections.d.ts.map +1 -0
- package/dist/hooks/useDispute.d.ts +8 -0
- package/dist/hooks/useDispute.d.ts.map +1 -0
- package/dist/hooks/useDisputes.d.ts +12 -0
- package/dist/hooks/useDisputes.d.ts.map +1 -0
- package/dist/hooks/useIpAsset.d.ts +11 -0
- package/dist/hooks/useIpAsset.d.ts.map +1 -0
- package/dist/hooks/useIpAssetChildren.d.ts +11 -0
- package/dist/hooks/useIpAssetChildren.d.ts.map +1 -0
- package/dist/hooks/useIpAssetEdges.d.ts +12 -0
- package/dist/hooks/useIpAssetEdges.d.ts.map +1 -0
- package/dist/hooks/useIpAssetLicenses.d.ts +10 -0
- package/dist/hooks/useIpAssetLicenses.d.ts.map +1 -0
- package/dist/hooks/useIpAssetParents.d.ts +11 -0
- package/dist/hooks/useIpAssetParents.d.ts.map +1 -0
- package/dist/hooks/useIpAssets.d.ts +14 -0
- package/dist/hooks/useIpAssets.d.ts.map +1 -0
- package/dist/hooks/useIpAssetsByOwner.d.ts +13 -0
- package/dist/hooks/useIpAssetsByOwner.d.ts.map +1 -0
- package/dist/hooks/useSearch.d.ts +10 -0
- package/dist/hooks/useSearch.d.ts.map +1 -0
- package/dist/hooks/useTransaction.d.ts +9 -0
- package/dist/hooks/useTransaction.d.ts.map +1 -0
- package/dist/hooks/useTransactions.d.ts +14 -0
- package/dist/hooks/useTransactions.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/api/apiClient.d.ts +7 -0
- package/dist/lib/api/apiClient.d.ts.map +1 -0
- package/dist/lib/api/getCollections.d.ts +346 -0
- package/dist/lib/api/getCollections.d.ts.map +1 -0
- package/dist/lib/api/getDispute.d.ts +134 -0
- package/dist/lib/api/getDispute.d.ts.map +1 -0
- package/dist/lib/api/getDisputes.d.ts +320 -0
- package/dist/lib/api/getDisputes.d.ts.map +1 -0
- package/dist/lib/api/getIpAssetEdges.d.ts +292 -0
- package/dist/lib/api/getIpAssetEdges.d.ts.map +1 -0
- package/dist/lib/api/getIpAssets.d.ts +675 -0
- package/dist/lib/api/getIpAssets.d.ts.map +1 -0
- package/dist/lib/api/getQuery.d.ts +18 -0
- package/dist/lib/api/getQuery.d.ts.map +1 -0
- package/dist/lib/api/getSearch.d.ts +246 -0
- package/dist/lib/api/getSearch.d.ts.map +1 -0
- package/dist/lib/api/getTransactions.d.ts +292 -0
- package/dist/lib/api/getTransactions.d.ts.map +1 -0
- package/dist/lib/api/index.d.ts +9 -0
- package/dist/lib/api/index.d.ts.map +1 -0
- package/dist/lib/api/listQuery.d.ts +16 -0
- package/dist/lib/api/listQuery.d.ts.map +1 -0
- package/dist/lib/functions/convertLicenseTermObject.d.ts +6 -0
- package/dist/lib/functions/convertLicenseTermObject.d.ts.map +1 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +12 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/IpKitProvider.d.ts +25 -0
- package/dist/providers/IpKitProvider/IpKitProvider.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/__docs__/Example.d.ts +11 -0
- package/dist/providers/IpKitProvider/__docs__/Example.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/__docs__/IpKitProvider.stories.d.ts +37 -0
- package/dist/providers/IpKitProvider/__docs__/IpKitProvider.stories.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/index.d.ts +2 -0
- package/dist/providers/IpKitProvider/index.d.ts.map +1 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/server-types.d.ts +3494 -0
- package/dist/server.cjs.js +2 -0
- package/dist/server.cjs.js.map +1 -0
- package/dist/server.d.ts +4 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.esm.js +2 -0
- package/dist/server.esm.js.map +1 -0
- package/dist/stories/data/index.d.ts +9 -0
- package/dist/stories/data/index.d.ts.map +1 -0
- package/dist/storyprotocol-storykit.cjs.js +2 -0
- package/dist/storyprotocol-storykit.cjs.js.map +1 -0
- package/dist/storyprotocol-storykit.esm.js +2 -0
- package/dist/storyprotocol-storykit.esm.js.map +1 -0
- package/dist/types/assets.d.ts +58 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/chains.d.ts +25 -0
- package/dist/types/chains.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/openapi.d.ts +30 -0
- package/dist/types/openapi.d.ts.map +1 -0
- package/dist/types/schema.d.ts +1065 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types.d.ts +3622 -0
- package/package.json +132 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseCollectionsOptions } from "../useCollections";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseCollectionsOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
collectionAddresses: never[];
|
|
12
|
+
options: {
|
|
13
|
+
pagination: {
|
|
14
|
+
limit: number;
|
|
15
|
+
offset: number;
|
|
16
|
+
};
|
|
17
|
+
orderBy: "updatedAt";
|
|
18
|
+
orderDirection: "desc";
|
|
19
|
+
};
|
|
20
|
+
queryOptions: {
|
|
21
|
+
enabled: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
//# sourceMappingURL=useCollections.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCollections.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useCollections.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,qBAAqB,EAAkB,MAAM,mBAAmB,CAAA;AAYzE,QAAA,MAAM,IAAI;;sBATa,qBAAqB;;;;;;;;;;;;;;;;;;CA0BZ,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseDisputeOptions } from "../useDispute";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseDisputeOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
disputeId: string;
|
|
12
|
+
queryOptions: {
|
|
13
|
+
enabled: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
//# sourceMappingURL=useDispute.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDispute.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useDispute.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAc,MAAM,eAAe,CAAA;AAY7D,QAAA,MAAM,IAAI;;sBATa,iBAAiB;;;;;;;;;;CAqBR,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseDisputesOptions } from "../useDisputes";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseDisputesOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
argTypes: {
|
|
11
|
+
targetIpId: {
|
|
12
|
+
control: "text";
|
|
13
|
+
};
|
|
14
|
+
initiator: {
|
|
15
|
+
control: "text";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
args: {
|
|
19
|
+
targetIpId: undefined;
|
|
20
|
+
initiator: undefined;
|
|
21
|
+
options: {
|
|
22
|
+
pagination: {
|
|
23
|
+
limit: number;
|
|
24
|
+
offset: number;
|
|
25
|
+
};
|
|
26
|
+
orderBy: string;
|
|
27
|
+
orderDirection: string;
|
|
28
|
+
};
|
|
29
|
+
queryOptions: {
|
|
30
|
+
enabled: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default meta;
|
|
35
|
+
type Story = StoryObj<typeof meta>;
|
|
36
|
+
export declare const Default: Story;
|
|
37
|
+
//# sourceMappingURL=useDisputes.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisputes.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useDisputes.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAe,MAAM,gBAAgB,CAAA;AAYhE,QAAA,MAAM,IAAI;;sBATa,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCT,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetOptions } from "../useIpAsset";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
ipId: "0xE760E4c9486FE0C81E75f1a7e50D82EFD7625E73";
|
|
12
|
+
includeLicenses: true;
|
|
13
|
+
queryOptions: {
|
|
14
|
+
enabled: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Default: Story;
|
|
21
|
+
//# sourceMappingURL=useIpAsset.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAsset.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAsset.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAc,MAAM,eAAe,CAAA;AAsB7D,QAAA,MAAM,IAAI;;sBAnBa,iBAAiB;;;;;;;;;;;CAgCR,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetChildrenOptions } from "../useIpAssetChildren";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetChildrenOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
ipId: "0xE760E4c9486FE0C81E75f1a7e50D82EFD7625E73";
|
|
12
|
+
options: {
|
|
13
|
+
pagination: {
|
|
14
|
+
limit: number;
|
|
15
|
+
offset: number;
|
|
16
|
+
};
|
|
17
|
+
orderBy: "blockNumber";
|
|
18
|
+
orderDirection: "desc";
|
|
19
|
+
};
|
|
20
|
+
queryOptions: {
|
|
21
|
+
enabled: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
//# sourceMappingURL=useIpAssetChildren.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetChildren.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAssetChildren.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,yBAAyB,EAAsB,MAAM,uBAAuB,CAAA;AAYrF,QAAA,MAAM,IAAI;;sBATa,yBAAyB;;;;;;;;;;;;;;;;;;CA0BhB,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetEdgesOptions } from "../useIpAssetEdges";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetEdgesOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
options: {
|
|
12
|
+
pagination: {
|
|
13
|
+
limit: number;
|
|
14
|
+
offset: number;
|
|
15
|
+
};
|
|
16
|
+
orderBy: "blockNumber";
|
|
17
|
+
orderDirection: "desc";
|
|
18
|
+
};
|
|
19
|
+
queryOptions: {
|
|
20
|
+
enabled: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default meta;
|
|
25
|
+
type Story = StoryObj<typeof meta>;
|
|
26
|
+
export declare const Default: Story;
|
|
27
|
+
//# sourceMappingURL=useIpAssetEdges.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetEdges.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAssetEdges.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,sBAAsB,EAAmB,MAAM,oBAAoB,CAAA;AAY5E,QAAA,MAAM,IAAI;;sBATa,sBAAsB;;;;;;;;;;;;;;;;;CAyBb,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetLicensesOptions } from "../useIpAssetLicenses";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetLicensesOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
ipId: "0xE760E4c9486FE0C81E75f1a7e50D82EFD7625E73";
|
|
12
|
+
queryOptions: {
|
|
13
|
+
enabled: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
//# sourceMappingURL=useIpAssetLicenses.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetLicenses.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAssetLicenses.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,yBAAyB,EAAsB,MAAM,uBAAuB,CAAA;AAoBrF,QAAA,MAAM,IAAI;;sBAjBa,yBAAyB;;;;;;;;;;CA6BhB,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetParentsOptions } from "../useIpAssetParents";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetParentsOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
ipId: "0x8FE1843eCB8c5d6A6427c82Bc0218dF8e5dc3ff0";
|
|
12
|
+
options: {
|
|
13
|
+
pagination: {
|
|
14
|
+
limit: number;
|
|
15
|
+
offset: number;
|
|
16
|
+
};
|
|
17
|
+
orderBy: "blockNumber";
|
|
18
|
+
orderDirection: "desc";
|
|
19
|
+
};
|
|
20
|
+
queryOptions: {
|
|
21
|
+
enabled: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
//# sourceMappingURL=useIpAssetParents.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetParents.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAssetParents.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,wBAAwB,EAAqB,MAAM,sBAAsB,CAAA;AAYlF,QAAA,MAAM,IAAI;;sBATa,wBAAwB;;;;;;;;;;;;;;;;;;CA0Bf,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetsOptions } from "../useIpAssets";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetsOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
argTypes: {
|
|
11
|
+
tokenContract: {
|
|
12
|
+
control: "text";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
args: {
|
|
16
|
+
ipIds: never[];
|
|
17
|
+
tokenContract: undefined;
|
|
18
|
+
includeLicenses: true;
|
|
19
|
+
moderated: false;
|
|
20
|
+
options: {
|
|
21
|
+
orderBy: "blockNumber";
|
|
22
|
+
orderDirection: "desc";
|
|
23
|
+
includeLicenses: true;
|
|
24
|
+
moderated: false;
|
|
25
|
+
pagination: {
|
|
26
|
+
offset: number;
|
|
27
|
+
limit: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
queryOptions: {
|
|
31
|
+
enabled: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default meta;
|
|
36
|
+
type Story = StoryObj<typeof meta>;
|
|
37
|
+
export declare const Default: Story;
|
|
38
|
+
//# sourceMappingURL=useIpAssets.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssets.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAssets.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAe,MAAM,gBAAgB,CAAA;AAoBhE,QAAA,MAAM,IAAI;;sBAjBa,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CT,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseIpAssetsByOwnerOptions } from "../useIpAssetsByOwner";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseIpAssetsByOwnerOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
ownerAddress: "0x9474F1E311671b1343118317C7691804c63eCAe6";
|
|
12
|
+
includeLicenses: false;
|
|
13
|
+
moderated: false;
|
|
14
|
+
options: {
|
|
15
|
+
orderBy: "blockNumber";
|
|
16
|
+
orderDirection: "desc";
|
|
17
|
+
pagination: {
|
|
18
|
+
offset: number;
|
|
19
|
+
limit: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
queryOptions: {
|
|
23
|
+
enabled: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
export declare const Default: Story;
|
|
30
|
+
//# sourceMappingURL=useIpAssetsByOwner.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetsByOwner.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useIpAssetsByOwner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,yBAAyB,EAAsB,MAAM,uBAAuB,CAAA;AAoBrF,QAAA,MAAM,IAAI;;sBAjBa,yBAAyB;;;;;;;;;;;;;;;;;;;;CAuChB,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseSearchOptions } from "../useSearch";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseSearchOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
query: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
type Story = StoryObj<typeof meta>;
|
|
16
|
+
export declare const Default: Story;
|
|
17
|
+
export declare const ImageSearch: Story;
|
|
18
|
+
export declare const VideoSearch: Story;
|
|
19
|
+
//# sourceMappingURL=useSearch.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSearch.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useSearch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,gBAAgB,EAAa,MAAM,cAAc,CAAA;AAY1D,QAAA,MAAM,IAAI;;sBATa,gBAAgB;;;;;;;CAkBP,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseTransactionOptions } from "../useTransaction";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseTransactionOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
args: {
|
|
11
|
+
txHash: "0x74ee6618188a165611e1e19d48f9342039aaf58ab8ebf2295fa3b92c39aecbaf";
|
|
12
|
+
queryOptions: {
|
|
13
|
+
enabled: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
//# sourceMappingURL=useTransaction.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTransaction.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useTransaction.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,qBAAqB,EAAkB,MAAM,mBAAmB,CAAA;AAYzE,QAAA,MAAM,IAAI;;sBATa,qBAAqB;;;;;;;;;;CAqBZ,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UseTransactionsOptions } from "../useTransactions";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (args: UseTransactionsOptions) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
argTypes: {
|
|
11
|
+
eventTypes: {
|
|
12
|
+
control: "check";
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
args: {
|
|
17
|
+
txHashes: never[];
|
|
18
|
+
ipIds: never[];
|
|
19
|
+
initiators: never[];
|
|
20
|
+
eventTypes: never[];
|
|
21
|
+
options: {};
|
|
22
|
+
queryOptions: {
|
|
23
|
+
enabled: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
export declare const Default: Story;
|
|
30
|
+
//# sourceMappingURL=useTransactions.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTransactions.stories.d.ts","sourceRoot":"","sources":["../../../src/hooks/stories/useTransactions.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,sBAAsB,EAAmB,MAAM,oBAAoB,CAAA;AAY5E,QAAA,MAAM,IAAI;;sBATa,sBAAsB;;;;;;;;;;;;;;;;;;;;CAwCb,CAAA;AAEhC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { Collection } from "@/types/openapi";
|
|
3
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
4
|
+
import { Address } from "viem";
|
|
5
|
+
export type UseCollectionOptions = {
|
|
6
|
+
collectionAddress: Address;
|
|
7
|
+
queryOptions?: IpQueryOptions;
|
|
8
|
+
};
|
|
9
|
+
export declare function useCollection({ collectionAddress, queryOptions, }: UseCollectionOptions): UseQueryResult<Collection | null>;
|
|
10
|
+
//# sourceMappingURL=useCollection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCollection.d.ts","sourceRoot":"","sources":["../../src/hooks/useCollection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAK9B,MAAM,MAAM,oBAAoB,GAAG;IACjC,iBAAiB,EAAE,OAAO,CAAA;IAC1B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,aAAa,CAAC,EAC5B,iBAAiB,EACjB,YAAY,GACb,EAAE,oBAAoB,GAAG,cAAc,CAAC,UAAU,GAAG,IAAI,CAAC,CAa1D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { CollectionsOptions, CollectionsResponse } from "../lib/api/getCollections";
|
|
5
|
+
export type UseCollectionsOptions = {
|
|
6
|
+
collectionAddresses?: Address[];
|
|
7
|
+
options?: CollectionsOptions;
|
|
8
|
+
queryOptions?: IpQueryOptions;
|
|
9
|
+
};
|
|
10
|
+
export declare function useCollections({ collectionAddresses, options, queryOptions, }?: UseCollectionsOptions): UseQueryResult<CollectionsResponse>;
|
|
11
|
+
//# sourceMappingURL=useCollections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCollections.d.ts","sourceRoot":"","sources":["../../src/hooks/useCollections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAkB,MAAM,2BAA2B,CAAA;AAGnG,MAAM,MAAM,qBAAqB,GAAG;IAClC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAA;IAC/B,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC7B,mBAAmB,EACnB,OAAO,EACP,YAAY,GACb,GAAE,qBAA0B,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAYlE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Dispute, IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
export type UseDisputeOptions = {
|
|
4
|
+
disputeId: string;
|
|
5
|
+
queryOptions?: IpQueryOptions;
|
|
6
|
+
};
|
|
7
|
+
export declare function useDispute({ disputeId, queryOptions }: UseDisputeOptions): UseQueryResult<Dispute | null>;
|
|
8
|
+
//# sourceMappingURL=useDispute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDispute.d.ts","sourceRoot":"","sources":["../../src/hooks/useDispute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAKhE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,iBAAiB,GAAG,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,CAazG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { DisputesOptions, DisputesResponse } from "../lib/api/getDisputes";
|
|
5
|
+
export type UseDisputesOptions = {
|
|
6
|
+
options?: DisputesOptions;
|
|
7
|
+
queryOptions?: IpQueryOptions;
|
|
8
|
+
initiator?: Address;
|
|
9
|
+
targetIpId?: Address;
|
|
10
|
+
};
|
|
11
|
+
export declare function useDisputes({ initiator, targetIpId, options, queryOptions, }?: UseDisputesOptions): UseQueryResult<DisputesResponse>;
|
|
12
|
+
//# sourceMappingURL=useDisputes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisputes.d.ts","sourceRoot":"","sources":["../../src/hooks/useDisputes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAe,MAAM,wBAAwB,CAAA;AAGvF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,YAAY,CAAC,EAAE,cAAc,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,UAAU,EACV,OAAO,EACP,YAAY,GACb,GAAE,kBAAuB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAY5D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { IPAsset } from "@/types/openapi";
|
|
3
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
4
|
+
import { Address } from "viem";
|
|
5
|
+
export type UseIpAssetOptions = {
|
|
6
|
+
ipId: Address;
|
|
7
|
+
includeLicenses?: boolean;
|
|
8
|
+
queryOptions?: IpQueryOptions;
|
|
9
|
+
};
|
|
10
|
+
export declare function useIpAsset({ ipId, includeLicenses, queryOptions }: UseIpAssetOptions): UseQueryResult<IPAsset | null>;
|
|
11
|
+
//# sourceMappingURL=useIpAsset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAsset.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAK9B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,OAAO,CAAA;IACb,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,iBAAiB,GAAG,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,CAarH"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { IpAssetEdgesOptions, IpAssetEdgesResponse } from "../lib/api/getIpAssetEdges";
|
|
5
|
+
export type UseIpAssetChildrenOptions = {
|
|
6
|
+
ipId?: Address;
|
|
7
|
+
options?: IpAssetEdgesOptions;
|
|
8
|
+
queryOptions?: IpQueryOptions;
|
|
9
|
+
};
|
|
10
|
+
export declare function useIpAssetChildren({ ipId, options, queryOptions, }?: UseIpAssetChildrenOptions): UseQueryResult<IpAssetEdgesResponse>;
|
|
11
|
+
//# sourceMappingURL=useIpAssetChildren.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetChildren.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAssetChildren.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAmB,MAAM,4BAA4B,CAAA;AAGvG,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,OAAO,EACP,YAAY,GACb,GAAE,yBAA8B,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAiBvE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { IpAssetEdgesOptions, IpAssetEdgesResponse } from "../lib/api/getIpAssetEdges";
|
|
5
|
+
export type UseIpAssetEdgesOptions = {
|
|
6
|
+
ipId?: Address;
|
|
7
|
+
parentIpId?: Address;
|
|
8
|
+
options?: IpAssetEdgesOptions;
|
|
9
|
+
queryOptions?: IpQueryOptions;
|
|
10
|
+
};
|
|
11
|
+
export declare function useIpAssetEdges({ ipId, parentIpId, options, queryOptions, }?: UseIpAssetEdgesOptions): UseQueryResult<IpAssetEdgesResponse>;
|
|
12
|
+
//# sourceMappingURL=useIpAssetEdges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetEdges.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAssetEdges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAmB,MAAM,4BAA4B,CAAA;AAGvG,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,UAAU,EACV,OAAO,EACP,YAAY,GACb,GAAE,sBAA2B,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAkBpE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { License } from "@/types/openapi";
|
|
3
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
4
|
+
import { Address } from "viem";
|
|
5
|
+
export type UseIpAssetLicensesOptions = {
|
|
6
|
+
ipId: Address;
|
|
7
|
+
queryOptions?: IpQueryOptions;
|
|
8
|
+
};
|
|
9
|
+
export declare function useIpAssetLicenses({ ipId, queryOptions, }: UseIpAssetLicensesOptions): UseQueryResult<License[] | null>;
|
|
10
|
+
//# sourceMappingURL=useIpAssetLicenses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetLicenses.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAssetLicenses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAK9B,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,GACb,EAAE,yBAAyB,GAAG,cAAc,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAc9D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { IpAssetEdgesOptions, IpAssetEdgesResponse } from "../lib/api/getIpAssetEdges";
|
|
5
|
+
export type UseIpAssetParentsOptions = {
|
|
6
|
+
ipId?: Address;
|
|
7
|
+
options?: IpAssetEdgesOptions;
|
|
8
|
+
queryOptions?: IpQueryOptions;
|
|
9
|
+
};
|
|
10
|
+
export declare function useIpAssetParents({ ipId, options, queryOptions, }?: UseIpAssetParentsOptions): UseQueryResult<IpAssetEdgesResponse>;
|
|
11
|
+
//# sourceMappingURL=useIpAssetParents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetParents.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAssetParents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAmB,MAAM,4BAA4B,CAAA;AAGvG,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,OAAO,EACP,YAAY,GACb,GAAE,wBAA6B,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAiBtE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { IpAssetsOptions, IpAssetsResponse } from "../lib/api/getIpAssets";
|
|
5
|
+
export type UseIpAssetsOptions = {
|
|
6
|
+
ipIds?: Address[];
|
|
7
|
+
tokenContract?: Address;
|
|
8
|
+
includeLicenses?: boolean;
|
|
9
|
+
moderated?: boolean;
|
|
10
|
+
options?: IpAssetsOptions;
|
|
11
|
+
queryOptions?: IpQueryOptions;
|
|
12
|
+
};
|
|
13
|
+
export declare function useIpAssets({ ipIds, tokenContract, includeLicenses, moderated, options, queryOptions, }?: UseIpAssetsOptions): UseQueryResult<IpAssetsResponse>;
|
|
14
|
+
//# sourceMappingURL=useIpAssets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssets.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAe,MAAM,wBAAwB,CAAA;AAGvF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,aAAa,EACb,eAAe,EACf,SAAS,EACT,OAAO,EACP,YAAY,GACb,GAAE,kBAAuB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAoB5D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
import { IpAssetsOptions, IpAssetsResponse } from "../lib/api/getIpAssets";
|
|
5
|
+
export type UseIpAssetsByOwnerOptions = {
|
|
6
|
+
ownerAddress?: Address;
|
|
7
|
+
includeLicenses?: boolean;
|
|
8
|
+
moderated?: boolean;
|
|
9
|
+
options?: IpAssetsOptions;
|
|
10
|
+
queryOptions?: IpQueryOptions;
|
|
11
|
+
};
|
|
12
|
+
export declare function useIpAssetsByOwner({ ownerAddress, includeLicenses, moderated, options, queryOptions, }?: UseIpAssetsByOwnerOptions): UseQueryResult<IpAssetsResponse>;
|
|
13
|
+
//# sourceMappingURL=useIpAssetsByOwner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIpAssetsByOwner.d.ts","sourceRoot":"","sources":["../../src/hooks/useIpAssetsByOwner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAe,MAAM,wBAAwB,CAAA;AAGvF,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,eAAe,EACf,SAAS,EACT,OAAO,EACP,YAAY,GACb,GAAE,yBAA8B,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAmBnE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { SearchResponse } from "../lib/api/getSearch";
|
|
4
|
+
export type UseSearchOptions = {
|
|
5
|
+
query: string;
|
|
6
|
+
mediaType?: "audio" | "video" | "image";
|
|
7
|
+
queryOptions?: IpQueryOptions;
|
|
8
|
+
};
|
|
9
|
+
export declare function useSearch({ query, mediaType, queryOptions }: UseSearchOptions): UseQueryResult<SearchResponse>;
|
|
10
|
+
//# sourceMappingURL=useSearch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSearch.d.ts","sourceRoot":"","sources":["../../src/hooks/useSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAA;AAEhE,OAAO,EAAE,cAAc,EAAa,MAAM,sBAAsB,CAAA;AAGhE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;IACvC,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAkB9G"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPTransaction, IpQueryOptions } from "@/types/openapi";
|
|
2
|
+
import { UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
export type UseTransactionOptions = {
|
|
5
|
+
txHash: Address;
|
|
6
|
+
queryOptions?: IpQueryOptions;
|
|
7
|
+
};
|
|
8
|
+
export declare function useTransaction({ txHash, queryOptions }: UseTransactionOptions): UseQueryResult<IPTransaction | null>;
|
|
9
|
+
//# sourceMappingURL=useTransaction.d.ts.map
|