@devvit/protos 0.11.0-next-2024-07-09-09c743af9.0 → 0.11.0-next-2024-07-09-907b3322a.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +46 -38
- package/package.json +6 -6
- package/protos.min.js +2 -2
- package/protos.min.js.map +4 -4
- package/schema/devvit/dev_portal/app_publish_request/app_publish_request.proto +79 -0
- package/schema/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +24 -0
- package/schema/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +30 -0
- package/schema/devvit/dev_portal/dev_portal.proto +19 -2
- package/schema/devvit/plugin/buildpack/buildpack_common.proto +12 -0
- package/schema/devvit/runtime/bundle.proto +2 -1
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.d.ts +141 -0
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.d.ts.map +1 -0
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.js +804 -0
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.d.ts +55 -0
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.d.ts.map +1 -0
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.js +284 -0
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts +63 -0
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts.map +1 -0
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +321 -0
- package/types/devvit/dev_portal/dev_portal.d.ts +714 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/dev_portal/dev_portal.js +156 -0
- package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts +46 -0
- package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts.map +1 -1
- package/types/devvit/dev_portal/dev_portal.twirp-client.js +133 -0
- package/types/devvit/dev_portal/dev_portal.twirp.d.ts +29 -0
- package/types/devvit/dev_portal/dev_portal.twirp.d.ts.map +1 -1
- package/types/devvit/dev_portal/dev_portal.twirp.js +685 -0
- package/types/devvit/gateway/resolvers.d.ts +6 -0
- package/types/devvit/gateway/resolvers.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack.d.ts +60 -0
- package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +34 -0
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.js +161 -0
- package/types/devvit/plugin/linker/linker.d.ts +30 -0
- package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
- package/types/devvit/plugin/linker/resolver.d.ts +30 -0
- package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
- package/types/devvit/runtime/actor/bootstrap.d.ts +6 -0
- package/types/devvit/runtime/actor/bootstrap.d.ts.map +1 -1
- package/types/devvit/runtime/actor/runtime.d.ts +6 -0
- package/types/devvit/runtime/actor/runtime.d.ts.map +1 -1
- package/types/devvit/runtime/actor/supervisor.d.ts +6 -0
- package/types/devvit/runtime/actor/supervisor.d.ts.map +1 -1
- package/types/devvit/runtime/bundle.d.ts +17 -0
- package/types/devvit/runtime/bundle.d.ts.map +1 -1
- package/types/devvit/runtime/bundle.js +102 -0
- package/types/devvit/service/bundle_service.d.ts +12 -0
- package/types/devvit/service/bundle_service.d.ts.map +1 -1
@@ -10,6 +10,9 @@ import { Value } from '../../google/protobuf/struct.js';
|
|
10
10
|
import { UUID } from '../uuid.js';
|
11
11
|
import { AppAccountExistsRequest, AppAccountExistsResponse, AppCreationRequest, AppExistsRequest, AppExistsResponse, AppSearchRequest, AppSearchResponse, AppUpdateRequest, CheckIfMediaExistsRequest, CheckIfMediaExistsResponse, CreateAppAccountRequest, CreateAppAccountResponse, FullAppInfo, GetAllWithOwnerRequest, GetAppBySlugRequest, GetPopularAppsRequest, RecoverAppAccountRequest, UnpublishAppRequest, UploadNewMediaRequest, UploadNewMediaResponse } from './app/app.js';
|
12
12
|
import { AppInfo, MultipleAppInfos } from './app/info/app_info.js';
|
13
|
+
import { AppPRCreateRequest, AppPRGetByAppRequest, AppPRGetRequest, AppPRUpdateRequest, FullPublishRequestInfo, MultiplePublishRequestInfos } from './app_publish_request/app_publish_request.js';
|
14
|
+
import { AppPRAddNoteRequest, AppPRUpdateNoteRequest } from './app_publish_request/note/app_publish_request_note.js';
|
15
|
+
import { AppPRAddReviewRequest, AppPRUpdateReviewRequest } from './app_publish_request/review/app_publish_request_review.js';
|
13
16
|
import { GetAppSettingsFormRequest, GetAppSettingsFormResponse, GetAppSettingsRequest, GetAppSettingsResponse, UpdateAppSettingsRequest, UpdateAppSettingsResponse, ValidateAppSettingsFormRequest, ValidateAppSettingsFormResponse } from './app_settings/app_settings.js';
|
14
17
|
import { AppSlugAndVersion, AppVersionCreationRequest, AppVersionUpdateRequest, FullAppVersionInfo, GetAppVersionBundleResponse, ValidInstallLocationsRequest, ValidInstallLocationsResponse } from './app_version/app_version.js';
|
15
18
|
import { AppVersionInfo } from './app_version/info/app_version_info.js';
|
@@ -1449,6 +1452,21 @@ export declare const AppVersionDefinition: {
|
|
1449
1452
|
webviewAssetIds?: {
|
1450
1453
|
[x: string]: string | undefined;
|
1451
1454
|
};
|
1455
|
+
paymentsConfig?: {
|
1456
|
+
products?: {
|
1457
|
+
[x: string]: {
|
1458
|
+
sku?: string;
|
1459
|
+
price?: {
|
1460
|
+
amount?: number;
|
1461
|
+
currency?: import("../payments/v1alpha/product.js").Currency;
|
1462
|
+
} | undefined;
|
1463
|
+
environment?: import("../payments/v1alpha/common.js").Environment;
|
1464
|
+
productMetadata?: {
|
1465
|
+
[x: string]: string | undefined;
|
1466
|
+
};
|
1467
|
+
} | undefined;
|
1468
|
+
};
|
1469
|
+
} | undefined;
|
1452
1470
|
}[];
|
1453
1471
|
about?: string;
|
1454
1472
|
} | undefined): AppVersionCreationRequest;
|
@@ -1522,6 +1540,21 @@ export declare const AppVersionDefinition: {
|
|
1522
1540
|
webviewAssetIds?: {
|
1523
1541
|
[x: string]: string | undefined;
|
1524
1542
|
};
|
1543
|
+
paymentsConfig?: {
|
1544
|
+
products?: {
|
1545
|
+
[x: string]: {
|
1546
|
+
sku?: string;
|
1547
|
+
price?: {
|
1548
|
+
amount?: number;
|
1549
|
+
currency?: import("../payments/v1alpha/product.js").Currency;
|
1550
|
+
} | undefined;
|
1551
|
+
environment?: import("../payments/v1alpha/common.js").Environment;
|
1552
|
+
productMetadata?: {
|
1553
|
+
[x: string]: string | undefined;
|
1554
|
+
};
|
1555
|
+
} | undefined;
|
1556
|
+
};
|
1557
|
+
} | undefined;
|
1525
1558
|
}[];
|
1526
1559
|
about?: string;
|
1527
1560
|
}): AppVersionCreationRequest;
|
@@ -2214,6 +2247,9 @@ export declare const AppVersionDefinition: {
|
|
2214
2247
|
webviewAssets?: {
|
2215
2248
|
[x: string]: string | undefined;
|
2216
2249
|
};
|
2250
|
+
products?: {
|
2251
|
+
[x: string]: string | undefined;
|
2252
|
+
};
|
2217
2253
|
} | undefined;
|
2218
2254
|
}[];
|
2219
2255
|
} | undefined): GetAppVersionBundleResponse;
|
@@ -2256,6 +2292,9 @@ export declare const AppVersionDefinition: {
|
|
2256
2292
|
webviewAssets?: {
|
2257
2293
|
[x: string]: string | undefined;
|
2258
2294
|
};
|
2295
|
+
products?: {
|
2296
|
+
[x: string]: string | undefined;
|
2297
|
+
};
|
2259
2298
|
} | undefined;
|
2260
2299
|
}[];
|
2261
2300
|
}): GetAppVersionBundleResponse;
|
@@ -5283,6 +5322,681 @@ export declare const DevPortalAppSettingsDefinition: {
|
|
5283
5322
|
};
|
5284
5323
|
};
|
5285
5324
|
};
|
5325
|
+
export interface DevPortalAppPublishRequest {
|
5326
|
+
Submit(request: AppPRCreateRequest, metadata?: Metadata): Promise<UUID>;
|
5327
|
+
Update(request: AppPRUpdateRequest, metadata?: Metadata): Promise<Empty>;
|
5328
|
+
Get(request: AppPRGetRequest, metadata?: Metadata): Promise<FullPublishRequestInfo>;
|
5329
|
+
GetAllRequestsByApp(request: AppPRGetByAppRequest, metadata?: Metadata): Promise<MultiplePublishRequestInfos>;
|
5330
|
+
AddReview(request: AppPRAddReviewRequest, metadata?: Metadata): Promise<UUID>;
|
5331
|
+
UpdateReview(request: AppPRUpdateReviewRequest, metadata?: Metadata): Promise<Empty>;
|
5332
|
+
RemoveReview(request: UUID, metadata?: Metadata): Promise<Empty>;
|
5333
|
+
AddNote(request: AppPRAddNoteRequest, metadata?: Metadata): Promise<UUID>;
|
5334
|
+
UpdateNote(request: AppPRUpdateNoteRequest, metadata?: Metadata): Promise<Empty>;
|
5335
|
+
RemoveNote(request: UUID, metadata?: Metadata): Promise<Empty>;
|
5336
|
+
}
|
5337
|
+
export declare const DevPortalAppPublishRequestServiceName = "devvit.dev_portal.DevPortalAppPublishRequest";
|
5338
|
+
export declare class DevPortalAppPublishRequestClientImpl implements DevPortalAppPublishRequest {
|
5339
|
+
private readonly rpc;
|
5340
|
+
private readonly service;
|
5341
|
+
constructor(rpc: Rpc, opts?: {
|
5342
|
+
service?: string;
|
5343
|
+
});
|
5344
|
+
Submit(request: AppPRCreateRequest, metadata?: Metadata): Promise<UUID>;
|
5345
|
+
Update(request: AppPRUpdateRequest, metadata?: Metadata): Promise<Empty>;
|
5346
|
+
Get(request: AppPRGetRequest, metadata?: Metadata): Promise<FullPublishRequestInfo>;
|
5347
|
+
GetAllRequestsByApp(request: AppPRGetByAppRequest, metadata?: Metadata): Promise<MultiplePublishRequestInfos>;
|
5348
|
+
AddReview(request: AppPRAddReviewRequest, metadata?: Metadata): Promise<UUID>;
|
5349
|
+
UpdateReview(request: AppPRUpdateReviewRequest, metadata?: Metadata): Promise<Empty>;
|
5350
|
+
RemoveReview(request: UUID, metadata?: Metadata): Promise<Empty>;
|
5351
|
+
AddNote(request: AppPRAddNoteRequest, metadata?: Metadata): Promise<UUID>;
|
5352
|
+
UpdateNote(request: AppPRUpdateNoteRequest, metadata?: Metadata): Promise<Empty>;
|
5353
|
+
RemoveNote(request: UUID, metadata?: Metadata): Promise<Empty>;
|
5354
|
+
}
|
5355
|
+
export type DevPortalAppPublishRequestDefinition = typeof DevPortalAppPublishRequestDefinition;
|
5356
|
+
export declare const DevPortalAppPublishRequestDefinition: {
|
5357
|
+
readonly name: "DevPortalAppPublishRequest";
|
5358
|
+
readonly fullName: "devvit.dev_portal.DevPortalAppPublishRequest";
|
5359
|
+
readonly methods: {
|
5360
|
+
readonly submit: {
|
5361
|
+
readonly name: "Submit";
|
5362
|
+
readonly requestType: {
|
5363
|
+
$type: "devvit.dev_portal.app_publish_request.AppPRCreateRequest";
|
5364
|
+
encode(message: AppPRCreateRequest, writer?: _m0.Writer): _m0.Writer;
|
5365
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRCreateRequest;
|
5366
|
+
fromJSON(object: any): AppPRCreateRequest;
|
5367
|
+
toJSON(message: AppPRCreateRequest): unknown;
|
5368
|
+
create(base?: {
|
5369
|
+
appVersionId?: string | undefined;
|
5370
|
+
appNameAndVersionNumber?: string | undefined;
|
5371
|
+
} | undefined): AppPRCreateRequest;
|
5372
|
+
fromPartial(object: {
|
5373
|
+
appVersionId?: string | undefined;
|
5374
|
+
appNameAndVersionNumber?: string | undefined;
|
5375
|
+
}): AppPRCreateRequest;
|
5376
|
+
};
|
5377
|
+
readonly requestStream: false;
|
5378
|
+
readonly responseType: {
|
5379
|
+
$type: "devvit.UUID";
|
5380
|
+
encode(message: UUID, writer?: _m0.Writer): _m0.Writer;
|
5381
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UUID;
|
5382
|
+
fromJSON(object: any): UUID;
|
5383
|
+
toJSON(message: UUID): unknown;
|
5384
|
+
create(base?: {
|
5385
|
+
id?: string;
|
5386
|
+
} | undefined): UUID;
|
5387
|
+
fromPartial(object: {
|
5388
|
+
id?: string;
|
5389
|
+
}): UUID;
|
5390
|
+
};
|
5391
|
+
readonly responseStream: false;
|
5392
|
+
readonly options: {};
|
5393
|
+
};
|
5394
|
+
readonly update: {
|
5395
|
+
readonly name: "Update";
|
5396
|
+
readonly requestType: {
|
5397
|
+
$type: "devvit.dev_portal.app_publish_request.AppPRUpdateRequest";
|
5398
|
+
encode(message: AppPRUpdateRequest, writer?: _m0.Writer): _m0.Writer;
|
5399
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRUpdateRequest;
|
5400
|
+
fromJSON(object: any): AppPRUpdateRequest;
|
5401
|
+
toJSON(message: AppPRUpdateRequest): unknown;
|
5402
|
+
create(base?: {
|
5403
|
+
appVersionId?: string | undefined;
|
5404
|
+
publishRequestId?: string | undefined;
|
5405
|
+
appNameAndVersionNumber?: string | undefined;
|
5406
|
+
status?: import("./app_publish_request/app_publish_request.js").AppPublishRequestStatus;
|
5407
|
+
} | undefined): AppPRUpdateRequest;
|
5408
|
+
fromPartial(object: {
|
5409
|
+
appVersionId?: string | undefined;
|
5410
|
+
publishRequestId?: string | undefined;
|
5411
|
+
appNameAndVersionNumber?: string | undefined;
|
5412
|
+
status?: import("./app_publish_request/app_publish_request.js").AppPublishRequestStatus;
|
5413
|
+
}): AppPRUpdateRequest;
|
5414
|
+
};
|
5415
|
+
readonly requestStream: false;
|
5416
|
+
readonly responseType: {
|
5417
|
+
$type: "google.protobuf.Empty";
|
5418
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
5419
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
5420
|
+
fromJSON(_: any): Empty;
|
5421
|
+
toJSON(_: Empty): unknown;
|
5422
|
+
create(base?: {} | undefined): Empty;
|
5423
|
+
fromPartial(_: {}): Empty;
|
5424
|
+
};
|
5425
|
+
readonly responseStream: false;
|
5426
|
+
readonly options: {};
|
5427
|
+
};
|
5428
|
+
readonly get: {
|
5429
|
+
readonly name: "Get";
|
5430
|
+
readonly requestType: {
|
5431
|
+
$type: "devvit.dev_portal.app_publish_request.AppPRGetRequest";
|
5432
|
+
encode(message: AppPRGetRequest, writer?: _m0.Writer): _m0.Writer;
|
5433
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRGetRequest;
|
5434
|
+
fromJSON(object: any): AppPRGetRequest;
|
5435
|
+
toJSON(message: AppPRGetRequest): unknown;
|
5436
|
+
create(base?: {
|
5437
|
+
appVersionId?: string | undefined;
|
5438
|
+
publishRequestId?: string | undefined;
|
5439
|
+
appNameAndVersionNumber?: string | undefined;
|
5440
|
+
} | undefined): AppPRGetRequest;
|
5441
|
+
fromPartial(object: {
|
5442
|
+
appVersionId?: string | undefined;
|
5443
|
+
publishRequestId?: string | undefined;
|
5444
|
+
appNameAndVersionNumber?: string | undefined;
|
5445
|
+
}): AppPRGetRequest;
|
5446
|
+
};
|
5447
|
+
readonly requestStream: false;
|
5448
|
+
readonly responseType: {
|
5449
|
+
$type: "devvit.dev_portal.app_publish_request.FullPublishRequestInfo";
|
5450
|
+
encode(message: FullPublishRequestInfo, writer?: _m0.Writer): _m0.Writer;
|
5451
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): FullPublishRequestInfo;
|
5452
|
+
fromJSON(object: any): FullPublishRequestInfo;
|
5453
|
+
toJSON(message: FullPublishRequestInfo): unknown;
|
5454
|
+
create(base?: {
|
5455
|
+
id?: string;
|
5456
|
+
createdAt?: Date | undefined;
|
5457
|
+
createdBy?: {
|
5458
|
+
id?: string;
|
5459
|
+
displayName?: string;
|
5460
|
+
snoovatarIconUrl?: string;
|
5461
|
+
} | undefined;
|
5462
|
+
status?: import("./app_publish_request/app_publish_request.js").AppPublishRequestStatus;
|
5463
|
+
appVersionInfo?: {
|
5464
|
+
id?: string;
|
5465
|
+
visibility?: import("./app_version/info/app_version_info.js").VersionVisibility;
|
5466
|
+
validInstallTypes?: import("./app_version/info/app_version_info.js").InstallationType[];
|
5467
|
+
majorVersion?: number;
|
5468
|
+
minorVersion?: number;
|
5469
|
+
patchVersion?: number;
|
5470
|
+
prereleaseVersion?: number | undefined;
|
5471
|
+
uploadedAt?: Date | undefined;
|
5472
|
+
buildStatus?: import("./app_version/info/app_version_info.js").BuildStatus;
|
5473
|
+
builtAt?: Date | undefined;
|
5474
|
+
about?: string;
|
5475
|
+
hasCustomSettings?: boolean;
|
5476
|
+
pool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5477
|
+
reviewStatus?: import("./app_version/info/app_version_info.js").ReviewStatus | undefined;
|
5478
|
+
} | undefined;
|
5479
|
+
appInfo?: {
|
5480
|
+
id?: string;
|
5481
|
+
slug?: string;
|
5482
|
+
name?: string;
|
5483
|
+
description?: string;
|
5484
|
+
appAccount?: {
|
5485
|
+
id?: string;
|
5486
|
+
displayName?: string;
|
5487
|
+
snoovatarIconUrl?: string;
|
5488
|
+
} | undefined;
|
5489
|
+
isNsfw?: boolean;
|
5490
|
+
isDelisted?: boolean;
|
5491
|
+
isFirstParty?: boolean;
|
5492
|
+
isArchived?: boolean;
|
5493
|
+
isWebviewEnabled?: boolean;
|
5494
|
+
createdAt?: Date | undefined;
|
5495
|
+
owner?: {
|
5496
|
+
id?: string;
|
5497
|
+
displayName?: string;
|
5498
|
+
snoovatarIconUrl?: string;
|
5499
|
+
} | undefined;
|
5500
|
+
categories?: import("./app/categories/categories.js").Categories[];
|
5501
|
+
stats?: {
|
5502
|
+
installCount?: number;
|
5503
|
+
} | undefined;
|
5504
|
+
termsAndConditions?: string;
|
5505
|
+
privacyPolicy?: string;
|
5506
|
+
defaultPool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5507
|
+
} | undefined;
|
5508
|
+
reviews?: {
|
5509
|
+
id?: string;
|
5510
|
+
createdAt?: Date | undefined;
|
5511
|
+
updatedAt?: Date | undefined;
|
5512
|
+
reviewer?: {
|
5513
|
+
id?: string;
|
5514
|
+
displayName?: string;
|
5515
|
+
snoovatarIconUrl?: string;
|
5516
|
+
} | undefined;
|
5517
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5518
|
+
}[];
|
5519
|
+
notes?: {
|
5520
|
+
id?: string;
|
5521
|
+
createdAt?: Date | undefined;
|
5522
|
+
updatedAt?: Date | undefined;
|
5523
|
+
author?: {
|
5524
|
+
id?: string;
|
5525
|
+
displayName?: string;
|
5526
|
+
snoovatarIconUrl?: string;
|
5527
|
+
} | undefined;
|
5528
|
+
note?: string;
|
5529
|
+
}[];
|
5530
|
+
} | undefined): FullPublishRequestInfo;
|
5531
|
+
fromPartial(object: {
|
5532
|
+
id?: string;
|
5533
|
+
createdAt?: Date | undefined;
|
5534
|
+
createdBy?: {
|
5535
|
+
id?: string;
|
5536
|
+
displayName?: string;
|
5537
|
+
snoovatarIconUrl?: string;
|
5538
|
+
} | undefined;
|
5539
|
+
status?: import("./app_publish_request/app_publish_request.js").AppPublishRequestStatus;
|
5540
|
+
appVersionInfo?: {
|
5541
|
+
id?: string;
|
5542
|
+
visibility?: import("./app_version/info/app_version_info.js").VersionVisibility;
|
5543
|
+
validInstallTypes?: import("./app_version/info/app_version_info.js").InstallationType[];
|
5544
|
+
majorVersion?: number;
|
5545
|
+
minorVersion?: number;
|
5546
|
+
patchVersion?: number;
|
5547
|
+
prereleaseVersion?: number | undefined;
|
5548
|
+
uploadedAt?: Date | undefined;
|
5549
|
+
buildStatus?: import("./app_version/info/app_version_info.js").BuildStatus;
|
5550
|
+
builtAt?: Date | undefined;
|
5551
|
+
about?: string;
|
5552
|
+
hasCustomSettings?: boolean;
|
5553
|
+
pool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5554
|
+
reviewStatus?: import("./app_version/info/app_version_info.js").ReviewStatus | undefined;
|
5555
|
+
} | undefined;
|
5556
|
+
appInfo?: {
|
5557
|
+
id?: string;
|
5558
|
+
slug?: string;
|
5559
|
+
name?: string;
|
5560
|
+
description?: string;
|
5561
|
+
appAccount?: {
|
5562
|
+
id?: string;
|
5563
|
+
displayName?: string;
|
5564
|
+
snoovatarIconUrl?: string;
|
5565
|
+
} | undefined;
|
5566
|
+
isNsfw?: boolean;
|
5567
|
+
isDelisted?: boolean;
|
5568
|
+
isFirstParty?: boolean;
|
5569
|
+
isArchived?: boolean;
|
5570
|
+
isWebviewEnabled?: boolean;
|
5571
|
+
createdAt?: Date | undefined;
|
5572
|
+
owner?: {
|
5573
|
+
id?: string;
|
5574
|
+
displayName?: string;
|
5575
|
+
snoovatarIconUrl?: string;
|
5576
|
+
} | undefined;
|
5577
|
+
categories?: import("./app/categories/categories.js").Categories[];
|
5578
|
+
stats?: {
|
5579
|
+
installCount?: number;
|
5580
|
+
} | undefined;
|
5581
|
+
termsAndConditions?: string;
|
5582
|
+
privacyPolicy?: string;
|
5583
|
+
defaultPool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5584
|
+
} | undefined;
|
5585
|
+
reviews?: {
|
5586
|
+
id?: string;
|
5587
|
+
createdAt?: Date | undefined;
|
5588
|
+
updatedAt?: Date | undefined;
|
5589
|
+
reviewer?: {
|
5590
|
+
id?: string;
|
5591
|
+
displayName?: string;
|
5592
|
+
snoovatarIconUrl?: string;
|
5593
|
+
} | undefined;
|
5594
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5595
|
+
}[];
|
5596
|
+
notes?: {
|
5597
|
+
id?: string;
|
5598
|
+
createdAt?: Date | undefined;
|
5599
|
+
updatedAt?: Date | undefined;
|
5600
|
+
author?: {
|
5601
|
+
id?: string;
|
5602
|
+
displayName?: string;
|
5603
|
+
snoovatarIconUrl?: string;
|
5604
|
+
} | undefined;
|
5605
|
+
note?: string;
|
5606
|
+
}[];
|
5607
|
+
}): FullPublishRequestInfo;
|
5608
|
+
};
|
5609
|
+
readonly responseStream: false;
|
5610
|
+
readonly options: {};
|
5611
|
+
};
|
5612
|
+
readonly getAllRequestsByApp: {
|
5613
|
+
readonly name: "GetAllRequestsByApp";
|
5614
|
+
readonly requestType: {
|
5615
|
+
$type: "devvit.dev_portal.app_publish_request.AppPRGetByAppRequest";
|
5616
|
+
encode(message: AppPRGetByAppRequest, writer?: _m0.Writer): _m0.Writer;
|
5617
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRGetByAppRequest;
|
5618
|
+
fromJSON(object: any): AppPRGetByAppRequest;
|
5619
|
+
toJSON(message: AppPRGetByAppRequest): unknown;
|
5620
|
+
create(base?: {
|
5621
|
+
appName?: string | undefined;
|
5622
|
+
appId?: string | undefined;
|
5623
|
+
pagination?: {
|
5624
|
+
page?: number;
|
5625
|
+
pageSize?: number;
|
5626
|
+
} | undefined;
|
5627
|
+
sort?: {
|
5628
|
+
field?: string;
|
5629
|
+
asc?: boolean;
|
5630
|
+
} | undefined;
|
5631
|
+
} | undefined): AppPRGetByAppRequest;
|
5632
|
+
fromPartial(object: {
|
5633
|
+
appName?: string | undefined;
|
5634
|
+
appId?: string | undefined;
|
5635
|
+
pagination?: {
|
5636
|
+
page?: number;
|
5637
|
+
pageSize?: number;
|
5638
|
+
} | undefined;
|
5639
|
+
sort?: {
|
5640
|
+
field?: string;
|
5641
|
+
asc?: boolean;
|
5642
|
+
} | undefined;
|
5643
|
+
}): AppPRGetByAppRequest;
|
5644
|
+
};
|
5645
|
+
readonly requestStream: false;
|
5646
|
+
readonly responseType: {
|
5647
|
+
$type: "devvit.dev_portal.app_publish_request.MultiplePublishRequestInfos";
|
5648
|
+
encode(message: MultiplePublishRequestInfos, writer?: _m0.Writer): _m0.Writer;
|
5649
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MultiplePublishRequestInfos;
|
5650
|
+
fromJSON(object: any): MultiplePublishRequestInfos;
|
5651
|
+
toJSON(message: MultiplePublishRequestInfos): unknown;
|
5652
|
+
create(base?: {
|
5653
|
+
requests?: {
|
5654
|
+
id?: string;
|
5655
|
+
createdAt?: Date | undefined;
|
5656
|
+
createdBy?: {
|
5657
|
+
id?: string;
|
5658
|
+
displayName?: string;
|
5659
|
+
snoovatarIconUrl?: string;
|
5660
|
+
} | undefined;
|
5661
|
+
status?: import("./app_publish_request/app_publish_request.js").AppPublishRequestStatus;
|
5662
|
+
appVersionInfo?: {
|
5663
|
+
id?: string;
|
5664
|
+
visibility?: import("./app_version/info/app_version_info.js").VersionVisibility;
|
5665
|
+
validInstallTypes?: import("./app_version/info/app_version_info.js").InstallationType[];
|
5666
|
+
majorVersion?: number;
|
5667
|
+
minorVersion?: number;
|
5668
|
+
patchVersion?: number;
|
5669
|
+
prereleaseVersion?: number | undefined;
|
5670
|
+
uploadedAt?: Date | undefined;
|
5671
|
+
buildStatus?: import("./app_version/info/app_version_info.js").BuildStatus;
|
5672
|
+
builtAt?: Date | undefined;
|
5673
|
+
about?: string;
|
5674
|
+
hasCustomSettings?: boolean;
|
5675
|
+
pool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5676
|
+
reviewStatus?: import("./app_version/info/app_version_info.js").ReviewStatus | undefined;
|
5677
|
+
} | undefined;
|
5678
|
+
appInfo?: {
|
5679
|
+
id?: string;
|
5680
|
+
slug?: string;
|
5681
|
+
name?: string;
|
5682
|
+
description?: string;
|
5683
|
+
appAccount?: {
|
5684
|
+
id?: string;
|
5685
|
+
displayName?: string;
|
5686
|
+
snoovatarIconUrl?: string;
|
5687
|
+
} | undefined;
|
5688
|
+
isNsfw?: boolean;
|
5689
|
+
isDelisted?: boolean;
|
5690
|
+
isFirstParty?: boolean;
|
5691
|
+
isArchived?: boolean;
|
5692
|
+
isWebviewEnabled?: boolean;
|
5693
|
+
createdAt?: Date | undefined;
|
5694
|
+
owner?: {
|
5695
|
+
id?: string;
|
5696
|
+
displayName?: string;
|
5697
|
+
snoovatarIconUrl?: string;
|
5698
|
+
} | undefined;
|
5699
|
+
categories?: import("./app/categories/categories.js").Categories[];
|
5700
|
+
stats?: {
|
5701
|
+
installCount?: number;
|
5702
|
+
} | undefined;
|
5703
|
+
termsAndConditions?: string;
|
5704
|
+
privacyPolicy?: string;
|
5705
|
+
defaultPool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5706
|
+
} | undefined;
|
5707
|
+
reviews?: {
|
5708
|
+
id?: string;
|
5709
|
+
createdAt?: Date | undefined;
|
5710
|
+
updatedAt?: Date | undefined;
|
5711
|
+
reviewer?: {
|
5712
|
+
id?: string;
|
5713
|
+
displayName?: string;
|
5714
|
+
snoovatarIconUrl?: string;
|
5715
|
+
} | undefined;
|
5716
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5717
|
+
}[];
|
5718
|
+
notes?: {
|
5719
|
+
id?: string;
|
5720
|
+
createdAt?: Date | undefined;
|
5721
|
+
updatedAt?: Date | undefined;
|
5722
|
+
author?: {
|
5723
|
+
id?: string;
|
5724
|
+
displayName?: string;
|
5725
|
+
snoovatarIconUrl?: string;
|
5726
|
+
} | undefined;
|
5727
|
+
note?: string;
|
5728
|
+
}[];
|
5729
|
+
}[];
|
5730
|
+
} | undefined): MultiplePublishRequestInfos;
|
5731
|
+
fromPartial(object: {
|
5732
|
+
requests?: {
|
5733
|
+
id?: string;
|
5734
|
+
createdAt?: Date | undefined;
|
5735
|
+
createdBy?: {
|
5736
|
+
id?: string;
|
5737
|
+
displayName?: string;
|
5738
|
+
snoovatarIconUrl?: string;
|
5739
|
+
} | undefined;
|
5740
|
+
status?: import("./app_publish_request/app_publish_request.js").AppPublishRequestStatus;
|
5741
|
+
appVersionInfo?: {
|
5742
|
+
id?: string;
|
5743
|
+
visibility?: import("./app_version/info/app_version_info.js").VersionVisibility;
|
5744
|
+
validInstallTypes?: import("./app_version/info/app_version_info.js").InstallationType[];
|
5745
|
+
majorVersion?: number;
|
5746
|
+
minorVersion?: number;
|
5747
|
+
patchVersion?: number;
|
5748
|
+
prereleaseVersion?: number | undefined;
|
5749
|
+
uploadedAt?: Date | undefined;
|
5750
|
+
buildStatus?: import("./app_version/info/app_version_info.js").BuildStatus;
|
5751
|
+
builtAt?: Date | undefined;
|
5752
|
+
about?: string;
|
5753
|
+
hasCustomSettings?: boolean;
|
5754
|
+
pool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5755
|
+
reviewStatus?: import("./app_version/info/app_version_info.js").ReviewStatus | undefined;
|
5756
|
+
} | undefined;
|
5757
|
+
appInfo?: {
|
5758
|
+
id?: string;
|
5759
|
+
slug?: string;
|
5760
|
+
name?: string;
|
5761
|
+
description?: string;
|
5762
|
+
appAccount?: {
|
5763
|
+
id?: string;
|
5764
|
+
displayName?: string;
|
5765
|
+
snoovatarIconUrl?: string;
|
5766
|
+
} | undefined;
|
5767
|
+
isNsfw?: boolean;
|
5768
|
+
isDelisted?: boolean;
|
5769
|
+
isFirstParty?: boolean;
|
5770
|
+
isArchived?: boolean;
|
5771
|
+
isWebviewEnabled?: boolean;
|
5772
|
+
createdAt?: Date | undefined;
|
5773
|
+
owner?: {
|
5774
|
+
id?: string;
|
5775
|
+
displayName?: string;
|
5776
|
+
snoovatarIconUrl?: string;
|
5777
|
+
} | undefined;
|
5778
|
+
categories?: import("./app/categories/categories.js").Categories[];
|
5779
|
+
stats?: {
|
5780
|
+
installCount?: number;
|
5781
|
+
} | undefined;
|
5782
|
+
termsAndConditions?: string;
|
5783
|
+
privacyPolicy?: string;
|
5784
|
+
defaultPool?: import("./app_version/info/app_version_info.js").ComputePool;
|
5785
|
+
} | undefined;
|
5786
|
+
reviews?: {
|
5787
|
+
id?: string;
|
5788
|
+
createdAt?: Date | undefined;
|
5789
|
+
updatedAt?: Date | undefined;
|
5790
|
+
reviewer?: {
|
5791
|
+
id?: string;
|
5792
|
+
displayName?: string;
|
5793
|
+
snoovatarIconUrl?: string;
|
5794
|
+
} | undefined;
|
5795
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5796
|
+
}[];
|
5797
|
+
notes?: {
|
5798
|
+
id?: string;
|
5799
|
+
createdAt?: Date | undefined;
|
5800
|
+
updatedAt?: Date | undefined;
|
5801
|
+
author?: {
|
5802
|
+
id?: string;
|
5803
|
+
displayName?: string;
|
5804
|
+
snoovatarIconUrl?: string;
|
5805
|
+
} | undefined;
|
5806
|
+
note?: string;
|
5807
|
+
}[];
|
5808
|
+
}[];
|
5809
|
+
}): MultiplePublishRequestInfos;
|
5810
|
+
};
|
5811
|
+
readonly responseStream: false;
|
5812
|
+
readonly options: {};
|
5813
|
+
};
|
5814
|
+
readonly addReview: {
|
5815
|
+
readonly name: "AddReview";
|
5816
|
+
readonly requestType: {
|
5817
|
+
$type: "devvit.dev_portal.app_publish_request.review.AppPRAddReviewRequest";
|
5818
|
+
encode(message: AppPRAddReviewRequest, writer?: _m0.Writer): _m0.Writer;
|
5819
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRAddReviewRequest;
|
5820
|
+
fromJSON(object: any): AppPRAddReviewRequest;
|
5821
|
+
toJSON(message: AppPRAddReviewRequest): unknown;
|
5822
|
+
create(base?: {
|
5823
|
+
appPublishRequestId?: string;
|
5824
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5825
|
+
} | undefined): AppPRAddReviewRequest;
|
5826
|
+
fromPartial(object: {
|
5827
|
+
appPublishRequestId?: string;
|
5828
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5829
|
+
}): AppPRAddReviewRequest;
|
5830
|
+
};
|
5831
|
+
readonly requestStream: false;
|
5832
|
+
readonly responseType: {
|
5833
|
+
$type: "devvit.UUID";
|
5834
|
+
encode(message: UUID, writer?: _m0.Writer): _m0.Writer;
|
5835
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UUID;
|
5836
|
+
fromJSON(object: any): UUID;
|
5837
|
+
toJSON(message: UUID): unknown;
|
5838
|
+
create(base?: {
|
5839
|
+
id?: string;
|
5840
|
+
} | undefined): UUID;
|
5841
|
+
fromPartial(object: {
|
5842
|
+
id?: string;
|
5843
|
+
}): UUID;
|
5844
|
+
};
|
5845
|
+
readonly responseStream: false;
|
5846
|
+
readonly options: {};
|
5847
|
+
};
|
5848
|
+
readonly updateReview: {
|
5849
|
+
readonly name: "UpdateReview";
|
5850
|
+
readonly requestType: {
|
5851
|
+
$type: "devvit.dev_portal.app_publish_request.review.AppPRUpdateReviewRequest";
|
5852
|
+
encode(message: AppPRUpdateReviewRequest, writer?: _m0.Writer): _m0.Writer;
|
5853
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRUpdateReviewRequest;
|
5854
|
+
fromJSON(object: any): AppPRUpdateReviewRequest;
|
5855
|
+
toJSON(message: AppPRUpdateReviewRequest): unknown;
|
5856
|
+
create(base?: {
|
5857
|
+
appPublishRequestReviewId?: string;
|
5858
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5859
|
+
} | undefined): AppPRUpdateReviewRequest;
|
5860
|
+
fromPartial(object: {
|
5861
|
+
appPublishRequestReviewId?: string;
|
5862
|
+
decision?: import("./app_publish_request/review/app_publish_request_review.js").AppPublishRequestReviewDecision;
|
5863
|
+
}): AppPRUpdateReviewRequest;
|
5864
|
+
};
|
5865
|
+
readonly requestStream: false;
|
5866
|
+
readonly responseType: {
|
5867
|
+
$type: "google.protobuf.Empty";
|
5868
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
5869
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
5870
|
+
fromJSON(_: any): Empty;
|
5871
|
+
toJSON(_: Empty): unknown;
|
5872
|
+
create(base?: {} | undefined): Empty;
|
5873
|
+
fromPartial(_: {}): Empty;
|
5874
|
+
};
|
5875
|
+
readonly responseStream: false;
|
5876
|
+
readonly options: {};
|
5877
|
+
};
|
5878
|
+
readonly removeReview: {
|
5879
|
+
readonly name: "RemoveReview";
|
5880
|
+
readonly requestType: {
|
5881
|
+
$type: "devvit.UUID";
|
5882
|
+
encode(message: UUID, writer?: _m0.Writer): _m0.Writer;
|
5883
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UUID;
|
5884
|
+
fromJSON(object: any): UUID;
|
5885
|
+
toJSON(message: UUID): unknown;
|
5886
|
+
create(base?: {
|
5887
|
+
id?: string;
|
5888
|
+
} | undefined): UUID;
|
5889
|
+
fromPartial(object: {
|
5890
|
+
id?: string;
|
5891
|
+
}): UUID;
|
5892
|
+
};
|
5893
|
+
readonly requestStream: false;
|
5894
|
+
readonly responseType: {
|
5895
|
+
$type: "google.protobuf.Empty";
|
5896
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
5897
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
5898
|
+
fromJSON(_: any): Empty;
|
5899
|
+
toJSON(_: Empty): unknown;
|
5900
|
+
create(base?: {} | undefined): Empty;
|
5901
|
+
fromPartial(_: {}): Empty;
|
5902
|
+
};
|
5903
|
+
readonly responseStream: false;
|
5904
|
+
readonly options: {};
|
5905
|
+
};
|
5906
|
+
readonly addNote: {
|
5907
|
+
readonly name: "AddNote";
|
5908
|
+
readonly requestType: {
|
5909
|
+
$type: "devvit.dev_portal.app_publish_request.note.AppPRAddNoteRequest";
|
5910
|
+
encode(message: AppPRAddNoteRequest, writer?: _m0.Writer): _m0.Writer;
|
5911
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRAddNoteRequest;
|
5912
|
+
fromJSON(object: any): AppPRAddNoteRequest;
|
5913
|
+
toJSON(message: AppPRAddNoteRequest): unknown;
|
5914
|
+
create(base?: {
|
5915
|
+
appPublishRequestId?: string;
|
5916
|
+
note?: string;
|
5917
|
+
} | undefined): AppPRAddNoteRequest;
|
5918
|
+
fromPartial(object: {
|
5919
|
+
appPublishRequestId?: string;
|
5920
|
+
note?: string;
|
5921
|
+
}): AppPRAddNoteRequest;
|
5922
|
+
};
|
5923
|
+
readonly requestStream: false;
|
5924
|
+
readonly responseType: {
|
5925
|
+
$type: "devvit.UUID";
|
5926
|
+
encode(message: UUID, writer?: _m0.Writer): _m0.Writer;
|
5927
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UUID;
|
5928
|
+
fromJSON(object: any): UUID;
|
5929
|
+
toJSON(message: UUID): unknown;
|
5930
|
+
create(base?: {
|
5931
|
+
id?: string;
|
5932
|
+
} | undefined): UUID;
|
5933
|
+
fromPartial(object: {
|
5934
|
+
id?: string;
|
5935
|
+
}): UUID;
|
5936
|
+
};
|
5937
|
+
readonly responseStream: false;
|
5938
|
+
readonly options: {};
|
5939
|
+
};
|
5940
|
+
readonly updateNote: {
|
5941
|
+
readonly name: "UpdateNote";
|
5942
|
+
readonly requestType: {
|
5943
|
+
$type: "devvit.dev_portal.app_publish_request.note.AppPRUpdateNoteRequest";
|
5944
|
+
encode(message: AppPRUpdateNoteRequest, writer?: _m0.Writer): _m0.Writer;
|
5945
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AppPRUpdateNoteRequest;
|
5946
|
+
fromJSON(object: any): AppPRUpdateNoteRequest;
|
5947
|
+
toJSON(message: AppPRUpdateNoteRequest): unknown;
|
5948
|
+
create(base?: {
|
5949
|
+
appPublishRequestNoteId?: string;
|
5950
|
+
note?: string;
|
5951
|
+
} | undefined): AppPRUpdateNoteRequest;
|
5952
|
+
fromPartial(object: {
|
5953
|
+
appPublishRequestNoteId?: string;
|
5954
|
+
note?: string;
|
5955
|
+
}): AppPRUpdateNoteRequest;
|
5956
|
+
};
|
5957
|
+
readonly requestStream: false;
|
5958
|
+
readonly responseType: {
|
5959
|
+
$type: "google.protobuf.Empty";
|
5960
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
5961
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
5962
|
+
fromJSON(_: any): Empty;
|
5963
|
+
toJSON(_: Empty): unknown;
|
5964
|
+
create(base?: {} | undefined): Empty;
|
5965
|
+
fromPartial(_: {}): Empty;
|
5966
|
+
};
|
5967
|
+
readonly responseStream: false;
|
5968
|
+
readonly options: {};
|
5969
|
+
};
|
5970
|
+
readonly removeNote: {
|
5971
|
+
readonly name: "RemoveNote";
|
5972
|
+
readonly requestType: {
|
5973
|
+
$type: "devvit.UUID";
|
5974
|
+
encode(message: UUID, writer?: _m0.Writer): _m0.Writer;
|
5975
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UUID;
|
5976
|
+
fromJSON(object: any): UUID;
|
5977
|
+
toJSON(message: UUID): unknown;
|
5978
|
+
create(base?: {
|
5979
|
+
id?: string;
|
5980
|
+
} | undefined): UUID;
|
5981
|
+
fromPartial(object: {
|
5982
|
+
id?: string;
|
5983
|
+
}): UUID;
|
5984
|
+
};
|
5985
|
+
readonly requestStream: false;
|
5986
|
+
readonly responseType: {
|
5987
|
+
$type: "google.protobuf.Empty";
|
5988
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
5989
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
|
5990
|
+
fromJSON(_: any): Empty;
|
5991
|
+
toJSON(_: Empty): unknown;
|
5992
|
+
create(base?: {} | undefined): Empty;
|
5993
|
+
fromPartial(_: {}): Empty;
|
5994
|
+
};
|
5995
|
+
readonly responseStream: false;
|
5996
|
+
readonly options: {};
|
5997
|
+
};
|
5998
|
+
};
|
5999
|
+
};
|
5286
6000
|
interface Rpc {
|
5287
6001
|
request(service: string, method: string, data: Uint8Array, metadata?: Metadata): Promise<Uint8Array>;
|
5288
6002
|
}
|