@raystack/proton 0.1.0-35dd68d487bfa7e7339c40e9b103ee7377aac6e6 → 0.1.0-881c92a4cab2490e6c680462a94660b551b1040f

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 (111) hide show
  1. package/google/api/annotations_pb.ts +15 -9
  2. package/google/api/field_behavior_pb.ts +19 -19
  3. package/google/api/http_pb.ts +43 -108
  4. package/google/api/httpbody_pb.ts +23 -37
  5. package/index.ts +10 -0
  6. package/package.json +61 -17
  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 +54 -524
  51. package/raystack/frontier/v1beta1/admin_pb.ts +1755 -3846
  52. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
  53. package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
  54. package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
  55. package/raystack/guardian/index.ts +0 -1
  56. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
  57. package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
  58. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
  59. package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
  60. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
  61. package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
  62. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
  63. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
  64. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
  65. package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
  66. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
  67. package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
  68. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
  69. package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
  70. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
  71. package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
  72. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
  73. package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
  74. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
  75. package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
  76. package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
  77. package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
  78. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
  79. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
  80. package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
  81. package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
  82. package/raystack/raccoon/index.ts +0 -1
  83. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
  84. package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
  85. package/raystack/siren/index.ts +0 -1
  86. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
  87. package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
  88. package/raystack/stencil/index.ts +0 -1
  89. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
  90. package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
  91. package/validate/validate_pb.ts +401 -1038
  92. package/raystack/common/v1/service_connect.ts +0 -26
  93. package/raystack/compass/v1beta1/service_connect.ts +0 -407
  94. package/raystack/entropy/v1beta1/module_connect.ts +0 -62
  95. package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
  96. package/raystack/frontier/v1beta1/admin_connect.ts +0 -584
  97. package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
  98. package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
  99. package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
  100. package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
  101. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
  102. package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
  103. package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
  104. package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
  105. package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
  106. package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
  107. package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
  108. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
  109. package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
  110. package/raystack/siren/v1beta1/siren_connect.ts +0 -332
  111. package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
@@ -1,21 +1,31 @@
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/group.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";
8
- import { Resource } from "./resource_pb";
9
- import { Properties } from "./properties_pb";
10
- import { Timestamp } from "./timestamp_pb";
11
- import { Event } from "./event_pb";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Event } from "./event_pb";
8
+ import { file_raystack_assets_v1beta1_event } from "./event_pb";
9
+ import type { Properties } from "./properties_pb";
10
+ import { file_raystack_assets_v1beta1_properties } from "./properties_pb";
11
+ import type { Resource } from "./resource_pb";
12
+ import { file_raystack_assets_v1beta1_resource } from "./resource_pb";
13
+ import type { Timestamp } from "./timestamp_pb";
14
+ import { file_raystack_assets_v1beta1_timestamp } from "./timestamp_pb";
15
+ import type { Message } from "@bufbuild/protobuf";
16
+
17
+ /**
18
+ * Describes the file raystack/assets/v1beta1/group.proto.
19
+ */
20
+ export const file_raystack_assets_v1beta1_group: GenFile = /*@__PURE__*/
21
+ fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9ncm91cC5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTEinQIKBUdyb3VwEjMKCHJlc291cmNlGAEgASgLMiEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUmVzb3VyY2USDQoFZW1haWwYAiABKAkSMAoHbWVtYmVycxgVIAMoCzIfLnJheXN0YWNrLmFzc2V0cy52MWJldGExLk1lbWJlchI3Cgpwcm9wZXJ0aWVzGB8gASgLMiMucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUHJvcGVydGllcxI2Cgp0aW1lc3RhbXBzGCAgASgLMiIucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuVGltZXN0YW1wEi0KBWV2ZW50GGQgASgLMh4ucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuRXZlbnQiIwoGTWVtYmVyEgsKA3VybhgBIAEoCRIMCgRyb2xlGAIgASgJQlkKEmlvLnJheXN0YWNrLmFzc2V0c0IKR3JvdXBQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTE7YXNzZXRzdjFiZXRhMWIGcHJvdG8z", [file_raystack_assets_v1beta1_event, file_raystack_assets_v1beta1_properties, file_raystack_assets_v1beta1_resource, file_raystack_assets_v1beta1_timestamp]);
12
22
 
