@spatialwalk/avatarkit 1.0.0-beta.1 → 1.0.0-beta.11
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/CHANGELOG.md +185 -0
- package/README.md +450 -148
- package/dist/{StreamingAudioPlayer-C2TfYsO8.js → StreamingAudioPlayer-CLFmPod8.js} +88 -62
- package/dist/StreamingAudioPlayer-CLFmPod8.js.map +1 -0
- package/dist/animation/AnimationWebSocketClient.d.ts.map +1 -1
- package/dist/animation/utils/flameConverter.d.ts.map +1 -1
- package/dist/audio/AnimationPlayer.d.ts +4 -0
- package/dist/audio/AnimationPlayer.d.ts.map +1 -1
- package/dist/audio/StreamingAudioPlayer.d.ts +10 -0
- package/dist/audio/StreamingAudioPlayer.d.ts.map +1 -1
- package/dist/avatar_core_wasm-D4eEi7Eh.js +1666 -0
- package/dist/{avatar_core_wasm-DmkU6dYn.js.map → avatar_core_wasm-D4eEi7Eh.js.map} +1 -1
- package/dist/avatar_core_wasm.wasm +0 -0
- package/dist/config/app-config.d.ts +3 -7
- package/dist/config/app-config.d.ts.map +1 -1
- package/dist/config/constants.d.ts +19 -3
- package/dist/config/constants.d.ts.map +1 -1
- package/dist/core/Avatar.d.ts +0 -8
- package/dist/core/Avatar.d.ts.map +1 -1
- package/dist/core/AvatarController.d.ts +50 -74
- package/dist/core/AvatarController.d.ts.map +1 -1
- package/dist/core/AvatarDownloader.d.ts +0 -5
- package/dist/core/AvatarDownloader.d.ts.map +1 -1
- package/dist/core/AvatarKit.d.ts +3 -15
- package/dist/core/AvatarKit.d.ts.map +1 -1
- package/dist/core/AvatarManager.d.ts.map +1 -1
- package/dist/core/AvatarView.d.ts +47 -46
- package/dist/core/AvatarView.d.ts.map +1 -1
- package/dist/core/NetworkLayer.d.ts +59 -0
- package/dist/core/NetworkLayer.d.ts.map +1 -0
- package/dist/index-Ck21a9C4.js +5999 -0
- package/dist/index-Ck21a9C4.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -11
- package/dist/renderer/RenderSystem.d.ts +4 -2
- package/dist/renderer/RenderSystem.d.ts.map +1 -1
- package/dist/renderer/webgl/webglRenderer.d.ts.map +1 -1
- package/dist/types/index.d.ts +18 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/cls-tracker.d.ts +17 -0
- package/dist/utils/cls-tracker.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/logger.d.ts.map +1 -1
- package/package.json +14 -18
- package/dist/StreamingAudioPlayer-C2TfYsO8.js.map +0 -1
- package/dist/avatar_core_wasm-DmkU6dYn.js +0 -1666
- package/dist/config/region-config.d.ts +0 -17
- package/dist/config/region-config.d.ts.map +0 -1
- package/dist/generated/google/protobuf/any.d.ts +0 -145
- package/dist/generated/google/protobuf/any.d.ts.map +0 -1
- package/dist/generated/jsonapi/v1/base.d.ts +0 -140
- package/dist/generated/jsonapi/v1/base.d.ts.map +0 -1
- package/dist/generated/platform/v1/asset_groups.d.ts +0 -225
- package/dist/generated/platform/v1/asset_groups.d.ts.map +0 -1
- package/dist/generated/platform/v1/assets.d.ts +0 -149
- package/dist/generated/platform/v1/assets.d.ts.map +0 -1
- package/dist/generated/platform/v1/character.d.ts +0 -395
- package/dist/generated/platform/v1/character.d.ts.map +0 -1
- package/dist/generated/platform/v1/redeem.d.ts +0 -22
- package/dist/generated/platform/v1/redeem.d.ts.map +0 -1
- package/dist/index-DwhR9l52.js +0 -9712
- package/dist/index-DwhR9l52.js.map +0 -1
- package/dist/utils/posthog-tracker.d.ts +0 -82
- package/dist/utils/posthog-tracker.d.ts.map +0 -1
- package/dist/utils/toast.d.ts +0 -74
- package/dist/utils/toast.d.ts.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Environment types and configuration
|
|
3
|
-
*/
|
|
4
|
-
export type Region = 'us' | 'cn' | 'test';
|
|
5
|
-
export type I18nLocale = 'en' | 'zhCN';
|
|
6
|
-
export interface RegionConfig {
|
|
7
|
-
name: string;
|
|
8
|
-
label: string;
|
|
9
|
-
sdkApiBaseUrl: string;
|
|
10
|
-
realtimeApiBaseUrl: string;
|
|
11
|
-
realtimeWsUrl: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const REGION_LIST: Region[];
|
|
14
|
-
export declare const REGION_CONFIGS: Partial<Record<Region, RegionConfig>>;
|
|
15
|
-
export declare function getEnvironmentI18nKey(env: Region): string;
|
|
16
|
-
export declare const REGION_KEYS: Region[];
|
|
17
|
-
//# sourceMappingURL=region-config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"region-config.d.ts","sourceRoot":"","sources":["../../config/region-config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,MAAM,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;AACzC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,MAAM,CAAA;AAEtC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,aAAa,EAAE,MAAM,CAAA;CACtB;AAGD,eAAO,MAAM,WAAW,EAAE,MAAM,EAEhB,CAAA;AAEhB,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CA0BhE,CAAA;AAGD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzD;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,EAA4C,CAAA"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
export declare const protobufPackage = "google.protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
5
|
-
* URL that describes the type of the serialized message.
|
|
6
|
-
*
|
|
7
|
-
* Protobuf library provides support to pack/unpack Any values in the form
|
|
8
|
-
* of utility functions or additional generated methods of the Any type.
|
|
9
|
-
*
|
|
10
|
-
* Example 1: Pack and unpack a message in C++.
|
|
11
|
-
*
|
|
12
|
-
* Foo foo = ...;
|
|
13
|
-
* Any any;
|
|
14
|
-
* any.PackFrom(foo);
|
|
15
|
-
* ...
|
|
16
|
-
* if (any.UnpackTo(&foo)) {
|
|
17
|
-
* ...
|
|
18
|
-
* }
|
|
19
|
-
*
|
|
20
|
-
* Example 2: Pack and unpack a message in Java.
|
|
21
|
-
*
|
|
22
|
-
* Foo foo = ...;
|
|
23
|
-
* Any any = Any.pack(foo);
|
|
24
|
-
* ...
|
|
25
|
-
* if (any.is(Foo.class)) {
|
|
26
|
-
* foo = any.unpack(Foo.class);
|
|
27
|
-
* }
|
|
28
|
-
* // or ...
|
|
29
|
-
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
30
|
-
* foo = any.unpack(Foo.getDefaultInstance());
|
|
31
|
-
* }
|
|
32
|
-
*
|
|
33
|
-
* Example 3: Pack and unpack a message in Python.
|
|
34
|
-
*
|
|
35
|
-
* foo = Foo(...)
|
|
36
|
-
* any = Any()
|
|
37
|
-
* any.Pack(foo)
|
|
38
|
-
* ...
|
|
39
|
-
* if any.Is(Foo.DESCRIPTOR):
|
|
40
|
-
* any.Unpack(foo)
|
|
41
|
-
* ...
|
|
42
|
-
*
|
|
43
|
-
* Example 4: Pack and unpack a message in Go
|
|
44
|
-
*
|
|
45
|
-
* foo := &pb.Foo{...}
|
|
46
|
-
* any, err := anypb.New(foo)
|
|
47
|
-
* if err != nil {
|
|
48
|
-
* ...
|
|
49
|
-
* }
|
|
50
|
-
* ...
|
|
51
|
-
* foo := &pb.Foo{}
|
|
52
|
-
* if err := any.UnmarshalTo(foo); err != nil {
|
|
53
|
-
* ...
|
|
54
|
-
* }
|
|
55
|
-
*
|
|
56
|
-
* The pack methods provided by protobuf library will by default use
|
|
57
|
-
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
58
|
-
* methods only use the fully qualified type name after the last '/'
|
|
59
|
-
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
60
|
-
* name "y.z".
|
|
61
|
-
*
|
|
62
|
-
* JSON
|
|
63
|
-
* ====
|
|
64
|
-
* The JSON representation of an `Any` value uses the regular
|
|
65
|
-
* representation of the deserialized, embedded message, with an
|
|
66
|
-
* additional field `@type` which contains the type URL. Example:
|
|
67
|
-
*
|
|
68
|
-
* package google.profile;
|
|
69
|
-
* message Person {
|
|
70
|
-
* string first_name = 1;
|
|
71
|
-
* string last_name = 2;
|
|
72
|
-
* }
|
|
73
|
-
*
|
|
74
|
-
* {
|
|
75
|
-
* "@type": "type.googleapis.com/google.profile.Person",
|
|
76
|
-
* "firstName": <string>,
|
|
77
|
-
* "lastName": <string>
|
|
78
|
-
* }
|
|
79
|
-
*
|
|
80
|
-
* If the embedded message type is well-known and has a custom JSON
|
|
81
|
-
* representation, that representation will be embedded adding a field
|
|
82
|
-
* `value` which holds the custom JSON in addition to the `@type`
|
|
83
|
-
* field. Example (for message [google.protobuf.Duration][]):
|
|
84
|
-
*
|
|
85
|
-
* {
|
|
86
|
-
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
87
|
-
* "value": "1.212s"
|
|
88
|
-
* }
|
|
89
|
-
*/
|
|
90
|
-
export interface Any {
|
|
91
|
-
/**
|
|
92
|
-
* A URL/resource name that uniquely identifies the type of the serialized
|
|
93
|
-
* protocol buffer message. This string must contain at least
|
|
94
|
-
* one "/" character. The last segment of the URL's path must represent
|
|
95
|
-
* the fully qualified name of the type (as in
|
|
96
|
-
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
97
|
-
* (e.g., leading "." is not accepted).
|
|
98
|
-
*
|
|
99
|
-
* In practice, teams usually precompile into the binary all types that they
|
|
100
|
-
* expect it to use in the context of Any. However, for URLs which use the
|
|
101
|
-
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
102
|
-
* server that maps type URLs to message definitions as follows:
|
|
103
|
-
*
|
|
104
|
-
* * If no scheme is provided, `https` is assumed.
|
|
105
|
-
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
106
|
-
* value in binary format, or produce an error.
|
|
107
|
-
* * Applications are allowed to cache lookup results based on the
|
|
108
|
-
* URL, or have them precompiled into a binary to avoid any
|
|
109
|
-
* lookup. Therefore, binary compatibility needs to be preserved
|
|
110
|
-
* on changes to types. (Use versioned type names to manage
|
|
111
|
-
* breaking changes.)
|
|
112
|
-
*
|
|
113
|
-
* Note: this functionality is not currently available in the official
|
|
114
|
-
* protobuf release, and it is not used for type URLs beginning with
|
|
115
|
-
* type.googleapis.com. As of May 2023, there are no widely used type server
|
|
116
|
-
* implementations and no plans to implement one.
|
|
117
|
-
*
|
|
118
|
-
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
119
|
-
* used with implementation specific semantics.
|
|
120
|
-
*/
|
|
121
|
-
typeUrl: string;
|
|
122
|
-
/** Must be a valid serialized protocol buffer of the above specified type. */
|
|
123
|
-
value: Uint8Array;
|
|
124
|
-
}
|
|
125
|
-
export declare const Any: MessageFns<Any>;
|
|
126
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
127
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
128
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
129
|
-
} : Partial<T>;
|
|
130
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
131
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
132
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
133
|
-
} & {
|
|
134
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
135
|
-
};
|
|
136
|
-
export interface MessageFns<T> {
|
|
137
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
138
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
139
|
-
fromJSON(object: any): T;
|
|
140
|
-
toJSON(message: T): unknown;
|
|
141
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
142
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
143
|
-
}
|
|
144
|
-
export {};
|
|
145
|
-
//# sourceMappingURL=any.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../generated/google/protobuf/any.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,MAAM,WAAW,GAAG;IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,KAAK,EAAE,UAAU,CAAC;CACnB;AAMD,eAAO,MAAM,GAAG,EAAE,UAAU,CAAC,GAAG,CAsE/B,CAAC;AAmBF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAC9C,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,a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CAAC,GAAG,CAAC,CAAC;CAC/D"}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { Any } from '../../google/protobuf/any';
|
|
3
|
-
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
4
|
-
export declare const protobufPackage = "jsonapi.v1";
|
|
5
|
-
/** Where specified, a links member can be used to represent links. */
|
|
6
|
-
export interface Links {
|
|
7
|
-
/** a string whose value is a URI-reference [RFC3986 Section 4.1] pointing to the link’s target. */
|
|
8
|
-
href: string;
|
|
9
|
-
/** a string indicating the link’s relation type. */
|
|
10
|
-
rel?: string | undefined;
|
|
11
|
-
/** a link to a description document (e.g. OpenAPI or JSON Schema) for the link target. */
|
|
12
|
-
describedby?: string | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* a string which serves as a label for the destination of a link
|
|
15
|
-
* such that it can be used as a human-readable identifier (e.g., a menu entry).
|
|
16
|
-
*/
|
|
17
|
-
title?: string | undefined;
|
|
18
|
-
/** a string indicating the media type of the link’s target. */
|
|
19
|
-
type?: string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* a string or an array of strings indicating the language(s) of the link’s target.
|
|
22
|
-
* An array of strings indicates that the link’s target is available in multiple languages.
|
|
23
|
-
*/
|
|
24
|
-
hreflang?: string | undefined;
|
|
25
|
-
/** a meta object containing non-standard meta-information about the link. */
|
|
26
|
-
meta: {
|
|
27
|
-
[key: string]: Any;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export interface Links_MetaEntry {
|
|
31
|
-
key: string;
|
|
32
|
-
value?: Any | undefined;
|
|
33
|
-
}
|
|
34
|
-
export interface Response {
|
|
35
|
-
/** Data is the primary data for a response. */
|
|
36
|
-
data: Any[];
|
|
37
|
-
/** Errors is an array of error objects. */
|
|
38
|
-
errors: ErrorObject[];
|
|
39
|
-
}
|
|
40
|
-
export interface ErrorObjectSource {
|
|
41
|
-
/**
|
|
42
|
-
* a JSON Pointer [RFC6901] to the value in the request document that caused the error
|
|
43
|
-
* [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute].
|
|
44
|
-
*/
|
|
45
|
-
pointer: string;
|
|
46
|
-
/** a string indicating which URI query parameter caused the error. */
|
|
47
|
-
parameter: string;
|
|
48
|
-
/** a string indicating the name of a single request header which caused the error. */
|
|
49
|
-
header: string;
|
|
50
|
-
}
|
|
51
|
-
export interface ErrorObject {
|
|
52
|
-
/** a unique identifier for this particular occurrence of the problem. */
|
|
53
|
-
id: string;
|
|
54
|
-
/** a links object containing references to the source of the error. */
|
|
55
|
-
links?: Links | undefined;
|
|
56
|
-
/** the HTTP status code applicable to this problem, expressed as a string value. */
|
|
57
|
-
status: number;
|
|
58
|
-
/** an application-specific error code, expressed as a string value. */
|
|
59
|
-
code: string;
|
|
60
|
-
/** a short, human-readable summary of the problem */
|
|
61
|
-
title: string;
|
|
62
|
-
/** a human-readable explanation specific to this occurrence of the problem. Like title. */
|
|
63
|
-
detail: string;
|
|
64
|
-
/** an object containing references to the source of the error. */
|
|
65
|
-
source?: ErrorObjectSource | undefined;
|
|
66
|
-
/** a meta object containing non-standard meta-information about the error. */
|
|
67
|
-
meta: {
|
|
68
|
-
[key: string]: Any;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
export interface ErrorObject_MetaEntry {
|
|
72
|
-
key: string;
|
|
73
|
-
value?: Any | undefined;
|
|
74
|
-
}
|
|
75
|
-
export interface ErrorCaller {
|
|
76
|
-
file: string;
|
|
77
|
-
line: number;
|
|
78
|
-
function: string;
|
|
79
|
-
}
|
|
80
|
-
/** Common pagination request */
|
|
81
|
-
export interface PaginationRequest {
|
|
82
|
-
pageSize: number;
|
|
83
|
-
pageToken: string;
|
|
84
|
-
}
|
|
85
|
-
/** Common pagination response */
|
|
86
|
-
export interface PaginationResponse {
|
|
87
|
-
nextPageToken: string;
|
|
88
|
-
totalCount: number;
|
|
89
|
-
}
|
|
90
|
-
export interface TimeRange {
|
|
91
|
-
/** Start time (inclusive) */
|
|
92
|
-
start?: Timestamp | undefined;
|
|
93
|
-
/** End time (exclusive) */
|
|
94
|
-
end?: Timestamp | undefined;
|
|
95
|
-
}
|
|
96
|
-
export declare const Links: MessageFns<Links>;
|
|
97
|
-
export declare const Links_MetaEntry: MessageFns<Links_MetaEntry>;
|
|
98
|
-
export declare const Response: MessageFns<Response>;
|
|
99
|
-
export declare const ErrorObjectSource: MessageFns<ErrorObjectSource>;
|
|
100
|
-
export declare const ErrorObject: MessageFns<ErrorObject>;
|
|
101
|
-
export declare const ErrorObject_MetaEntry: MessageFns<ErrorObject_MetaEntry>;
|
|
102
|
-
export declare const ErrorCaller: MessageFns<ErrorCaller>;
|
|
103
|
-
export declare const PaginationRequest: MessageFns<PaginationRequest>;
|
|
104
|
-
export declare const PaginationResponse: MessageFns<PaginationResponse>;
|
|
105
|
-
export declare const TimeRange: MessageFns<TimeRange>;
|
|
106
|
-
export interface ErrorService {
|
|
107
|
-
Error(request: Response): Promise<Response>;
|
|
108
|
-
}
|
|
109
|
-
export declare const ErrorServiceServiceName = "jsonapi.v1.ErrorService";
|
|
110
|
-
export declare class ErrorServiceClientImpl implements ErrorService {
|
|
111
|
-
private readonly rpc;
|
|
112
|
-
private readonly service;
|
|
113
|
-
constructor(rpc: Rpc, opts?: {
|
|
114
|
-
service?: string;
|
|
115
|
-
});
|
|
116
|
-
Error(request: Response): Promise<Response>;
|
|
117
|
-
}
|
|
118
|
-
interface Rpc {
|
|
119
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
120
|
-
}
|
|
121
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
122
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
123
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
124
|
-
} : Partial<T>;
|
|
125
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
126
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
127
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
128
|
-
} & {
|
|
129
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
130
|
-
};
|
|
131
|
-
export interface MessageFns<T> {
|
|
132
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
133
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
134
|
-
fromJSON(object: any): T;
|
|
135
|
-
toJSON(message: T): unknown;
|
|
136
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
137
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
138
|
-
}
|
|
139
|
-
export {};
|
|
140
|
-
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../generated/jsonapi/v1/base.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,eAAO,MAAM,eAAe,eAAe,CAAC;AAE5C,sEAAsE;AACtE,MAAM,WAAW,KAAK;IACpB,mGAAmG;IACnG,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,GAAG,CAAC,EACA,MAAM,GACN,SAAS,CAAC;IACd,0FAA0F;IAC1F,WAAW,CAAC,EACR,MAAM,GACN,SAAS,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EACF,MAAM,GACN,SAAS,CAAC;IACd,+DAA+D;IAC/D,IAAI,CAAC,EACD,MAAM,GACN,SAAS,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC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AAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC;AAgCnG,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
3
|
-
import { PaginationRequest, PaginationResponse } from '../../jsonapi/v1/base';
|
|
4
|
-
import { Asset, CreateAssetRequest, PutAssetRequest } from './assets';
|
|
5
|
-
import { SortOrder } from './character';
|
|
6
|
-
export declare const protobufPackage = "platform.v1";
|
|
7
|
-
export declare enum AssetBindingType {
|
|
8
|
-
ASSET_BINDING_TYPE_UNSPECIFIED = 0,
|
|
9
|
-
ASSET_BINDING_TYPE_CHARACTER = 1,
|
|
10
|
-
UNRECOGNIZED = -1
|
|
11
|
-
}
|
|
12
|
-
export declare function assetBindingTypeFromJSON(object: any): AssetBindingType;
|
|
13
|
-
export declare function assetBindingTypeToJSON(object: AssetBindingType): string;
|
|
14
|
-
export declare enum AssetGroupSortField {
|
|
15
|
-
ASSET_GROUP_SORT_FIELD_UNSPECIFIED = 0,
|
|
16
|
-
ASSET_GROUP_SORT_FIELD_UPDATED_AT = 1,
|
|
17
|
-
UNRECOGNIZED = -1
|
|
18
|
-
}
|
|
19
|
-
export declare function assetGroupSortFieldFromJSON(object: any): AssetGroupSortField;
|
|
20
|
-
export declare function assetGroupSortFieldToJSON(object: AssetGroupSortField): string;
|
|
21
|
-
export interface AssetsBinding {
|
|
22
|
-
type: AssetBindingType;
|
|
23
|
-
/** 绑定对象的ID */
|
|
24
|
-
bindingId: string;
|
|
25
|
-
}
|
|
26
|
-
/** ListCharacter 中返回的 AssetGroup */
|
|
27
|
-
export interface CharacterAssetGroup {
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
coverUrl: string;
|
|
31
|
-
assets: Asset[];
|
|
32
|
-
/**
|
|
33
|
-
* repeated AssetsBinding bindings = 5;
|
|
34
|
-
* google.protobuf.Struct metadata = 6;
|
|
35
|
-
*/
|
|
36
|
-
version: string;
|
|
37
|
-
debugInfo?: {
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
} | undefined;
|
|
40
|
-
taskId?: string | undefined;
|
|
41
|
-
shapeNpy?: Uint8Array | undefined;
|
|
42
|
-
materialId?: string | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Timestamps
|
|
45
|
-
* google.protobuf.Timestamp created_at = 15;
|
|
46
|
-
*/
|
|
47
|
-
updatedAt?: Timestamp | undefined;
|
|
48
|
-
/** google.protobuf.Timestamp deleted_at = 17; */
|
|
49
|
-
createdBy?: string | undefined;
|
|
50
|
-
}
|
|
51
|
-
export interface AssetGroup {
|
|
52
|
-
id: string;
|
|
53
|
-
name: string;
|
|
54
|
-
coverUrl: string;
|
|
55
|
-
assets: Asset[];
|
|
56
|
-
bindings: AssetsBinding[];
|
|
57
|
-
metadata?: {
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
} | undefined;
|
|
60
|
-
version: string;
|
|
61
|
-
debugInfo?: {
|
|
62
|
-
[key: string]: any;
|
|
63
|
-
} | undefined;
|
|
64
|
-
taskId?: string | undefined;
|
|
65
|
-
shapeNpy?: Uint8Array | undefined;
|
|
66
|
-
materialId?: string | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Timestamps
|
|
69
|
-
* google.protobuf.Timestamp created_at = 15;
|
|
70
|
-
*/
|
|
71
|
-
updatedAt?: Timestamp | undefined;
|
|
72
|
-
/** google.protobuf.Timestamp deleted_at = 17; */
|
|
73
|
-
createdBy?: string | undefined;
|
|
74
|
-
}
|
|
75
|
-
export interface CreateAssetGroupRequest {
|
|
76
|
-
name: string;
|
|
77
|
-
bindings: AssetsBinding[];
|
|
78
|
-
assets: CreateAssetRequest[];
|
|
79
|
-
metadata?: {
|
|
80
|
-
[key: string]: any;
|
|
81
|
-
} | undefined;
|
|
82
|
-
version: string;
|
|
83
|
-
debugInfo?: {
|
|
84
|
-
[key: string]: any;
|
|
85
|
-
} | undefined;
|
|
86
|
-
taskId?: string | undefined;
|
|
87
|
-
shapeNpy?: Uint8Array | undefined;
|
|
88
|
-
}
|
|
89
|
-
export interface CreateAssetGroupResponse {
|
|
90
|
-
assetGroup?: AssetGroup | undefined;
|
|
91
|
-
}
|
|
92
|
-
export interface GetAssetGroupRequest {
|
|
93
|
-
id: string;
|
|
94
|
-
}
|
|
95
|
-
export interface GetAssetGroupResponse {
|
|
96
|
-
assetGroup?: AssetGroup | undefined;
|
|
97
|
-
}
|
|
98
|
-
export interface UpdateAssetGroupRequest {
|
|
99
|
-
id: string;
|
|
100
|
-
name?: string | undefined;
|
|
101
|
-
assets: PutAssetRequest[];
|
|
102
|
-
bindings: AssetsBinding[];
|
|
103
|
-
metadata?: {
|
|
104
|
-
[key: string]: any;
|
|
105
|
-
} | undefined;
|
|
106
|
-
debugInfo?: {
|
|
107
|
-
[key: string]: any;
|
|
108
|
-
} | undefined;
|
|
109
|
-
taskId?: string | undefined;
|
|
110
|
-
shapeNpy?: Uint8Array | undefined;
|
|
111
|
-
}
|
|
112
|
-
export interface UpdateAssetGroupResponse {
|
|
113
|
-
assetGroup?: AssetGroup | undefined;
|
|
114
|
-
}
|
|
115
|
-
export interface DeleteAssetGroupRequest {
|
|
116
|
-
id: string;
|
|
117
|
-
}
|
|
118
|
-
export interface DeleteAssetGroupResponse {
|
|
119
|
-
}
|
|
120
|
-
export interface ListAssetGroupsRequest {
|
|
121
|
-
/** Pagination */
|
|
122
|
-
pagination?: PaginationRequest | undefined;
|
|
123
|
-
/** Basic filters */
|
|
124
|
-
name?: string | undefined;
|
|
125
|
-
/** Filter by asset group ID (exact match) */
|
|
126
|
-
id?: string | undefined;
|
|
127
|
-
/** Filter by creator user ID */
|
|
128
|
-
createdBy?: string | undefined;
|
|
129
|
-
/** Version filter */
|
|
130
|
-
version?: string | undefined;
|
|
131
|
-
/** Task and material filters */
|
|
132
|
-
taskId?: string | undefined;
|
|
133
|
-
/** Filter by material ID */
|
|
134
|
-
materialId?: string | undefined;
|
|
135
|
-
/** Sort options (when not specified, defaults to updated_at DESC) */
|
|
136
|
-
sortBy?: AssetGroupSortField | undefined;
|
|
137
|
-
/** Sort order */
|
|
138
|
-
sortOrder?: SortOrder | undefined;
|
|
139
|
-
}
|
|
140
|
-
export interface ListAssetGroupsResponse {
|
|
141
|
-
assetGroups: AssetGroup[];
|
|
142
|
-
pagination?: PaginationResponse | undefined;
|
|
143
|
-
}
|
|
144
|
-
export interface SyncAssetGroupRequest {
|
|
145
|
-
id: string;
|
|
146
|
-
/** 目标区域,如 "us", "cn" */
|
|
147
|
-
targetRegion: string;
|
|
148
|
-
}
|
|
149
|
-
export interface SyncAssetGroupResponse {
|
|
150
|
-
assetGroup?: AssetGroup | undefined;
|
|
151
|
-
}
|
|
152
|
-
export interface CreateAssetGroupFromZipRequest {
|
|
153
|
-
zipUrl: string;
|
|
154
|
-
name: string;
|
|
155
|
-
userId: string;
|
|
156
|
-
taskId?: string | undefined;
|
|
157
|
-
materialId?: string | undefined;
|
|
158
|
-
}
|
|
159
|
-
export interface CreateAssetGroupFromZipResponse {
|
|
160
|
-
assetGroup?: AssetGroup | undefined;
|
|
161
|
-
}
|
|
162
|
-
export declare const AssetsBinding: MessageFns<AssetsBinding>;
|
|
163
|
-
export declare const CharacterAssetGroup: MessageFns<CharacterAssetGroup>;
|
|
164
|
-
export declare const AssetGroup: MessageFns<AssetGroup>;
|
|
165
|
-
export declare const CreateAssetGroupRequest: MessageFns<CreateAssetGroupRequest>;
|
|
166
|
-
export declare const CreateAssetGroupResponse: MessageFns<CreateAssetGroupResponse>;
|
|
167
|
-
export declare const GetAssetGroupRequest: MessageFns<GetAssetGroupRequest>;
|
|
168
|
-
export declare const GetAssetGroupResponse: MessageFns<GetAssetGroupResponse>;
|
|
169
|
-
export declare const UpdateAssetGroupRequest: MessageFns<UpdateAssetGroupRequest>;
|
|
170
|
-
export declare const UpdateAssetGroupResponse: MessageFns<UpdateAssetGroupResponse>;
|
|
171
|
-
export declare const DeleteAssetGroupRequest: MessageFns<DeleteAssetGroupRequest>;
|
|
172
|
-
export declare const DeleteAssetGroupResponse: MessageFns<DeleteAssetGroupResponse>;
|
|
173
|
-
export declare const ListAssetGroupsRequest: MessageFns<ListAssetGroupsRequest>;
|
|
174
|
-
export declare const ListAssetGroupsResponse: MessageFns<ListAssetGroupsResponse>;
|
|
175
|
-
export declare const SyncAssetGroupRequest: MessageFns<SyncAssetGroupRequest>;
|
|
176
|
-
export declare const SyncAssetGroupResponse: MessageFns<SyncAssetGroupResponse>;
|
|
177
|
-
export declare const CreateAssetGroupFromZipRequest: MessageFns<CreateAssetGroupFromZipRequest>;
|
|
178
|
-
export declare const CreateAssetGroupFromZipResponse: MessageFns<CreateAssetGroupFromZipResponse>;
|
|
179
|
-
export interface AssetGroupService {
|
|
180
|
-
CreateAssetGroup(request: CreateAssetGroupRequest): Promise<CreateAssetGroupResponse>;
|
|
181
|
-
GetAssetGroup(request: GetAssetGroupRequest): Promise<GetAssetGroupResponse>;
|
|
182
|
-
UpdateAssetGroup(request: UpdateAssetGroupRequest): Promise<UpdateAssetGroupResponse>;
|
|
183
|
-
DeleteAssetGroup(request: DeleteAssetGroupRequest): Promise<DeleteAssetGroupResponse>;
|
|
184
|
-
ListAssetGroups(request: ListAssetGroupsRequest): Promise<ListAssetGroupsResponse>;
|
|
185
|
-
SyncAssetGroup(request: SyncAssetGroupRequest): Promise<SyncAssetGroupResponse>;
|
|
186
|
-
CreateAssetGroupFromZip(request: CreateAssetGroupFromZipRequest): Promise<CreateAssetGroupFromZipResponse>;
|
|
187
|
-
}
|
|
188
|
-
export declare const AssetGroupServiceServiceName = "platform.v1.AssetGroupService";
|
|
189
|
-
export declare class AssetGroupServiceClientImpl implements AssetGroupService {
|
|
190
|
-
private readonly rpc;
|
|
191
|
-
private readonly service;
|
|
192
|
-
constructor(rpc: Rpc, opts?: {
|
|
193
|
-
service?: string;
|
|
194
|
-
});
|
|
195
|
-
CreateAssetGroup(request: CreateAssetGroupRequest): Promise<CreateAssetGroupResponse>;
|
|
196
|
-
GetAssetGroup(request: GetAssetGroupRequest): Promise<GetAssetGroupResponse>;
|
|
197
|
-
UpdateAssetGroup(request: UpdateAssetGroupRequest): Promise<UpdateAssetGroupResponse>;
|
|
198
|
-
DeleteAssetGroup(request: DeleteAssetGroupRequest): Promise<DeleteAssetGroupResponse>;
|
|
199
|
-
ListAssetGroups(request: ListAssetGroupsRequest): Promise<ListAssetGroupsResponse>;
|
|
200
|
-
SyncAssetGroup(request: SyncAssetGroupRequest): Promise<SyncAssetGroupResponse>;
|
|
201
|
-
CreateAssetGroupFromZip(request: CreateAssetGroupFromZipRequest): Promise<CreateAssetGroupFromZipResponse>;
|
|
202
|
-
}
|
|
203
|
-
interface Rpc {
|
|
204
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
205
|
-
}
|
|
206
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
207
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
208
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
209
|
-
} : Partial<T>;
|
|
210
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
211
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
212
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
213
|
-
} & {
|
|
214
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
215
|
-
};
|
|
216
|
-
export interface MessageFns<T> {
|
|
217
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
218
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
219
|
-
fromJSON(object: any): T;
|
|
220
|
-
toJSON(message: T): unknown;
|
|
221
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
222
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
223
|
-
}
|
|
224
|
-
export {};
|
|
225
|
-
//# sourceMappingURL=asset_groups.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asset_groups.d.ts","sourceRoot":"","sources":["../../../../generated/platform/v1/asset_groups.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,SAAS,EAAsC,MAAM,aAAa,CAAC;AAE5E,eAAO,MAAM,eAAe,gBA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