@devvit/public-api 0.11.0-next-2024-08-06-81c6947e7.0 → 0.11.0-next-2024-08-06-b84aed95a.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.json +8 -13
- package/package.json +7 -7
- package/public-api.d.ts +16 -66
- package/public-api.iife.js +3376 -3551
package/meta.json
CHANGED
@@ -2777,18 +2777,13 @@
|
|
2777
2777
|
"format": "esm"
|
2778
2778
|
},
|
2779
2779
|
"../protos/dist/types/devvit/runtime/runtime_common.js": {
|
2780
|
-
"bytes":
|
2780
|
+
"bytes": 1828,
|
2781
2781
|
"imports": [
|
2782
2782
|
{
|
2783
2783
|
"path": "../../node_modules/protobufjs/minimal.js",
|
2784
2784
|
"kind": "import-statement",
|
2785
2785
|
"original": "protobufjs/minimal.js"
|
2786
2786
|
},
|
2787
|
-
{
|
2788
|
-
"path": "../protos/dist/types/google/protobuf/struct.js",
|
2789
|
-
"kind": "import-statement",
|
2790
|
-
"original": "../../google/protobuf/struct.js"
|
2791
|
-
},
|
2792
2787
|
{
|
2793
2788
|
"path": "../protos/dist/types/typeRegistry.js",
|
2794
2789
|
"kind": "import-statement",
|
@@ -8056,7 +8051,7 @@
|
|
8056
8051
|
"format": "esm"
|
8057
8052
|
},
|
8058
8053
|
"../protos/dist/types/devvit/runtime/actor/echo.js": {
|
8059
|
-
"bytes":
|
8054
|
+
"bytes": 1029,
|
8060
8055
|
"imports": [
|
8061
8056
|
{
|
8062
8057
|
"path": "../../node_modules/protobufjs/minimal.js",
|
@@ -8064,9 +8059,9 @@
|
|
8064
8059
|
"original": "protobufjs/minimal.js"
|
8065
8060
|
},
|
8066
8061
|
{
|
8067
|
-
"path": "../protos/dist/types/
|
8062
|
+
"path": "../protos/dist/types/google/protobuf/wrappers.js",
|
8068
8063
|
"kind": "import-statement",
|
8069
|
-
"original": "
|
8064
|
+
"original": "../../../google/protobuf/wrappers.js"
|
8070
8065
|
}
|
8071
8066
|
],
|
8072
8067
|
"format": "esm"
|
@@ -13881,7 +13876,7 @@
|
|
13881
13876
|
"bytesInOutput": 9450
|
13882
13877
|
},
|
13883
13878
|
"../protos/dist/types/devvit/runtime/runtime_common.js": {
|
13884
|
-
"bytesInOutput":
|
13879
|
+
"bytesInOutput": 1631
|
13885
13880
|
},
|
13886
13881
|
"../protos/dist/types/devvit/service/bundle_service.js": {
|
13887
13882
|
"bytesInOutput": 1728
|
@@ -13890,7 +13885,7 @@
|
|
13890
13885
|
"bytesInOutput": 37009
|
13891
13886
|
},
|
13892
13887
|
"../protos/dist/types/devvit/runtime/serializable.js": {
|
13893
|
-
"bytesInOutput":
|
13888
|
+
"bytesInOutput": 7825
|
13894
13889
|
},
|
13895
13890
|
"../protos/dist/types/devvit/remote_logger/remote_logger.js": {
|
13896
13891
|
"bytesInOutput": 18042
|
@@ -14208,7 +14203,7 @@
|
|
14208
14203
|
"bytesInOutput": 11853
|
14209
14204
|
},
|
14210
14205
|
"../protos/dist/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.js": {
|
14211
|
-
"bytesInOutput":
|
14206
|
+
"bytesInOutput": 11851
|
14212
14207
|
},
|
14213
14208
|
"../protos/dist/types/devvit/plugin/redditapi/postcollections/postcollections_svc.js": {
|
14214
14209
|
"bytesInOutput": 3667
|
@@ -14535,7 +14530,7 @@
|
|
14535
14530
|
"bytesInOutput": 370
|
14536
14531
|
}
|
14537
14532
|
},
|
14538
|
-
"bytes":
|
14533
|
+
"bytes": 14781233
|
14539
14534
|
}
|
14540
14535
|
}
|
14541
14536
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.11.0-next-2024-08-06-
|
3
|
+
"version": "0.11.0-next-2024-08-06-b84aed95a.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
},
|
31
31
|
"types": "./index.d.ts",
|
32
32
|
"dependencies": {
|
33
|
-
"@devvit/protos": "0.11.0-next-2024-08-06-
|
34
|
-
"@devvit/shared-types": "0.11.0-next-2024-08-06-
|
33
|
+
"@devvit/protos": "0.11.0-next-2024-08-06-b84aed95a.0",
|
34
|
+
"@devvit/shared-types": "0.11.0-next-2024-08-06-b84aed95a.0",
|
35
35
|
"base64-js": "1.5.1",
|
36
36
|
"clone-deep": "4.0.1",
|
37
37
|
"core-js": "3.27.2",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
42
|
-
"@devvit/eslint-config": "0.11.0-next-2024-08-06-
|
43
|
-
"@devvit/repo-tools": "0.11.0-next-2024-08-06-
|
44
|
-
"@devvit/tsconfig": "0.11.0-next-2024-08-06-
|
42
|
+
"@devvit/eslint-config": "0.11.0-next-2024-08-06-b84aed95a.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-08-06-b84aed95a.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-08-06-b84aed95a.0",
|
45
45
|
"@microsoft/api-extractor": "7.41.0",
|
46
46
|
"@reddit/faceplate-ui": "11.3.3",
|
47
47
|
"@types/clone-deep": "4.0.1",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
}
|
65
65
|
},
|
66
66
|
"source": "./src/index.ts",
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "51a75232ac575bff99bcf75a3bf234f10e1a561d"
|
68
68
|
}
|
package/public-api.d.ts
CHANGED
@@ -325,21 +325,6 @@ declare const AccountDelete: {
|
|
325
325
|
fromPartial(object: DeepPartial_74<AccountDelete>): AccountDelete;
|
326
326
|
};
|
327
327
|
|
328
|
-
declare interface Ack {
|
329
|
-
success: boolean;
|
330
|
-
messages: string[];
|
331
|
-
}
|
332
|
-
|
333
|
-
declare const Ack: {
|
334
|
-
$type: "devvit.runtime.Ack";
|
335
|
-
encode(message: Ack, writer?: _m0.Writer): _m0.Writer;
|
336
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Ack;
|
337
|
-
fromJSON(object: any): Ack;
|
338
|
-
toJSON(message: Ack): unknown;
|
339
|
-
create(base?: DeepPartial<Ack>): Ack;
|
340
|
-
fromPartial(object: DeepPartial<Ack>): Ack;
|
341
|
-
};
|
342
|
-
|
343
328
|
/**
|
344
329
|
* Subclasses are expected to call config.init(), provides(), and uses(). It
|
345
330
|
* is erroneous to not override the constructor. Override, invoke
|
@@ -8871,20 +8856,6 @@ declare const CustomWidget_2: {
|
|
8871
8856
|
/** @deprecated Use JSONObject instead. */
|
8872
8857
|
export declare type Data = JSONObject;
|
8873
8858
|
|
8874
|
-
declare interface Debug {
|
8875
|
-
message?: any | undefined;
|
8876
|
-
}
|
8877
|
-
|
8878
|
-
declare const Debug: {
|
8879
|
-
$type: "devvit.runtime.Debug";
|
8880
|
-
encode(message: Debug, writer?: _m0.Writer): _m0.Writer;
|
8881
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Debug;
|
8882
|
-
fromJSON(object: any): Debug;
|
8883
|
-
toJSON(message: Debug): unknown;
|
8884
|
-
create(base?: DeepPartial<Debug>): Debug;
|
8885
|
-
fromPartial(object: DeepPartial<Debug>): Debug;
|
8886
|
-
};
|
8887
|
-
|
8888
8859
|
declare type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
8889
8860
|
[K in keyof T]?: DeepPartial<T[K]>;
|
8890
8861
|
} : Partial<T>;
|
@@ -10302,7 +10273,7 @@ declare const Duration: {
|
|
10302
10273
|
};
|
10303
10274
|
|
10304
10275
|
declare interface Echo {
|
10305
|
-
Echo(request:
|
10276
|
+
Echo(request: StringValue, metadata?: Metadata): Promise<StringValue>;
|
10306
10277
|
}
|
10307
10278
|
|
10308
10279
|
declare class EchoClientImpl implements Echo {
|
@@ -10311,7 +10282,7 @@ declare class EchoClientImpl implements Echo {
|
|
10311
10282
|
constructor(rpc: Rpc_9, opts?: {
|
10312
10283
|
service?: string;
|
10313
10284
|
});
|
10314
|
-
Echo(request:
|
10285
|
+
Echo(request: StringValue, metadata?: Metadata): Promise<StringValue>;
|
10315
10286
|
}
|
10316
10287
|
|
10317
10288
|
declare type EchoDefinition = typeof EchoDefinition;
|
@@ -10323,31 +10294,31 @@ declare const EchoDefinition: {
|
|
10323
10294
|
readonly echo: {
|
10324
10295
|
readonly name: "Echo";
|
10325
10296
|
readonly requestType: {
|
10326
|
-
$type: "
|
10327
|
-
encode(message:
|
10328
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined):
|
10329
|
-
fromJSON(object: any):
|
10330
|
-
toJSON(message:
|
10297
|
+
$type: "google.protobuf.StringValue";
|
10298
|
+
encode(message: StringValue, writer?: _m0.Writer): _m0.Writer;
|
10299
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): StringValue;
|
10300
|
+
fromJSON(object: any): StringValue;
|
10301
|
+
toJSON(message: StringValue): unknown;
|
10331
10302
|
create(base?: {
|
10332
10303
|
value?: string;
|
10333
|
-
} | undefined):
|
10304
|
+
} | undefined): StringValue;
|
10334
10305
|
fromPartial(object: {
|
10335
10306
|
value?: string;
|
10336
|
-
}):
|
10307
|
+
}): StringValue;
|
10337
10308
|
};
|
10338
10309
|
readonly requestStream: false;
|
10339
10310
|
readonly responseType: {
|
10340
|
-
$type: "
|
10341
|
-
encode(message:
|
10342
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined):
|
10343
|
-
fromJSON(object: any):
|
10344
|
-
toJSON(message:
|
10311
|
+
$type: "google.protobuf.StringValue";
|
10312
|
+
encode(message: StringValue, writer?: _m0.Writer): _m0.Writer;
|
10313
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): StringValue;
|
10314
|
+
fromJSON(object: any): StringValue;
|
10315
|
+
toJSON(message: StringValue): unknown;
|
10345
10316
|
create(base?: {
|
10346
10317
|
value?: string;
|
10347
|
-
} | undefined):
|
10318
|
+
} | undefined): StringValue;
|
10348
10319
|
fromPartial(object: {
|
10349
10320
|
value?: string;
|
10350
|
-
}):
|
10321
|
+
}): StringValue;
|
10351
10322
|
};
|
10352
10323
|
readonly responseStream: false;
|
10353
10324
|
readonly options: {};
|
@@ -41758,10 +41729,7 @@ declare namespace protos {
|
|
41758
41729
|
BundleServiceDefinition,
|
41759
41730
|
SerializableServiceDefinition,
|
41760
41731
|
SerializableMethodDefinition,
|
41761
|
-
Ack,
|
41762
|
-
Debug,
|
41763
41732
|
Strings,
|
41764
|
-
Str,
|
41765
41733
|
Envelope,
|
41766
41734
|
Envelope_MetadataEntry,
|
41767
41735
|
linkedBundleTargetPlatformFromJSON,
|
@@ -49952,24 +49920,6 @@ declare function storableAction_StateFromJSON(object: any): StorableAction_State
|
|
49952
49920
|
|
49953
49921
|
declare function storableAction_StateToJSON(object: StorableAction_State): number;
|
49954
49922
|
|
49955
|
-
/**
|
49956
|
-
* to-do: replace with StringValue. See
|
49957
|
-
* https://github.com/stephenh/ts-proto/issues/69.
|
49958
|
-
*/
|
49959
|
-
declare interface Str {
|
49960
|
-
value: string;
|
49961
|
-
}
|
49962
|
-
|
49963
|
-
declare const Str: {
|
49964
|
-
$type: "devvit.runtime.Str";
|
49965
|
-
encode(message: Str, writer?: _m0.Writer): _m0.Writer;
|
49966
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Str;
|
49967
|
-
fromJSON(object: any): Str;
|
49968
|
-
toJSON(message: Str): unknown;
|
49969
|
-
create(base?: DeepPartial<Str>): Str;
|
49970
|
-
fromPartial(object: DeepPartial<Str>): Str;
|
49971
|
-
};
|
49972
|
-
|
49973
49923
|
declare interface StreamBroker {
|
49974
49924
|
Put(request: Message, metadata?: Metadata): Promise<Empty>;
|
49975
49925
|
Get(request: Cursor, metadata?: Metadata): Observable<Message>;
|