13
23
  /**
14
24
  * Group represents a group of users and resources.
15
25
  *
16
26
  * @generated from message raystack.assets.v1beta1.Group
17
27
  */
18
- export class Group extends Message<Group> {
28
+ export type Group = Message<"raystack.assets.v1beta1.Group"> & {
19
29
  /**
20
30
  * Representation of the resource
21
31
  *
@@ -29,7 +39,7 @@ export class Group extends Message<Group> {
29
39
  *
30
40
  * @generated from field: string email = 2;
31
41
  */
32
- email = "";
42
+ email: string;
33
43
 
34
44
  /**
35
45
  * The members of the group.
@@ -37,7 +47,7 @@ export class Group extends Message<Group> {
37
47
  *
38
48
  * @generated from field: repeated raystack.assets.v1beta1.Member members = 21;
39
49
  */
40
- members: Member[] = [];
50
+ members: Member[];
41
51
 
42
52
  /**
43
53
  * List of the user's custom properties.
@@ -62,53 +72,28 @@ export class Group extends Message<Group> {
62
72
  * @generated from field: raystack.assets.v1beta1.Event event = 100;
63
73
  */
64
74
  event?: Event;
75
+ };
65
76
 
66
- constructor(data?: PartialMessage<Group>) {
67
- super();
68
- proto3.util.initPartial(data, this);
69
- }
70
-
71
- static readonly runtime: typeof proto3 = proto3;
72
- static readonly typeName = "raystack.assets.v1beta1.Group";
73
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
74
- { no: 1, name: "resource", kind: "message", T: Resource },
75
- { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
- { no: 21, name: "members", kind: "message", T: Member, repeated: true },
77
- { no: 31, name: "properties", kind: "message", T: Properties },
78
- { no: 32, name: "timestamps", kind: "message", T: Timestamp },
79
- { no: 100, name: "event", kind: "message", T: Event },
80
- ]);
81
-
82
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Group {
83
- return new Group().fromBinary(bytes, options);
84
- }
85
-
86
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Group {
87
- return new Group().fromJson(jsonValue, options);
88
- }
89
-
90
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Group {
91
- return new Group().fromJsonString(jsonString, options);
92
- }
93
-
94
- static equals(a: Group | PlainMessage<Group> | undefined, b: Group | PlainMessage<Group> | undefined): boolean {
95
- return proto3.util.equals(Group, a, b);
96
- }
97
- }
77
+ /**
78
+ * Describes the message raystack.assets.v1beta1.Group.
79
+ * Use `create(GroupSchema)` to create a new message.
80
+ */
81
+ export const GroupSchema: GenMessage<Group> = /*@__PURE__*/
82
+ messageDesc(file_raystack_assets_v1beta1_group, 0);
98
83
 
99
84
  /**
100
85
  * Member represents a user.
101
86
  *
102
87
  * @generated from message raystack.assets.v1beta1.Member
103
88
  */
104
- export class Member extends Message<Member> {
89
+ export type Member = Message<"raystack.assets.v1beta1.Member"> & {
105
90
  /**
106
91
  * The unique identifier for the user.
107
92
  * Example: `user:example`.
108
93
  *
109
94
  * @generated from field: string urn = 1;
110
95
  */
111
- urn = "";
96
+ urn: string;
112
97
 
113
98
  /**
114
99
  * The role of the user.
@@ -116,34 +101,13 @@ export class Member extends Message<Member> {
116
101
  *
117
102
  * @generated from field: string role = 2;
118
103
  */
119
- role = "";
120
-
121
- constructor(data?: PartialMessage<Member>) {
122
- super();
123
- proto3.util.initPartial(data, this);
124
- }
125
-
126
- static readonly runtime: typeof proto3 = proto3;
127
- static readonly typeName = "raystack.assets.v1beta1.Member";
128
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
129
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
- { no: 2, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
131
- ]);
132
-
133
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Member {
134
- return new Member().fromBinary(bytes, options);
135
- }
104
+ role: string;
105
+ };
136
106
 
