@nimiplatform/sdk 0.24.0-rc.10 → 0.24.0-rc.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 +4 -0
- package/README.md +5 -3
- package/dist/core/ai/capability-configuration.d.ts +1 -0
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +1 -0
- package/dist/core/ai/capability-configuration.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js +6 -0
- package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts +4 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +16 -3
- package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.js +15 -4
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.js.map +1 -1
- package/dist/core/app/portable-client.d.ts +1 -1
- package/dist/core/app/portable-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.d.ts +3 -0
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +1 -1
- package/dist/core-generated/realm-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +7 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +9 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +280 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +634 -2
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +4 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +9 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
- package/dist/runtime/remote-app.d.ts +1 -0
- package/dist/runtime/remote-app.d.ts.map +1 -1
- package/dist/runtime/remote-app.js +2 -0
- package/dist/runtime/remote-app.js.map +1 -1
- package/dist/runtime/remote.d.ts +1 -0
- package/dist/runtime/remote.d.ts.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.js +1 -0
- package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
- package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
- package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3981,6 +3981,608 @@ class AppSafetyDeclaration$Type extends MessageType {
|
|
|
3981
3981
|
*/
|
|
3982
3982
|
export const AppSafetyDeclaration = new AppSafetyDeclaration$Type();
|
|
3983
3983
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3984
|
+
class AppProductUpstream$Type extends MessageType {
|
|
3985
|
+
constructor() {
|
|
3986
|
+
super("nimi.runtime.v1.AppProductUpstream", [
|
|
3987
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3988
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3989
|
+
]);
|
|
3990
|
+
}
|
|
3991
|
+
create(value) {
|
|
3992
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3993
|
+
message.name = "";
|
|
3994
|
+
message.url = "";
|
|
3995
|
+
if (value !== undefined)
|
|
3996
|
+
reflectionMergePartial(this, message, value);
|
|
3997
|
+
return message;
|
|
3998
|
+
}
|
|
3999
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4000
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4001
|
+
while (reader.pos < end) {
|
|
4002
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4003
|
+
switch (fieldNo) {
|
|
4004
|
+
case /* string name */ 1:
|
|
4005
|
+
message.name = reader.string();
|
|
4006
|
+
break;
|
|
4007
|
+
case /* string url */ 2:
|
|
4008
|
+
message.url = reader.string();
|
|
4009
|
+
break;
|
|
4010
|
+
default:
|
|
4011
|
+
let u = options.readUnknownField;
|
|
4012
|
+
if (u === "throw")
|
|
4013
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4014
|
+
let d = reader.skip(wireType);
|
|
4015
|
+
if (u !== false)
|
|
4016
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4017
|
+
}
|
|
4018
|
+
}
|
|
4019
|
+
return message;
|
|
4020
|
+
}
|
|
4021
|
+
internalBinaryWrite(message, writer, options) {
|
|
4022
|
+
/* string name = 1; */
|
|
4023
|
+
if (message.name !== "")
|
|
4024
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
4025
|
+
/* string url = 2; */
|
|
4026
|
+
if (message.url !== "")
|
|
4027
|
+
writer.tag(2, WireType.LengthDelimited).string(message.url);
|
|
4028
|
+
let u = options.writeUnknownFields;
|
|
4029
|
+
if (u !== false)
|
|
4030
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4031
|
+
return writer;
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
4034
|
+
/**
|
|
4035
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppProductUpstream
|
|
4036
|
+
*/
|
|
4037
|
+
export const AppProductUpstream = new AppProductUpstream$Type();
|
|
4038
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4039
|
+
class AppStorefrontHighlight$Type extends MessageType {
|
|
4040
|
+
constructor() {
|
|
4041
|
+
super("nimi.runtime.v1.AppStorefrontHighlight", [
|
|
4042
|
+
{ no: 1, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4043
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4044
|
+
]);
|
|
4045
|
+
}
|
|
4046
|
+
create(value) {
|
|
4047
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4048
|
+
message.title = "";
|
|
4049
|
+
message.description = "";
|
|
4050
|
+
if (value !== undefined)
|
|
4051
|
+
reflectionMergePartial(this, message, value);
|
|
4052
|
+
return message;
|
|
4053
|
+
}
|
|
4054
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4055
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4056
|
+
while (reader.pos < end) {
|
|
4057
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4058
|
+
switch (fieldNo) {
|
|
4059
|
+
case /* string title */ 1:
|
|
4060
|
+
message.title = reader.string();
|
|
4061
|
+
break;
|
|
4062
|
+
case /* string description */ 2:
|
|
4063
|
+
message.description = reader.string();
|
|
4064
|
+
break;
|
|
4065
|
+
default:
|
|
4066
|
+
let u = options.readUnknownField;
|
|
4067
|
+
if (u === "throw")
|
|
4068
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4069
|
+
let d = reader.skip(wireType);
|
|
4070
|
+
if (u !== false)
|
|
4071
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
return message;
|
|
4075
|
+
}
|
|
4076
|
+
internalBinaryWrite(message, writer, options) {
|
|
4077
|
+
/* string title = 1; */
|
|
4078
|
+
if (message.title !== "")
|
|
4079
|
+
writer.tag(1, WireType.LengthDelimited).string(message.title);
|
|
4080
|
+
/* string description = 2; */
|
|
4081
|
+
if (message.description !== "")
|
|
4082
|
+
writer.tag(2, WireType.LengthDelimited).string(message.description);
|
|
4083
|
+
let u = options.writeUnknownFields;
|
|
4084
|
+
if (u !== false)
|
|
4085
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4086
|
+
return writer;
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
4089
|
+
/**
|
|
4090
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontHighlight
|
|
4091
|
+
*/
|
|
4092
|
+
export const AppStorefrontHighlight = new AppStorefrontHighlight$Type();
|
|
4093
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4094
|
+
class AppStorefrontLocale$Type extends MessageType {
|
|
4095
|
+
constructor() {
|
|
4096
|
+
super("nimi.runtime.v1.AppStorefrontLocale", [
|
|
4097
|
+
{ no: 1, name: "locale", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4098
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4099
|
+
{ no: 3, name: "summary", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4100
|
+
{ no: 4, name: "tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4101
|
+
{ no: 5, name: "highlights", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppStorefrontHighlight },
|
|
4102
|
+
{ no: 6, name: "introduction_markdown", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4103
|
+
]);
|
|
4104
|
+
}
|
|
4105
|
+
create(value) {
|
|
4106
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4107
|
+
message.locale = "";
|
|
4108
|
+
message.displayName = "";
|
|
4109
|
+
message.summary = "";
|
|
4110
|
+
message.tags = [];
|
|
4111
|
+
message.highlights = [];
|
|
4112
|
+
message.introductionMarkdown = "";
|
|
4113
|
+
if (value !== undefined)
|
|
4114
|
+
reflectionMergePartial(this, message, value);
|
|
4115
|
+
return message;
|
|
4116
|
+
}
|
|
4117
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4118
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4119
|
+
while (reader.pos < end) {
|
|
4120
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4121
|
+
switch (fieldNo) {
|
|
4122
|
+
case /* string locale */ 1:
|
|
4123
|
+
message.locale = reader.string();
|
|
4124
|
+
break;
|
|
4125
|
+
case /* string display_name */ 2:
|
|
4126
|
+
message.displayName = reader.string();
|
|
4127
|
+
break;
|
|
4128
|
+
case /* string summary */ 3:
|
|
4129
|
+
message.summary = reader.string();
|
|
4130
|
+
break;
|
|
4131
|
+
case /* repeated string tags */ 4:
|
|
4132
|
+
message.tags.push(reader.string());
|
|
4133
|
+
break;
|
|
4134
|
+
case /* repeated nimi.runtime.v1.AppStorefrontHighlight highlights */ 5:
|
|
4135
|
+
message.highlights.push(AppStorefrontHighlight.internalBinaryRead(reader, reader.uint32(), options));
|
|
4136
|
+
break;
|
|
4137
|
+
case /* string introduction_markdown */ 6:
|
|
4138
|
+
message.introductionMarkdown = reader.string();
|
|
4139
|
+
break;
|
|
4140
|
+
default:
|
|
4141
|
+
let u = options.readUnknownField;
|
|
4142
|
+
if (u === "throw")
|
|
4143
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4144
|
+
let d = reader.skip(wireType);
|
|
4145
|
+
if (u !== false)
|
|
4146
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4147
|
+
}
|
|
4148
|
+
}
|
|
4149
|
+
return message;
|
|
4150
|
+
}
|
|
4151
|
+
internalBinaryWrite(message, writer, options) {
|
|
4152
|
+
/* string locale = 1; */
|
|
4153
|
+
if (message.locale !== "")
|
|
4154
|
+
writer.tag(1, WireType.LengthDelimited).string(message.locale);
|
|
4155
|
+
/* string display_name = 2; */
|
|
4156
|
+
if (message.displayName !== "")
|
|
4157
|
+
writer.tag(2, WireType.LengthDelimited).string(message.displayName);
|
|
4158
|
+
/* string summary = 3; */
|
|
4159
|
+
if (message.summary !== "")
|
|
4160
|
+
writer.tag(3, WireType.LengthDelimited).string(message.summary);
|
|
4161
|
+
/* repeated string tags = 4; */
|
|
4162
|
+
for (let i = 0; i < message.tags.length; i++)
|
|
4163
|
+
writer.tag(4, WireType.LengthDelimited).string(message.tags[i]);
|
|
4164
|
+
/* repeated nimi.runtime.v1.AppStorefrontHighlight highlights = 5; */
|
|
4165
|
+
for (let i = 0; i < message.highlights.length; i++)
|
|
4166
|
+
AppStorefrontHighlight.internalBinaryWrite(message.highlights[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
4167
|
+
/* string introduction_markdown = 6; */
|
|
4168
|
+
if (message.introductionMarkdown !== "")
|
|
4169
|
+
writer.tag(6, WireType.LengthDelimited).string(message.introductionMarkdown);
|
|
4170
|
+
let u = options.writeUnknownFields;
|
|
4171
|
+
if (u !== false)
|
|
4172
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4173
|
+
return writer;
|
|
4174
|
+
}
|
|
4175
|
+
}
|
|
4176
|
+
/**
|
|
4177
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontLocale
|
|
4178
|
+
*/
|
|
4179
|
+
export const AppStorefrontLocale = new AppStorefrontLocale$Type();
|
|
4180
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4181
|
+
class AppStorefrontImageRef$Type extends MessageType {
|
|
4182
|
+
constructor() {
|
|
4183
|
+
super("nimi.runtime.v1.AppStorefrontImageRef", [
|
|
4184
|
+
{ no: 1, name: "media_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4185
|
+
{ no: 2, name: "width", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
4186
|
+
{ no: 3, name: "height", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
4187
|
+
{ no: 4, name: "size", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
4188
|
+
{ no: 5, name: "sha256", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4189
|
+
]);
|
|
4190
|
+
}
|
|
4191
|
+
create(value) {
|
|
4192
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4193
|
+
message.mediaType = "";
|
|
4194
|
+
message.width = 0;
|
|
4195
|
+
message.height = 0;
|
|
4196
|
+
message.size = "0";
|
|
4197
|
+
message.sha256 = "";
|
|
4198
|
+
if (value !== undefined)
|
|
4199
|
+
reflectionMergePartial(this, message, value);
|
|
4200
|
+
return message;
|
|
4201
|
+
}
|
|
4202
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4203
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4204
|
+
while (reader.pos < end) {
|
|
4205
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4206
|
+
switch (fieldNo) {
|
|
4207
|
+
case /* string media_type */ 1:
|
|
4208
|
+
message.mediaType = reader.string();
|
|
4209
|
+
break;
|
|
4210
|
+
case /* uint32 width */ 2:
|
|
4211
|
+
message.width = reader.uint32();
|
|
4212
|
+
break;
|
|
4213
|
+
case /* uint32 height */ 3:
|
|
4214
|
+
message.height = reader.uint32();
|
|
4215
|
+
break;
|
|
4216
|
+
case /* uint64 size */ 4:
|
|
4217
|
+
message.size = reader.uint64().toString();
|
|
4218
|
+
break;
|
|
4219
|
+
case /* string sha256 */ 5:
|
|
4220
|
+
message.sha256 = reader.string();
|
|
4221
|
+
break;
|
|
4222
|
+
default:
|
|
4223
|
+
let u = options.readUnknownField;
|
|
4224
|
+
if (u === "throw")
|
|
4225
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4226
|
+
let d = reader.skip(wireType);
|
|
4227
|
+
if (u !== false)
|
|
4228
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4231
|
+
return message;
|
|
4232
|
+
}
|
|
4233
|
+
internalBinaryWrite(message, writer, options) {
|
|
4234
|
+
/* string media_type = 1; */
|
|
4235
|
+
if (message.mediaType !== "")
|
|
4236
|
+
writer.tag(1, WireType.LengthDelimited).string(message.mediaType);
|
|
4237
|
+
/* uint32 width = 2; */
|
|
4238
|
+
if (message.width !== 0)
|
|
4239
|
+
writer.tag(2, WireType.Varint).uint32(message.width);
|
|
4240
|
+
/* uint32 height = 3; */
|
|
4241
|
+
if (message.height !== 0)
|
|
4242
|
+
writer.tag(3, WireType.Varint).uint32(message.height);
|
|
4243
|
+
/* uint64 size = 4; */
|
|
4244
|
+
if (message.size !== "0")
|
|
4245
|
+
writer.tag(4, WireType.Varint).uint64(message.size);
|
|
4246
|
+
/* string sha256 = 5; */
|
|
4247
|
+
if (message.sha256 !== "")
|
|
4248
|
+
writer.tag(5, WireType.LengthDelimited).string(message.sha256);
|
|
4249
|
+
let u = options.writeUnknownFields;
|
|
4250
|
+
if (u !== false)
|
|
4251
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4252
|
+
return writer;
|
|
4253
|
+
}
|
|
4254
|
+
}
|
|
4255
|
+
/**
|
|
4256
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontImageRef
|
|
4257
|
+
*/
|
|
4258
|
+
export const AppStorefrontImageRef = new AppStorefrontImageRef$Type();
|
|
4259
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4260
|
+
class AppStorefrontLocalizedImage$Type extends MessageType {
|
|
4261
|
+
constructor() {
|
|
4262
|
+
super("nimi.runtime.v1.AppStorefrontLocalizedImage", [
|
|
4263
|
+
{ no: 1, name: "locale", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4264
|
+
{ no: 2, name: "image", kind: "message", T: () => AppStorefrontImageRef }
|
|
4265
|
+
]);
|
|
4266
|
+
}
|
|
4267
|
+
create(value) {
|
|
4268
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4269
|
+
message.locale = "";
|
|
4270
|
+
if (value !== undefined)
|
|
4271
|
+
reflectionMergePartial(this, message, value);
|
|
4272
|
+
return message;
|
|
4273
|
+
}
|
|
4274
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4275
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4276
|
+
while (reader.pos < end) {
|
|
4277
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4278
|
+
switch (fieldNo) {
|
|
4279
|
+
case /* string locale */ 1:
|
|
4280
|
+
message.locale = reader.string();
|
|
4281
|
+
break;
|
|
4282
|
+
case /* nimi.runtime.v1.AppStorefrontImageRef image */ 2:
|
|
4283
|
+
message.image = AppStorefrontImageRef.internalBinaryRead(reader, reader.uint32(), options, message.image);
|
|
4284
|
+
break;
|
|
4285
|
+
default:
|
|
4286
|
+
let u = options.readUnknownField;
|
|
4287
|
+
if (u === "throw")
|
|
4288
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4289
|
+
let d = reader.skip(wireType);
|
|
4290
|
+
if (u !== false)
|
|
4291
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4292
|
+
}
|
|
4293
|
+
}
|
|
4294
|
+
return message;
|
|
4295
|
+
}
|
|
4296
|
+
internalBinaryWrite(message, writer, options) {
|
|
4297
|
+
/* string locale = 1; */
|
|
4298
|
+
if (message.locale !== "")
|
|
4299
|
+
writer.tag(1, WireType.LengthDelimited).string(message.locale);
|
|
4300
|
+
/* nimi.runtime.v1.AppStorefrontImageRef image = 2; */
|
|
4301
|
+
if (message.image)
|
|
4302
|
+
AppStorefrontImageRef.internalBinaryWrite(message.image, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4303
|
+
let u = options.writeUnknownFields;
|
|
4304
|
+
if (u !== false)
|
|
4305
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4306
|
+
return writer;
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
4309
|
+
/**
|
|
4310
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontLocalizedImage
|
|
4311
|
+
*/
|
|
4312
|
+
export const AppStorefrontLocalizedImage = new AppStorefrontLocalizedImage$Type();
|
|
4313
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4314
|
+
class AppStorefrontCover$Type extends MessageType {
|
|
4315
|
+
constructor() {
|
|
4316
|
+
super("nimi.runtime.v1.AppStorefrontCover", [
|
|
4317
|
+
{ no: 1, name: "default_image", kind: "message", T: () => AppStorefrontImageRef },
|
|
4318
|
+
{ no: 2, name: "locales", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppStorefrontLocalizedImage }
|
|
4319
|
+
]);
|
|
4320
|
+
}
|
|
4321
|
+
create(value) {
|
|
4322
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4323
|
+
message.locales = [];
|
|
4324
|
+
if (value !== undefined)
|
|
4325
|
+
reflectionMergePartial(this, message, value);
|
|
4326
|
+
return message;
|
|
4327
|
+
}
|
|
4328
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4329
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4330
|
+
while (reader.pos < end) {
|
|
4331
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4332
|
+
switch (fieldNo) {
|
|
4333
|
+
case /* nimi.runtime.v1.AppStorefrontImageRef default_image */ 1:
|
|
4334
|
+
message.defaultImage = AppStorefrontImageRef.internalBinaryRead(reader, reader.uint32(), options, message.defaultImage);
|
|
4335
|
+
break;
|
|
4336
|
+
case /* repeated nimi.runtime.v1.AppStorefrontLocalizedImage locales */ 2:
|
|
4337
|
+
message.locales.push(AppStorefrontLocalizedImage.internalBinaryRead(reader, reader.uint32(), options));
|
|
4338
|
+
break;
|
|
4339
|
+
default:
|
|
4340
|
+
let u = options.readUnknownField;
|
|
4341
|
+
if (u === "throw")
|
|
4342
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4343
|
+
let d = reader.skip(wireType);
|
|
4344
|
+
if (u !== false)
|
|
4345
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
return message;
|
|
4349
|
+
}
|
|
4350
|
+
internalBinaryWrite(message, writer, options) {
|
|
4351
|
+
/* nimi.runtime.v1.AppStorefrontImageRef default_image = 1; */
|
|
4352
|
+
if (message.defaultImage)
|
|
4353
|
+
AppStorefrontImageRef.internalBinaryWrite(message.defaultImage, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4354
|
+
/* repeated nimi.runtime.v1.AppStorefrontLocalizedImage locales = 2; */
|
|
4355
|
+
for (let i = 0; i < message.locales.length; i++)
|
|
4356
|
+
AppStorefrontLocalizedImage.internalBinaryWrite(message.locales[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4357
|
+
let u = options.writeUnknownFields;
|
|
4358
|
+
if (u !== false)
|
|
4359
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4360
|
+
return writer;
|
|
4361
|
+
}
|
|
4362
|
+
}
|
|
4363
|
+
/**
|
|
4364
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontCover
|
|
4365
|
+
*/
|
|
4366
|
+
export const AppStorefrontCover = new AppStorefrontCover$Type();
|
|
4367
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4368
|
+
class AppStorefrontGalleryItem$Type extends MessageType {
|
|
4369
|
+
constructor() {
|
|
4370
|
+
super("nimi.runtime.v1.AppStorefrontGalleryItem", [
|
|
4371
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4372
|
+
{ no: 2, name: "kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4373
|
+
{ no: 3, name: "default_image", kind: "message", T: () => AppStorefrontImageRef },
|
|
4374
|
+
{ no: 4, name: "locales", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppStorefrontLocalizedImage },
|
|
4375
|
+
{ no: 5, name: "caption", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
|
|
4376
|
+
]);
|
|
4377
|
+
}
|
|
4378
|
+
create(value) {
|
|
4379
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4380
|
+
message.id = "";
|
|
4381
|
+
message.kind = "";
|
|
4382
|
+
message.locales = [];
|
|
4383
|
+
message.caption = {};
|
|
4384
|
+
if (value !== undefined)
|
|
4385
|
+
reflectionMergePartial(this, message, value);
|
|
4386
|
+
return message;
|
|
4387
|
+
}
|
|
4388
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4389
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4390
|
+
while (reader.pos < end) {
|
|
4391
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4392
|
+
switch (fieldNo) {
|
|
4393
|
+
case /* string id */ 1:
|
|
4394
|
+
message.id = reader.string();
|
|
4395
|
+
break;
|
|
4396
|
+
case /* string kind */ 2:
|
|
4397
|
+
message.kind = reader.string();
|
|
4398
|
+
break;
|
|
4399
|
+
case /* nimi.runtime.v1.AppStorefrontImageRef default_image */ 3:
|
|
4400
|
+
message.defaultImage = AppStorefrontImageRef.internalBinaryRead(reader, reader.uint32(), options, message.defaultImage);
|
|
4401
|
+
break;
|
|
4402
|
+
case /* repeated nimi.runtime.v1.AppStorefrontLocalizedImage locales */ 4:
|
|
4403
|
+
message.locales.push(AppStorefrontLocalizedImage.internalBinaryRead(reader, reader.uint32(), options));
|
|
4404
|
+
break;
|
|
4405
|
+
case /* map<string, string> caption */ 5:
|
|
4406
|
+
this.binaryReadMap5(message.caption, reader, options);
|
|
4407
|
+
break;
|
|
4408
|
+
default:
|
|
4409
|
+
let u = options.readUnknownField;
|
|
4410
|
+
if (u === "throw")
|
|
4411
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4412
|
+
let d = reader.skip(wireType);
|
|
4413
|
+
if (u !== false)
|
|
4414
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
return message;
|
|
4418
|
+
}
|
|
4419
|
+
binaryReadMap5(map, reader, options) {
|
|
4420
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
4421
|
+
while (reader.pos < end) {
|
|
4422
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4423
|
+
switch (fieldNo) {
|
|
4424
|
+
case 1:
|
|
4425
|
+
key = reader.string();
|
|
4426
|
+
break;
|
|
4427
|
+
case 2:
|
|
4428
|
+
val = reader.string();
|
|
4429
|
+
break;
|
|
4430
|
+
default: throw new globalThis.Error("unknown map entry field for nimi.runtime.v1.AppStorefrontGalleryItem.caption");
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
map[key ?? ""] = val ?? "";
|
|
4434
|
+
}
|
|
4435
|
+
internalBinaryWrite(message, writer, options) {
|
|
4436
|
+
/* string id = 1; */
|
|
4437
|
+
if (message.id !== "")
|
|
4438
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
4439
|
+
/* string kind = 2; */
|
|
4440
|
+
if (message.kind !== "")
|
|
4441
|
+
writer.tag(2, WireType.LengthDelimited).string(message.kind);
|
|
4442
|
+
/* nimi.runtime.v1.AppStorefrontImageRef default_image = 3; */
|
|
4443
|
+
if (message.defaultImage)
|
|
4444
|
+
AppStorefrontImageRef.internalBinaryWrite(message.defaultImage, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
4445
|
+
/* repeated nimi.runtime.v1.AppStorefrontLocalizedImage locales = 4; */
|
|
4446
|
+
for (let i = 0; i < message.locales.length; i++)
|
|
4447
|
+
AppStorefrontLocalizedImage.internalBinaryWrite(message.locales[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4448
|
+
/* map<string, string> caption = 5; */
|
|
4449
|
+
for (let k of globalThis.Object.keys(message.caption))
|
|
4450
|
+
writer.tag(5, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.caption[k]).join();
|
|
4451
|
+
let u = options.writeUnknownFields;
|
|
4452
|
+
if (u !== false)
|
|
4453
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4454
|
+
return writer;
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4457
|
+
/**
|
|
4458
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontGalleryItem
|
|
4459
|
+
*/
|
|
4460
|
+
export const AppStorefrontGalleryItem = new AppStorefrontGalleryItem$Type();
|
|
4461
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4462
|
+
class AppStorefrontMedia$Type extends MessageType {
|
|
4463
|
+
constructor() {
|
|
4464
|
+
super("nimi.runtime.v1.AppStorefrontMedia", [
|
|
4465
|
+
{ no: 1, name: "cover", kind: "message", T: () => AppStorefrontCover },
|
|
4466
|
+
{ no: 2, name: "gallery", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppStorefrontGalleryItem }
|
|
4467
|
+
]);
|
|
4468
|
+
}
|
|
4469
|
+
create(value) {
|
|
4470
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4471
|
+
message.gallery = [];
|
|
4472
|
+
if (value !== undefined)
|
|
4473
|
+
reflectionMergePartial(this, message, value);
|
|
4474
|
+
return message;
|
|
4475
|
+
}
|
|
4476
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4477
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4478
|
+
while (reader.pos < end) {
|
|
4479
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4480
|
+
switch (fieldNo) {
|
|
4481
|
+
case /* nimi.runtime.v1.AppStorefrontCover cover */ 1:
|
|
4482
|
+
message.cover = AppStorefrontCover.internalBinaryRead(reader, reader.uint32(), options, message.cover);
|
|
4483
|
+
break;
|
|
4484
|
+
case /* repeated nimi.runtime.v1.AppStorefrontGalleryItem gallery */ 2:
|
|
4485
|
+
message.gallery.push(AppStorefrontGalleryItem.internalBinaryRead(reader, reader.uint32(), options));
|
|
4486
|
+
break;
|
|
4487
|
+
default:
|
|
4488
|
+
let u = options.readUnknownField;
|
|
4489
|
+
if (u === "throw")
|
|
4490
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4491
|
+
let d = reader.skip(wireType);
|
|
4492
|
+
if (u !== false)
|
|
4493
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4494
|
+
}
|
|
4495
|
+
}
|
|
4496
|
+
return message;
|
|
4497
|
+
}
|
|
4498
|
+
internalBinaryWrite(message, writer, options) {
|
|
4499
|
+
/* nimi.runtime.v1.AppStorefrontCover cover = 1; */
|
|
4500
|
+
if (message.cover)
|
|
4501
|
+
AppStorefrontCover.internalBinaryWrite(message.cover, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4502
|
+
/* repeated nimi.runtime.v1.AppStorefrontGalleryItem gallery = 2; */
|
|
4503
|
+
for (let i = 0; i < message.gallery.length; i++)
|
|
4504
|
+
AppStorefrontGalleryItem.internalBinaryWrite(message.gallery[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4505
|
+
let u = options.writeUnknownFields;
|
|
4506
|
+
if (u !== false)
|
|
4507
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4508
|
+
return writer;
|
|
4509
|
+
}
|
|
4510
|
+
}
|
|
4511
|
+
/**
|
|
4512
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontMedia
|
|
4513
|
+
*/
|
|
4514
|
+
export const AppStorefrontMedia = new AppStorefrontMedia$Type();
|
|
4515
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4516
|
+
class AppStorefrontInfo$Type extends MessageType {
|
|
4517
|
+
constructor() {
|
|
4518
|
+
super("nimi.runtime.v1.AppStorefrontInfo", [
|
|
4519
|
+
{ no: 1, name: "category", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4520
|
+
{ no: 2, name: "default_locale", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4521
|
+
{ no: 3, name: "locales", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppStorefrontLocale },
|
|
4522
|
+
{ no: 4, name: "media", kind: "message", T: () => AppStorefrontMedia }
|
|
4523
|
+
]);
|
|
4524
|
+
}
|
|
4525
|
+
create(value) {
|
|
4526
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4527
|
+
message.category = "";
|
|
4528
|
+
message.defaultLocale = "";
|
|
4529
|
+
message.locales = [];
|
|
4530
|
+
if (value !== undefined)
|
|
4531
|
+
reflectionMergePartial(this, message, value);
|
|
4532
|
+
return message;
|
|
4533
|
+
}
|
|
4534
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4535
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4536
|
+
while (reader.pos < end) {
|
|
4537
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4538
|
+
switch (fieldNo) {
|
|
4539
|
+
case /* string category */ 1:
|
|
4540
|
+
message.category = reader.string();
|
|
4541
|
+
break;
|
|
4542
|
+
case /* string default_locale */ 2:
|
|
4543
|
+
message.defaultLocale = reader.string();
|
|
4544
|
+
break;
|
|
4545
|
+
case /* repeated nimi.runtime.v1.AppStorefrontLocale locales */ 3:
|
|
4546
|
+
message.locales.push(AppStorefrontLocale.internalBinaryRead(reader, reader.uint32(), options));
|
|
4547
|
+
break;
|
|
4548
|
+
case /* nimi.runtime.v1.AppStorefrontMedia media */ 4:
|
|
4549
|
+
message.media = AppStorefrontMedia.internalBinaryRead(reader, reader.uint32(), options, message.media);
|
|
4550
|
+
break;
|
|
4551
|
+
default:
|
|
4552
|
+
let u = options.readUnknownField;
|
|
4553
|
+
if (u === "throw")
|
|
4554
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4555
|
+
let d = reader.skip(wireType);
|
|
4556
|
+
if (u !== false)
|
|
4557
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
return message;
|
|
4561
|
+
}
|
|
4562
|
+
internalBinaryWrite(message, writer, options) {
|
|
4563
|
+
/* string category = 1; */
|
|
4564
|
+
if (message.category !== "")
|
|
4565
|
+
writer.tag(1, WireType.LengthDelimited).string(message.category);
|
|
4566
|
+
/* string default_locale = 2; */
|
|
4567
|
+
if (message.defaultLocale !== "")
|
|
4568
|
+
writer.tag(2, WireType.LengthDelimited).string(message.defaultLocale);
|
|
4569
|
+
/* repeated nimi.runtime.v1.AppStorefrontLocale locales = 3; */
|
|
4570
|
+
for (let i = 0; i < message.locales.length; i++)
|
|
4571
|
+
AppStorefrontLocale.internalBinaryWrite(message.locales[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
4572
|
+
/* nimi.runtime.v1.AppStorefrontMedia media = 4; */
|
|
4573
|
+
if (message.media)
|
|
4574
|
+
AppStorefrontMedia.internalBinaryWrite(message.media, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4575
|
+
let u = options.writeUnknownFields;
|
|
4576
|
+
if (u !== false)
|
|
4577
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4578
|
+
return writer;
|
|
4579
|
+
}
|
|
4580
|
+
}
|
|
4581
|
+
/**
|
|
4582
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppStorefrontInfo
|
|
4583
|
+
*/
|
|
4584
|
+
export const AppStorefrontInfo = new AppStorefrontInfo$Type();
|
|
4585
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3984
4586
|
class ApprovedAppCatalogTarget$Type extends MessageType {
|
|
3985
4587
|
constructor() {
|
|
3986
4588
|
super("nimi.runtime.v1.ApprovedAppCatalogTarget", [
|
|
@@ -4011,7 +4613,10 @@ class ApprovedAppCatalogTarget$Type extends MessageType {
|
|
|
4011
4613
|
{ no: 25, name: "policy_revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
4012
4614
|
{ no: 26, name: "macos_notarization", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4013
4615
|
{ no: 27, name: "macos_developer_id_subject", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
4014
|
-
{ no: 28, name: "safety_declaration", kind: "message", T: () => AppSafetyDeclaration }
|
|
4616
|
+
{ no: 28, name: "safety_declaration", kind: "message", T: () => AppSafetyDeclaration },
|
|
4617
|
+
{ no: 29, name: "product_origin", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4618
|
+
{ no: 30, name: "product_upstream", kind: "message", T: () => AppProductUpstream },
|
|
4619
|
+
{ no: 31, name: "admission_trust_tier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4015
4620
|
]);
|
|
4016
4621
|
}
|
|
4017
4622
|
create(value) {
|
|
@@ -4040,6 +4645,8 @@ class ApprovedAppCatalogTarget$Type extends MessageType {
|
|
|
4040
4645
|
message.policyBlocked = false;
|
|
4041
4646
|
message.policyRevision = "0";
|
|
4042
4647
|
message.macosNotarization = "";
|
|
4648
|
+
message.productOrigin = "";
|
|
4649
|
+
message.admissionTrustTier = "";
|
|
4043
4650
|
if (value !== undefined)
|
|
4044
4651
|
reflectionMergePartial(this, message, value);
|
|
4045
4652
|
return message;
|
|
@@ -4133,6 +4740,15 @@ class ApprovedAppCatalogTarget$Type extends MessageType {
|
|
|
4133
4740
|
case /* nimi.runtime.v1.AppSafetyDeclaration safety_declaration */ 28:
|
|
4134
4741
|
message.safetyDeclaration = AppSafetyDeclaration.internalBinaryRead(reader, reader.uint32(), options, message.safetyDeclaration);
|
|
4135
4742
|
break;
|
|
4743
|
+
case /* string product_origin */ 29:
|
|
4744
|
+
message.productOrigin = reader.string();
|
|
4745
|
+
break;
|
|
4746
|
+
case /* nimi.runtime.v1.AppProductUpstream product_upstream */ 30:
|
|
4747
|
+
message.productUpstream = AppProductUpstream.internalBinaryRead(reader, reader.uint32(), options, message.productUpstream);
|
|
4748
|
+
break;
|
|
4749
|
+
case /* string admission_trust_tier */ 31:
|
|
4750
|
+
message.admissionTrustTier = reader.string();
|
|
4751
|
+
break;
|
|
4136
4752
|
default:
|
|
4137
4753
|
let u = options.readUnknownField;
|
|
4138
4754
|
if (u === "throw")
|
|
@@ -4229,6 +4845,15 @@ class ApprovedAppCatalogTarget$Type extends MessageType {
|
|
|
4229
4845
|
/* nimi.runtime.v1.AppSafetyDeclaration safety_declaration = 28; */
|
|
4230
4846
|
if (message.safetyDeclaration)
|
|
4231
4847
|
AppSafetyDeclaration.internalBinaryWrite(message.safetyDeclaration, writer.tag(28, WireType.LengthDelimited).fork(), options).join();
|
|
4848
|
+
/* string product_origin = 29; */
|
|
4849
|
+
if (message.productOrigin !== "")
|
|
4850
|
+
writer.tag(29, WireType.LengthDelimited).string(message.productOrigin);
|
|
4851
|
+
/* nimi.runtime.v1.AppProductUpstream product_upstream = 30; */
|
|
4852
|
+
if (message.productUpstream)
|
|
4853
|
+
AppProductUpstream.internalBinaryWrite(message.productUpstream, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
|
|
4854
|
+
/* string admission_trust_tier = 31; */
|
|
4855
|
+
if (message.admissionTrustTier !== "")
|
|
4856
|
+
writer.tag(31, WireType.LengthDelimited).string(message.admissionTrustTier);
|
|
4232
4857
|
let u = options.writeUnknownFields;
|
|
4233
4858
|
if (u !== false)
|
|
4234
4859
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5006,7 +5631,8 @@ class AppPackageInfo$Type extends MessageType {
|
|
|
5006
5631
|
{ no: 16, name: "author", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5007
5632
|
{ no: 17, name: "homepage_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5008
5633
|
{ no: 18, name: "support_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5009
|
-
{ no: 19, name: "safety_declaration", kind: "message", T: () => AppSafetyDeclaration }
|
|
5634
|
+
{ no: 19, name: "safety_declaration", kind: "message", T: () => AppSafetyDeclaration },
|
|
5635
|
+
{ no: 20, name: "storefront", kind: "message", T: () => AppStorefrontInfo }
|
|
5010
5636
|
]);
|
|
5011
5637
|
}
|
|
5012
5638
|
create(value) {
|
|
@@ -5095,6 +5721,9 @@ class AppPackageInfo$Type extends MessageType {
|
|
|
5095
5721
|
case /* nimi.runtime.v1.AppSafetyDeclaration safety_declaration */ 19:
|
|
5096
5722
|
message.safetyDeclaration = AppSafetyDeclaration.internalBinaryRead(reader, reader.uint32(), options, message.safetyDeclaration);
|
|
5097
5723
|
break;
|
|
5724
|
+
case /* nimi.runtime.v1.AppStorefrontInfo storefront */ 20:
|
|
5725
|
+
message.storefront = AppStorefrontInfo.internalBinaryRead(reader, reader.uint32(), options, message.storefront);
|
|
5726
|
+
break;
|
|
5098
5727
|
default:
|
|
5099
5728
|
let u = options.readUnknownField;
|
|
5100
5729
|
if (u === "throw")
|
|
@@ -5164,6 +5793,9 @@ class AppPackageInfo$Type extends MessageType {
|
|
|
5164
5793
|
/* nimi.runtime.v1.AppSafetyDeclaration safety_declaration = 19; */
|
|
5165
5794
|
if (message.safetyDeclaration)
|
|
5166
5795
|
AppSafetyDeclaration.internalBinaryWrite(message.safetyDeclaration, writer.tag(19, WireType.LengthDelimited).fork(), options).join();
|
|
5796
|
+
/* nimi.runtime.v1.AppStorefrontInfo storefront = 20; */
|
|
5797
|
+
if (message.storefront)
|
|
5798
|
+
AppStorefrontInfo.internalBinaryWrite(message.storefront, writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
|
5167
5799
|
let u = options.writeUnknownFields;
|
|
5168
5800
|
if (u !== false)
|
|
5169
5801
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|