@replit/protocol 0.4.23 → 0.4.24
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/dist/api/features/features.d.ts +14 -6
- package/dist/api/features/features.js +6 -4
- package/dist/api/lore/service.client.d.ts +26 -0
- package/dist/api/lore/service.client.js +19 -4
- package/dist/api/lore/service.d.ts +34 -0
- package/dist/api/lore/service.js +86 -0
- package/dist/api/types.d.ts +12 -1
- package/dist/api/types.js +11 -0
- package/iotester/index.d.ts +217 -1
- package/iotester/index.js +448 -0
- package/main/index.d.ts +217 -1
- package/main/index.js +448 -0
- package/package.json +1 -1
|
@@ -12,15 +12,18 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
12
12
|
export interface Boosted {
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Viktor
|
|
15
|
+
* Deprecated: Viktor is no longer evaluated; the feature was removed.
|
|
16
16
|
*
|
|
17
|
+
* @deprecated
|
|
17
18
|
* @generated from protobuf message replit.goval.api.features.Viktor
|
|
18
19
|
*/
|
|
19
20
|
export interface Viktor {
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
|
-
* Notary
|
|
23
|
+
* Deprecated: Notary is now always enabled; this feature is no longer
|
|
24
|
+
* evaluated.
|
|
23
25
|
*
|
|
26
|
+
* @deprecated
|
|
24
27
|
* @generated from protobuf message replit.goval.api.features.Notary
|
|
25
28
|
*/
|
|
26
29
|
export interface Notary {
|
|
@@ -44,17 +47,20 @@ export interface Feature {
|
|
|
44
47
|
} | {
|
|
45
48
|
oneofKind: "viktor";
|
|
46
49
|
/**
|
|
47
|
-
* Viktor
|
|
50
|
+
* Deprecated: Viktor is no longer evaluated; the feature was removed.
|
|
48
51
|
*
|
|
49
|
-
* @
|
|
52
|
+
* @deprecated
|
|
53
|
+
* @generated from protobuf field: replit.goval.api.features.Viktor viktor = 5 [deprecated = true]
|
|
50
54
|
*/
|
|
51
55
|
viktor: Viktor;
|
|
52
56
|
} | {
|
|
53
57
|
oneofKind: "notary";
|
|
54
58
|
/**
|
|
55
|
-
* Notary
|
|
59
|
+
* Deprecated: Notary is now always enabled; this feature is no longer
|
|
60
|
+
* evaluated.
|
|
56
61
|
*
|
|
57
|
-
* @
|
|
62
|
+
* @deprecated
|
|
63
|
+
* @generated from protobuf field: replit.goval.api.features.Notary notary = 6 [deprecated = true]
|
|
58
64
|
*/
|
|
59
65
|
notary: Notary;
|
|
60
66
|
} | {
|
|
@@ -86,6 +92,7 @@ declare class Viktor$Type extends MessageType<Viktor> {
|
|
|
86
92
|
internalBinaryWrite(message: Viktor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
87
93
|
}
|
|
88
94
|
/**
|
|
95
|
+
* @deprecated
|
|
89
96
|
* @generated MessageType for protobuf message replit.goval.api.features.Viktor
|
|
90
97
|
*/
|
|
91
98
|
export declare const Viktor: Viktor$Type;
|
|
@@ -96,6 +103,7 @@ declare class Notary$Type extends MessageType<Notary> {
|
|
|
96
103
|
internalBinaryWrite(message: Notary, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
97
104
|
}
|
|
98
105
|
/**
|
|
106
|
+
* @deprecated
|
|
99
107
|
* @generated MessageType for protobuf message replit.goval.api.features.Notary
|
|
100
108
|
*/
|
|
101
109
|
export declare const Notary: Notary$Type;
|
|
@@ -78,6 +78,7 @@ class Viktor$Type extends MessageType {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
+
* @deprecated
|
|
81
82
|
* @generated MessageType for protobuf message replit.goval.api.features.Viktor
|
|
82
83
|
*/
|
|
83
84
|
export const Viktor = new Viktor$Type();
|
|
@@ -116,6 +117,7 @@ class Notary$Type extends MessageType {
|
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
/**
|
|
120
|
+
* @deprecated
|
|
119
121
|
* @generated MessageType for protobuf message replit.goval.api.features.Notary
|
|
120
122
|
*/
|
|
121
123
|
export const Notary = new Notary$Type();
|
|
@@ -148,13 +150,13 @@ class Feature$Type extends MessageType {
|
|
|
148
150
|
boosted: Boosted.internalBinaryRead(reader, reader.uint32(), options, message.feature.boosted)
|
|
149
151
|
};
|
|
150
152
|
break;
|
|
151
|
-
case /* replit.goval.api.features.Viktor viktor */ 5:
|
|
153
|
+
case /* replit.goval.api.features.Viktor viktor = 5 [deprecated = true] */ 5:
|
|
152
154
|
message.feature = {
|
|
153
155
|
oneofKind: "viktor",
|
|
154
156
|
viktor: Viktor.internalBinaryRead(reader, reader.uint32(), options, message.feature.viktor)
|
|
155
157
|
};
|
|
156
158
|
break;
|
|
157
|
-
case /* replit.goval.api.features.Notary notary */ 6:
|
|
159
|
+
case /* replit.goval.api.features.Notary notary = 6 [deprecated = true] */ 6:
|
|
158
160
|
message.feature = {
|
|
159
161
|
oneofKind: "notary",
|
|
160
162
|
notary: Notary.internalBinaryRead(reader, reader.uint32(), options, message.feature.notary)
|
|
@@ -181,10 +183,10 @@ class Feature$Type extends MessageType {
|
|
|
181
183
|
/* bool required = 3; */
|
|
182
184
|
if (message.required !== false)
|
|
183
185
|
writer.tag(3, WireType.Varint).bool(message.required);
|
|
184
|
-
/* replit.goval.api.features.Viktor viktor = 5; */
|
|
186
|
+
/* replit.goval.api.features.Viktor viktor = 5 [deprecated = true]; */
|
|
185
187
|
if (message.feature.oneofKind === "viktor")
|
|
186
188
|
Viktor.internalBinaryWrite(message.feature.viktor, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
187
|
-
/* replit.goval.api.features.Notary notary = 6; */
|
|
189
|
+
/* replit.goval.api.features.Notary notary = 6 [deprecated = true]; */
|
|
188
190
|
if (message.feature.oneofKind === "notary")
|
|
189
191
|
Notary.internalBinaryWrite(message.feature.notary, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
190
192
|
let u = options.writeUnknownFields;
|
|
@@ -8,6 +8,8 @@ import type { TransferReplFromOfflineClusterResponse } from "./service.js";
|
|
|
8
8
|
import type { TransferReplFromOfflineClusterRequest } from "./service.js";
|
|
9
9
|
import type { GetClustersResponse } from "./service.js";
|
|
10
10
|
import type { GetClustersRequest } from "./service.js";
|
|
11
|
+
import type { DeleteReplResponse } from "./service.js";
|
|
12
|
+
import type { DeleteReplRequest } from "./service.js";
|
|
11
13
|
import type { BulkRemoveResponse } from "./service.js";
|
|
12
14
|
import type { BulkRemoveRequest } from "./service.js";
|
|
13
15
|
import type { RestoreReplResponse } from "./service.js";
|
|
@@ -111,6 +113,18 @@ export interface ILoreClient {
|
|
|
111
113
|
* @generated from protobuf rpc: BulkRemove
|
|
112
114
|
*/
|
|
113
115
|
bulkRemove(input: BulkRemoveRequest, options?: RpcOptions): UnaryCall<BulkRemoveRequest, BulkRemoveResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* DeleteRepl permanently deletes a repl.
|
|
118
|
+
* This adds a tombstone to prevent the repl from running, attempts to delete
|
|
119
|
+
* GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles,
|
|
120
|
+
* OT metadata) on a best-effort basis, and soft deletes the repl from the
|
|
121
|
+
* lore database. GCS cleanup failures are logged but do not block deletion;
|
|
122
|
+
* orphaned storage can be cleaned up separately.
|
|
123
|
+
* This operation is irreversible and idempotent.
|
|
124
|
+
*
|
|
125
|
+
* @generated from protobuf rpc: DeleteRepl
|
|
126
|
+
*/
|
|
127
|
+
deleteRepl(input: DeleteReplRequest, options?: RpcOptions): UnaryCall<DeleteReplRequest, DeleteReplResponse>;
|
|
114
128
|
/**
|
|
115
129
|
* GetClusters returns metadata for all clusters.
|
|
116
130
|
*
|
|
@@ -240,6 +254,18 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
|
|
|
240
254
|
* @generated from protobuf rpc: BulkRemove
|
|
241
255
|
*/
|
|
242
256
|
bulkRemove(input: BulkRemoveRequest, options?: RpcOptions): UnaryCall<BulkRemoveRequest, BulkRemoveResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* DeleteRepl permanently deletes a repl.
|
|
259
|
+
* This adds a tombstone to prevent the repl from running, attempts to delete
|
|
260
|
+
* GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles,
|
|
261
|
+
* OT metadata) on a best-effort basis, and soft deletes the repl from the
|
|
262
|
+
* lore database. GCS cleanup failures are logged but do not block deletion;
|
|
263
|
+
* orphaned storage can be cleaned up separately.
|
|
264
|
+
* This operation is irreversible and idempotent.
|
|
265
|
+
*
|
|
266
|
+
* @generated from protobuf rpc: DeleteRepl
|
|
267
|
+
*/
|
|
268
|
+
deleteRepl(input: DeleteReplRequest, options?: RpcOptions): UnaryCall<DeleteReplRequest, DeleteReplResponse>;
|
|
243
269
|
/**
|
|
244
270
|
* GetClusters returns metadata for all clusters.
|
|
245
271
|
*
|
|
@@ -117,13 +117,28 @@ export class LoreClient {
|
|
|
117
117
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
118
118
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* DeleteRepl permanently deletes a repl.
|
|
122
|
+
* This adds a tombstone to prevent the repl from running, attempts to delete
|
|
123
|
+
* GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles,
|
|
124
|
+
* OT metadata) on a best-effort basis, and soft deletes the repl from the
|
|
125
|
+
* lore database. GCS cleanup failures are logged but do not block deletion;
|
|
126
|
+
* orphaned storage can be cleaned up separately.
|
|
127
|
+
* This operation is irreversible and idempotent.
|
|
128
|
+
*
|
|
129
|
+
* @generated from protobuf rpc: DeleteRepl
|
|
130
|
+
*/
|
|
131
|
+
deleteRepl(input, options) {
|
|
132
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
133
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
134
|
+
}
|
|
120
135
|
/**
|
|
121
136
|
* GetClusters returns metadata for all clusters.
|
|
122
137
|
*
|
|
123
138
|
* @generated from protobuf rpc: GetClusters
|
|
124
139
|
*/
|
|
125
140
|
getClusters(input, options) {
|
|
126
|
-
const method = this.methods[
|
|
141
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
127
142
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
128
143
|
}
|
|
129
144
|
/**
|
|
@@ -137,7 +152,7 @@ export class LoreClient {
|
|
|
137
152
|
* @generated from protobuf rpc: TransferReplFromOfflineCluster
|
|
138
153
|
*/
|
|
139
154
|
transferReplFromOfflineCluster(input, options) {
|
|
140
|
-
const method = this.methods[
|
|
155
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
141
156
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
142
157
|
}
|
|
143
158
|
/**
|
|
@@ -153,7 +168,7 @@ export class LoreClient {
|
|
|
153
168
|
* @generated from protobuf rpc: ExportRepl
|
|
154
169
|
*/
|
|
155
170
|
exportRepl(input, options) {
|
|
156
|
-
const method = this.methods[
|
|
171
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
157
172
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
158
173
|
}
|
|
159
174
|
/**
|
|
@@ -166,7 +181,7 @@ export class LoreClient {
|
|
|
166
181
|
* @generated from protobuf rpc: ImportRepl
|
|
167
182
|
*/
|
|
168
183
|
importRepl(input, options) {
|
|
169
|
-
const method = this.methods[
|
|
184
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
170
185
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
171
186
|
}
|
|
172
187
|
}
|
|
@@ -561,6 +561,20 @@ export interface BulkRemoveRequest {
|
|
|
561
561
|
*/
|
|
562
562
|
export interface BulkRemoveResponse {
|
|
563
563
|
}
|
|
564
|
+
/**
|
|
565
|
+
* @generated from protobuf message replit.goval.api.lore.DeleteReplRequest
|
|
566
|
+
*/
|
|
567
|
+
export interface DeleteReplRequest {
|
|
568
|
+
/**
|
|
569
|
+
* @generated from protobuf field: string repl_id = 1
|
|
570
|
+
*/
|
|
571
|
+
replId: string;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* @generated from protobuf message replit.goval.api.lore.DeleteReplResponse
|
|
575
|
+
*/
|
|
576
|
+
export interface DeleteReplResponse {
|
|
577
|
+
}
|
|
564
578
|
/**
|
|
565
579
|
* @generated from protobuf message replit.goval.api.lore.GetClustersRequest
|
|
566
580
|
*/
|
|
@@ -993,6 +1007,26 @@ declare class BulkRemoveResponse$Type extends MessageType<BulkRemoveResponse> {
|
|
|
993
1007
|
* @generated MessageType for protobuf message replit.goval.api.lore.BulkRemoveResponse
|
|
994
1008
|
*/
|
|
995
1009
|
export declare const BulkRemoveResponse: BulkRemoveResponse$Type;
|
|
1010
|
+
declare class DeleteReplRequest$Type extends MessageType<DeleteReplRequest> {
|
|
1011
|
+
constructor();
|
|
1012
|
+
create(value?: PartialMessage<DeleteReplRequest>): DeleteReplRequest;
|
|
1013
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteReplRequest): DeleteReplRequest;
|
|
1014
|
+
internalBinaryWrite(message: DeleteReplRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteReplRequest
|
|
1018
|
+
*/
|
|
1019
|
+
export declare const DeleteReplRequest: DeleteReplRequest$Type;
|
|
1020
|
+
declare class DeleteReplResponse$Type extends MessageType<DeleteReplResponse> {
|
|
1021
|
+
constructor();
|
|
1022
|
+
create(value?: PartialMessage<DeleteReplResponse>): DeleteReplResponse;
|
|
1023
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteReplResponse): DeleteReplResponse;
|
|
1024
|
+
internalBinaryWrite(message: DeleteReplResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteReplResponse
|
|
1028
|
+
*/
|
|
1029
|
+
export declare const DeleteReplResponse: DeleteReplResponse$Type;
|
|
996
1030
|
declare class GetClustersRequest$Type extends MessageType<GetClustersRequest> {
|
|
997
1031
|
constructor();
|
|
998
1032
|
create(value?: PartialMessage<GetClustersRequest>): GetClustersRequest;
|
package/dist/api/lore/service.js
CHANGED
|
@@ -1733,6 +1733,91 @@ class BulkRemoveResponse$Type extends MessageType {
|
|
|
1733
1733
|
*/
|
|
1734
1734
|
export const BulkRemoveResponse = new BulkRemoveResponse$Type();
|
|
1735
1735
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1736
|
+
class DeleteReplRequest$Type extends MessageType {
|
|
1737
|
+
constructor() {
|
|
1738
|
+
super("replit.goval.api.lore.DeleteReplRequest", [
|
|
1739
|
+
{ no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1740
|
+
]);
|
|
1741
|
+
}
|
|
1742
|
+
create(value) {
|
|
1743
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1744
|
+
message.replId = "";
|
|
1745
|
+
if (value !== undefined)
|
|
1746
|
+
reflectionMergePartial(this, message, value);
|
|
1747
|
+
return message;
|
|
1748
|
+
}
|
|
1749
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1750
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1751
|
+
while (reader.pos < end) {
|
|
1752
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1753
|
+
switch (fieldNo) {
|
|
1754
|
+
case /* string repl_id */ 1:
|
|
1755
|
+
message.replId = reader.string();
|
|
1756
|
+
break;
|
|
1757
|
+
default:
|
|
1758
|
+
let u = options.readUnknownField;
|
|
1759
|
+
if (u === "throw")
|
|
1760
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1761
|
+
let d = reader.skip(wireType);
|
|
1762
|
+
if (u !== false)
|
|
1763
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
return message;
|
|
1767
|
+
}
|
|
1768
|
+
internalBinaryWrite(message, writer, options) {
|
|
1769
|
+
/* string repl_id = 1; */
|
|
1770
|
+
if (message.replId !== "")
|
|
1771
|
+
writer.tag(1, WireType.LengthDelimited).string(message.replId);
|
|
1772
|
+
let u = options.writeUnknownFields;
|
|
1773
|
+
if (u !== false)
|
|
1774
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1775
|
+
return writer;
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteReplRequest
|
|
1780
|
+
*/
|
|
1781
|
+
export const DeleteReplRequest = new DeleteReplRequest$Type();
|
|
1782
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1783
|
+
class DeleteReplResponse$Type extends MessageType {
|
|
1784
|
+
constructor() {
|
|
1785
|
+
super("replit.goval.api.lore.DeleteReplResponse", []);
|
|
1786
|
+
}
|
|
1787
|
+
create(value) {
|
|
1788
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1789
|
+
if (value !== undefined)
|
|
1790
|
+
reflectionMergePartial(this, message, value);
|
|
1791
|
+
return message;
|
|
1792
|
+
}
|
|
1793
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1794
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1795
|
+
while (reader.pos < end) {
|
|
1796
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1797
|
+
switch (fieldNo) {
|
|
1798
|
+
default:
|
|
1799
|
+
let u = options.readUnknownField;
|
|
1800
|
+
if (u === "throw")
|
|
1801
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1802
|
+
let d = reader.skip(wireType);
|
|
1803
|
+
if (u !== false)
|
|
1804
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
return message;
|
|
1808
|
+
}
|
|
1809
|
+
internalBinaryWrite(message, writer, options) {
|
|
1810
|
+
let u = options.writeUnknownFields;
|
|
1811
|
+
if (u !== false)
|
|
1812
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1813
|
+
return writer;
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* @generated MessageType for protobuf message replit.goval.api.lore.DeleteReplResponse
|
|
1818
|
+
*/
|
|
1819
|
+
export const DeleteReplResponse = new DeleteReplResponse$Type();
|
|
1820
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1736
1821
|
class GetClustersRequest$Type extends MessageType {
|
|
1737
1822
|
constructor() {
|
|
1738
1823
|
super("replit.goval.api.lore.GetClustersRequest", []);
|
|
@@ -2272,6 +2357,7 @@ export const Lore = new ServiceType("replit.goval.api.lore.Lore", [
|
|
|
2272
2357
|
{ name: "SoftTakedownRepl", options: {}, I: SoftTakedownReplRequest, O: SoftTakedownReplResponse },
|
|
2273
2358
|
{ name: "RestoreRepl", options: {}, I: RestoreReplRequest, O: RestoreReplResponse },
|
|
2274
2359
|
{ name: "BulkRemove", options: {}, I: BulkRemoveRequest, O: BulkRemoveResponse },
|
|
2360
|
+
{ name: "DeleteRepl", options: {}, I: DeleteReplRequest, O: DeleteReplResponse },
|
|
2275
2361
|
{ name: "GetClusters", options: {}, I: GetClustersRequest, O: GetClustersResponse },
|
|
2276
2362
|
{ name: "TransferReplFromOfflineCluster", options: {}, I: TransferReplFromOfflineClusterRequest, O: TransferReplFromOfflineClusterResponse },
|
|
2277
2363
|
{ name: "ExportRepl", options: {}, I: ExportReplRequest, O: ExportReplResponse },
|
package/dist/api/types.d.ts
CHANGED
|
@@ -4423,6 +4423,13 @@ export interface DeploymentConfig {
|
|
|
4423
4423
|
* @generated from protobuf field: bool ignorePorts = 3
|
|
4424
4424
|
*/
|
|
4425
4425
|
ignorePorts: boolean;
|
|
4426
|
+
/**
|
|
4427
|
+
* postBuild is a command to run after all build steps have completed
|
|
4428
|
+
* (including any artifact-specific build commands).
|
|
4429
|
+
*
|
|
4430
|
+
* @generated from protobuf field: replit.goval.api.Exec postBuild = 8
|
|
4431
|
+
*/
|
|
4432
|
+
postBuild?: Exec;
|
|
4426
4433
|
/**
|
|
4427
4434
|
* @generated from protobuf field: replit.goval.api.DeploymentConfig.Target target = 4
|
|
4428
4435
|
*/
|
|
@@ -4527,7 +4534,11 @@ export declare enum DeploymentConfig_Target {
|
|
|
4527
4534
|
/**
|
|
4528
4535
|
* @generated from protobuf enum value: EXTENSION = 6;
|
|
4529
4536
|
*/
|
|
4530
|
-
EXTENSION = 6
|
|
4537
|
+
EXTENSION = 6,
|
|
4538
|
+
/**
|
|
4539
|
+
* @generated from protobuf enum value: DATABRICKS_APP = 7;
|
|
4540
|
+
*/
|
|
4541
|
+
DATABRICKS_APP = 7
|
|
4531
4542
|
}
|
|
4532
4543
|
/**
|
|
4533
4544
|
* @generated from protobuf message replit.goval.api.ExtensionConfig
|
package/dist/api/types.js
CHANGED
|
@@ -354,6 +354,10 @@ export var DeploymentConfig_Target;
|
|
|
354
354
|
* @generated from protobuf enum value: EXTENSION = 6;
|
|
355
355
|
*/
|
|
356
356
|
DeploymentConfig_Target[DeploymentConfig_Target["EXTENSION"] = 6] = "EXTENSION";
|
|
357
|
+
/**
|
|
358
|
+
* @generated from protobuf enum value: DATABRICKS_APP = 7;
|
|
359
|
+
*/
|
|
360
|
+
DeploymentConfig_Target[DeploymentConfig_Target["DATABRICKS_APP"] = 7] = "DATABRICKS_APP";
|
|
357
361
|
})(DeploymentConfig_Target || (DeploymentConfig_Target = {}));
|
|
358
362
|
/**
|
|
359
363
|
* @generated from protobuf enum replit.goval.api.NixModuleConfigSetResponse.Status
|
|
@@ -11912,6 +11916,7 @@ class DeploymentConfig$Type extends MessageType {
|
|
|
11912
11916
|
{ no: 1, name: "run", kind: "message", T: () => Exec },
|
|
11913
11917
|
{ no: 2, name: "build", kind: "message", T: () => Exec },
|
|
11914
11918
|
{ no: 3, name: "ignorePorts", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
11919
|
+
{ no: 8, name: "postBuild", kind: "message", T: () => Exec },
|
|
11915
11920
|
{ no: 4, name: "target", kind: "enum", T: () => ["replit.goval.api.DeploymentConfig.Target", DeploymentConfig_Target] },
|
|
11916
11921
|
{ no: 5, name: "publicDir", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
11917
11922
|
{ no: 6, name: "rewrites", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeploymentConfig_RewriteRule },
|
|
@@ -11943,6 +11948,9 @@ class DeploymentConfig$Type extends MessageType {
|
|
|
11943
11948
|
case /* bool ignorePorts */ 3:
|
|
11944
11949
|
message.ignorePorts = reader.bool();
|
|
11945
11950
|
break;
|
|
11951
|
+
case /* replit.goval.api.Exec postBuild */ 8:
|
|
11952
|
+
message.postBuild = Exec.internalBinaryRead(reader, reader.uint32(), options, message.postBuild);
|
|
11953
|
+
break;
|
|
11946
11954
|
case /* replit.goval.api.DeploymentConfig.Target target */ 4:
|
|
11947
11955
|
message.target = reader.int32();
|
|
11948
11956
|
break;
|
|
@@ -11988,6 +11996,9 @@ class DeploymentConfig$Type extends MessageType {
|
|
|
11988
11996
|
/* repeated replit.goval.api.DeploymentConfig.Header responseHeaders = 7; */
|
|
11989
11997
|
for (let i = 0; i < message.responseHeaders.length; i++)
|
|
11990
11998
|
DeploymentConfig_Header.internalBinaryWrite(message.responseHeaders[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
11999
|
+
/* replit.goval.api.Exec postBuild = 8; */
|
|
12000
|
+
if (message.postBuild)
|
|
12001
|
+
Exec.internalBinaryWrite(message.postBuild, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
11991
12002
|
let u = options.writeUnknownFields;
|
|
11992
12003
|
if (u !== false)
|
|
11993
12004
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|