@superblocksteam/types 1.143.0 → 1.144.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.
@@ -0,0 +1,197 @@
1
+ // @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
2
+ // @generated from file plugins/snowflakepostgres/v1/plugin.proto (package plugins.snowflakepostgres.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from message plugins.snowflakepostgres.v1.SuperblocksMetadata
11
+ */
12
+ export class SuperblocksMetadata extends Message<SuperblocksMetadata> {
13
+ /**
14
+ * @generated from field: string pluginVersion = 1;
15
+ */
16
+ pluginVersion = "";
17
+
18
+ constructor(data?: PartialMessage<SuperblocksMetadata>) {
19
+ super();
20
+ proto3.util.initPartial(data, this);
21
+ }
22
+
23
+ static readonly runtime: typeof proto3 = proto3;
24
+ static readonly typeName = "plugins.snowflakepostgres.v1.SuperblocksMetadata";
25
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26
+ { no: 1, name: "pluginVersion", kind: "scalar", T: 9 /* ScalarType.STRING */ },
27
+ ]);
28
+
29
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SuperblocksMetadata {
30
+ return new SuperblocksMetadata().fromBinary(bytes, options);
31
+ }
32
+
33
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SuperblocksMetadata {
34
+ return new SuperblocksMetadata().fromJson(jsonValue, options);
35
+ }
36
+
37
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SuperblocksMetadata {
38
+ return new SuperblocksMetadata().fromJsonString(jsonString, options);
39
+ }
40
+
41
+ static equals(a: SuperblocksMetadata | PlainMessage<SuperblocksMetadata> | undefined, b: SuperblocksMetadata | PlainMessage<SuperblocksMetadata> | undefined): boolean {
42
+ return proto3.util.equals(SuperblocksMetadata, a, b);
43
+ }
44
+ }
45
+
46
+ /**
47
+ * @generated from message plugins.snowflakepostgres.v1.Plugin
48
+ */
49
+ export class Plugin extends Message<Plugin> {
50
+ /**
51
+ * @generated from field: string name = 1;
52
+ */
53
+ name = "";
54
+
55
+ /**
56
+ * @generated from field: plugins.snowflakepostgres.v1.Plugin.SnowflakePostgresConnection connection = 2;
57
+ */
58
+ connection?: Plugin_SnowflakePostgresConnection;
59
+
60
+ /**
61
+ * @generated from field: string body = 3;
62
+ */
63
+ body = "";
64
+
65
+ /**
66
+ * @generated from field: bool usePreparedSql = 4;
67
+ */
68
+ usePreparedSql = false;
69
+
70
+ /**
71
+ * @generated from field: optional string parameters = 5;
72
+ */
73
+ parameters?: string;
74
+
75
+ /**
76
+ * @generated from field: plugins.snowflakepostgres.v1.SuperblocksMetadata superblocksMetadata = 6;
77
+ */
78
+ superblocksMetadata?: SuperblocksMetadata;
79
+
80
+ constructor(data?: PartialMessage<Plugin>) {
81
+ super();
82
+ proto3.util.initPartial(data, this);
83
+ }
84
+
85
+ static readonly runtime: typeof proto3 = proto3;
86
+ static readonly typeName = "plugins.snowflakepostgres.v1.Plugin";
87
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
88
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
89
+ { no: 2, name: "connection", kind: "message", T: Plugin_SnowflakePostgresConnection },
90
+ { no: 3, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */ },
91
+ { no: 4, name: "usePreparedSql", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
92
+ { no: 5, name: "parameters", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
93
+ { no: 6, name: "superblocksMetadata", kind: "message", T: SuperblocksMetadata },
94
+ ]);
95
+
96
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Plugin {
97
+ return new Plugin().fromBinary(bytes, options);
98
+ }
99
+
100
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Plugin {
101
+ return new Plugin().fromJson(jsonValue, options);
102
+ }
103
+
104
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Plugin {
105
+ return new Plugin().fromJsonString(jsonString, options);
106
+ }
107
+
108
+ static equals(a: Plugin | PlainMessage<Plugin> | undefined, b: Plugin | PlainMessage<Plugin> | undefined): boolean {
109
+ return proto3.util.equals(Plugin, a, b);
110
+ }
111
+ }
112
+
113
+ /**
114
+ * @generated from message plugins.snowflakepostgres.v1.Plugin.SnowflakePostgresConnection
115
+ */
116
+ export class Plugin_SnowflakePostgresConnection extends Message<Plugin_SnowflakePostgresConnection> {
117
+ /**
118
+ * @generated from field: string host = 1;
119
+ */
120
+ host = "";
121
+
122
+ /**
123
+ * @generated from field: int32 port = 2;
124
+ */
125
+ port = 0;
126
+
127
+ /**
128
+ * @generated from field: string database_name = 3;
129
+ */
130
+ databaseName = "";
131
+
132
+ /**
133
+ * @generated from field: optional string username = 4;
134
+ */
135
+ username?: string;
136
+
137
+ /**
138
+ * @generated from field: optional string password = 5;
139
+ */
140
+ password?: string;
141
+
142
+ /**
143
+ * @generated from field: bool use_self_signed_ssl = 6;
144
+ */
145
+ useSelfSignedSsl = false;
146
+
147
+ /**
148
+ * @generated from field: optional string ca = 7;
149
+ */
150
+ ca?: string;
151
+
152
+ /**
153
+ * @generated from field: optional string key = 8;
154
+ */
155
+ key?: string;
156
+
157
+ /**
158
+ * @generated from field: optional string cert = 9;
159
+ */
160
+ cert?: string;
161
+
162
+ constructor(data?: PartialMessage<Plugin_SnowflakePostgresConnection>) {
163
+ super();
164
+ proto3.util.initPartial(data, this);
165
+ }
166
+
167
+ static readonly runtime: typeof proto3 = proto3;
168
+ static readonly typeName = "plugins.snowflakepostgres.v1.Plugin.SnowflakePostgresConnection";
169
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
170
+ { no: 1, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
171
+ { no: 2, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
172
+ { no: 3, name: "database_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
173
+ { no: 4, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
174
+ { no: 5, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
175
+ { no: 6, name: "use_self_signed_ssl", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
176
+ { no: 7, name: "ca", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
177
+ { no: 8, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
178
+ { no: 9, name: "cert", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
179
+ ]);
180
+
181
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Plugin_SnowflakePostgresConnection {
182
+ return new Plugin_SnowflakePostgresConnection().fromBinary(bytes, options);
183
+ }
184
+
185
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Plugin_SnowflakePostgresConnection {
186
+ return new Plugin_SnowflakePostgresConnection().fromJson(jsonValue, options);
187
+ }
188
+
189
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Plugin_SnowflakePostgresConnection {
190
+ return new Plugin_SnowflakePostgresConnection().fromJsonString(jsonString, options);
191
+ }
192
+
193
+ static equals(a: Plugin_SnowflakePostgresConnection | PlainMessage<Plugin_SnowflakePostgresConnection> | undefined, b: Plugin_SnowflakePostgresConnection | PlainMessage<Plugin_SnowflakePostgresConnection> | undefined): boolean {
194
+ return proto3.util.equals(Plugin_SnowflakePostgresConnection, a, b);
195
+ }
196
+ }
197
+
@@ -5,8 +5,8 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3, Struct, Value } from "@bufbuild/protobuf";
8
- import { ViewMode } from "../../api/v1/service_pb.js";
9
- import { Profile } from "../../common/v1/common_pb.js";
8
+ import { ViewMode } from "../../api/v1/service_pb";
9
+ import { Profile } from "../../common/v1/common_pb";
10
10
 
11
11
  /**
12
12
  * @generated from message worker.v1.ExecuteIntegrationRequest