@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6 → 0.1.0-fe747c0278b08e54b16540b091d980d1b166f948

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.
Files changed (113) hide show
  1. package/README.md +113 -0
  2. package/google/api/annotations_pb.ts +15 -9
  3. package/google/api/field_behavior_pb.ts +19 -19
  4. package/google/api/http_pb.ts +43 -108
  5. package/google/api/httpbody_pb.ts +23 -37
  6. package/package.json +6 -4
  7. package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
  8. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
  9. package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
  10. package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
  11. package/raystack/assets/v1beta1/event_pb.ts +22 -36
  12. package/raystack/assets/v1beta1/group_pb.ts +38 -74
  13. package/raystack/assets/v1beta1/job_pb.ts +30 -43
  14. package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
  15. package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
  16. package/raystack/assets/v1beta1/preview_pb.ts +21 -34
  17. package/raystack/assets/v1beta1/properties_pb.ts +22 -37
  18. package/raystack/assets/v1beta1/resource_pb.ts +24 -43
  19. package/raystack/assets/v1beta1/schema_pb.ts +59 -145
  20. package/raystack/assets/v1beta1/table_pb.ts +59 -120
  21. package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
  22. package/raystack/assets/v1beta1/topic_pb.ts +43 -78
  23. package/raystack/assets/v1beta1/user_pb.ts +58 -125
  24. package/raystack/assets/v1beta2/application_pb.ts +23 -39
  25. package/raystack/assets/v1beta2/asset_pb.ts +30 -53
  26. package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
  27. package/raystack/assets/v1beta2/common_pb.ts +56 -137
  28. package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
  29. package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
  30. package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
  31. package/raystack/assets/v1beta2/group_pb.ts +32 -68
  32. package/raystack/assets/v1beta2/job_pb.ts +21 -35
  33. package/raystack/assets/v1beta2/metric_pb.ts +25 -43
  34. package/raystack/assets/v1beta2/model_pb.ts +59 -147
  35. package/raystack/assets/v1beta2/table_pb.ts +82 -200
  36. package/raystack/assets/v1beta2/topic_pb.ts +41 -99
  37. package/raystack/assets/v1beta2/user_pb.ts +53 -121
  38. package/raystack/common/index.ts +0 -1
  39. package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
  40. package/raystack/common/v1/service_pb.ts +57 -97
  41. package/raystack/compass/index.ts +0 -1
  42. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
  43. package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
  44. package/raystack/entropy/index.ts +0 -2
  45. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
  46. package/raystack/entropy/v1beta1/module_pb.ts +156 -324
  47. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
  48. package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
  49. package/raystack/frontier/index.ts +0 -2
  50. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
  51. package/raystack/frontier/v1beta1/admin.client.ts +17 -0
  52. package/raystack/frontier/v1beta1/admin.ts +111 -1
  53. package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
  54. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  55. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  56. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  57. package/raystack/guardian/index.ts +0 -1
  58. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  59. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  60. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  61. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  62. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  63. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  64. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  65. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  66. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  67. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  68. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  69. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  70. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  71. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  72. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  73. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  74. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  75. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  76. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  77. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  78. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  79. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  80. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  81. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  82. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  83. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  84. package/raystack/raccoon/index.ts +0 -1
  85. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  86. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  87. package/raystack/siren/index.ts +0 -1
  88. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  89. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  90. package/raystack/stencil/index.ts +0 -1
  91. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  92. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  93. package/validate/validate_pb.ts +401 -1038
  94. package/raystack/common/v1/service_connect.ts +0 -26
  95. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  96. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  97. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  98. package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
  99. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  100. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  101. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  102. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  103. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  104. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  105. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  106. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  107. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  108. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  109. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  110. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  111. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  112. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  113. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -1,10 +1,16 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
1
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
2
2
  // @generated from file raystack/assets/v1beta1/resource.proto (package raystack.assets.v1beta1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3 } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file raystack/assets/v1beta1/resource.proto.
