weave-typescript 0.13.0 → 0.15.0
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/index.d.ts +9 -16
- package/dist/index.js +13 -21
- package/dist/weaveapi/project/v1/project.pb.d.ts +69 -5
- package/dist/weaveapi/project/v1/project.pb.js +787 -62
- package/dist/weaveapi/project/v1/service.pb.d.ts +110 -69
- package/dist/weaveapi/project/v1/service.pb.js +1056 -392
- package/dist/weaveapi/task/v1/service.pb.d.ts +172 -0
- package/dist/weaveapi/task/v1/service.pb.js +1436 -0
- package/dist/weaveapi/task/v1/task.pb.d.ts +85 -0
- package/dist/weaveapi/task/v1/task.pb.js +802 -0
- package/dist/weavesql/atcdb/event_sql.d.ts +10 -0
- package/dist/weavesql/atcdb/event_sql.js +11 -1
- package/dist/weavesql/atcdb/mailbox_sql.d.ts +2 -2
- package/dist/weavesql/atcdb/mailbox_sql.js +1 -1
- package/dist/weavesql/weavedb/project_sql.d.ts +164 -41
- package/dist/weavesql/weavedb/project_sql.js +398 -103
- package/dist/weavesql/weavedb/task_sql.d.ts +210 -0
- package/dist/weavesql/weavedb/task_sql.js +430 -0
- package/package.json +2 -2
- package/dist/weaveapi/auth/v1/service.pb.d.ts +0 -709
- package/dist/weaveapi/auth/v1/service.pb.js +0 -5058
- package/dist/weaveapi/auth/v1/session.pb.d.ts +0 -43
- package/dist/weaveapi/auth/v1/session.pb.js +0 -308
- package/dist/weaveapi/auth/v1/usage.pb.d.ts +0 -76
- package/dist/weaveapi/auth/v1/usage.pb.js +0 -849
- package/dist/weaveapi/auth/v1/user.pb.d.ts +0 -141
- package/dist/weaveapi/auth/v1/user.pb.js +0 -1625
- package/dist/weaveapi/data/v1/data.pb.d.ts +0 -54
- package/dist/weaveapi/data/v1/data.pb.js +0 -411
- package/dist/weaveapi/data/v1/service.pb.d.ts +0 -296
- package/dist/weaveapi/data/v1/service.pb.js +0 -2777
- package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -122
- package/dist/weaveapi/generate/v1/configuration.pb.js +0 -877
- package/dist/weaveapi/generate/v1/generate.pb.d.ts +0 -48
- package/dist/weaveapi/generate/v1/generate.pb.js +0 -367
- package/dist/weaveapi/generate/v1/service.pb.d.ts +0 -173
- package/dist/weaveapi/generate/v1/service.pb.js +0 -1207
- package/dist/weaveapi/input/v1/input.pb.d.ts +0 -77
- package/dist/weaveapi/input/v1/input.pb.js +0 -632
- package/dist/weaveapi/input/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/input/v1/service.pb.js +0 -3610
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +0 -67
- package/dist/weaveapi/integration/v1/integration.pb.js +0 -486
- package/dist/weaveapi/integration/v1/service.pb.d.ts +0 -318
- package/dist/weaveapi/integration/v1/service.pb.js +0 -2992
- package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +0 -665
- package/dist/weaveapi/llmx/v1/architecture.pb.js +0 -3028
- package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +0 -709
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +0 -3458
- package/dist/weaveapi/llmx/v1/model.pb.d.ts +0 -375
- package/dist/weaveapi/llmx/v1/model.pb.js +0 -1472
- package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +0 -340
- package/dist/weaveapi/llmx/v1/pricing.pb.js +0 -974
- package/dist/weaveapi/llmx/v1/provider.pb.d.ts +0 -72
- package/dist/weaveapi/llmx/v1/provider.pb.js +0 -218
- package/dist/weaveapi/llmx/v1/service.pb.d.ts +0 -683
- package/dist/weaveapi/llmx/v1/service.pb.js +0 -5311
- package/dist/weaveapi/mcpregistry/v1/server.pb.d.ts +0 -54
- package/dist/weaveapi/mcpregistry/v1/server.pb.js +0 -436
- package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +0 -171
- package/dist/weaveapi/mcpregistry/v1/service.pb.js +0 -963
- package/dist/weaveapi/payment/v1/invoice.pb.d.ts +0 -92
- package/dist/weaveapi/payment/v1/invoice.pb.js +0 -998
- package/dist/weaveapi/payment/v1/service.pb.d.ts +0 -662
- package/dist/weaveapi/payment/v1/service.pb.js +0 -5395
- package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -165
- package/dist/weaveapi/payment/v1/subscription.pb.js +0 -1930
- package/dist/weaveapi/report/v1/report.pb.d.ts +0 -81
- package/dist/weaveapi/report/v1/report.pb.js +0 -678
- package/dist/weaveapi/report/v1/service.pb.d.ts +0 -194
- package/dist/weaveapi/report/v1/service.pb.js +0 -1923
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +0 -70
- package/dist/weaveapi/requirement/v1/requirement.pb.js +0 -570
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/requirement/v1/service.pb.js +0 -3636
- package/dist/weaveapi/run/v1/run.pb.d.ts +0 -117
- package/dist/weaveapi/run/v1/run.pb.js +0 -1155
- package/dist/weaveapi/run/v1/service.pb.d.ts +0 -229
- package/dist/weaveapi/run/v1/service.pb.js +0 -2426
- package/dist/weaveapi/script/v1/script.pb.d.ts +0 -102
- package/dist/weaveapi/script/v1/script.pb.js +0 -1025
- package/dist/weaveapi/script/v1/service.pb.d.ts +0 -502
- package/dist/weaveapi/script/v1/service.pb.js +0 -4871
- package/dist/weaveapi/storage/v1/auth.pb.d.ts +0 -27
- package/dist/weaveapi/storage/v1/auth.pb.js +0 -110
- package/dist/weaveapi/storage/v1/nosql_database.pb.d.ts +0 -91
- package/dist/weaveapi/storage/v1/nosql_database.pb.js +0 -1056
- package/dist/weaveapi/storage/v1/object_store.pb.d.ts +0 -49
- package/dist/weaveapi/storage/v1/object_store.pb.js +0 -441
- package/dist/weaveapi/storage/v1/service.pb.d.ts +0 -245
- package/dist/weaveapi/storage/v1/service.pb.js +0 -1339
- package/dist/weaveapi/storage/v1/sql_database.pb.d.ts +0 -98
- package/dist/weaveapi/storage/v1/sql_database.pb.js +0 -1184
- package/dist/weaveapi/storage/v1/storage.pb.d.ts +0 -35
- package/dist/weaveapi/storage/v1/storage.pb.js +0 -198
- package/dist/weaveapi/storage/v1/vcs.pb.d.ts +0 -75
- package/dist/weaveapi/storage/v1/vcs.pb.js +0 -864
- package/dist/weaveapi/suite/v1/service.pb.d.ts +0 -539
- package/dist/weaveapi/suite/v1/service.pb.js +0 -5279
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +0 -92
- package/dist/weaveapi/suite/v1/suite.pb.js +0 -876
- package/dist/weaveapi/synthesize/v1/dataset.pb.d.ts +0 -68
- package/dist/weaveapi/synthesize/v1/dataset.pb.js +0 -460
- package/dist/weaveapi/synthesize/v1/inline_data.pb.d.ts +0 -45
- package/dist/weaveapi/synthesize/v1/inline_data.pb.js +0 -166
- package/dist/weaveapi/synthesize/v1/relationship.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/relationship.pb.js +0 -253
- package/dist/weaveapi/synthesize/v1/service.pb.d.ts +0 -144
- package/dist/weaveapi/synthesize/v1/service.pb.js +0 -937
- package/dist/weaveapi/synthesize/v1/training.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/training.pb.js +0 -386
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +0 -498
- package/dist/weaveapi/testcase/v1/service.pb.js +0 -4728
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +0 -91
- package/dist/weaveapi/testcase/v1/testcase.pb.js +0 -794
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -2120
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +0 -77
- package/dist/weaveapi/workflow/v1/workflow.pb.js +0 -555
- package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +0 -295
- package/dist/weaveapi/workflowdata/v1/service.pb.js +0 -2612
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.6
|
|
5
|
-
// protoc unknown
|
|
6
|
-
// source: weaveapi/synthesize/v1/inline_data.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.InlineData = exports.DataFormat = exports.protobufPackage = void 0;
|
|
9
|
-
exports.dataFormatFromJSON = dataFormatFromJSON;
|
|
10
|
-
exports.dataFormatToJSON = dataFormatToJSON;
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
13
|
-
exports.protobufPackage = "weaveapi.synthesize.v1";
|
|
14
|
-
/** DataFormat specifies the format of the inline data */
|
|
15
|
-
var DataFormat;
|
|
16
|
-
(function (DataFormat) {
|
|
17
|
-
DataFormat[DataFormat["DATA_FORMAT_UNSPECIFIED"] = 0] = "DATA_FORMAT_UNSPECIFIED";
|
|
18
|
-
DataFormat[DataFormat["DATA_FORMAT_CSV"] = 1] = "DATA_FORMAT_CSV";
|
|
19
|
-
DataFormat[DataFormat["DATA_FORMAT_JSON"] = 2] = "DATA_FORMAT_JSON";
|
|
20
|
-
DataFormat[DataFormat["DATA_FORMAT_PARQUET"] = 3] = "DATA_FORMAT_PARQUET";
|
|
21
|
-
DataFormat[DataFormat["DATA_FORMAT_AVRO"] = 4] = "DATA_FORMAT_AVRO";
|
|
22
|
-
DataFormat[DataFormat["DATA_FORMAT_ORC"] = 5] = "DATA_FORMAT_ORC";
|
|
23
|
-
DataFormat[DataFormat["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
24
|
-
})(DataFormat || (exports.DataFormat = DataFormat = {}));
|
|
25
|
-
function dataFormatFromJSON(object) {
|
|
26
|
-
switch (object) {
|
|
27
|
-
case 0:
|
|
28
|
-
case "DATA_FORMAT_UNSPECIFIED":
|
|
29
|
-
return DataFormat.DATA_FORMAT_UNSPECIFIED;
|
|
30
|
-
case 1:
|
|
31
|
-
case "DATA_FORMAT_CSV":
|
|
32
|
-
return DataFormat.DATA_FORMAT_CSV;
|
|
33
|
-
case 2:
|
|
34
|
-
case "DATA_FORMAT_JSON":
|
|
35
|
-
return DataFormat.DATA_FORMAT_JSON;
|
|
36
|
-
case 3:
|
|
37
|
-
case "DATA_FORMAT_PARQUET":
|
|
38
|
-
return DataFormat.DATA_FORMAT_PARQUET;
|
|
39
|
-
case 4:
|
|
40
|
-
case "DATA_FORMAT_AVRO":
|
|
41
|
-
return DataFormat.DATA_FORMAT_AVRO;
|
|
42
|
-
case 5:
|
|
43
|
-
case "DATA_FORMAT_ORC":
|
|
44
|
-
return DataFormat.DATA_FORMAT_ORC;
|
|
45
|
-
case -1:
|
|
46
|
-
case "UNRECOGNIZED":
|
|
47
|
-
default:
|
|
48
|
-
return DataFormat.UNRECOGNIZED;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function dataFormatToJSON(object) {
|
|
52
|
-
switch (object) {
|
|
53
|
-
case DataFormat.DATA_FORMAT_UNSPECIFIED:
|
|
54
|
-
return "DATA_FORMAT_UNSPECIFIED";
|
|
55
|
-
case DataFormat.DATA_FORMAT_CSV:
|
|
56
|
-
return "DATA_FORMAT_CSV";
|
|
57
|
-
case DataFormat.DATA_FORMAT_JSON:
|
|
58
|
-
return "DATA_FORMAT_JSON";
|
|
59
|
-
case DataFormat.DATA_FORMAT_PARQUET:
|
|
60
|
-
return "DATA_FORMAT_PARQUET";
|
|
61
|
-
case DataFormat.DATA_FORMAT_AVRO:
|
|
62
|
-
return "DATA_FORMAT_AVRO";
|
|
63
|
-
case DataFormat.DATA_FORMAT_ORC:
|
|
64
|
-
return "DATA_FORMAT_ORC";
|
|
65
|
-
case DataFormat.UNRECOGNIZED:
|
|
66
|
-
default:
|
|
67
|
-
return "UNRECOGNIZED";
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function createBaseInlineData() {
|
|
71
|
-
return { format: 0, contents: new Uint8Array(0) };
|
|
72
|
-
}
|
|
73
|
-
exports.InlineData = {
|
|
74
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
75
|
-
if (message.format !== 0) {
|
|
76
|
-
writer.uint32(8).int32(message.format);
|
|
77
|
-
}
|
|
78
|
-
if (message.contents.length !== 0) {
|
|
79
|
-
writer.uint32(18).bytes(message.contents);
|
|
80
|
-
}
|
|
81
|
-
return writer;
|
|
82
|
-
},
|
|
83
|
-
decode(input, length) {
|
|
84
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
85
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
86
|
-
const message = createBaseInlineData();
|
|
87
|
-
while (reader.pos < end) {
|
|
88
|
-
const tag = reader.uint32();
|
|
89
|
-
switch (tag >>> 3) {
|
|
90
|
-
case 1: {
|
|
91
|
-
if (tag !== 8) {
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
message.format = reader.int32();
|
|
95
|
-
continue;
|
|
96
|
-
}
|
|
97
|
-
case 2: {
|
|
98
|
-
if (tag !== 18) {
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
message.contents = reader.bytes();
|
|
102
|
-
continue;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
reader.skip(tag & 7);
|
|
109
|
-
}
|
|
110
|
-
return message;
|
|
111
|
-
},
|
|
112
|
-
fromJSON(object) {
|
|
113
|
-
return {
|
|
114
|
-
format: isSet(object.format) ? dataFormatFromJSON(object.format) : 0,
|
|
115
|
-
contents: isSet(object.contents) ? bytesFromBase64(object.contents) : new Uint8Array(0),
|
|
116
|
-
};
|
|
117
|
-
},
|
|
118
|
-
toJSON(message) {
|
|
119
|
-
const obj = {};
|
|
120
|
-
if (message.format !== 0) {
|
|
121
|
-
obj.format = dataFormatToJSON(message.format);
|
|
122
|
-
}
|
|
123
|
-
if (message.contents.length !== 0) {
|
|
124
|
-
obj.contents = base64FromBytes(message.contents);
|
|
125
|
-
}
|
|
126
|
-
return obj;
|
|
127
|
-
},
|
|
128
|
-
create(base) {
|
|
129
|
-
return exports.InlineData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
130
|
-
},
|
|
131
|
-
fromPartial(object) {
|
|
132
|
-
var _a, _b;
|
|
133
|
-
const message = createBaseInlineData();
|
|
134
|
-
message.format = (_a = object.format) !== null && _a !== void 0 ? _a : 0;
|
|
135
|
-
message.contents = (_b = object.contents) !== null && _b !== void 0 ? _b : new Uint8Array(0);
|
|
136
|
-
return message;
|
|
137
|
-
},
|
|
138
|
-
};
|
|
139
|
-
function bytesFromBase64(b64) {
|
|
140
|
-
if (globalThis.Buffer) {
|
|
141
|
-
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
const bin = globalThis.atob(b64);
|
|
145
|
-
const arr = new Uint8Array(bin.length);
|
|
146
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
147
|
-
arr[i] = bin.charCodeAt(i);
|
|
148
|
-
}
|
|
149
|
-
return arr;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
function base64FromBytes(arr) {
|
|
153
|
-
if (globalThis.Buffer) {
|
|
154
|
-
return globalThis.Buffer.from(arr).toString("base64");
|
|
155
|
-
}
|
|
156
|
-
else {
|
|
157
|
-
const bin = [];
|
|
158
|
-
arr.forEach((byte) => {
|
|
159
|
-
bin.push(globalThis.String.fromCharCode(byte));
|
|
160
|
-
});
|
|
161
|
-
return globalThis.btoa(bin.join(""));
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
function isSet(value) {
|
|
165
|
-
return value !== null && value !== undefined;
|
|
166
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "weaveapi.synthesize.v1";
|
|
3
|
-
/** RelationshipType defines the type of relationship between columns */
|
|
4
|
-
export declare enum RelationshipType {
|
|
5
|
-
RELATIONSHIP_TYPE_UNSPECIFIED = 0,
|
|
6
|
-
/** RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY - Context foreign key preserves relationships during synthetic data generation */
|
|
7
|
-
RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY = 1,
|
|
8
|
-
/** RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY - Non-context foreign key defines a relationship without context preservation */
|
|
9
|
-
RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY = 2,
|
|
10
|
-
/** RELATIONSHIP_TYPE_ONE_TO_MANY - One-to-many relationship */
|
|
11
|
-
RELATIONSHIP_TYPE_ONE_TO_MANY = 3,
|
|
12
|
-
/** RELATIONSHIP_TYPE_MANY_TO_ONE - Many-to-one relationship */
|
|
13
|
-
RELATIONSHIP_TYPE_MANY_TO_ONE = 4,
|
|
14
|
-
/** RELATIONSHIP_TYPE_MANY_TO_MANY - Many-to-many relationship */
|
|
15
|
-
RELATIONSHIP_TYPE_MANY_TO_MANY = 5,
|
|
16
|
-
/** RELATIONSHIP_TYPE_SELF_REFERENCE - Self-referential relationship */
|
|
17
|
-
RELATIONSHIP_TYPE_SELF_REFERENCE = 6,
|
|
18
|
-
UNRECOGNIZED = -1
|
|
19
|
-
}
|
|
20
|
-
export declare function relationshipTypeFromJSON(object: any): RelationshipType;
|
|
21
|
-
export declare function relationshipTypeToJSON(object: RelationshipType): string;
|
|
22
|
-
/** ColumnRelationship defines a relationship between columns across datasets */
|
|
23
|
-
export interface ColumnRelationship {
|
|
24
|
-
/** Source column reference */
|
|
25
|
-
source: ColumnReference | undefined;
|
|
26
|
-
/** Target column reference */
|
|
27
|
-
target: ColumnReference | undefined;
|
|
28
|
-
/** Type of relationship */
|
|
29
|
-
relationshipType: RelationshipType;
|
|
30
|
-
}
|
|
31
|
-
/** ColumnReference identifies a specific column in a specific dataset */
|
|
32
|
-
export interface ColumnReference {
|
|
33
|
-
/** Dataset ID */
|
|
34
|
-
datasetId: string;
|
|
35
|
-
/** Column ID */
|
|
36
|
-
columnId: string;
|
|
37
|
-
}
|
|
38
|
-
export declare const ColumnRelationship: MessageFns<ColumnRelationship>;
|
|
39
|
-
export declare const ColumnReference: MessageFns<ColumnReference>;
|
|
40
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
-
export 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 {} ? {
|
|
42
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
-
} : Partial<T>;
|
|
44
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
-
} & {
|
|
48
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
-
};
|
|
50
|
-
export interface MessageFns<T> {
|
|
51
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
52
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
53
|
-
fromJSON(object: any): T;
|
|
54
|
-
toJSON(message: T): unknown;
|
|
55
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
56
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
57
|
-
}
|
|
58
|
-
export {};
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.6
|
|
5
|
-
// protoc unknown
|
|
6
|
-
// source: weaveapi/synthesize/v1/relationship.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ColumnReference = exports.ColumnRelationship = exports.RelationshipType = exports.protobufPackage = void 0;
|
|
9
|
-
exports.relationshipTypeFromJSON = relationshipTypeFromJSON;
|
|
10
|
-
exports.relationshipTypeToJSON = relationshipTypeToJSON;
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
13
|
-
exports.protobufPackage = "weaveapi.synthesize.v1";
|
|
14
|
-
/** RelationshipType defines the type of relationship between columns */
|
|
15
|
-
var RelationshipType;
|
|
16
|
-
(function (RelationshipType) {
|
|
17
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_UNSPECIFIED"] = 0] = "RELATIONSHIP_TYPE_UNSPECIFIED";
|
|
18
|
-
/** RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY - Context foreign key preserves relationships during synthetic data generation */
|
|
19
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY"] = 1] = "RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY";
|
|
20
|
-
/** RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY - Non-context foreign key defines a relationship without context preservation */
|
|
21
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY"] = 2] = "RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY";
|
|
22
|
-
/** RELATIONSHIP_TYPE_ONE_TO_MANY - One-to-many relationship */
|
|
23
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_ONE_TO_MANY"] = 3] = "RELATIONSHIP_TYPE_ONE_TO_MANY";
|
|
24
|
-
/** RELATIONSHIP_TYPE_MANY_TO_ONE - Many-to-one relationship */
|
|
25
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_MANY_TO_ONE"] = 4] = "RELATIONSHIP_TYPE_MANY_TO_ONE";
|
|
26
|
-
/** RELATIONSHIP_TYPE_MANY_TO_MANY - Many-to-many relationship */
|
|
27
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_MANY_TO_MANY"] = 5] = "RELATIONSHIP_TYPE_MANY_TO_MANY";
|
|
28
|
-
/** RELATIONSHIP_TYPE_SELF_REFERENCE - Self-referential relationship */
|
|
29
|
-
RelationshipType[RelationshipType["RELATIONSHIP_TYPE_SELF_REFERENCE"] = 6] = "RELATIONSHIP_TYPE_SELF_REFERENCE";
|
|
30
|
-
RelationshipType[RelationshipType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
31
|
-
})(RelationshipType || (exports.RelationshipType = RelationshipType = {}));
|
|
32
|
-
function relationshipTypeFromJSON(object) {
|
|
33
|
-
switch (object) {
|
|
34
|
-
case 0:
|
|
35
|
-
case "RELATIONSHIP_TYPE_UNSPECIFIED":
|
|
36
|
-
return RelationshipType.RELATIONSHIP_TYPE_UNSPECIFIED;
|
|
37
|
-
case 1:
|
|
38
|
-
case "RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY":
|
|
39
|
-
return RelationshipType.RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY;
|
|
40
|
-
case 2:
|
|
41
|
-
case "RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY":
|
|
42
|
-
return RelationshipType.RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY;
|
|
43
|
-
case 3:
|
|
44
|
-
case "RELATIONSHIP_TYPE_ONE_TO_MANY":
|
|
45
|
-
return RelationshipType.RELATIONSHIP_TYPE_ONE_TO_MANY;
|
|
46
|
-
case 4:
|
|
47
|
-
case "RELATIONSHIP_TYPE_MANY_TO_ONE":
|
|
48
|
-
return RelationshipType.RELATIONSHIP_TYPE_MANY_TO_ONE;
|
|
49
|
-
case 5:
|
|
50
|
-
case "RELATIONSHIP_TYPE_MANY_TO_MANY":
|
|
51
|
-
return RelationshipType.RELATIONSHIP_TYPE_MANY_TO_MANY;
|
|
52
|
-
case 6:
|
|
53
|
-
case "RELATIONSHIP_TYPE_SELF_REFERENCE":
|
|
54
|
-
return RelationshipType.RELATIONSHIP_TYPE_SELF_REFERENCE;
|
|
55
|
-
case -1:
|
|
56
|
-
case "UNRECOGNIZED":
|
|
57
|
-
default:
|
|
58
|
-
return RelationshipType.UNRECOGNIZED;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function relationshipTypeToJSON(object) {
|
|
62
|
-
switch (object) {
|
|
63
|
-
case RelationshipType.RELATIONSHIP_TYPE_UNSPECIFIED:
|
|
64
|
-
return "RELATIONSHIP_TYPE_UNSPECIFIED";
|
|
65
|
-
case RelationshipType.RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY:
|
|
66
|
-
return "RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY";
|
|
67
|
-
case RelationshipType.RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY:
|
|
68
|
-
return "RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY";
|
|
69
|
-
case RelationshipType.RELATIONSHIP_TYPE_ONE_TO_MANY:
|
|
70
|
-
return "RELATIONSHIP_TYPE_ONE_TO_MANY";
|
|
71
|
-
case RelationshipType.RELATIONSHIP_TYPE_MANY_TO_ONE:
|
|
72
|
-
return "RELATIONSHIP_TYPE_MANY_TO_ONE";
|
|
73
|
-
case RelationshipType.RELATIONSHIP_TYPE_MANY_TO_MANY:
|
|
74
|
-
return "RELATIONSHIP_TYPE_MANY_TO_MANY";
|
|
75
|
-
case RelationshipType.RELATIONSHIP_TYPE_SELF_REFERENCE:
|
|
76
|
-
return "RELATIONSHIP_TYPE_SELF_REFERENCE";
|
|
77
|
-
case RelationshipType.UNRECOGNIZED:
|
|
78
|
-
default:
|
|
79
|
-
return "UNRECOGNIZED";
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
function createBaseColumnRelationship() {
|
|
83
|
-
return { source: undefined, target: undefined, relationshipType: 0 };
|
|
84
|
-
}
|
|
85
|
-
exports.ColumnRelationship = {
|
|
86
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
87
|
-
if (message.source !== undefined) {
|
|
88
|
-
exports.ColumnReference.encode(message.source, writer.uint32(10).fork()).join();
|
|
89
|
-
}
|
|
90
|
-
if (message.target !== undefined) {
|
|
91
|
-
exports.ColumnReference.encode(message.target, writer.uint32(18).fork()).join();
|
|
92
|
-
}
|
|
93
|
-
if (message.relationshipType !== 0) {
|
|
94
|
-
writer.uint32(24).int32(message.relationshipType);
|
|
95
|
-
}
|
|
96
|
-
return writer;
|
|
97
|
-
},
|
|
98
|
-
decode(input, length) {
|
|
99
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
100
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
101
|
-
const message = createBaseColumnRelationship();
|
|
102
|
-
while (reader.pos < end) {
|
|
103
|
-
const tag = reader.uint32();
|
|
104
|
-
switch (tag >>> 3) {
|
|
105
|
-
case 1: {
|
|
106
|
-
if (tag !== 10) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
message.source = exports.ColumnReference.decode(reader, reader.uint32());
|
|
110
|
-
continue;
|
|
111
|
-
}
|
|
112
|
-
case 2: {
|
|
113
|
-
if (tag !== 18) {
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
message.target = exports.ColumnReference.decode(reader, reader.uint32());
|
|
117
|
-
continue;
|
|
118
|
-
}
|
|
119
|
-
case 3: {
|
|
120
|
-
if (tag !== 24) {
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
message.relationshipType = reader.int32();
|
|
124
|
-
continue;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
128
|
-
break;
|
|
129
|
-
}
|
|
130
|
-
reader.skip(tag & 7);
|
|
131
|
-
}
|
|
132
|
-
return message;
|
|
133
|
-
},
|
|
134
|
-
fromJSON(object) {
|
|
135
|
-
return {
|
|
136
|
-
source: isSet(object.source) ? exports.ColumnReference.fromJSON(object.source) : undefined,
|
|
137
|
-
target: isSet(object.target) ? exports.ColumnReference.fromJSON(object.target) : undefined,
|
|
138
|
-
relationshipType: isSet(object.relationshipType)
|
|
139
|
-
? relationshipTypeFromJSON(object.relationshipType)
|
|
140
|
-
: isSet(object.relationship_type)
|
|
141
|
-
? relationshipTypeFromJSON(object.relationship_type)
|
|
142
|
-
: 0,
|
|
143
|
-
};
|
|
144
|
-
},
|
|
145
|
-
toJSON(message) {
|
|
146
|
-
const obj = {};
|
|
147
|
-
if (message.source !== undefined) {
|
|
148
|
-
obj.source = exports.ColumnReference.toJSON(message.source);
|
|
149
|
-
}
|
|
150
|
-
if (message.target !== undefined) {
|
|
151
|
-
obj.target = exports.ColumnReference.toJSON(message.target);
|
|
152
|
-
}
|
|
153
|
-
if (message.relationshipType !== 0) {
|
|
154
|
-
obj.relationshipType = relationshipTypeToJSON(message.relationshipType);
|
|
155
|
-
}
|
|
156
|
-
return obj;
|
|
157
|
-
},
|
|
158
|
-
create(base) {
|
|
159
|
-
return exports.ColumnRelationship.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
160
|
-
},
|
|
161
|
-
fromPartial(object) {
|
|
162
|
-
var _a;
|
|
163
|
-
const message = createBaseColumnRelationship();
|
|
164
|
-
message.source = (object.source !== undefined && object.source !== null)
|
|
165
|
-
? exports.ColumnReference.fromPartial(object.source)
|
|
166
|
-
: undefined;
|
|
167
|
-
message.target = (object.target !== undefined && object.target !== null)
|
|
168
|
-
? exports.ColumnReference.fromPartial(object.target)
|
|
169
|
-
: undefined;
|
|
170
|
-
message.relationshipType = (_a = object.relationshipType) !== null && _a !== void 0 ? _a : 0;
|
|
171
|
-
return message;
|
|
172
|
-
},
|
|
173
|
-
};
|
|
174
|
-
function createBaseColumnReference() {
|
|
175
|
-
return { datasetId: "", columnId: "" };
|
|
176
|
-
}
|
|
177
|
-
exports.ColumnReference = {
|
|
178
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
179
|
-
if (message.datasetId !== "") {
|
|
180
|
-
writer.uint32(10).string(message.datasetId);
|
|
181
|
-
}
|
|
182
|
-
if (message.columnId !== "") {
|
|
183
|
-
writer.uint32(18).string(message.columnId);
|
|
184
|
-
}
|
|
185
|
-
return writer;
|
|
186
|
-
},
|
|
187
|
-
decode(input, length) {
|
|
188
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
189
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
190
|
-
const message = createBaseColumnReference();
|
|
191
|
-
while (reader.pos < end) {
|
|
192
|
-
const tag = reader.uint32();
|
|
193
|
-
switch (tag >>> 3) {
|
|
194
|
-
case 1: {
|
|
195
|
-
if (tag !== 10) {
|
|
196
|
-
break;
|
|
197
|
-
}
|
|
198
|
-
message.datasetId = reader.string();
|
|
199
|
-
continue;
|
|
200
|
-
}
|
|
201
|
-
case 2: {
|
|
202
|
-
if (tag !== 18) {
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
message.columnId = reader.string();
|
|
206
|
-
continue;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
reader.skip(tag & 7);
|
|
213
|
-
}
|
|
214
|
-
return message;
|
|
215
|
-
},
|
|
216
|
-
fromJSON(object) {
|
|
217
|
-
return {
|
|
218
|
-
datasetId: isSet(object.datasetId)
|
|
219
|
-
? globalThis.String(object.datasetId)
|
|
220
|
-
: isSet(object.dataset_id)
|
|
221
|
-
? globalThis.String(object.dataset_id)
|
|
222
|
-
: "",
|
|
223
|
-
columnId: isSet(object.columnId)
|
|
224
|
-
? globalThis.String(object.columnId)
|
|
225
|
-
: isSet(object.column_id)
|
|
226
|
-
? globalThis.String(object.column_id)
|
|
227
|
-
: "",
|
|
228
|
-
};
|
|
229
|
-
},
|
|
230
|
-
toJSON(message) {
|
|
231
|
-
const obj = {};
|
|
232
|
-
if (message.datasetId !== "") {
|
|
233
|
-
obj.datasetId = message.datasetId;
|
|
234
|
-
}
|
|
235
|
-
if (message.columnId !== "") {
|
|
236
|
-
obj.columnId = message.columnId;
|
|
237
|
-
}
|
|
238
|
-
return obj;
|
|
239
|
-
},
|
|
240
|
-
create(base) {
|
|
241
|
-
return exports.ColumnReference.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
242
|
-
},
|
|
243
|
-
fromPartial(object) {
|
|
244
|
-
var _a, _b;
|
|
245
|
-
const message = createBaseColumnReference();
|
|
246
|
-
message.datasetId = (_a = object.datasetId) !== null && _a !== void 0 ? _a : "";
|
|
247
|
-
message.columnId = (_b = object.columnId) !== null && _b !== void 0 ? _b : "";
|
|
248
|
-
return message;
|
|
249
|
-
},
|
|
250
|
-
};
|
|
251
|
-
function isSet(value) {
|
|
252
|
-
return value !== null && value !== undefined;
|
|
253
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { TrainingDriver } from "./training.pb";
|
|
3
|
-
export declare const protobufPackage = "weaveapi.synthesize.v1";
|
|
4
|
-
export interface CreateSynthesizerRequest {
|
|
5
|
-
organizationId: string;
|
|
6
|
-
datasetIds: string[];
|
|
7
|
-
trainingDriver: TrainingDriver;
|
|
8
|
-
driverConfig: {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
} | undefined;
|
|
11
|
-
outputStorageConnectionId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface CreateSynthesizerResponse {
|
|
14
|
-
synthesizerId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface GetSynthesizerRequest {
|
|
17
|
-
synthesizerId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface GetSynthesizerResponse {
|
|
20
|
-
synthesizer: Synthesizer | undefined;
|
|
21
|
-
}
|
|
22
|
-
export interface ListSynthesizersRequest {
|
|
23
|
-
organizationId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ListSynthesizersResponse {
|
|
26
|
-
synthesizers: Synthesizer[];
|
|
27
|
-
}
|
|
28
|
-
export interface DeleteSynthesizerRequest {
|
|
29
|
-
synthesizerId: string;
|
|
30
|
-
}
|
|
31
|
-
export interface DeleteSynthesizerResponse {
|
|
32
|
-
}
|
|
33
|
-
export interface Synthesizer {
|
|
34
|
-
synthesizerId: string;
|
|
35
|
-
organizationId: string;
|
|
36
|
-
trainingDatasetIds: string[];
|
|
37
|
-
trainingDriver: TrainingDriver;
|
|
38
|
-
trainingDriverConfig: Uint8Array;
|
|
39
|
-
storageConnectionId: string;
|
|
40
|
-
}
|
|
41
|
-
export declare const CreateSynthesizerRequest: MessageFns<CreateSynthesizerRequest>;
|
|
42
|
-
export declare const CreateSynthesizerResponse: MessageFns<CreateSynthesizerResponse>;
|
|
43
|
-
export declare const GetSynthesizerRequest: MessageFns<GetSynthesizerRequest>;
|
|
44
|
-
export declare const GetSynthesizerResponse: MessageFns<GetSynthesizerResponse>;
|
|
45
|
-
export declare const ListSynthesizersRequest: MessageFns<ListSynthesizersRequest>;
|
|
46
|
-
export declare const ListSynthesizersResponse: MessageFns<ListSynthesizersResponse>;
|
|
47
|
-
export declare const DeleteSynthesizerRequest: MessageFns<DeleteSynthesizerRequest>;
|
|
48
|
-
export declare const DeleteSynthesizerResponse: MessageFns<DeleteSynthesizerResponse>;
|
|
49
|
-
export declare const Synthesizer: MessageFns<Synthesizer>;
|
|
50
|
-
export interface Synthesize {
|
|
51
|
-
CreateSynthesizer(request: CreateSynthesizerRequest): Promise<CreateSynthesizerResponse>;
|
|
52
|
-
GetSynthesizer(request: GetSynthesizerRequest): Promise<GetSynthesizerResponse>;
|
|
53
|
-
ListSynthesizers(request: ListSynthesizersRequest): Promise<ListSynthesizersResponse>;
|
|
54
|
-
DeleteSynthesizer(request: DeleteSynthesizerRequest): Promise<DeleteSynthesizerResponse>;
|
|
55
|
-
}
|
|
56
|
-
export declare const SynthesizeServiceName = "weaveapi.synthesize.v1.Synthesize";
|
|
57
|
-
export declare class SynthesizeClientImpl implements Synthesize {
|
|
58
|
-
private readonly rpc;
|
|
59
|
-
private readonly service;
|
|
60
|
-
constructor(rpc: Rpc, opts?: {
|
|
61
|
-
service?: string;
|
|
62
|
-
});
|
|
63
|
-
CreateSynthesizer(request: CreateSynthesizerRequest): Promise<CreateSynthesizerResponse>;
|
|
64
|
-
GetSynthesizer(request: GetSynthesizerRequest): Promise<GetSynthesizerResponse>;
|
|
65
|
-
ListSynthesizers(request: ListSynthesizersRequest): Promise<ListSynthesizersResponse>;
|
|
66
|
-
DeleteSynthesizer(request: DeleteSynthesizerRequest): Promise<DeleteSynthesizerResponse>;
|
|
67
|
-
}
|
|
68
|
-
export type SynthesizeDefinition = typeof SynthesizeDefinition;
|
|
69
|
-
export declare const SynthesizeDefinition: {
|
|
70
|
-
readonly name: "Synthesize";
|
|
71
|
-
readonly fullName: "weaveapi.synthesize.v1.Synthesize";
|
|
72
|
-
readonly methods: {
|
|
73
|
-
readonly createSynthesizer: {
|
|
74
|
-
readonly name: "CreateSynthesizer";
|
|
75
|
-
readonly requestType: typeof CreateSynthesizerRequest;
|
|
76
|
-
readonly requestStream: false;
|
|
77
|
-
readonly responseType: typeof CreateSynthesizerResponse;
|
|
78
|
-
readonly responseStream: false;
|
|
79
|
-
readonly options: {
|
|
80
|
-
readonly _unknownFields: {
|
|
81
|
-
readonly 578365826: readonly [Uint8Array];
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
readonly getSynthesizer: {
|
|
86
|
-
readonly name: "GetSynthesizer";
|
|
87
|
-
readonly requestType: typeof GetSynthesizerRequest;
|
|
88
|
-
readonly requestStream: false;
|
|
89
|
-
readonly responseType: typeof GetSynthesizerResponse;
|
|
90
|
-
readonly responseStream: false;
|
|
91
|
-
readonly options: {
|
|
92
|
-
readonly _unknownFields: {
|
|
93
|
-
readonly 578365826: readonly [Uint8Array];
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
readonly listSynthesizers: {
|
|
98
|
-
readonly name: "ListSynthesizers";
|
|
99
|
-
readonly requestType: typeof ListSynthesizersRequest;
|
|
100
|
-
readonly requestStream: false;
|
|
101
|
-
readonly responseType: typeof ListSynthesizersResponse;
|
|
102
|
-
readonly responseStream: false;
|
|
103
|
-
readonly options: {
|
|
104
|
-
readonly _unknownFields: {
|
|
105
|
-
readonly 578365826: readonly [Uint8Array];
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
readonly deleteSynthesizer: {
|
|
110
|
-
readonly name: "DeleteSynthesizer";
|
|
111
|
-
readonly requestType: typeof DeleteSynthesizerRequest;
|
|
112
|
-
readonly requestStream: false;
|
|
113
|
-
readonly responseType: typeof DeleteSynthesizerResponse;
|
|
114
|
-
readonly responseStream: false;
|
|
115
|
-
readonly options: {
|
|
116
|
-
readonly _unknownFields: {
|
|
117
|
-
readonly 578365826: readonly [Uint8Array];
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
interface Rpc {
|
|
124
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
125
|
-
}
|
|
126
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
127
|
-
export 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 {} ? {
|
|
128
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
129
|
-
} : Partial<T>;
|
|
130
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
131
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
132
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
133
|
-
} & {
|
|
134
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
135
|
-
};
|
|
136
|
-
export interface MessageFns<T> {
|
|
137
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
138
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
139
|
-
fromJSON(object: any): T;
|
|
140
|
-
toJSON(message: T): unknown;
|
|
141
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
142
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
143
|
-
}
|
|
144
|
-
export {};
|