137
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Member {
138
- return new Member().fromJson(jsonValue, options);
139
- }
140
-
141
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Member {
142
- return new Member().fromJsonString(jsonString, options);
143
- }
144
-
145
- static equals(a: Member | PlainMessage<Member> | undefined, b: Member | PlainMessage<Member> | undefined): boolean {
146
- return proto3.util.equals(Member, a, b);
147
- }
148
- }
107
+ /**
108
+ * Describes the message raystack.assets.v1beta1.Member.
109
+ * Use `create(MemberSchema)` to create a new message.
110
+ */
111
+ export const MemberSchema: GenMessage<Member> = /*@__PURE__*/
112
+ messageDesc(file_raystack_assets_v1beta1_group, 1);
149
113
 
@@ -1,23 +1,35 @@
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/job.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";
8
- import { Resource } from "./resource_pb";
9
- import { Ownership } from "./ownership_pb";
10
- import { Lineage } from "./lineage_pb";
11
- import { Properties } from "./properties_pb";
12
- import { Timestamp } from "./timestamp_pb";
13
- import { Event } from "./event_pb";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Event } from "./event_pb";
8
+ import { file_raystack_assets_v1beta1_event } from "./event_pb";
9
+ import type { Lineage } from "./lineage_pb";
10
+ import { file_raystack_assets_v1beta1_lineage } from "./lineage_pb";
11
+ import type { Ownership } from "./ownership_pb";
12
+ import { file_raystack_assets_v1beta1_ownership } from "./ownership_pb";
13
+ import type { Properties } from "./properties_pb";
14
+ import { file_raystack_assets_v1beta1_properties } from "./properties_pb";
15
+ import type { Resource } from "./resource_pb";
16
+ import { file_raystack_assets_v1beta1_resource } from "./resource_pb";
17
+ import type { Timestamp } from "./timestamp_pb";
18
+ import { file_raystack_assets_v1beta1_timestamp } from "./timestamp_pb";
19
+ import type { Message } from "@bufbuild/protobuf";
20
+
21
+ /**
22
+ * Describes the file raystack/assets/v1beta1/job.proto.
23
+ */
24
+ export const file_raystack_assets_v1beta1_job: GenFile = /*@__PURE__*/
25
+ fileDesc("CiFyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9qb2IucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGExIsQCCgNKb2ISMwoIcmVzb3VyY2UYASABKAsyIS5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5SZXNvdXJjZRI1Cglvd25lcnNoaXAYHyABKAsyIi5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5Pd25lcnNoaXASMQoHbGluZWFnZRggIAEoCzIgLnJheXN0YWNrLmFzc2V0cy52MWJldGExLkxpbmVhZ2USNwoKcHJvcGVydGllcxghIAEoCzIjLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlByb3BlcnRpZXMSNgoKdGltZXN0YW1wcxgiIAEoCzIiLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlRpbWVzdGFtcBItCgVldmVudBhkIAEoCzIeLnJheXN0YWNrLmFzc2V0cy52MWJldGExLkV2ZW50QlcKEmlvLnJheXN0YWNrLmFzc2V0c0IISm9iUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw", [file_raystack_assets_v1beta1_event, file_raystack_assets_v1beta1_lineage, file_raystack_assets_v1beta1_ownership, file_raystack_assets_v1beta1_properties, file_raystack_assets_v1beta1_resource, file_raystack_assets_v1beta1_timestamp]);
14
26
 
15
27
  /**
16
28
  * Job is a resource that represents a job.
17
29
  *
18
30
  * @generated from message raystack.assets.v1beta1.Job
19
31
  */
