@story-protocol/core-sdk 0.0.1-beta-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +85 -0
- package/dist/declarations/src/client.d.ts +76 -0
- package/dist/declarations/src/client.d.ts.map +1 -0
- package/dist/declarations/src/constants/common.d.ts +3 -0
- package/dist/declarations/src/constants/common.d.ts.map +1 -0
- package/dist/declarations/src/enums/ActionType.d.ts +11 -0
- package/dist/declarations/src/enums/ActionType.d.ts.map +1 -0
- package/dist/declarations/src/enums/ResourceType.d.ts +15 -0
- package/dist/declarations/src/enums/ResourceType.d.ts.map +1 -0
- package/dist/declarations/src/index.d.ts +19 -0
- package/dist/declarations/src/index.d.ts.map +1 -0
- package/dist/declarations/src/resources/ipAsset.d.ts +23 -0
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -0
- package/dist/declarations/src/resources/ipAssetReadOnly.d.ts +26 -0
- package/dist/declarations/src/resources/ipAssetReadOnly.d.ts.map +1 -0
- package/dist/declarations/src/resources/moduleReadOnly.d.ts +25 -0
- package/dist/declarations/src/resources/moduleReadOnly.d.ts.map +1 -0
- package/dist/declarations/src/resources/permission.d.ts +16 -0
- package/dist/declarations/src/resources/permission.d.ts.map +1 -0
- package/dist/declarations/src/resources/permissionReadOnly.d.ts +25 -0
- package/dist/declarations/src/resources/permissionReadOnly.d.ts.map +1 -0
- package/dist/declarations/src/resources/tagging.d.ts +11 -0
- package/dist/declarations/src/resources/tagging.d.ts.map +1 -0
- package/dist/declarations/src/resources/taggingReadOnly.d.ts +24 -0
- package/dist/declarations/src/resources/taggingReadOnly.d.ts.map +1 -0
- package/dist/declarations/src/resources/transaction.d.ts +11 -0
- package/dist/declarations/src/resources/transaction.d.ts.map +1 -0
- package/dist/declarations/src/resources/transactionReadOnly.d.ts +25 -0
- package/dist/declarations/src/resources/transactionReadOnly.d.ts.map +1 -0
- package/dist/declarations/src/types/client.d.ts +23 -0
- package/dist/declarations/src/types/client.d.ts.map +1 -0
- package/dist/declarations/src/types/common.d.ts +6 -0
- package/dist/declarations/src/types/common.d.ts.map +1 -0
- package/dist/declarations/src/types/config.d.ts +19 -0
- package/dist/declarations/src/types/config.d.ts.map +1 -0
- package/dist/declarations/src/types/options.d.ts +12 -0
- package/dist/declarations/src/types/options.d.ts.map +1 -0
- package/dist/declarations/src/types/resources/ipAsset.d.ts +144 -0
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -0
- package/dist/declarations/src/types/resources/module.d.ts +43 -0
- package/dist/declarations/src/types/resources/module.d.ts.map +1 -0
- package/dist/declarations/src/types/resources/permission.d.ts +35 -0
- package/dist/declarations/src/types/resources/permission.d.ts.map +1 -0
- package/dist/declarations/src/types/resources/tagging.d.ts +35 -0
- package/dist/declarations/src/types/resources/tagging.d.ts.map +1 -0
- package/dist/declarations/src/types/resources/transaction.d.ts +52 -0
- package/dist/declarations/src/types/resources/transaction.d.ts.map +1 -0
- package/dist/declarations/src/utils/platform.d.ts +17 -0
- package/dist/declarations/src/utils/platform.d.ts.map +1 -0
- package/dist/story-protocol-core-sdk.cjs.d.ts +2 -0
- package/dist/story-protocol-core-sdk.cjs.d.ts.map +1 -0
- package/dist/story-protocol-core-sdk.cjs.dev.js +2367 -0
- package/dist/story-protocol-core-sdk.cjs.js +7 -0
- package/dist/story-protocol-core-sdk.cjs.prod.js +2367 -0
- package/dist/story-protocol-core-sdk.esm.js +2328 -0
- package/package.json +91 -0
package/README.md
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
core-sdk is the base level sdk to interact with story protocol. It provides functions to both read and write data to the protocol.
|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Install the SDK and ethers.js
|
6
|
+
|
7
|
+
npm
|
8
|
+
|
9
|
+
```shell
|
10
|
+
npm i @story-protocol/core-sdk ethers@^5.7.2
|
11
|
+
```
|
12
|
+
|
13
|
+
pnpm
|
14
|
+
|
15
|
+
```shell
|
16
|
+
pnpm i @story-protocol/core-sdk ethers@^5.7.2
|
17
|
+
```
|
18
|
+
|
19
|
+
yarn
|
20
|
+
|
21
|
+
```shell
|
22
|
+
yarn add @story-protocol/core-sdk ethers@^5.7.2
|
23
|
+
```
|
24
|
+
|
25
|
+
## Set up `.env` file
|
26
|
+
|
27
|
+
(Ask the team to provide the values)
|
28
|
+
|
29
|
+
```
|
30
|
+
NEXT_PUBLIC_API_BASE_URL =
|
31
|
+
NEXT_PUBLIC_FRANCHISE_REGISTRY_CONTRACT =
|
32
|
+
NEXT_PUBLIC_RELATIONSHIP_MODULE_CONTRACT =
|
33
|
+
NEXT_PUBLIC_COLLECT_MODULE_CONTRACT =
|
34
|
+
NEXT_PUBLIC_LICENSING_MODULE_CONTRACT =
|
35
|
+
```
|
36
|
+
|
37
|
+
## Set up SDK client
|
38
|
+
|
39
|
+
Using browser wallet
|
40
|
+
|
41
|
+
```typescript
|
42
|
+
import { StoryClient } from "@story-protocol/core-sdk";
|
43
|
+
import ethers from "ethers";
|
44
|
+
|
45
|
+
// Provider/Signer from browser wallet (i.e Metamask)
|
46
|
+
const provider = new ethers.providers.Web3Provider(window.ethereum);
|
47
|
+
await provider.send("eth_requestAccounts", []);
|
48
|
+
const signer = await provider.getSigner();
|
49
|
+
|
50
|
+
// Instantiate a read-only Story Client with an optional provider
|
51
|
+
const client = StoryClient.newReadOnlyClient({ provider });
|
52
|
+
|
53
|
+
// Instatiate a read/write Story Client with a signer
|
54
|
+
const client = StoryClient.newClient({ signer });
|
55
|
+
```
|
56
|
+
|
57
|
+
Using private key
|
58
|
+
|
59
|
+
```typescript
|
60
|
+
import { StoryClient } from "@story-protocol/core-sdk"
|
61
|
+
import ethers from "ethers"
|
62
|
+
|
63
|
+
// Signer from private key
|
64
|
+
const provider = new ethers.providers.JsonRpcProvider(<YOUR RPC URL>)
|
65
|
+
const signer = new ethers.Wallet(<YOUR PRIVATE KEY>, provider)
|
66
|
+
|
67
|
+
// Instantiate the Story Client
|
68
|
+
const client = StoryClient.newClient({ signer })
|
69
|
+
|
70
|
+
```
|
71
|
+
|
72
|
+
## Use SDK client
|
73
|
+
|
74
|
+
```typescript
|
75
|
+
// Create a new franchise
|
76
|
+
const response = await client.franchise.create({
|
77
|
+
franchiseName: "Alice in Wonderland",
|
78
|
+
franchiseSymbol: "Wonderland",
|
79
|
+
franchiseDescription:
|
80
|
+
"Fantastical journey, curious girl, whimsical characters, dreamlike adventures.",
|
81
|
+
});
|
82
|
+
|
83
|
+
// List franchises
|
84
|
+
const { data: franchise } = await client.franchise.list();
|
85
|
+
```
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { StoryConfig, StoryReadOnlyConfig } from "./types/config.js";
|
2
|
+
import { TransactionClient } from "./resources/transaction.js";
|
3
|
+
import { TransactionReadOnlyClient } from "./resources/transactionReadOnly.js";
|
4
|
+
import { Client, ReadOnlyClient } from "./types/client.js";
|
5
|
+
import { PlatformClient } from "./utils/platform.js";
|
6
|
+
import { ModuleReadOnlyClient } from "./resources/moduleReadOnly.js";
|
7
|
+
import { TaggingClient } from "./resources/tagging.js";
|
8
|
+
import { TaggingReadOnlyClient } from "./resources/taggingReadOnly.js";
|
9
|
+
import { IPAssetClient } from "./resources/ipAsset.js";
|
10
|
+
import { IPAssetReadOnlyClient } from "./resources/ipAssetReadOnly.js";
|
11
|
+
import { PermissionClient } from "./resources/permission.js";
|
12
|
+
import { PermissionReadOnlyClient } from "./resources/permissionReadOnly.js";
|
13
|
+
/**
|
14
|
+
* The StoryClient is the main entry point for the SDK.
|
15
|
+
*/
|
16
|
+
export declare class StoryClient {
|
17
|
+
private readonly config;
|
18
|
+
private readonly httpClient;
|
19
|
+
private readonly isReadOnly;
|
20
|
+
private readonly rpcClient;
|
21
|
+
private readonly wallet?;
|
22
|
+
private _ipAccount;
|
23
|
+
private _permission;
|
24
|
+
private _transaction;
|
25
|
+
private _platform;
|
26
|
+
private _module;
|
27
|
+
private _tagging;
|
28
|
+
/**
|
29
|
+
* @param config - the configuration for the SDK client
|
30
|
+
* @param isReadOnly
|
31
|
+
*/
|
32
|
+
private constructor();
|
33
|
+
/**
|
34
|
+
* Factory method for creating a read only SDK client.
|
35
|
+
*
|
36
|
+
* @param config - the configuration for a read only SDK client
|
37
|
+
*/
|
38
|
+
static newReadOnlyClient(config: StoryReadOnlyConfig): ReadOnlyClient;
|
39
|
+
/**
|
40
|
+
* Factory method for creating a SDK client with a signer.
|
41
|
+
*
|
42
|
+
* @param config - the configuration for a new read/write SDK client
|
43
|
+
*/
|
44
|
+
static newClient(config: StoryConfig): Client;
|
45
|
+
get ipAsset(): IPAssetClient | IPAssetReadOnlyClient;
|
46
|
+
get permission(): PermissionClient | PermissionReadOnlyClient;
|
47
|
+
/**
|
48
|
+
* Getter for the transaction client. The client is lazily created when
|
49
|
+
* this method is called.
|
50
|
+
*
|
51
|
+
* @returns the TransactionReadOnlyClient or TransactionClient instance
|
52
|
+
*/
|
53
|
+
get transaction(): TransactionClient | TransactionReadOnlyClient;
|
54
|
+
/**
|
55
|
+
* Getter for the tagging client. The client is lazily created when
|
56
|
+
* this method is called.
|
57
|
+
*
|
58
|
+
* @returns the TaggingReadOnlyClient or TaggingClient instance
|
59
|
+
*/
|
60
|
+
get tagging(): TaggingClient | TaggingReadOnlyClient;
|
61
|
+
/**
|
62
|
+
* Getter for the platform client. The client is lazily created when
|
63
|
+
* this method is called.
|
64
|
+
*
|
65
|
+
* @returns the PlatformClient instance
|
66
|
+
*/
|
67
|
+
get platform(): PlatformClient;
|
68
|
+
/**
|
69
|
+
* Getter for the module client. The client is lazily created when
|
70
|
+
* this method is called.
|
71
|
+
*
|
72
|
+
* @returns the Module instance
|
73
|
+
*/
|
74
|
+
get module(): ModuleReadOnlyClient;
|
75
|
+
}
|
76
|
+
//# sourceMappingURL=client.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"../../../src","sources":["client.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,0BAAuB;AAClE,OAAO,EAAE,iBAAiB,EAAE,mCAAgC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,2CAAwC;AAE5E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,0BAAuB;AACxD,OAAO,EAAE,cAAc,EAAE,4BAAyB;AAClD,OAAO,EAAE,oBAAoB,EAAE,sCAAmC;AAClE,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,qBAAqB,EAAE,uCAAoC;AACpE,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,qBAAqB,EAAE,uCAAoC;AACpE,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,wBAAwB,EAAE,0CAAuC;AAK1E;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAC3D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkB;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAe;IAEvC,OAAO,CAAC,UAAU,CAAsD;IACxE,OAAO,CAAC,WAAW,CAA4D;IAC/E,OAAO,CAAC,YAAY,CAA8D;IAClF,OAAO,CAAC,SAAS,CAA+B;IAChD,OAAO,CAAC,OAAO,CAAqC;IACpD,OAAO,CAAC,QAAQ,CAAsD;IAEtE;;;OAGG;IACH,OAAO;IAgCP;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,CAAC,MAAM,EAAE,mBAAmB,GAAG,cAAc;IAIrE;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM;IAI7C,IAAW,OAAO,IAAI,aAAa,GAAG,qBAAqB,CAQ1D;IAED,IAAW,UAAU,IAAI,gBAAgB,GAAG,wBAAwB,CAQnE;IAED;;;;;OAKG;IACH,IAAW,WAAW,IAAI,iBAAiB,GAAG,yBAAyB,CAQtE;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,GAAG,qBAAqB,CAQ1D;IAED;;;;;OAKG;IACH,IAAW,QAAQ,IAAI,cAAc,CAMpC;IAED;;;;;OAKG;IACH,IAAW,MAAM,IAAI,oBAAoB,CAMxC;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"../../../../src/constants","sources":["common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,+CAA+C,CAAC;AAExE,eAAO,MAAM,QAAQ,uEAAuE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ActionType.d.ts","sourceRoot":"../../../../src/enums","sources":["ActionType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* @public
|
3
|
+
*/
|
4
|
+
export declare enum ResourceType {
|
5
|
+
Unspecified = "Unspecified",
|
6
|
+
IPOrg = "IPOrg",
|
7
|
+
IPAsset = "IPAsset",
|
8
|
+
License = "License",
|
9
|
+
Relationship = "Relationship",
|
10
|
+
RelationshipType = "RelationshipType",
|
11
|
+
Module = "Module",
|
12
|
+
Hook = "Hook",
|
13
|
+
Dispute = "Dispute"
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=ResourceType.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ResourceType.d.ts","sourceRoot":"../../../../src/enums","sources":["ResourceType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,YAAY;IACtB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export { StoryClient } from "./client.js";
|
2
|
+
export { ResourceType } from "./enums/ResourceType.js";
|
3
|
+
export { ActionType } from "./enums/ActionType.js";
|
4
|
+
export { TransactionClient } from "./resources/transaction.js";
|
5
|
+
export { PlatformClient } from "./utils/platform.js";
|
6
|
+
export { AddressZero, HashZero } from "./constants/common.js";
|
7
|
+
export { TaggingReadOnlyClient } from "./resources/taggingReadOnly.js";
|
8
|
+
export { ModuleReadOnlyClient } from "./resources/moduleReadOnly.js";
|
9
|
+
export { IPAssetClient } from "./resources/ipAsset.js";
|
10
|
+
export { IPAssetReadOnlyClient } from "./resources/ipAssetReadOnly.js";
|
11
|
+
export { PermissionClient } from "./resources/permission.js";
|
12
|
+
export { PermissionReadOnlyClient } from "./resources/permissionReadOnly.js";
|
13
|
+
export type { StoryConfig, StoryReadOnlyConfig } from "./types/config.js";
|
14
|
+
export type { Client, ReadOnlyClient } from "./types/client.js";
|
15
|
+
export type { Hex, TypedData } from "./types/common.js";
|
16
|
+
export type { Transaction, GetTransactionRequest, GetTransactionResponse, ListTransactionRequest, ListTransactionResponse, } from "./types/resources/transaction.js";
|
17
|
+
export type { Tag, ListTagRequest, ListTagResponse } from "./types/resources/tagging.js";
|
18
|
+
export type { Module, GetModuleRequest, GetModuleResponse, ListModuleRequest, ListModuleResponse, } from "./types/resources/module.js";
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAiB;AACvC,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,iBAAiB,EAAE,mCAAgC;AAC5D,OAAO,EAAE,cAAc,EAAE,4BAAyB;AAClD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,8BAA2B;AAE3D,OAAO,EAAE,qBAAqB,EAAE,uCAAoC;AACpE,OAAO,EAAE,oBAAoB,EAAE,sCAAmC;AAClE,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,qBAAqB,EAAE,uCAAoC;AACpE,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,wBAAwB,EAAE,0CAAuC;AAE1E,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,0BAAuB;AACvE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,0BAAuB;AAC7D,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,0BAAuB;AAErD,YAAY,EACV,WAAW,EACX,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,GACxB,yCAAsC;AAEvC,YAAY,EAAE,GAAG,EAAE,cAAc,EAAE,eAAe,EAAE,qCAAkC;AACtF,YAAY,EACV,MAAM,EACN,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,GACnB,oCAAiC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient, WalletClient } from "viem";
|
3
|
+
import { IPAssetReadOnlyClient } from "./ipAssetReadOnly.js";
|
4
|
+
import { RegisterDerivativeIpRequest, RegisterDerivativeIpResponse, RegisterRootIpRequest, RegisterRootIpResponse } from "../types/resources/ipAsset.js";
|
5
|
+
export declare class IPAssetClient extends IPAssetReadOnlyClient {
|
6
|
+
private readonly wallet;
|
7
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient, wallet: WalletClient);
|
8
|
+
/**
|
9
|
+
* Register a root IP on Story Protocol based on the specified input asset data.
|
10
|
+
*
|
11
|
+
* @param request - the request object that contains all data needed to register a root IP.
|
12
|
+
* @returns the response object that contains results from the IP creation.
|
13
|
+
*/
|
14
|
+
registerRootIp(request: RegisterRootIpRequest): Promise<RegisterRootIpResponse>;
|
15
|
+
/**
|
16
|
+
* Register a derivative IP on Story Protocol based on the specified input asset data.
|
17
|
+
*
|
18
|
+
* @param request - the request object that contains all data needed to register a derivative IP.
|
19
|
+
* @returns the response object that contains results from the IP creation.
|
20
|
+
*/
|
21
|
+
registerDerivativeIp(request: RegisterDerivativeIpRequest): Promise<RegisterDerivativeIpResponse>;
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=ipAsset.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAc,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,6BAA0B;AAG1D,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACrB,sBAAsB,EACvB,sCAAmC;AAIpC,qBAAa,aAAc,SAAQ,qBAAqB;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;IAKpF;;;;;OAKG;IACU,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IA4B5F;;;;;OAKG;IACU,oBAAoB,CAC/B,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,4BAA4B,CAAC;CAmEzC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient } from "viem";
|
3
|
+
import { GetIpAssetRequest, GetIpAssetResponse, ListIpAssetRequest, ListIpAssetResponse } from "../types/resources/ipAsset.js";
|
4
|
+
/**
|
5
|
+
* IPAssetReadOnlyClient allows you to view and search IP Assets on Story Protocol.
|
6
|
+
*/
|
7
|
+
export declare class IPAssetReadOnlyClient {
|
8
|
+
protected readonly httpClient: AxiosInstance;
|
9
|
+
protected readonly rpcClient: PublicClient;
|
10
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient);
|
11
|
+
/**
|
12
|
+
* Get an IP Asset based on the specified IP asset ID.
|
13
|
+
*
|
14
|
+
* @param request - the request object for getting an IP Asset.
|
15
|
+
* @returns the response object the contains the fetched IP Asset.
|
16
|
+
*/
|
17
|
+
get(request: GetIpAssetRequest): Promise<GetIpAssetResponse>;
|
18
|
+
/**
|
19
|
+
* List IP accounts.
|
20
|
+
*
|
21
|
+
* @returns the response object that contains results from listing query.
|
22
|
+
*/
|
23
|
+
list(request?: ListIpAssetRequest): Promise<ListIpAssetResponse>;
|
24
|
+
getIpId(): Promise<void>;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=ipAssetReadOnly.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ipAssetReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAssetReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAa,MAAM,MAAM,CAAC;AAE/C,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACpB,sCAAmC;AAGpC;;GAEG;AACH,qBAAa,qBAAqB;IAChC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAYzE;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAShE,OAAO;CACrB"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient } from "viem";
|
3
|
+
import { GetModuleRequest, GetModuleResponse, ListModuleRequest, ListModuleResponse } from "../types/resources/module.js";
|
4
|
+
/**
|
5
|
+
* ModuleReadOnlyClient allows you to view and search modules on Story Protocol.
|
6
|
+
*/
|
7
|
+
export declare class ModuleReadOnlyClient {
|
8
|
+
protected readonly httpClient: AxiosInstance;
|
9
|
+
protected readonly rpcClient: PublicClient;
|
10
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient);
|
11
|
+
/**
|
12
|
+
* Get an module based on the module name.
|
13
|
+
*
|
14
|
+
* @param request - the request object for getting a module.
|
15
|
+
* @returns the response object the contains the fetched module.
|
16
|
+
*/
|
17
|
+
get(request: GetModuleRequest): Promise<GetModuleResponse>;
|
18
|
+
/**
|
19
|
+
* List modules.
|
20
|
+
*
|
21
|
+
* @returns the response object that contains results from listing query.
|
22
|
+
*/
|
23
|
+
list(request?: ListModuleRequest): Promise<ListModuleResponse>;
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=moduleReadOnly.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"moduleReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["moduleReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EACnB,qCAAkC;AAEnC;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IASvE;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAQ5E"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient, WalletClient } from "viem";
|
3
|
+
import { setPermissionsRequest, setPermissionsResponse } from "../types/resources/permission.js";
|
4
|
+
import { PermissionReadOnlyClient } from "./permissionReadOnly.js";
|
5
|
+
export declare class PermissionClient extends PermissionReadOnlyClient {
|
6
|
+
private readonly wallet;
|
7
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient, wallet: WalletClient);
|
8
|
+
/**
|
9
|
+
* Set Permission based on the specified input
|
10
|
+
*
|
11
|
+
* @param request - the request object that contains all data needed to set permission.
|
12
|
+
* @returns the response object that contains results from the set permission.
|
13
|
+
*/
|
14
|
+
setPermission(request: setPermissionsRequest): Promise<setPermissionsResponse>;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=permission.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.d.ts","sourceRoot":"../../../../src/resources","sources":["permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAuC,MAAM,MAAM,CAAC;AAGvF,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,yCAAsC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,gCAA6B;AAMhE,qBAAa,gBAAiB,SAAQ,wBAAwB;IAC5D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;IAKpF;;;;;OAKG;IACU,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CA6C5F"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient } from "viem";
|
3
|
+
import { GetPermissionRequest, GetPermissionResponse, ListPermissionsRequest, ListPermissionsResponse } from "../types/resources/permission.js";
|
4
|
+
/**
|
5
|
+
* IPAssetReadOnlyClient allows you to view and search IP Assets on Story Protocol.
|
6
|
+
*/
|
7
|
+
export declare class PermissionReadOnlyClient {
|
8
|
+
protected readonly httpClient: AxiosInstance;
|
9
|
+
protected readonly rpcClient: PublicClient;
|
10
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient);
|
11
|
+
/**
|
12
|
+
* Get permission based on based on the specified IP id.
|
13
|
+
*
|
14
|
+
* @param request - the request object for getting an IP Asset.
|
15
|
+
* @returns the response object the contains the fetched IP Asset.
|
16
|
+
*/
|
17
|
+
get(request: GetPermissionRequest): Promise<GetPermissionResponse>;
|
18
|
+
/**
|
19
|
+
* List IP accounts.
|
20
|
+
*
|
21
|
+
* @returns the response object that contains results from listing query.
|
22
|
+
*/
|
23
|
+
list(request?: ListPermissionsRequest): Promise<ListPermissionsResponse>;
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=permissionReadOnly.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permissionReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["permissionReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACxB,yCAAsC;AAIvC;;GAEG;AACH,qBAAa,wBAAwB;IACnC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAc/E;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAQtF"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient, WalletClient } from "viem";
|
3
|
+
import { TaggingReadOnlyClient } from "./taggingReadOnly.js";
|
4
|
+
import { RemoveTagRequest, RemoveTagResponse, SetTagRequest, SetTagResponse } from "../types/resources/tagging.js";
|
5
|
+
export declare class TaggingClient extends TaggingReadOnlyClient {
|
6
|
+
private readonly wallet;
|
7
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient, wallet: WalletClient);
|
8
|
+
setTag(request: SetTagRequest): Promise<SetTagResponse>;
|
9
|
+
removeTag(request: RemoveTagRequest): Promise<RemoveTagResponse>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=tagging.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tagging.d.ts","sourceRoot":"../../../../src/resources","sources":["tagging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAIlD,OAAO,EAAE,qBAAqB,EAAE,6BAA0B;AAC1D,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACf,sCAAmC;AAEpC,qBAAa,aAAc,SAAQ,qBAAqB;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;IAKvE,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAgBvD,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAe9E"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient } from "viem";
|
3
|
+
import { GetTagRequest, GetTagResponse, ListTagRequest, ListTagResponse } from "../types/resources/tagging.js";
|
4
|
+
/**
|
5
|
+
* TaggingReadOnlyClient allows you to view and search IP Assets on Story Protocol.
|
6
|
+
*/
|
7
|
+
export declare class TaggingReadOnlyClient {
|
8
|
+
protected readonly httpClient: AxiosInstance;
|
9
|
+
protected readonly rpcClient: PublicClient;
|
10
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient);
|
11
|
+
/**
|
12
|
+
* Get tags.
|
13
|
+
*
|
14
|
+
* @returns the response object that contains results from get tag query.
|
15
|
+
*/
|
16
|
+
get(request: GetTagRequest): Promise<GetTagResponse>;
|
17
|
+
/**
|
18
|
+
* List tags.
|
19
|
+
*
|
20
|
+
* @returns the response object that contains results from list tags query.
|
21
|
+
*/
|
22
|
+
list(request?: ListTagRequest): Promise<ListTagResponse>;
|
23
|
+
}
|
24
|
+
//# sourceMappingURL=taggingReadOnly.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"taggingReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["taggingReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EAChB,sCAAmC;AAEpC;;GAEG;AACH,qBAAa,qBAAqB;IAChC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;OAIG;IACU,GAAG,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAQjE;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;CAQtE"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient, WalletClient } from "viem";
|
3
|
+
import { TransactionReadOnlyClient } from "./transactionReadOnly.js";
|
4
|
+
/**
|
5
|
+
* TransactionClient allows you to view and monitor transactions on Story Protocol.
|
6
|
+
*/
|
7
|
+
export declare class TransactionClient extends TransactionReadOnlyClient {
|
8
|
+
private readonly wallet;
|
9
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient, wallet: WalletClient);
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=transaction.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"../../../../src/resources","sources":["transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,iCAA8B;AAElE;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;CAIrF"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { AxiosInstance } from "axios";
|
2
|
+
import { PublicClient } from "viem";
|
3
|
+
import { GetTransactionRequest, GetTransactionResponse, ListTransactionRequest, ListTransactionResponse } from "../types/resources/transaction.js";
|
4
|
+
/**
|
5
|
+
* TransactionClient allows you to view and monitor transactions on Story Protocol.
|
6
|
+
*/
|
7
|
+
export declare class TransactionReadOnlyClient {
|
8
|
+
protected readonly httpClient: AxiosInstance;
|
9
|
+
protected readonly rpcClient: PublicClient;
|
10
|
+
constructor(httpClient: AxiosInstance, rpcClient: PublicClient);
|
11
|
+
/**
|
12
|
+
* Get transaction data based on the specified transaction id.
|
13
|
+
*
|
14
|
+
* @param request - the request object for getting the transaction
|
15
|
+
* @returns the response object that contains the fetched transaction object
|
16
|
+
*/
|
17
|
+
get(request: GetTransactionRequest): Promise<GetTransactionResponse>;
|
18
|
+
/**
|
19
|
+
* List Transactions.
|
20
|
+
*
|
21
|
+
* @returns the response object that contains a list of transactions
|
22
|
+
*/
|
23
|
+
list(request?: ListTransactionRequest): Promise<ListTransactionResponse>;
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=transactionReadOnly.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"transactionReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["transactionReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACxB,0CAAuC;AAExC;;GAEG;AACH,qBAAa,yBAAyB;IACpC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IASjF;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAQtF"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { TaggingClient } from "../resources/tagging.js";
|
2
|
+
import { ModuleReadOnlyClient } from "../resources/moduleReadOnly.js";
|
3
|
+
import { IPAssetClient } from "../resources/ipAsset.js";
|
4
|
+
import { IPAssetReadOnlyClient } from "../resources/ipAssetReadOnly.js";
|
5
|
+
import { PermissionClient } from "../resources/permission.js";
|
6
|
+
import { PermissionReadOnlyClient } from "../resources/permissionReadOnly.js";
|
7
|
+
import { TransactionClient } from "../resources/transaction.js";
|
8
|
+
import { TransactionReadOnlyClient } from "../resources/transactionReadOnly.js";
|
9
|
+
import { PlatformClient } from "../utils/platform.js";
|
10
|
+
export interface ReadOnlyClient {
|
11
|
+
ipAsset: IPAssetReadOnlyClient;
|
12
|
+
permission: PermissionReadOnlyClient;
|
13
|
+
transaction: TransactionReadOnlyClient;
|
14
|
+
module: ModuleReadOnlyClient;
|
15
|
+
}
|
16
|
+
export interface Client {
|
17
|
+
ipAsset: IPAssetClient;
|
18
|
+
permission: PermissionClient;
|
19
|
+
transaction: TransactionClient;
|
20
|
+
platform: PlatformClient;
|
21
|
+
tagging: TaggingClient;
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=client.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"../../../../src/types","sources":["client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gCAA6B;AACrD,OAAO,EAAE,oBAAoB,EAAE,uCAAoC;AACnE,OAAO,EAAE,aAAa,EAAE,gCAA6B;AACrD,OAAO,EAAE,qBAAqB,EAAE,wCAAqC;AACrE,OAAO,EAAE,gBAAgB,EAAE,mCAAgC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,2CAAwC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,oCAAiC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,4CAAyC;AAC7E,OAAO,EAAE,cAAc,EAAE,6BAA0B;AAEnD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,UAAU,EAAE,wBAAwB,CAAC;IACrC,WAAW,EAAE,yBAAyB,CAAC;IACvC,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,aAAa,CAAC;CACxB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"../../../../src/types","sources":["common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG,KAAK,MAAM,EAAE,CAAC;AAEhC,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { Account, Chain, Transport } from "viem";
|
2
|
+
/**
|
3
|
+
* Configuration for the SDK Client.
|
4
|
+
*
|
5
|
+
* @public
|
6
|
+
*/
|
7
|
+
export interface StoryConfig extends StoryReadOnlyConfig {
|
8
|
+
readonly account: Account;
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* Configuration for the read-only SDK Client.
|
12
|
+
*
|
13
|
+
* @public
|
14
|
+
*/
|
15
|
+
export interface StoryReadOnlyConfig {
|
16
|
+
readonly chain?: Chain;
|
17
|
+
readonly transport?: Transport;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"../../../../src/types","sources":["config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;CAChC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"../../../../src/types","sources":["options.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC"}
|