@shipstatic/types 2.5.0-beta.4 → 2.5.0-beta.5
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/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -866,7 +866,7 @@ export interface TokenResource {
|
|
|
866
866
|
ttl?: number;
|
|
867
867
|
labels?: string[];
|
|
868
868
|
}) => Promise<TokenCreateResponse>;
|
|
869
|
-
list: () => Promise<TokenListResponse>;
|
|
869
|
+
list: (options?: ListOptions) => Promise<TokenListResponse>;
|
|
870
870
|
remove: (token: string) => Promise<void>;
|
|
871
871
|
}
|
|
872
872
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/types",
|
|
3
|
-
"version": "2.5.0-beta.
|
|
3
|
+
"version": "2.5.0-beta.5",
|
|
4
4
|
"description": "Shared types for ShipStatic platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"lint": "biome check .",
|
|
19
19
|
"format": "biome format --write .",
|
|
20
20
|
"prepare": "git config core.hooksPath scripts/githooks",
|
|
21
|
-
"typecheck": "tsc --noEmit"
|
|
21
|
+
"typecheck": "tsc -p tsconfig.check.json --noEmit"
|
|
22
22
|
},
|
|
23
23
|
"packageManager": "pnpm@10.12.4",
|
|
24
24
|
"files": [
|
package/src/index.ts
CHANGED
|
@@ -1351,7 +1351,7 @@ export interface AccountResource {
|
|
|
1351
1351
|
*/
|
|
1352
1352
|
export interface TokenResource {
|
|
1353
1353
|
create: (options?: { ttl?: number; labels?: string[] }) => Promise<TokenCreateResponse>;
|
|
1354
|
-
list: () => Promise<TokenListResponse>;
|
|
1354
|
+
list: (options?: ListOptions) => Promise<TokenListResponse>;
|
|
1355
1355
|
remove: (token: string) => Promise<void>;
|
|
1356
1356
|
}
|
|
1357
1357
|
|