20
- export class Job extends Message<Job> {
32
+ export type Job = Message<"raystack.assets.v1beta1.Job"> & {
21
33
  /**
22
34
  * Representation of the resource
23
35
  *
@@ -64,37 +76,12 @@ export class Job extends Message<Job> {
64
76
  * @generated from field: raystack.assets.v1beta1.Event event = 100;
65
77
  */
66
78
  event?: Event;
79
+ };
67
80
 
68
- constructor(data?: PartialMessage<Job>) {
69
- super();
70
- proto3.util.initPartial(data, this);
71
- }
72
-
73
- static readonly runtime: typeof proto3 = proto3;
74
- static readonly typeName = "raystack.assets.v1beta1.Job";
75
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
76
- { no: 1, name: "resource", kind: "message", T: Resource },
77
- { no: 31, name: "ownership", kind: "message", T: Ownership },
78
- { no: 32, name: "lineage", kind: "message", T: Lineage },
79
- { no: 33, name: "properties", kind: "message", T: Properties },
80
- { no: 34, name: "timestamps", kind: "message", T: Timestamp },
81
- { no: 100, name: "event", kind: "message", T: Event },
82
- ]);
83
-
84
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job {
85
- return new Job().fromBinary(bytes, options);
86
- }
87
-
88
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job {
89
- return new Job().fromJson(jsonValue, options);
90
- }
91
-
92
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job {
93
- return new Job().fromJsonString(jsonString, options);
94
- }
95
-
96
- static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean {
97
- return proto3.util.equals(Job, a, b);
98
- }
99
- }
81
+ /**
82
+ * Describes the message raystack.assets.v1beta1.Job.
83
+ * Use `create(JobSchema)` to create a new message.
84
+ */
85
+ export const JobSchema: GenMessage<Job> = /*@__PURE__*/
86
+ messageDesc(file_raystack_assets_v1beta1_job, 0);
100
87
 
@@ -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/lineage.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";
8
- import { Resource } from "./resource_pb";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Resource } from "./resource_pb";
8
+ import { file_raystack_assets_v1beta1_resource } from "./resource_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta1/lineage.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta1_lineage: GenFile = /*@__PURE__*/
15
+ fileDesc("CiVyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9saW5lYWdlLnByb3RvEhdyYXlzdGFjay5hc3NldHMudjFiZXRhMSJ3CgdMaW5lYWdlEjQKCXVwc3RyZWFtcxgBIAMoCzIhLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlJlc291cmNlEjYKC2Rvd25zdHJlYW1zGAIgAygLMiEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTEuUmVzb3VyY2VCWwoSaW8ucmF5c3RhY2suYXNzZXRzQgxMaW5lYWdlUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw", [file_raystack_assets_v1beta1_resource]);
9
16
 
10
17
  /**
11
18
  * Linage reprsents the relationship of resource to other resources.
@@ -13,14 +20,14 @@ import { Resource } from "./resource_pb";
13
20
  *
14
21
  * @generated from message raystack.assets.v1beta1.Lineage
15
22
  */
16
- export class Lineage extends Message<Lineage> {
23
+ export type Lineage = Message<"raystack.assets.v1beta1.Lineage"> & {
17
24
  /**
18
25
  * The resource that is the source of the relationship.
19
26
  * Example: a resource that is the parent of another resource.
20
27
  *
21
28
  * @generated from field: repeated raystack.assets.v1beta1.Resource upstreams = 1;
22
29
  */
23
- upstreams: Resource[] = [];
30
+ upstreams: Resource[];
24
31
 
25
32
  /**
26
33
  * The resource that is the destination of the relationship.
@@ -28,34 +35,13 @@ export class Lineage extends Message<Lineage> {
28
35
  *
29
36
  * @generated from field: repeated raystack.assets.v1beta1.Resource downstreams = 2;
30
37
  */
31
- downstreams: Resource[] = [];
32
-
33
- constructor(data?: PartialMessage<Lineage>) {
34
- super();
35
- proto3.util.initPartial(data, this);
36
- }
37
-
38
- static readonly runtime: typeof proto3 = proto3;
39
- static readonly typeName = "raystack.assets.v1beta1.Lineage";
40
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
41
- { no: 1, name: "upstreams", kind: "message", T: Resource, repeated: true },
42
- { no: 2, name: "downstreams", kind: "message", T: Resource, repeated: true },
43
- ]);
38
+ downstreams: Resource[];
39
+ };
44
40
 
45
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Lineage {
46
- return new Lineage().fromBinary(bytes, options);
47
- }
48
-
49
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Lineage {
50
- return new Lineage().fromJson(jsonValue, options);
51
- }
52
-
53
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Lineage {
54
- return new Lineage().fromJsonString(jsonString, options);
55
- }
56
-
57
- static equals(a: Lineage | PlainMessage<Lineage> | undefined, b: Lineage | PlainMessage<Lineage> | undefined): boolean {
58
- return proto3.util.equals(Lineage, a, b);
59
- }
60
- }
41
+ /**
42
+ * Describes the message raystack.assets.v1beta1.Lineage.
43
+ * Use `create(LineageSchema)` to create a new message.
44
+ */
45
+ export const LineageSchema: GenMessage<Lineage> = /*@__PURE__*/
46
+ messageDesc(file_raystack_assets_v1beta1_lineage, 0);
61
47
 