11
+ */
12
+ export const file_raystack_assets_v1beta1_resource: GenFile = /*@__PURE__*/
13
+ fileDesc("CiZyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9yZXNvdXJjZS5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTEiZgoIUmVzb3VyY2USCwoDdXJuGAEgASgJEgwKBG5hbWUYAiABKAkSDwoHc2VydmljZRgDIAEoCRIMCgR0eXBlGAQgASgJEgsKA3VybBgFIAEoCRITCgtkZXNjcmlwdGlvbhgGIAEoCUJcChJpby5yYXlzdGFjay5hc3NldHNCDVJlc291cmNlUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw");
8
14
 
9
15
  /**
10
16
  * Resource is a generic resource that represents a file or other resource.
@@ -12,14 +18,14 @@ import { Message, proto3 } from "@bufbuild/protobuf";
12
18
  *
13
19
  * @generated from message raystack.assets.v1beta1.Resource
14
20
  */
15
- export class Resource extends Message<Resource> {
21
+ export type Resource = Message<"raystack.assets.v1beta1.Resource"> & {
16
22
  /**
17
23
  * The unique identifier of the resource.
18
24
  * Example: `user:jdoe` or `group:accounting`.
19
25
  *
20
26
  * @generated from field: string urn = 1;
21
27
  */
22
- urn = "";
28
+ urn: string;
23
29
 
24
30
  /**
25
31
  * The name of the resource.
@@ -27,7 +33,7 @@ export class Resource extends Message<Resource> {
27
33
  *
28
34
  * @generated from field: string name = 2;
29
35
  */
30
- name = "";
36
+ name: string;
31
37
 
32
38
  /**
33
39
  * The source of the resource.
@@ -35,7 +41,7 @@ export class Resource extends Message<Resource> {
35
41
  *
36
42
  * @generated from field: string service = 3;
37
43
  */
38
- service = "";
44
+ service: string;
39
45
 
40
46
  /**
41
47
  * The type of the asset.
@@ -43,7 +49,7 @@ export class Resource extends Message<Resource> {
43
49
  *
44
50
  * @generated from field: string type = 4;
45
51
  */
46
- type = "";
52
+ type: string;
47
53
 
48
54
  /**
49
55
  * The REST URL for accessing the resource. URL returns the resource itself.
@@ -51,7 +57,7 @@ export class Resource extends Message<Resource> {
51
57
  *
52
58
  * @generated from field: string url = 5;
53
59
  */
54
- url = "";
60
+ url: string;
55
61
 
56
62
  /**
57
63
  * The description of the resource.
@@ -59,38 +65,13 @@ export class Resource extends Message<Resource> {
59
65
  *
60
66
  * @generated from field: string description = 6;
61
67
  */
62
- description = "";
63
-
64
- constructor(data?: PartialMessage<Resource>) {
65
- super();
66
- proto3.util.initPartial(data, this);
67
- }
68
-
69
- static readonly runtime: typeof proto3 = proto3;
70
- static readonly typeName = "raystack.assets.v1beta1.Resource";
71
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
72
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
74
- { no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
- { no: 5, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
- { no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
- ]);
68
+ description: string;
69
+ };
79
70
 
80
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resource {
81
- return new Resource().fromBinary(bytes, options);
82
- }
83
-
84
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Resource {
85
- return new Resource().fromJson(jsonValue, options);
86
- }
87
-
88
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resource {
89
- return new Resource().fromJsonString(jsonString, options);
90
- }
91
-
92
- static equals(a: Resource | PlainMessage<Resource> | undefined, b: Resource | PlainMessage<Resource> | undefined): boolean {
93
- return proto3.util.equals(Resource, a, b);
94
- }
95
- }
71
+ /**
72
+ * Describes the message raystack.assets.v1beta1.Resource.
73
+ * Use `create(ResourceSchema)` to create a new message.
74
+ */
75
+ export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
76
+ messageDesc(file_raystack_assets_v1beta1_resource, 0);
96
77
 
@@ -1,11 +1,18 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
1
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
2
2
  // @generated from file raystack/assets/v1beta1/schema.proto (package raystack.assets.v1beta1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
8
- import { Properties } from "./properties_pb";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Properties } from "./properties_pb";
8
+ import { file_raystack_assets_v1beta1_properties } from "./properties_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta1/schema.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta1_schema: GenFile = /*@__PURE__*/
15
+ fileDesc("CiRyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9zY2hlbWEucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGExIjsKB0NvbHVtbnMSMAoHY29sdW1ucxgBIAMoCzIfLnJheXN0YWNrLmFzc2V0cy52MWJldGExLkNvbHVtbiLVAQoGQ29sdW1uEgwKBG5hbWUYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSEQoJZGF0YV90eXBlGAMgASgJEhMKC2lzX251bGxhYmxlGAQgASgIEg4KBmxlbmd0aBgFIAEoAxI3Cgdwcm9maWxlGAYgASgLMiYucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuQ29sdW1uUHJvZmlsZRI3Cgpwcm9wZXJ0aWVzGB8gASgLMiMucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUHJvcGVydGllcyJvCg1Db2x1bW5Qcm9maWxlEgsKA21pbhgBIAEoCRILCgNtYXgYAiABKAkSCwoDYXZnGAMgASgBEgsKA21lZBgEIAEoARIOCgZ1bmlxdWUYBSABKAMSDQoFY291bnQYBiABKAMSCwoDdG9wGAcgASgJIjEKC1RvcGljU2NoZW1hEhIKCnNjaGVtYV91cmwYASABKAkSDgoGZm9ybWF0GAIgASgJQloKEmlvLnJheXN0YWNrLmFzc2V0c0ILU2NoZW1hUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw", [file_raystack_assets_v1beta1_properties]);
9
16
 
