@alis-build/alis-open-options-v1 1.4.0 → 1.5.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.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js,json_types=true"
2
2
  // @generated from file alis/open/options/v1/options.proto (package alis.open.options.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -21,11 +21,21 @@ export declare type FileOptions = Message<"alis.open.options.v1.FileOptions"> &
21
21
  jsonSchema?: FileOptions_JsonSchema | undefined;
22
22
  };
23
23
 
24
+ /**
25
+ * @generated from message alis.open.options.v1.FileOptions
26
+ */
27
+ export declare type FileOptionsJson = {
28
+ /**
29
+ * @generated from field: alis.open.options.v1.FileOptions.JsonSchema json_schema = 1;
30
+ */
31
+ jsonSchema?: FileOptions_JsonSchemaJson;
32
+ };
33
+
24
34
  /**
25
35
  * Describes the message alis.open.options.v1.FileOptions.
26
36
  * Use `create(FileOptionsSchema)` to create a new message.
27
37
  */
28
- export declare const FileOptionsSchema: GenMessage<FileOptions>;
38
+ export declare const FileOptionsSchema: GenMessage<FileOptions, {jsonType: FileOptionsJson}>;
29
39
 
30
40
  /**
31
41
  * @generated from message alis.open.options.v1.FileOptions.JsonSchema
@@ -37,11 +47,21 @@ export declare type FileOptions_JsonSchema = Message<"alis.open.options.v1.FileO
37
47
  generate: boolean;
38
48
  };
39
49
 
50
+ /**
51
+ * @generated from message alis.open.options.v1.FileOptions.JsonSchema
52
+ */
53
+ export declare type FileOptions_JsonSchemaJson = {
54
+ /**
55
+ * @generated from field: bool generate = 1;
56
+ */
57
+ generate?: boolean;
58
+ };
59
+
40
60
  /**
41
61
  * Describes the message alis.open.options.v1.FileOptions.JsonSchema.
42
62
  * Use `create(FileOptions_JsonSchemaSchema)` to create a new message.
43
63
  */
44
- export declare const FileOptions_JsonSchemaSchema: GenMessage<FileOptions_JsonSchema>;
64
+ export declare const FileOptions_JsonSchemaSchema: GenMessage<FileOptions_JsonSchema, {jsonType: FileOptions_JsonSchemaJson}>;
45
65
 
46
66
  /**
47
67
  * @generated from message alis.open.options.v1.MessageOptions
@@ -53,11 +73,21 @@ export declare type MessageOptions = Message<"alis.open.options.v1.MessageOption
53
73
  jsonSchema?: MessageOptions_JsonSchema | undefined;
54
74
  };
55
75
 
76
+ /**
77
+ * @generated from message alis.open.options.v1.MessageOptions
78
+ */
79
+ export declare type MessageOptionsJson = {
80
+ /**
81
+ * @generated from field: alis.open.options.v1.MessageOptions.JsonSchema json_schema = 1;
82
+ */
83
+ jsonSchema?: MessageOptions_JsonSchemaJson;
84
+ };
85
+
56
86
  /**
57
87
  * Describes the message alis.open.options.v1.MessageOptions.
58
88
  * Use `create(MessageOptionsSchema)` to create a new message.
59
89
  */
60
- export declare const MessageOptionsSchema: GenMessage<MessageOptions>;
90
+ export declare const MessageOptionsSchema: GenMessage<MessageOptions, {jsonType: MessageOptionsJson}>;
61
91
 
62
92
  /**
63
93
  * @generated from message alis.open.options.v1.MessageOptions.JsonSchema
@@ -69,11 +99,21 @@ export declare type MessageOptions_JsonSchema = Message<"alis.open.options.v1.Me
69
99
  generate: boolean;
70
100
  };
71
101
 
102
+ /**
103
+ * @generated from message alis.open.options.v1.MessageOptions.JsonSchema
104
+ */
105
+ export declare type MessageOptions_JsonSchemaJson = {
106
+ /**
107
+ * @generated from field: bool generate = 1;
108
+ */
109
+ generate?: boolean;
110
+ };
111
+
72
112
  /**
73
113
  * Describes the message alis.open.options.v1.MessageOptions.JsonSchema.
74
114
  * Use `create(MessageOptions_JsonSchemaSchema)` to create a new message.
75
115
  */
76
- export declare const MessageOptions_JsonSchemaSchema: GenMessage<MessageOptions_JsonSchema>;
116
+ export declare const MessageOptions_JsonSchemaSchema: GenMessage<MessageOptions_JsonSchema, {jsonType: MessageOptions_JsonSchemaJson}>;
77
117
 
78
118
  /**
79
119
  * @generated from message alis.open.options.v1.FieldOptions
@@ -85,11 +125,21 @@ export declare type FieldOptions = Message<"alis.open.options.v1.FieldOptions">
85
125
  jsonSchema?: FieldOptions_JsonSchema | undefined;
86
126
  };
87
127
 
128
+ /**
129
+ * @generated from message alis.open.options.v1.FieldOptions
130
+ */
131
+ export declare type FieldOptionsJson = {
132
+ /**
133
+ * @generated from field: alis.open.options.v1.FieldOptions.JsonSchema json_schema = 1;
134
+ */
135
+ jsonSchema?: FieldOptions_JsonSchemaJson;
136
+ };
137
+
88
138
  /**
89
139
  * Describes the message alis.open.options.v1.FieldOptions.
90
140
  * Use `create(FieldOptionsSchema)` to create a new message.
91
141
  */