@@ -1,52 +1,38 @@
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/ownership.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/ownership.proto.
11
+ */
12
+ export const file_raystack_assets_v1beta1_ownership: GenFile = /*@__PURE__*/
13
+ fileDesc("CidyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9vd25lcnNoaXAucHJvdG8SF3JheXN0YWNrLmFzc2V0cy52MWJldGExIjsKCU93bmVyc2hpcBIuCgZvd25lcnMYByADKAsyHi5yYXlzdGFjay5hc3NldHMudjFiZXRhMS5Pd25lciI/CgVPd25lchILCgN1cm4YASABKAkSDAoEbmFtZRgCIAEoCRIMCgRyb2xlGAMgASgJEg0KBWVtYWlsGAQgASgJQl0KEmlvLnJheXN0YWNrLmFzc2V0c0IOT3duZXJzaGlwUHJvdG9aN2dpdGh1Yi5jb20vcmF5c3RhY2svcHJvdG9uL2Fzc2V0cy92MWJldGExO2Fzc2V0c3YxYmV0YTFiBnByb3RvMw");
8
14
 
9
15
  /**
10
16
  * Ownership is a facet that describes the ownership of a resource.
11
17
  *
12
18
  * @generated from message raystack.assets.v1beta1.Ownership
13
19
  */
14
- export class Ownership extends Message<Ownership> {
20
+ export type Ownership = Message<"raystack.assets.v1beta1.Ownership"> & {
15
21
  /**
16
22
  * Required: The list of owners of the resource.
17
23
  * For an example check the owner schema.
18
24
  *
19
25
  * @generated from field: repeated raystack.assets.v1beta1.Owner owners = 7;
20
26
  */
21
- owners: Owner[] = [];
22
-
23
- constructor(data?: PartialMessage<Ownership>) {
24
- super();
25
- proto3.util.initPartial(data, this);
26
- }
27
-
28
- static readonly runtime: typeof proto3 = proto3;
29
- static readonly typeName = "raystack.assets.v1beta1.Ownership";
30
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
31
- { no: 7, name: "owners", kind: "message", T: Owner, repeated: true },
32
- ]);
27
+ owners: Owner[];
28
+ };
33
29
 
34
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Ownership {
35
- return new Ownership().fromBinary(bytes, options);
36
- }
37
-
38
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Ownership {
39
- return new Ownership().fromJson(jsonValue, options);
40
- }
41
-
42
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Ownership {
43
- return new Ownership().fromJsonString(jsonString, options);
44
- }
45
-
46
- static equals(a: Ownership | PlainMessage<Ownership> | undefined, b: Ownership | PlainMessage<Ownership> | undefined): boolean {
47
- return proto3.util.equals(Ownership, a, b);
48
- }
49
- }
30
+ /**
31
+ * Describes the message raystack.assets.v1beta1.Ownership.
32
+ * Use `create(OwnershipSchema)` to create a new message.
33
+ */
34
+ export const OwnershipSchema: GenMessage<Ownership> = /*@__PURE__*/
35
+ messageDesc(file_raystack_assets_v1beta1_ownership, 0);
50
36
 
51
37
  /**
52
38
  * Owner is a facet that describes the owner of a resource.
@@ -56,11 +42,11 @@ export class Ownership extends Message<Ownership> {
56
42
  *
57
43
  * @generated from message raystack.assets.v1beta1.Owner
58
44
  */