10
17
  /**
11
18
  * Columns represents a list of columns.
@@ -13,55 +20,35 @@ import { Properties } from "./properties_pb";
13
20
  *
14
21
  * @generated from message raystack.assets.v1beta1.Columns
15
22
  */
16
- export class Columns extends Message<Columns> {
23
+ export type Columns = Message<"raystack.assets.v1beta1.Columns"> & {
17
24
  /**
18
25
  * The list of columns.
19
26
  *
20
27
  * @generated from field: repeated raystack.assets.v1beta1.Column columns = 1;
21
28
  */
22
- columns: Column[] = [];
23
-
24
- constructor(data?: PartialMessage<Columns>) {
25
- super();
26
- proto3.util.initPartial(data, this);
27
- }
28
-
29
- static readonly runtime: typeof proto3 = proto3;
30
- static readonly typeName = "raystack.assets.v1beta1.Columns";
31
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
32
- { no: 1, name: "columns", kind: "message", T: Column, repeated: true },
33
- ]);
34
-
35
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Columns {
36
- return new Columns().fromBinary(bytes, options);
37
- }
38
-
39
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Columns {
40
- return new Columns().fromJson(jsonValue, options);
41
- }
42
-
43
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Columns {
44
- return new Columns().fromJsonString(jsonString, options);
45
- }
29
+ columns: Column[];
30
+ };
46
31
 
47
- static equals(a: Columns | PlainMessage<Columns> | undefined, b: Columns | PlainMessage<Columns> | undefined): boolean {
48
- return proto3.util.equals(Columns, a, b);
49
- }
50
- }
32
+ /**
33
+ * Describes the message raystack.assets.v1beta1.Columns.
34
+ * Use `create(ColumnsSchema)` to create a new message.
35
+ */
36
+ export const ColumnsSchema: GenMessage<Columns> = /*@__PURE__*/
37
+ messageDesc(file_raystack_assets_v1beta1_schema, 0);
51
38
 
52
39
  /**
53
40
  * Column represents a column in a table or a file.
54
41
  *
55
42
  * @generated from message raystack.assets.v1beta1.Column
56
43
  */
