@spawnco/sdk-types 0.0.41 → 0.0.42

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.mts CHANGED
@@ -13,13 +13,14 @@ interface MagicCdnApi {
13
13
  }
14
14
  type ClipFormat = 'gif' | 'webm';
15
15
  type ClipKind = 'world' | (string & {});
16
- type ClipStatus = 'ready' | 'processing';
16
+ type ClipStatus = 'ready' | 'processing' | 'hidden';
17
17
  interface ClipDescriptor {
18
18
  clipId: string;
19
19
  kind: ClipKind;
20
20
  variantId: string;
21
21
  format: ClipFormat;
22
22
  status: ClipStatus;
23
+ creatorUserId?: string;
23
24
  assetUrl?: string;
24
25
  contentType: string;
25
26
  width?: number;
@@ -36,6 +37,7 @@ interface ClipLookupOptions {
36
37
  }
37
38
  interface ClipListOptions {
38
39
  kind?: ClipKind;
40
+ creatorScoped?: boolean;
39
41
  }
40
42
  interface UploadClipOptions {
41
43
  clipId: string;
package/dist/index.d.ts CHANGED
@@ -13,13 +13,14 @@ interface MagicCdnApi {
13
13
  }
14
14
  type ClipFormat = 'gif' | 'webm';
15
15
  type ClipKind = 'world' | (string & {});
16
- type ClipStatus = 'ready' | 'processing';
16
+ type ClipStatus = 'ready' | 'processing' | 'hidden';
17
17
  interface ClipDescriptor {
18
18
  clipId: string;
19
19
  kind: ClipKind;
20
20
  variantId: string;
21
21
  format: ClipFormat;
22
22
  status: ClipStatus;
23
+ creatorUserId?: string;
23
24
  assetUrl?: string;
24
25
  contentType: string;
25
26
  width?: number;
@@ -36,6 +37,7 @@ interface ClipLookupOptions {
36
37
  }
37
38
  interface ClipListOptions {
38
39
  kind?: ClipKind;
40
+ creatorScoped?: boolean;
39
41
  }
40
42
  interface UploadClipOptions {
41
43
  clipId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spawnco/sdk-types",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "TypeScript type definitions for Spawn SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/v1.ts CHANGED
@@ -16,7 +16,7 @@ interface MagicCdnApi {
16
16
 
17
17
  export type ClipFormat = 'gif' | 'webm';
18
18
  export type ClipKind = 'world' | (string & {});
19
- export type ClipStatus = 'ready' | 'processing';
19
+ export type ClipStatus = 'ready' | 'processing' | 'hidden';
20
20
 
21
21
  export interface ClipDescriptor {
22
22
  clipId: string;
@@ -24,6 +24,7 @@ export interface ClipDescriptor {
24
24
  variantId: string;
25
25
  format: ClipFormat;
26
26
  status: ClipStatus;
27
+ creatorUserId?: string;
27
28
  assetUrl?: string;
28
29
  contentType: string;
29
30
  width?: number;
@@ -42,6 +43,7 @@ export interface ClipLookupOptions {
42
43
 
43
44
  export interface ClipListOptions {
44
45
  kind?: ClipKind;
46
+ creatorScoped?: boolean;
45
47
  }
46
48
 
47
49
  export interface UploadClipOptions {