@dcl-regenesislabs/sdk-commands 0.0.0-stage → 7.0.0-42707159203.commit-ff138cd
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/.dclrc +19 -0
- package/LICENSE +201 -0
- package/README.md +106 -2
- package/dist/commands/build/index.d.ts +23 -0
- package/dist/commands/build/index.js +80 -0
- package/dist/commands/build/index.js.map +1 -0
- package/dist/commands/code-to-composite/asset-migrator.d.ts +25 -0
- package/dist/commands/code-to-composite/asset-migrator.js +238 -0
- package/dist/commands/code-to-composite/asset-migrator.js.map +1 -0
- package/dist/commands/code-to-composite/code-commenter.d.ts +11 -0
- package/dist/commands/code-to-composite/code-commenter.js +87 -0
- package/dist/commands/code-to-composite/code-commenter.js.map +1 -0
- package/dist/commands/code-to-composite/composite-generator.d.ts +6 -0
- package/dist/commands/code-to-composite/composite-generator.js +65 -0
- package/dist/commands/code-to-composite/composite-generator.js.map +1 -0
- package/dist/commands/code-to-composite/index.d.ts +16 -0
- package/dist/commands/code-to-composite/index.js +130 -0
- package/dist/commands/code-to-composite/index.js.map +1 -0
- package/dist/commands/code-to-composite/name-generator.d.ts +9 -0
- package/dist/commands/code-to-composite/name-generator.js +139 -0
- package/dist/commands/code-to-composite/name-generator.js.map +1 -0
- package/dist/commands/code-to-composite/scene-executor.d.ts +15 -0
- package/dist/commands/code-to-composite/scene-executor.js +421 -0
- package/dist/commands/code-to-composite/scene-executor.js.map +1 -0
- package/dist/commands/deploy/analytics-features.d.ts +4 -0
- package/dist/commands/deploy/analytics-features.js +11 -0
- package/dist/commands/deploy/analytics-features.js.map +1 -0
- package/dist/commands/deploy/deployment.d.ts +51 -0
- package/dist/commands/deploy/deployment.js +122 -0
- package/dist/commands/deploy/deployment.js.map +1 -0
- package/dist/commands/deploy/index.d.ts +37 -0
- package/dist/commands/deploy/index.js +312 -0
- package/dist/commands/deploy/index.js.map +1 -0
- package/dist/commands/deploy/routes.d.ts +27 -0
- package/dist/commands/deploy/routes.js +144 -0
- package/dist/commands/deploy/routes.js.map +1 -0
- package/dist/commands/deploy/state.d.ts +60 -0
- package/dist/commands/deploy/state.js +144 -0
- package/dist/commands/deploy/state.js.map +1 -0
- package/dist/commands/deploy/upload.d.ts +23 -0
- package/dist/commands/deploy/upload.js +120 -0
- package/dist/commands/deploy/upload.js.map +1 -0
- package/dist/commands/deploy/utils.d.ts +131 -0
- package/dist/commands/deploy/utils.js +432 -0
- package/dist/commands/deploy/utils.js.map +1 -0
- package/dist/commands/export-static/index.d.ts +27 -0
- package/dist/commands/export-static/index.js +155 -0
- package/dist/commands/export-static/index.js.map +1 -0
- package/dist/commands/get-context-files/index.d.ts +12 -0
- package/dist/commands/get-context-files/index.js +119 -0
- package/dist/commands/get-context-files/index.js.map +1 -0
- package/dist/commands/init/download-github-folder.d.ts +2 -0
- package/dist/commands/init/download-github-folder.js +69 -0
- package/dist/commands/init/download-github-folder.js.map +1 -0
- package/dist/commands/init/index.d.ts +18 -0
- package/dist/commands/init/index.js +98 -0
- package/dist/commands/init/index.js.map +1 -0
- package/dist/commands/init/project.d.ts +7 -0
- package/dist/commands/init/project.js +36 -0
- package/dist/commands/init/project.js.map +1 -0
- package/dist/commands/init/repos.d.ts +4 -0
- package/dist/commands/init/repos.js +21 -0
- package/dist/commands/init/repos.js.map +1 -0
- package/dist/commands/pack-smart-wearable/index.d.ts +16 -0
- package/dist/commands/pack-smart-wearable/index.js +108 -0
- package/dist/commands/pack-smart-wearable/index.js.map +1 -0
- package/dist/commands/quests/index.d.ts +28 -0
- package/dist/commands/quests/index.js +271 -0
- package/dist/commands/quests/index.js.map +1 -0
- package/dist/commands/quests/types.d.ts +41 -0
- package/dist/commands/quests/types.js +3 -0
- package/dist/commands/quests/types.js.map +1 -0
- package/dist/commands/quests/utils.d.ts +20 -0
- package/dist/commands/quests/utils.js +253 -0
- package/dist/commands/quests/utils.js.map +1 -0
- package/dist/commands/start/data-layer/fs.d.ts +8 -0
- package/dist/commands/start/data-layer/fs.js +73 -0
- package/dist/commands/start/data-layer/fs.js.map +1 -0
- package/dist/commands/start/data-layer/rpc.d.ts +8 -0
- package/dist/commands/start/data-layer/rpc.js +54 -0
- package/dist/commands/start/data-layer/rpc.js.map +1 -0
- package/dist/commands/start/data-layer/ws.d.ts +4 -0
- package/dist/commands/start/data-layer/ws.js +17 -0
- package/dist/commands/start/data-layer/ws.js.map +1 -0
- package/dist/commands/start/explorer-alpha.d.ts +19 -0
- package/dist/commands/start/explorer-alpha.js +109 -0
- package/dist/commands/start/explorer-alpha.js.map +1 -0
- package/dist/commands/start/index.d.ts +46 -0
- package/dist/commands/start/index.js +300 -0
- package/dist/commands/start/index.js.map +1 -0
- package/dist/commands/start/server/endpoints.d.ts +5 -0
- package/dist/commands/start/server/endpoints.js +417 -0
- package/dist/commands/start/server/endpoints.js.map +1 -0
- package/dist/commands/start/server/file-watch-notifier.d.ts +12 -0
- package/dist/commands/start/server/file-watch-notifier.js +96 -0
- package/dist/commands/start/server/file-watch-notifier.js.map +1 -0
- package/dist/commands/start/server/realm.d.ts +7 -0
- package/dist/commands/start/server/realm.js +58 -0
- package/dist/commands/start/server/realm.js.map +1 -0
- package/dist/commands/start/server/routes.d.ts +6 -0
- package/dist/commands/start/server/routes.js +77 -0
- package/dist/commands/start/server/routes.js.map +1 -0
- package/dist/commands/start/server/ws.d.ts +11 -0
- package/dist/commands/start/server/ws.js +19 -0
- package/dist/commands/start/server/ws.js.map +1 -0
- package/dist/commands/start/types.d.ts +16 -0
- package/dist/commands/start/types.js +3 -0
- package/dist/commands/start/types.js.map +1 -0
- package/dist/commands/start/utils.d.ts +8 -0
- package/dist/commands/start/utils.js +57 -0
- package/dist/commands/start/utils.js.map +1 -0
- package/dist/components/analytics.d.ts +105 -0
- package/dist/components/analytics.js +76 -0
- package/dist/components/analytics.js.map +1 -0
- package/dist/components/config.d.ts +18 -0
- package/dist/components/config.js +58 -0
- package/dist/components/config.js.map +1 -0
- package/dist/components/eth.d.ts +2 -0
- package/dist/components/eth.js +6 -0
- package/dist/components/eth.js.map +1 -0
- package/dist/components/exit-signal.d.ts +5 -0
- package/dist/components/exit-signal.js +21 -0
- package/dist/components/exit-signal.js.map +1 -0
- package/dist/components/fetch.d.ts +6 -0
- package/dist/components/fetch.js +9 -0
- package/dist/components/fetch.js.map +1 -0
- package/dist/components/fs.d.ts +18 -0
- package/dist/components/fs.js +85 -0
- package/dist/components/fs.js.map +1 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/components/index.js +25 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/log.d.ts +24 -0
- package/dist/components/log.js +67 -0
- package/dist/components/log.js.map +1 -0
- package/dist/generated/decentraland/common/border_rect.gen.d.ts +49 -0
- package/dist/generated/decentraland/common/border_rect.gen.js +199 -0
- package/dist/generated/decentraland/common/border_rect.gen.js.map +1 -0
- package/dist/generated/decentraland/common/vectors.gen.d.ts +71 -0
- package/dist/generated/decentraland/common/vectors.gen.js +334 -0
- package/dist/generated/decentraland/common/vectors.gen.js.map +1 -0
- package/dist/generated/decentraland/realm/about.gen.d.ts +229 -0
- package/dist/generated/decentraland/realm/about.gen.js +1175 -0
- package/dist/generated/decentraland/realm/about.gen.js.map +1 -0
- package/dist/generated/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/dist/generated/decentraland/sdk/development/local_development.gen.js +278 -0
- package/dist/generated/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/dist/linker-dapp/routes.d.ts +32 -0
- package/dist/linker-dapp/routes.js +140 -0
- package/dist/linker-dapp/routes.js.map +1 -0
- package/dist/locales/en.json +84 -0
- package/dist/locales/es.json +84 -0
- package/dist/locales/zh.json +84 -0
- package/dist/logic/account.d.ts +6 -0
- package/dist/logic/account.js +25 -0
- package/dist/logic/account.js.map +1 -0
- package/dist/logic/args.d.ts +6 -0
- package/dist/logic/args.js +25 -0
- package/dist/logic/args.js.map +1 -0
- package/dist/logic/beautiful-logs.d.ts +14 -0
- package/dist/logic/beautiful-logs.js +55 -0
- package/dist/logic/beautiful-logs.js.map +1 -0
- package/dist/logic/bundle.d.ts +47 -0
- package/dist/logic/bundle.js +573 -0
- package/dist/logic/bundle.js.map +1 -0
- package/dist/logic/catalyst-requests.d.ts +20 -0
- package/dist/logic/catalyst-requests.js +54 -0
- package/dist/logic/catalyst-requests.js.map +1 -0
- package/dist/logic/commands.d.ts +3 -0
- package/dist/logic/commands.js +30 -0
- package/dist/logic/commands.js.map +1 -0
- package/dist/logic/composite.d.ts +15 -0
- package/dist/logic/composite.js +105 -0
- package/dist/logic/composite.js.map +1 -0
- package/dist/logic/config.d.ts +24 -0
- package/dist/logic/config.js +88 -0
- package/dist/logic/config.js.map +1 -0
- package/dist/logic/coordinates.d.ts +14 -0
- package/dist/logic/coordinates.js +31 -0
- package/dist/logic/coordinates.js.map +1 -0
- package/dist/logic/dcl-ignore.d.ts +8 -0
- package/dist/logic/dcl-ignore.js +53 -0
- package/dist/logic/dcl-ignore.js.map +1 -0
- package/dist/logic/debounce.d.ts +1 -0
- package/dist/logic/debounce.js +11 -0
- package/dist/logic/debounce.js.map +1 -0
- package/dist/logic/error.d.ts +7 -0
- package/dist/logic/error.js +13 -0
- package/dist/logic/error.js.map +1 -0
- package/dist/logic/exec.d.ts +12 -0
- package/dist/logic/exec.js +40 -0
- package/dist/logic/exec.js.map +1 -0
- package/dist/logic/fetch.d.ts +25 -0
- package/dist/logic/fetch.js +42 -0
- package/dist/logic/fetch.js.map +1 -0
- package/dist/logic/fs.d.ts +33 -0
- package/dist/logic/fs.js +57 -0
- package/dist/logic/fs.js.map +1 -0
- package/dist/logic/future.d.ts +6 -0
- package/dist/logic/future.js +14 -0
- package/dist/logic/future.js.map +1 -0
- package/dist/logic/get-free-port.d.ts +1 -0
- package/dist/logic/get-free-port.js +70 -0
- package/dist/logic/get-free-port.js.map +1 -0
- package/dist/logic/lang.d.ts +7 -0
- package/dist/logic/lang.js +41 -0
- package/dist/logic/lang.js.map +1 -0
- package/dist/logic/open.d.ts +1 -0
- package/dist/logic/open.js +41 -0
- package/dist/logic/open.js.map +1 -0
- package/dist/logic/portable-experience-sw-validations.d.ts +18 -0
- package/dist/logic/portable-experience-sw-validations.js +48 -0
- package/dist/logic/portable-experience-sw-validations.js.map +1 -0
- package/dist/logic/project-files.d.ts +40 -0
- package/dist/logic/project-files.js +158 -0
- package/dist/logic/project-files.js.map +1 -0
- package/dist/logic/project-validations.d.ts +45 -0
- package/dist/logic/project-validations.js +143 -0
- package/dist/logic/project-validations.js.map +1 -0
- package/dist/logic/promise-utils.d.ts +1 -0
- package/dist/logic/promise-utils.js +20 -0
- package/dist/logic/promise-utils.js.map +1 -0
- package/dist/logic/prompts.d.ts +23 -0
- package/dist/logic/prompts.js +74 -0
- package/dist/logic/prompts.js.map +1 -0
- package/dist/logic/realm.d.ts +3 -0
- package/dist/logic/realm.js +32 -0
- package/dist/logic/realm.js.map +1 -0
- package/dist/logic/runtime-script.d.ts +42 -0
- package/dist/logic/runtime-script.js +217 -0
- package/dist/logic/runtime-script.js.map +1 -0
- package/dist/logic/runtime-script.ts +270 -0
- package/dist/logic/scene-validations.d.ts +35 -0
- package/dist/logic/scene-validations.js +135 -0
- package/dist/logic/scene-validations.js.map +1 -0
- package/dist/logic/script-module.d.ts.template +87 -0
- package/dist/logic/workspace-validations.d.ts +27 -0
- package/dist/logic/workspace-validations.js +136 -0
- package/dist/logic/workspace-validations.js.map +1 -0
- package/dist/run-command.d.ts +7 -0
- package/dist/run-command.js +95 -0
- package/dist/run-command.js.map +1 -0
- package/dist/run-dapp.d.ts +23 -0
- package/dist/run-dapp.js +66 -0
- package/dist/run-dapp.js.map +1 -0
- package/package.json +74 -3
- package/scripts/postinstall.js +17 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Quaternion = exports.Vector2 = exports.Vector3 = exports.Position = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.common";
|
|
10
|
+
function createBasePosition() {
|
|
11
|
+
return { x: 0, y: 0, z: 0 };
|
|
12
|
+
}
|
|
13
|
+
var Position;
|
|
14
|
+
(function (Position) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.x !== 0) {
|
|
17
|
+
writer.uint32(13).float(message.x);
|
|
18
|
+
}
|
|
19
|
+
if (message.y !== 0) {
|
|
20
|
+
writer.uint32(21).float(message.y);
|
|
21
|
+
}
|
|
22
|
+
if (message.z !== 0) {
|
|
23
|
+
writer.uint32(29).float(message.z);
|
|
24
|
+
}
|
|
25
|
+
return writer;
|
|
26
|
+
}
|
|
27
|
+
Position.encode = encode;
|
|
28
|
+
function decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasePosition();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 13) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.x = reader.float();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 21) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.y = reader.float();
|
|
46
|
+
continue;
|
|
47
|
+
case 3:
|
|
48
|
+
if (tag !== 29) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.z = reader.float();
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
reader.skipType(tag & 7);
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
}
|
|
61
|
+
Position.decode = decode;
|
|
62
|
+
function fromJSON(object) {
|
|
63
|
+
return {
|
|
64
|
+
x: isSet(object.x) ? Number(object.x) : 0,
|
|
65
|
+
y: isSet(object.y) ? Number(object.y) : 0,
|
|
66
|
+
z: isSet(object.z) ? Number(object.z) : 0,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
Position.fromJSON = fromJSON;
|
|
70
|
+
function toJSON(message) {
|
|
71
|
+
const obj = {};
|
|
72
|
+
message.x !== undefined && (obj.x = message.x);
|
|
73
|
+
message.y !== undefined && (obj.y = message.y);
|
|
74
|
+
message.z !== undefined && (obj.z = message.z);
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
Position.toJSON = toJSON;
|
|
78
|
+
function create(base) {
|
|
79
|
+
return Position.fromPartial(base ?? {});
|
|
80
|
+
}
|
|
81
|
+
Position.create = create;
|
|
82
|
+
function fromPartial(object) {
|
|
83
|
+
const message = createBasePosition();
|
|
84
|
+
message.x = object.x ?? 0;
|
|
85
|
+
message.y = object.y ?? 0;
|
|
86
|
+
message.z = object.z ?? 0;
|
|
87
|
+
return message;
|
|
88
|
+
}
|
|
89
|
+
Position.fromPartial = fromPartial;
|
|
90
|
+
})(Position || (exports.Position = Position = {}));
|
|
91
|
+
function createBaseVector3() {
|
|
92
|
+
return { x: 0, y: 0, z: 0 };
|
|
93
|
+
}
|
|
94
|
+
var Vector3;
|
|
95
|
+
(function (Vector3) {
|
|
96
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
97
|
+
if (message.x !== 0) {
|
|
98
|
+
writer.uint32(13).float(message.x);
|
|
99
|
+
}
|
|
100
|
+
if (message.y !== 0) {
|
|
101
|
+
writer.uint32(21).float(message.y);
|
|
102
|
+
}
|
|
103
|
+
if (message.z !== 0) {
|
|
104
|
+
writer.uint32(29).float(message.z);
|
|
105
|
+
}
|
|
106
|
+
return writer;
|
|
107
|
+
}
|
|
108
|
+
Vector3.encode = encode;
|
|
109
|
+
function decode(input, length) {
|
|
110
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
111
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
112
|
+
const message = createBaseVector3();
|
|
113
|
+
while (reader.pos < end) {
|
|
114
|
+
const tag = reader.uint32();
|
|
115
|
+
switch (tag >>> 3) {
|
|
116
|
+
case 1:
|
|
117
|
+
if (tag !== 13) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
message.x = reader.float();
|
|
121
|
+
continue;
|
|
122
|
+
case 2:
|
|
123
|
+
if (tag !== 21) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
message.y = reader.float();
|
|
127
|
+
continue;
|
|
128
|
+
case 3:
|
|
129
|
+
if (tag !== 29) {
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
message.z = reader.float();
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
reader.skipType(tag & 7);
|
|
139
|
+
}
|
|
140
|
+
return message;
|
|
141
|
+
}
|
|
142
|
+
Vector3.decode = decode;
|
|
143
|
+
function fromJSON(object) {
|
|
144
|
+
return {
|
|
145
|
+
x: isSet(object.x) ? Number(object.x) : 0,
|
|
146
|
+
y: isSet(object.y) ? Number(object.y) : 0,
|
|
147
|
+
z: isSet(object.z) ? Number(object.z) : 0,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
Vector3.fromJSON = fromJSON;
|
|
151
|
+
function toJSON(message) {
|
|
152
|
+
const obj = {};
|
|
153
|
+
message.x !== undefined && (obj.x = message.x);
|
|
154
|
+
message.y !== undefined && (obj.y = message.y);
|
|
155
|
+
message.z !== undefined && (obj.z = message.z);
|
|
156
|
+
return obj;
|
|
157
|
+
}
|
|
158
|
+
Vector3.toJSON = toJSON;
|
|
159
|
+
function create(base) {
|
|
160
|
+
return Vector3.fromPartial(base ?? {});
|
|
161
|
+
}
|
|
162
|
+
Vector3.create = create;
|
|
163
|
+
function fromPartial(object) {
|
|
164
|
+
const message = createBaseVector3();
|
|
165
|
+
message.x = object.x ?? 0;
|
|
166
|
+
message.y = object.y ?? 0;
|
|
167
|
+
message.z = object.z ?? 0;
|
|
168
|
+
return message;
|
|
169
|
+
}
|
|
170
|
+
Vector3.fromPartial = fromPartial;
|
|
171
|
+
})(Vector3 || (exports.Vector3 = Vector3 = {}));
|
|
172
|
+
function createBaseVector2() {
|
|
173
|
+
return { x: 0, y: 0 };
|
|
174
|
+
}
|
|
175
|
+
var Vector2;
|
|
176
|
+
(function (Vector2) {
|
|
177
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
178
|
+
if (message.x !== 0) {
|
|
179
|
+
writer.uint32(13).float(message.x);
|
|
180
|
+
}
|
|
181
|
+
if (message.y !== 0) {
|
|
182
|
+
writer.uint32(21).float(message.y);
|
|
183
|
+
}
|
|
184
|
+
return writer;
|
|
185
|
+
}
|
|
186
|
+
Vector2.encode = encode;
|
|
187
|
+
function decode(input, length) {
|
|
188
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
189
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
190
|
+
const message = createBaseVector2();
|
|
191
|
+
while (reader.pos < end) {
|
|
192
|
+
const tag = reader.uint32();
|
|
193
|
+
switch (tag >>> 3) {
|
|
194
|
+
case 1:
|
|
195
|
+
if (tag !== 13) {
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
message.x = reader.float();
|
|
199
|
+
continue;
|
|
200
|
+
case 2:
|
|
201
|
+
if (tag !== 21) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
message.y = reader.float();
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
reader.skipType(tag & 7);
|
|
211
|
+
}
|
|
212
|
+
return message;
|
|
213
|
+
}
|
|
214
|
+
Vector2.decode = decode;
|
|
215
|
+
function fromJSON(object) {
|
|
216
|
+
return { x: isSet(object.x) ? Number(object.x) : 0, y: isSet(object.y) ? Number(object.y) : 0 };
|
|
217
|
+
}
|
|
218
|
+
Vector2.fromJSON = fromJSON;
|
|
219
|
+
function toJSON(message) {
|
|
220
|
+
const obj = {};
|
|
221
|
+
message.x !== undefined && (obj.x = message.x);
|
|
222
|
+
message.y !== undefined && (obj.y = message.y);
|
|
223
|
+
return obj;
|
|
224
|
+
}
|
|
225
|
+
Vector2.toJSON = toJSON;
|
|
226
|
+
function create(base) {
|
|
227
|
+
return Vector2.fromPartial(base ?? {});
|
|
228
|
+
}
|
|
229
|
+
Vector2.create = create;
|
|
230
|
+
function fromPartial(object) {
|
|
231
|
+
const message = createBaseVector2();
|
|
232
|
+
message.x = object.x ?? 0;
|
|
233
|
+
message.y = object.y ?? 0;
|
|
234
|
+
return message;
|
|
235
|
+
}
|
|
236
|
+
Vector2.fromPartial = fromPartial;
|
|
237
|
+
})(Vector2 || (exports.Vector2 = Vector2 = {}));
|
|
238
|
+
function createBaseQuaternion() {
|
|
239
|
+
return { x: 0, y: 0, z: 0, w: 0 };
|
|
240
|
+
}
|
|
241
|
+
var Quaternion;
|
|
242
|
+
(function (Quaternion) {
|
|
243
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
244
|
+
if (message.x !== 0) {
|
|
245
|
+
writer.uint32(13).float(message.x);
|
|
246
|
+
}
|
|
247
|
+
if (message.y !== 0) {
|
|
248
|
+
writer.uint32(21).float(message.y);
|
|
249
|
+
}
|
|
250
|
+
if (message.z !== 0) {
|
|
251
|
+
writer.uint32(29).float(message.z);
|
|
252
|
+
}
|
|
253
|
+
if (message.w !== 0) {
|
|
254
|
+
writer.uint32(37).float(message.w);
|
|
255
|
+
}
|
|
256
|
+
return writer;
|
|
257
|
+
}
|
|
258
|
+
Quaternion.encode = encode;
|
|
259
|
+
function decode(input, length) {
|
|
260
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
261
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
262
|
+
const message = createBaseQuaternion();
|
|
263
|
+
while (reader.pos < end) {
|
|
264
|
+
const tag = reader.uint32();
|
|
265
|
+
switch (tag >>> 3) {
|
|
266
|
+
case 1:
|
|
267
|
+
if (tag !== 13) {
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
message.x = reader.float();
|
|
271
|
+
continue;
|
|
272
|
+
case 2:
|
|
273
|
+
if (tag !== 21) {
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
message.y = reader.float();
|
|
277
|
+
continue;
|
|
278
|
+
case 3:
|
|
279
|
+
if (tag !== 29) {
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
message.z = reader.float();
|
|
283
|
+
continue;
|
|
284
|
+
case 4:
|
|
285
|
+
if (tag !== 37) {
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
288
|
+
message.w = reader.float();
|
|
289
|
+
continue;
|
|
290
|
+
}
|
|
291
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
reader.skipType(tag & 7);
|
|
295
|
+
}
|
|
296
|
+
return message;
|
|
297
|
+
}
|
|
298
|
+
Quaternion.decode = decode;
|
|
299
|
+
function fromJSON(object) {
|
|
300
|
+
return {
|
|
301
|
+
x: isSet(object.x) ? Number(object.x) : 0,
|
|
302
|
+
y: isSet(object.y) ? Number(object.y) : 0,
|
|
303
|
+
z: isSet(object.z) ? Number(object.z) : 0,
|
|
304
|
+
w: isSet(object.w) ? Number(object.w) : 0,
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
Quaternion.fromJSON = fromJSON;
|
|
308
|
+
function toJSON(message) {
|
|
309
|
+
const obj = {};
|
|
310
|
+
message.x !== undefined && (obj.x = message.x);
|
|
311
|
+
message.y !== undefined && (obj.y = message.y);
|
|
312
|
+
message.z !== undefined && (obj.z = message.z);
|
|
313
|
+
message.w !== undefined && (obj.w = message.w);
|
|
314
|
+
return obj;
|
|
315
|
+
}
|
|
316
|
+
Quaternion.toJSON = toJSON;
|
|
317
|
+
function create(base) {
|
|
318
|
+
return Quaternion.fromPartial(base ?? {});
|
|
319
|
+
}
|
|
320
|
+
Quaternion.create = create;
|
|
321
|
+
function fromPartial(object) {
|
|
322
|
+
const message = createBaseQuaternion();
|
|
323
|
+
message.x = object.x ?? 0;
|
|
324
|
+
message.y = object.y ?? 0;
|
|
325
|
+
message.z = object.z ?? 0;
|
|
326
|
+
message.w = object.w ?? 0;
|
|
327
|
+
return message;
|
|
328
|
+
}
|
|
329
|
+
Quaternion.fromPartial = fromPartial;
|
|
330
|
+
})(Quaternion || (exports.Quaternion = Quaternion = {}));
|
|
331
|
+
function isSet(value) {
|
|
332
|
+
return value !== null && value !== undefined;
|
|
333
|
+
}
|
|
334
|
+
//# sourceMappingURL=vectors.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vectors.gen.js","sourceRoot":"","sources":["../../../../src/generated/decentraland/common/vectors.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,qBAAqB,CAAC;AA0BrD,SAAS,kBAAkB;IACzB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AAC9B,CAAC;AAED,IAAiB,QAAQ,CA8ExB;AA9ED,WAAiB,QAAQ;IACvB,SAAgB,MAAM,CA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AG,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;QAC1B,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;QAC1B,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;QAC1B,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,sBAAW,cAO1B,CAAA;AACH,CAAC,EA3FgB,UAAU,0BAAV,UAAU,QA2F1B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { BorderRect } from "../common/border_rect.gen";
|
|
3
|
+
import { Vector2 } from "../common/vectors.gen";
|
|
4
|
+
export declare const protobufPackage = "decentraland.realm";
|
|
5
|
+
export interface AboutResponse {
|
|
6
|
+
healthy: boolean;
|
|
7
|
+
configurations: AboutResponse_AboutConfiguration | undefined;
|
|
8
|
+
content: AboutResponse_ContentInfo | undefined;
|
|
9
|
+
comms: AboutResponse_CommsInfo | undefined;
|
|
10
|
+
lambdas: AboutResponse_LambdasInfo | undefined;
|
|
11
|
+
bff?: AboutResponse_BffInfo | undefined;
|
|
12
|
+
acceptingUsers: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated This message was never used but it's still here for compatibility reasons
|
|
16
|
+
* The reserved keyword is not working for all the toolset we have, so in the meanwhile it keeps commented
|
|
17
|
+
*/
|
|
18
|
+
export interface AboutResponse_MinimapConfiguration {
|
|
19
|
+
}
|
|
20
|
+
export interface AboutResponse_MapConfiguration {
|
|
21
|
+
/** whether the minimap should be rendered */
|
|
22
|
+
minimapEnabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* the union of all rects here represents the places where that MAY have scenes
|
|
25
|
+
* - all the other parcels are considered as empty, up to the explorer to decide if they're walkable or not
|
|
26
|
+
* - the contained square is determined by points:
|
|
27
|
+
* - top-left with minX, maxY
|
|
28
|
+
* - bottom-left with minX, minY
|
|
29
|
+
* - top-right with maxX, maxY
|
|
30
|
+
* - bottom-right with maxX, maxY
|
|
31
|
+
* Note: the coordinate system used is the Cartesian coordinate system, where the y-axis increases upwards,
|
|
32
|
+
* not the screen coordinate system, where the origin is at the top-left corner and the y-axis increases downwards.
|
|
33
|
+
*/
|
|
34
|
+
sizes: BorderRect[];
|
|
35
|
+
satelliteView?: AboutResponse_MapConfiguration_ImageViewWithZoomLevel | undefined;
|
|
36
|
+
parcelView?: AboutResponse_MapConfiguration_ParcelView | undefined;
|
|
37
|
+
thumbnailView?: AboutResponse_MapConfiguration_ImageViewWithZoomLevel | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* ImageViewWithZoomLevel uses a description to render the minimap
|
|
41
|
+
* using different images with different zoom levels.
|
|
42
|
+
* When `version='v1'`:
|
|
43
|
+
* - The description allows the explorer to form the URL:
|
|
44
|
+
* url(x,y,zoom_level) = `{base_url}/{zoom_level}/{x},{y}{suffix_url}`
|
|
45
|
+
* - The given URL is for an image where the pixel `0,0` for the image `0,0` always
|
|
46
|
+
* points to the top-left contained square.
|
|
47
|
+
* - The `zoom_level=1` is to a ratio of 3.2 pixel per parcel, this means in a 32x32 pixel square
|
|
48
|
+
* you get 10x10 parcels.
|
|
49
|
+
* - Each increase of zoom level, double the ratio pixel per parcels.
|
|
50
|
+
*/
|
|
51
|
+
export interface AboutResponse_MapConfiguration_ImageViewWithZoomLevel {
|
|
52
|
+
/** options: ['v1'] */
|
|
53
|
+
version: string;
|
|
54
|
+
baseUrl?: string | undefined;
|
|
55
|
+
suffixUrl?: string | undefined;
|
|
56
|
+
topLeftOffset?: Vector2 | undefined;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* ParcelView uses a description to render the minimap
|
|
60
|
+
* using a image where each pixel is a parcel and each pixel
|
|
61
|
+
* has the metadata to make a representation (using a shader or image-generation client-side)
|
|
62
|
+
* When `version='v1'`:
|
|
63
|
+
* - The pixel `0,0` is the top-left contained square
|
|
64
|
+
* - The image has to be at least of contained square pixels size
|
|
65
|
+
* - The metadata inside each pixel follows the generated with the atlas server https://github.com/decentraland/atlas-server/blob/af371f2a59745a1f50b0b0b2382984288c4ae891/src/adapters/mini-map-renderer.ts#L27
|
|
66
|
+
*/
|
|
67
|
+
export interface AboutResponse_MapConfiguration_ParcelView {
|
|
68
|
+
/** options: `v1` */
|
|
69
|
+
version: string;
|
|
70
|
+
imageUrl?: string | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface AboutResponse_SkyboxConfiguration {
|
|
73
|
+
/** only one value at a time */
|
|
74
|
+
fixedHour?: number | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface AboutResponse_AboutConfiguration {
|
|
77
|
+
realmName?: string | undefined;
|
|
78
|
+
networkId: number;
|
|
79
|
+
globalScenesUrn: string[];
|
|
80
|
+
scenesUrn: string[];
|
|
81
|
+
skybox?: AboutResponse_SkyboxConfiguration | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
|
|
84
|
+
* to continously fetch the parcels around the users. if null, then the default content server will be used
|
|
85
|
+
* if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
|
|
86
|
+
*/
|
|
87
|
+
cityLoaderContentServer?: string | undefined;
|
|
88
|
+
map?: AboutResponse_MapConfiguration | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface AboutResponse_ContentInfo {
|
|
91
|
+
/** common properties */
|
|
92
|
+
healthy: boolean;
|
|
93
|
+
version?: string | undefined;
|
|
94
|
+
commitHash?: string | undefined;
|
|
95
|
+
publicUrl: string;
|
|
96
|
+
}
|
|
97
|
+
export interface AboutResponse_LambdasInfo {
|
|
98
|
+
/** common properties */
|
|
99
|
+
healthy: boolean;
|
|
100
|
+
version?: string | undefined;
|
|
101
|
+
commitHash?: string | undefined;
|
|
102
|
+
publicUrl: string;
|
|
103
|
+
}
|
|
104
|
+
export interface AboutResponse_CommsInfo {
|
|
105
|
+
/** common properties */
|
|
106
|
+
healthy: boolean;
|
|
107
|
+
version?: string | undefined;
|
|
108
|
+
commitHash?: string | undefined;
|
|
109
|
+
publicUrl?: string | undefined;
|
|
110
|
+
/** specific properties */
|
|
111
|
+
protocol: string;
|
|
112
|
+
usersCount?: number | undefined;
|
|
113
|
+
fixedAdapter?: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface AboutResponse_BffInfo {
|
|
116
|
+
/** common properties */
|
|
117
|
+
healthy: boolean;
|
|
118
|
+
version?: string | undefined;
|
|
119
|
+
commitHash?: string | undefined;
|
|
120
|
+
publicUrl: string;
|
|
121
|
+
/** specific properties */
|
|
122
|
+
userCount?: number | undefined;
|
|
123
|
+
protocolVersion?: string | undefined;
|
|
124
|
+
}
|
|
125
|
+
export declare namespace AboutResponse {
|
|
126
|
+
function encode(message: AboutResponse, writer?: _m0.Writer): _m0.Writer;
|
|
127
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse;
|
|
128
|
+
function fromJSON(object: any): AboutResponse;
|
|
129
|
+
function toJSON(message: AboutResponse): unknown;
|
|
130
|
+
function create<I extends Exact<DeepPartial<AboutResponse>, I>>(base?: I): AboutResponse;
|
|
131
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse>, I>>(object: I): AboutResponse;
|
|
132
|
+
}
|
|
133
|
+
export declare namespace AboutResponse_MinimapConfiguration {
|
|
134
|
+
function encode(_: AboutResponse_MinimapConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
135
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_MinimapConfiguration;
|
|
136
|
+
function fromJSON(_: any): AboutResponse_MinimapConfiguration;
|
|
137
|
+
function toJSON(_: AboutResponse_MinimapConfiguration): unknown;
|
|
138
|
+
function create<I extends Exact<DeepPartial<AboutResponse_MinimapConfiguration>, I>>(base?: I): AboutResponse_MinimapConfiguration;
|
|
139
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_MinimapConfiguration>, I>>(_: I): AboutResponse_MinimapConfiguration;
|
|
140
|
+
}
|
|
141
|
+
export declare namespace AboutResponse_MapConfiguration {
|
|
142
|
+
function encode(message: AboutResponse_MapConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
143
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_MapConfiguration;
|
|
144
|
+
function fromJSON(object: any): AboutResponse_MapConfiguration;
|
|
145
|
+
function toJSON(message: AboutResponse_MapConfiguration): unknown;
|
|
146
|
+
function create<I extends Exact<DeepPartial<AboutResponse_MapConfiguration>, I>>(base?: I): AboutResponse_MapConfiguration;
|
|
147
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_MapConfiguration>, I>>(object: I): AboutResponse_MapConfiguration;
|
|
148
|
+
}
|
|
149
|
+
export declare namespace AboutResponse_MapConfiguration_ImageViewWithZoomLevel {
|
|
150
|
+
function encode(message: AboutResponse_MapConfiguration_ImageViewWithZoomLevel, writer?: _m0.Writer): _m0.Writer;
|
|
151
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_MapConfiguration_ImageViewWithZoomLevel;
|
|
152
|
+
function fromJSON(object: any): AboutResponse_MapConfiguration_ImageViewWithZoomLevel;
|
|
153
|
+
function toJSON(message: AboutResponse_MapConfiguration_ImageViewWithZoomLevel): unknown;
|
|
154
|
+
function create<I extends Exact<DeepPartial<AboutResponse_MapConfiguration_ImageViewWithZoomLevel>, I>>(base?: I): AboutResponse_MapConfiguration_ImageViewWithZoomLevel;
|
|
155
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_MapConfiguration_ImageViewWithZoomLevel>, I>>(object: I): AboutResponse_MapConfiguration_ImageViewWithZoomLevel;
|
|
156
|
+
}
|
|
157
|
+
export declare namespace AboutResponse_MapConfiguration_ParcelView {
|
|
158
|
+
function encode(message: AboutResponse_MapConfiguration_ParcelView, writer?: _m0.Writer): _m0.Writer;
|
|
159
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_MapConfiguration_ParcelView;
|
|
160
|
+
function fromJSON(object: any): AboutResponse_MapConfiguration_ParcelView;
|
|
161
|
+
function toJSON(message: AboutResponse_MapConfiguration_ParcelView): unknown;
|
|
162
|
+
function create<I extends Exact<DeepPartial<AboutResponse_MapConfiguration_ParcelView>, I>>(base?: I): AboutResponse_MapConfiguration_ParcelView;
|
|
163
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_MapConfiguration_ParcelView>, I>>(object: I): AboutResponse_MapConfiguration_ParcelView;
|
|
164
|
+
}
|
|
165
|
+
export declare namespace AboutResponse_SkyboxConfiguration {
|
|
166
|
+
function encode(message: AboutResponse_SkyboxConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
167
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_SkyboxConfiguration;
|
|
168
|
+
function fromJSON(object: any): AboutResponse_SkyboxConfiguration;
|
|
169
|
+
function toJSON(message: AboutResponse_SkyboxConfiguration): unknown;
|
|
170
|
+
function create<I extends Exact<DeepPartial<AboutResponse_SkyboxConfiguration>, I>>(base?: I): AboutResponse_SkyboxConfiguration;
|
|
171
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_SkyboxConfiguration>, I>>(object: I): AboutResponse_SkyboxConfiguration;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace AboutResponse_AboutConfiguration {
|
|
174
|
+
function encode(message: AboutResponse_AboutConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
175
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_AboutConfiguration;
|
|
176
|
+
function fromJSON(object: any): AboutResponse_AboutConfiguration;
|
|
177
|
+
function toJSON(message: AboutResponse_AboutConfiguration): unknown;
|
|
178
|
+
function create<I extends Exact<DeepPartial<AboutResponse_AboutConfiguration>, I>>(base?: I): AboutResponse_AboutConfiguration;
|
|
179
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_AboutConfiguration>, I>>(object: I): AboutResponse_AboutConfiguration;
|
|
180
|
+
}
|
|
181
|
+
export declare namespace AboutResponse_ContentInfo {
|
|
182
|
+
function encode(message: AboutResponse_ContentInfo, writer?: _m0.Writer): _m0.Writer;
|
|
183
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_ContentInfo;
|
|
184
|
+
function fromJSON(object: any): AboutResponse_ContentInfo;
|
|
185
|
+
function toJSON(message: AboutResponse_ContentInfo): unknown;
|
|
186
|
+
function create<I extends Exact<DeepPartial<AboutResponse_ContentInfo>, I>>(base?: I): AboutResponse_ContentInfo;
|
|
187
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_ContentInfo>, I>>(object: I): AboutResponse_ContentInfo;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace AboutResponse_LambdasInfo {
|
|
190
|
+
function encode(message: AboutResponse_LambdasInfo, writer?: _m0.Writer): _m0.Writer;
|
|
191
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_LambdasInfo;
|
|
192
|
+
function fromJSON(object: any): AboutResponse_LambdasInfo;
|
|
193
|
+
function toJSON(message: AboutResponse_LambdasInfo): unknown;
|
|
194
|
+
function create<I extends Exact<DeepPartial<AboutResponse_LambdasInfo>, I>>(base?: I): AboutResponse_LambdasInfo;
|
|
195
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_LambdasInfo>, I>>(object: I): AboutResponse_LambdasInfo;
|
|
196
|
+
}
|
|
197
|
+
export declare namespace AboutResponse_CommsInfo {
|
|
198
|
+
function encode(message: AboutResponse_CommsInfo, writer?: _m0.Writer): _m0.Writer;
|
|
199
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_CommsInfo;
|
|
200
|
+
function fromJSON(object: any): AboutResponse_CommsInfo;
|
|
201
|
+
function toJSON(message: AboutResponse_CommsInfo): unknown;
|
|
202
|
+
function create<I extends Exact<DeepPartial<AboutResponse_CommsInfo>, I>>(base?: I): AboutResponse_CommsInfo;
|
|
203
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_CommsInfo>, I>>(object: I): AboutResponse_CommsInfo;
|
|
204
|
+
}
|
|
205
|
+
export declare namespace AboutResponse_BffInfo {
|
|
206
|
+
function encode(message: AboutResponse_BffInfo, writer?: _m0.Writer): _m0.Writer;
|
|
207
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AboutResponse_BffInfo;
|
|
208
|
+
function fromJSON(object: any): AboutResponse_BffInfo;
|
|
209
|
+
function toJSON(message: AboutResponse_BffInfo): unknown;
|
|
210
|
+
function create<I extends Exact<DeepPartial<AboutResponse_BffInfo>, I>>(base?: I): AboutResponse_BffInfo;
|
|
211
|
+
function fromPartial<I extends Exact<DeepPartial<AboutResponse_BffInfo>, I>>(object: I): AboutResponse_BffInfo;
|
|
212
|
+
}
|
|
213
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
214
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
215
|
+
$case: string;
|
|
216
|
+
} ? {
|
|
217
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
218
|
+
} & {
|
|
219
|
+
$case: T["$case"];
|
|
220
|
+
} : T extends {} ? {
|
|
221
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
222
|
+
} : Partial<T>;
|
|
223
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
224
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
225
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
226
|
+
} & {
|
|
227
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
228
|
+
};
|
|
229
|
+
export {};
|