57
- export class Column extends Message<Column> {
44
+ export type Column = Message<"raystack.assets.v1beta1.Column"> & {
58
45
  /**
59
46
  * The name of the column.
60
47
  * Example: `customer_id`.
61
48
  *
62
49
  * @generated from field: string name = 1;
63
50
  */
64
- name = "";
51
+ name: string;
65
52
 
66
53
  /**
67
54
  * The description of the column.
@@ -69,12 +56,12 @@ export class Column extends Message<Column> {
69
56
  *
70
57
  * @generated from field: string description = 2;
71
58
  */
72
- description = "";
59
+ description: string;
73
60
 
74
61
  /**
75
62
  * @generated from field: string data_type = 3;
76
63
  */
77
- dataType = "";
64
+ dataType: string;
78
65
 
79
66
  /**
80
67
  * The format of the column.
@@ -82,7 +69,7 @@ export class Column extends Message<Column> {
82
69
  *
83
70
  * @generated from field: bool is_nullable = 4;
84
71
  */
85
- isNullable = false;
72
+ isNullable: boolean;
86
73
 
87
74
  /**
88
75
  * The length of the column.
@@ -90,7 +77,7 @@ export class Column extends Message<Column> {
90
77
  *
91
78
  * @generated from field: int64 length = 5;
92
79
  */
93
- length = protoInt64.zero;
80
+ length: bigint;
94
81
 
95
82
  /**
96
83
  * The profile of the column.
@@ -106,113 +93,61 @@ export class Column extends Message<Column> {
106
93
  * @generated from field: raystack.assets.v1beta1.Properties properties = 31;
107
94
  */
108
95
  properties?: Properties;
96
+ };
109
97
 
110
- constructor(data?: PartialMessage<Column>) {
111
- super();
112
- proto3.util.initPartial(data, this);
113
- }
114
-
115
- static readonly runtime: typeof proto3 = proto3;
116
- static readonly typeName = "raystack.assets.v1beta1.Column";
117
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
118
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
119
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
120
- { no: 3, name: "data_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
121
- { no: 4, name: "is_nullable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
122
- { no: 5, name: "length", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
123
- { no: 6, name: "profile", kind: "message", T: ColumnProfile },
124
- { no: 31, name: "properties", kind: "message", T: Properties },
125
- ]);
126
-
127
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Column {
128
- return new Column().fromBinary(bytes, options);
129
- }
130
-
131
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Column {
132
- return new Column().fromJson(jsonValue, options);
133
- }
134
-
135
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Column {
136
- return new Column().fromJsonString(jsonString, options);
137
- }
138
-
139
- static equals(a: Column | PlainMessage<Column> | undefined, b: Column | PlainMessage<Column> | undefined): boolean {
140
- return proto3.util.equals(Column, a, b);
141
- }
142
- }
98
+ /**
99
+ * Describes the message raystack.assets.v1beta1.Column.
100
+ * Use `create(ColumnSchema)` to create a new message.
101
+ */
102
+ export const ColumnSchema: GenMessage<Column> = /*@__PURE__*/
103
+ messageDesc(file_raystack_assets_v1beta1_schema, 1);
143
104
 
144
105
  /**
145
106
  * @generated from message raystack.assets.v1beta1.ColumnProfile
146
107
  */
147
- export class ColumnProfile extends Message<ColumnProfile> {
108
+ export type ColumnProfile = Message<"raystack.assets.v1beta1.ColumnProfile"> & {
148
109
  /**
149
110
  * @generated from field: string min = 1;
150
111
  */
151
- min = "";
112
+ min: string;
152
113
 
153
114
  /**
154
115
  * @generated from field: string max = 2;
155
116
  */
156
- max = "";
117
+ max: string;
157
118
 
158
119
  /**
159
120
  * @generated from field: double avg = 3;
160
121
  */
161
- avg = 0;
122
+ avg: number;
162
123
 
163
124
  /**
164
125
  * @generated from field: double med = 4;
165
126
  */
166
- med = 0;
127
+ med: number;
167
128
 
168
129
  /**
169
130
  * @generated from field: int64 unique = 5;
170
131
  */
171
- unique = protoInt64.zero;
132
+ unique: bigint;
172
133
 
173
134
  /**
174
135
  * @generated from field: int64 count = 6;
175
136
  */
176
- count = protoInt64.zero;
137
+ count: bigint;
177
138
 
178
139
  /**
179
140
  * @generated from field: string top = 7;
180
141
  */
181
- top = "";
182
-
183
- constructor(data?: PartialMessage<ColumnProfile>) {
184
- super();
185
- proto3.util.initPartial(data, this);
186
- }
187
-
188
- static readonly runtime: typeof proto3 = proto3;
189
- static readonly typeName = "raystack.assets.v1beta1.ColumnProfile";
190
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
191
- { no: 1, name: "min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
192
- { no: 2, name: "max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
- { no: 3, name: "avg", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
194
- { no: 4, name: "med", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
195
- { no: 5, name: "unique", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
196
- { no: 6, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
197
- { no: 7, name: "top", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
- ]);
199
-
200
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ColumnProfile {
201
- return new ColumnProfile().fromBinary(bytes, options);
202
- }
142
+ top: string;
143
+ };
203
144
 
204
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ColumnProfile {
205
- return new ColumnProfile().fromJson(jsonValue, options);
206
- }
207
-
208
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ColumnProfile {
209
- return new ColumnProfile().fromJsonString(jsonString, options);
210
- }
211
-
212
- static equals(a: ColumnProfile | PlainMessage<ColumnProfile> | undefined, b: ColumnProfile | PlainMessage<ColumnProfile> | undefined): boolean {
213
- return proto3.util.equals(ColumnProfile, a, b);
214
- }
215
- }
145
+ /**
146
+ * Describes the message raystack.assets.v1beta1.ColumnProfile.
147
+ * Use `create(ColumnProfileSchema)` to create a new message.
148
+ */
149
+ export const ColumnProfileSchema: GenMessage<ColumnProfile> = /*@__PURE__*/
150
+ messageDesc(file_raystack_assets_v1beta1_schema, 2);
216
151
 
217
152
  /**
218
153
  * TopicSchema represents a schema for message bus.
@@ -220,43 +155,22 @@ export class ColumnProfile extends Message<ColumnProfile> {
220
155
  *
221
156
  * @generated from message raystack.assets.v1beta1.TopicSchema
222
157
  */
223
- export class TopicSchema extends Message<TopicSchema> {
158
+ export type TopicSchema = Message<"raystack.assets.v1beta1.TopicSchema"> & {
224
159
  /**
225
160
  * @generated from field: string schema_url = 1;
226
161
  */
227
- schemaUrl = "";
162
+ schemaUrl: string;
228
163
 
229
164
  /**
230
165
  * @generated from field: string format = 2;
231
166
  */
232
- format = "";
167
+ format: string;
168
+ };
233
169
 
234
- constructor(data?: PartialMessage<TopicSchema>) {
235
- super();
236
- proto3.util.initPartial(data, this);
237
- }
238
-
239
- static readonly runtime: typeof proto3 = proto3;
240
- static readonly typeName = "raystack.assets.v1beta1.TopicSchema";
241
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
242
- { no: 1, name: "schema_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
243
- { no: 2, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
244
- ]);
245
-
246
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TopicSchema {
247
- return new TopicSchema().fromBinary(bytes, options);
248
- }
249
-
250
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TopicSchema {
251
- return new TopicSchema().fromJson(jsonValue, options);
252
- }
253
-
254
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TopicSchema {
255
- return new TopicSchema().fromJsonString(jsonString, options);
256
- }
257
-
258
- static equals(a: TopicSchema | PlainMessage<TopicSchema> | undefined, b: TopicSchema | PlainMessage<TopicSchema> | undefined): boolean {
259
- return proto3.util.equals(TopicSchema, a, b);
260
- }
261
- }
170
+ /**
171
+ * Describes the message raystack.assets.v1beta1.TopicSchema.
172
+ * Use `create(TopicSchemaSchema)` to create a new message.
173
+ */
174
+ export const TopicSchemaSchema: GenMessage<TopicSchema> = /*@__PURE__*/
175
+ messageDesc(file_raystack_assets_v1beta1_schema, 3);
262
176