59
- export class Owner extends Message<Owner> {
45
+ export type Owner = Message<"raystack.assets.v1beta1.Owner"> & {
60
46
  /**
61
47
  * @generated from field: string urn = 1;
62
48
  */
63
- urn = "";
49
+ urn: string;
64
50
 
65
51
  /**
66
52
  * The name of the owner.
@@ -68,7 +54,7 @@ export class Owner extends Message<Owner> {
68
54
  *
69
55
  * @generated from field: string name = 2;
70
56
  */
71
- name = "";
57
+ name: string;
72
58
 
73
59
  /**
74
60
  * The role of the owner.
@@ -76,7 +62,7 @@ export class Owner extends Message<Owner> {
76
62
  *
77
63
  * @generated from field: string role = 3;
78
64
  */
79
- role = "";
65
+ role: string;
80
66
 
81
67
  /**
82
68
  * The email of the owner.
@@ -84,36 +70,13 @@ export class Owner extends Message<Owner> {
84
70
  *
85
71
  * @generated from field: string email = 4;
86
72
  */
87
- email = "";
88
-
89
- constructor(data?: PartialMessage<Owner>) {
90
- super();
91
- proto3.util.initPartial(data, this);
92
- }
93
-
94
- static readonly runtime: typeof proto3 = proto3;
95
- static readonly typeName = "raystack.assets.v1beta1.Owner";
96
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
97
- { no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
98
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
99
- { no: 3, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
100
- { no: 4, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
101
- ]);
102
-
103
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Owner {
104
- return new Owner().fromBinary(bytes, options);
105
- }
73
+ email: string;
74
+ };
106
75
 
107
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Owner {
108
- return new Owner().fromJson(jsonValue, options);
109
- }
110
-
111
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Owner {
112
- return new Owner().fromJsonString(jsonString, options);
113
- }
114
-
115
- static equals(a: Owner | PlainMessage<Owner> | undefined, b: Owner | PlainMessage<Owner> | undefined): boolean {
116
- return proto3.util.equals(Owner, a, b);
117
- }
118
- }
76
+ /**
77
+ * Describes the message raystack.assets.v1beta1.Owner.
78
+ * Use `create(OwnerSchema)` to create a new message.
79
+ */
80
+ export const OwnerSchema: GenMessage<Owner> = /*@__PURE__*/
81
+ messageDesc(file_raystack_assets_v1beta1_ownership, 1);
119
82
 
@@ -1,23 +1,31 @@
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/preview.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 { ListValue, 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 { ListValue } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file raystack/assets/v1beta1/preview.proto.
13
+ */
14
+ export const file_raystack_assets_v1beta1_preview: GenFile = /*@__PURE__*/
15
+ fileDesc("CiVyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9wcmV2aWV3LnByb3RvEhdyYXlzdGFjay5hc3NldHMudjFiZXRhMSJDCgdQcmV2aWV3Eg4KBmZpZWxkcxgBIAMoCRIoCgRyb3dzGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUJbChJpby5yYXlzdGFjay5hc3NldHNCDFByZXZpZXdQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTE7YXNzZXRzdjFiZXRhMWIGcHJvdG8z", [file_google_protobuf_struct]);
8
16
 
9
17
  /**
10
18
  * Preview contains samples of the metadata.
11
19
  *
12
20
  * @generated from message raystack.assets.v1beta1.Preview
13
21
  */
14
- export class Preview extends Message<Preview> {
22
+ export type Preview = Message<"raystack.assets.v1beta1.Preview"> & {
15
23
  /**
16
24
  * fields is a list of fields.
17
25
  *
18
26
  * @generated from field: repeated string fields = 1;
19
27
  */
20
- fields: string[] = [];
28
+ fields: string[];
21
29
 
22
30
  /**
23
31
  * rows is a multidimensional array containing
@@ -26,33 +34,12 @@ export class Preview extends Message<Preview> {
26
34
  * @generated from field: google.protobuf.ListValue rows = 2;
27
35
  */
28
36
  rows?: ListValue;
37
+ };
29
38
 
30
- constructor(data?: PartialMessage<Preview>) {
31
- super();
32
- proto3.util.initPartial(data, this);
33
- }
34
-
35
- static readonly runtime: typeof proto3 = proto3;
36
- static readonly typeName = "raystack.assets.v1beta1.Preview";
37
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
38
- { no: 1, name: "fields", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
39
- { no: 2, name: "rows", kind: "message", T: ListValue },
40
- ]);
41
-
42
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Preview {
43
- return new Preview().fromBinary(bytes, options);
44
- }
45
-
46
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Preview {
47
- return new Preview().fromJson(jsonValue, options);
48
- }
49
-
50
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Preview {
51
- return new Preview().fromJsonString(jsonString, options);
52
- }
53
-
54
- static equals(a: Preview | PlainMessage<Preview> | undefined, b: Preview | PlainMessage<Preview> | undefined): boolean {
55
- return proto3.util.equals(Preview, a, b);
56
- }
57
- }
39
+ /**
40
+ * Describes the message raystack.assets.v1beta1.Preview.
41
+ * Use `create(PreviewSchema)` to create a new message.
42
+ */
43
+ export const PreviewSchema: GenMessage<Preview> = /*@__PURE__*/
44
+ messageDesc(file_raystack_assets_v1beta1_preview, 0);
58
45
 
@@ -1,63 +1,48 @@
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/properties.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, Struct } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * Describes the file raystack/assets/v1beta1/properties.proto.
12
+ */
13
+ export const file_raystack_assets_v1beta1_properties: GenFile = /*@__PURE__*/
14
+ fileDesc("CihyYXlzdGFjay9hc3NldHMvdjFiZXRhMS9wcm9wZXJ0aWVzLnByb3RvEhdyYXlzdGFjay5hc3NldHMudjFiZXRhMSK3AQoKUHJvcGVydGllcxIMCgR0YWdzGAEgAygJEj8KBmxhYmVscxgCIAMoCzIvLnJheXN0YWNrLmFzc2V0cy52MWJldGExLlByb3BlcnRpZXMuTGFiZWxzRW50cnkSKwoKYXR0cmlidXRlcxgDIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJeChJpby5yYXlzdGFjay5hc3NldHNCD1Byb3BlcnRpZXNQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTE7YXNzZXRzdjFiZXRhMWIGcHJvdG8z", [file_google_protobuf_struct]);
8
15
 