92
- export declare const FieldOptionsSchema: GenMessage<FieldOptions>;
142
+ export declare const FieldOptionsSchema: GenMessage<FieldOptions, {jsonType: FieldOptionsJson}>;
93
143
 
94
144
  /**
95
145
  * @generated from message alis.open.options.v1.FieldOptions.JsonSchema
@@ -186,11 +236,106 @@ export declare type FieldOptions_JsonSchema = Message<"alis.open.options.v1.Fiel
186
236
  maxProperties?: bigint | undefined;
187
237
  };
188
238
 
239
+ /**
240
+ * @generated from message alis.open.options.v1.FieldOptions.JsonSchema
241
+ */
242
+ export declare type FieldOptions_JsonSchemaJson = {
243
+ /**
244
+ * @generated from field: optional string title = 1;
245
+ */
246
+ title?: string;
247
+
248
+ /**
249
+ * @generated from field: optional string description = 2;
250
+ */
251
+ description?: string;
252
+
253
+ /**
254
+ * @generated from field: optional bool ignore = 3;
255
+ */
256
+ ignore?: boolean;
257
+
258
+ /**
259
+ * @generated from field: optional string pattern = 4;
260
+ */
261
+ pattern?: string;
262
+
263
+ /**
264
+ * @generated from field: optional string format = 5;
265
+ */
266
+ format?: string;
267
+
268
+ /**
269
+ * @generated from field: optional string content_encoding = 6;
270
+ */
271
+ contentEncoding?: string;
272
+
273
+ /**
274
+ * @generated from field: optional string content_media_type = 7;
275
+ */
276
+ contentMediaType?: string;
277
+
278
+ /**
279
+ * @generated from field: optional int64 min_length = 8;
280
+ */
281
+ minLength?: string;
282
+
283
+ /**
284
+ * @generated from field: optional int64 max_length = 9;
285
+ */
286
+ maxLength?: string;
287
+
288
+ /**
289
+ * @generated from field: optional double minimum = 10;
290
+ */
291
+ minimum?: number | "NaN" | "Infinity" | "-Infinity";
292
+
293
+ /**
294
+ * @generated from field: optional double maximum = 11;
295
+ */
296
+ maximum?: number | "NaN" | "Infinity" | "-Infinity";
297
+
298
+ /**
299
+ * @generated from field: optional bool exclusive_minimum = 12;
300
+ */
301
+ exclusiveMinimum?: boolean;
302
+
303
+ /**
304
+ * @generated from field: optional bool exclusive_maximum = 13;
305
+ */
306
+ exclusiveMaximum?: boolean;
307
+
308
+ /**
309
+ * @generated from field: optional int64 min_items = 14;
310
+ */
311
+ minItems?: string;
312
+
313
+ /**
314
+ * @generated from field: optional int64 max_items = 15;
315
+ */
316
+ maxItems?: string;
317
+
318
+ /**
319
+ * @generated from field: optional bool unique_items = 16;
320
+ */
321
+ uniqueItems?: boolean;
322
+
323
+ /**
324
+ * @generated from field: optional int64 min_properties = 17;
325
+ */
326
+ minProperties?: string;
327
+
328
+ /**
329
+ * @generated from field: optional int64 max_properties = 18;
330
+ */
331
+ maxProperties?: string;
332
+ };
333
+
189
334
  /**
190
335
  * Describes the message alis.open.options.v1.FieldOptions.JsonSchema.
191
336
  * Use `create(FieldOptions_JsonSchemaSchema)` to create a new message.
192
337
  */
193
- export declare const FieldOptions_JsonSchemaSchema: GenMessage<FieldOptions_JsonSchema>;
338
+ export declare const FieldOptions_JsonSchemaSchema: GenMessage<FieldOptions_JsonSchema, {jsonType: FieldOptions_JsonSchemaJson}>;
194
339
 
195
340
  /**
196
341
  * @generated from extension: alis.open.options.v1.FileOptions file = 1001;
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js,json_types=true"
2
2
  // @generated from file alis/open/options/v1/options.proto (package alis.open.options.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./alis/open/options/v1/options_pb.js";
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./alis/open/options/v1/options_pb.js";
package/package.json CHANGED
@@ -1,10 +1,23 @@
1
1
  {
2
- "dependencies": {
3
- "@bufbuild/protobuf": "^2.11.0",
4
- "@connectrpc/connect": "^2.1.1",
5
- "@connectrpc/connect-web": "^2.1.1"
2
+ "dependencies": {},
3
+ "description": "Ecmascript and Connect-Web stubs generated by Alis Build for alis.open.options.v1",
4
+ "exports": {
5
+ ".": {
6
+ "types": "./index.d.ts",
7
+ "import": "./index.js"
8
+ },
9
+ "./*": "./*",
10
+ "./package.json": "./package.json"
6
11
  },
7
- "description": "Ecmascript and Connect-Web stubs generated by Alis Build",
12
+ "license": "Apache-2.0",
13
+ "main": "./index.js",
8
14
  "name": "@alis-build/alis-open-options-v1",
9
- "version": "1.4.0"
15
+ "peerDependencies": {
16
+ "@bufbuild/protobuf": "^2.13.0",
17
+ "@connectrpc/connect": "^2.1.2",
18
+ "@connectrpc/connect-web": "^2.1.2"
19
+ },
20
+ "type": "module",
21
+ "types": "./index.d.ts",
22
+ "version": "1.5.0"
10
23
  }