9
16
  /**
10
17
  * @generated from message raystack.assets.v1beta1.Properties
11
18
  */
12
- export class Properties extends Message<Properties> {
19
+ export type Properties = Message<"raystack.assets.v1beta1.Properties"> & {
13
20
  /**
14
21
  * Optional: List of tags the user has.
15
22
  *
16
23
  * @generated from field: repeated string tags = 1;
17
24
  */
18
- tags: string[] = [];
25
+ tags: string[];
19
26
 
20
27
  /**
21
28
  * Optional. List of labels the user has.
22
29
  *
23
30
  * @generated from field: map<string, string> labels = 2;
24
31
  */
25
- labels: { [key: string]: string } = {};
32
+ labels: { [key: string]: string };
26
33
 
27
34
  /**
28
35
  * Optional: List of properties the user has.
29
36
  *
30
37
  * @generated from field: google.protobuf.Struct attributes = 3;
31
38
  */
32
- attributes?: Struct;
33
-
34
- constructor(data?: PartialMessage<Properties>) {
35
- super();
36
- proto3.util.initPartial(data, this);
37
- }
38
-
39
- static readonly runtime: typeof proto3 = proto3;
40
- static readonly typeName = "raystack.assets.v1beta1.Properties";
41
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
42
- { no: 1, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
43
- { no: 2, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
44
- { no: 3, name: "attributes", kind: "message", T: Struct },
45
- ]);
39
+ attributes?: JsonObject;
40
+ };
46
41
 
47
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Properties {
48
- return new Properties().fromBinary(bytes, options);
49
- }
50
-
51
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Properties {
52
- return new Properties().fromJson(jsonValue, options);
53
- }
54
-
55
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Properties {
56
- return new Properties().fromJsonString(jsonString, options);
57
- }
58
-
59
- static equals(a: Properties | PlainMessage<Properties> | undefined, b: Properties | PlainMessage<Properties> | undefined): boolean {
60
- return proto3.util.equals(Properties, a, b);
61
- }
62
- }
42
+ /**
43
+ * Describes the message raystack.assets.v1beta1.Properties.
44
+ * Use `create(PropertiesSchema)` to create a new message.
45
+ */
46
+ export const PropertiesSchema: GenMessage<Properties> = /*@__PURE__*/
47
+ messageDesc(file_raystack_assets_v1beta1_properties, 0);
63
48