@alphauspkgs/blue-sdk-ts 1.0.27 → 1.0.28

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.
@@ -3,14 +3,19 @@
3
3
  // @generated from file api/cover/role.proto (package blueapi.api.cover, syntax proto3)
4
4
  /* eslint-disable */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.RoleSchema = exports.file_api_cover_role = void 0;
6
+ exports.PolicySchema = exports.RoleSchema = exports.file_api_cover_role = void 0;
7
7
  const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
8
  /**
9
9
  * Describes the file api/cover/role.proto.
10
10
  */
11
- exports.file_api_cover_role = (0, codegenv2_1.fileDesc)("ChRhcGkvY292ZXIvcm9sZS5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiTQoEUm9sZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhMKC3Blcm1pc3Npb25zGAMgAygJEhYKDmNvc3Rncm91cHNfaWRzGAQgAygJQl0KH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuY292ZXJCDEFwaVJvbGVQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
11
+ exports.file_api_cover_role = (0, codegenv2_1.fileDesc)("ChRhcGkvY292ZXIvcm9sZS5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiZQoEUm9sZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEisKCHBvbGljaWVzGAMgAygLMhkuYmx1ZWFwaS5hcGkuY292ZXIuUG9saWN5EhYKDmNvc3Rncm91cHNfaWRzGAQgAygJImEKBlBvbGljeRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhgKC2Rlc2NyaXB0aW9uGAMgASgJSACIAQESEwoLcGVybWlzc2lvbnMYBCADKAlCDgoMX2Rlc2NyaXB0aW9uQl0KH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuY292ZXJCDEFwaVJvbGVQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
12
12
  /**
13
13
  * Describes the message blueapi.api.cover.Role.
14
14
  * Use `create(RoleSchema)` to create a new message.
15
15
  */
16
16
  exports.RoleSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_role, 0);
17
+ /**
18
+ * Describes the message blueapi.api.cover.Policy.
19
+ * Use `create(PolicySchema)` to create a new message.
20
+ */
21
+ exports.PolicySchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_role, 1);
@@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
10
10
  * Describes the file api/cover/role.proto.
11
11
  */
12
12
  export const file_api_cover_role: GenFile = /*@__PURE__*/
13
- fileDesc("ChRhcGkvY292ZXIvcm9sZS5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiTQoEUm9sZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhMKC3Blcm1pc3Npb25zGAMgAygJEhYKDmNvc3Rncm91cHNfaWRzGAQgAygJQl0KH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuY292ZXJCDEFwaVJvbGVQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
13
+ fileDesc("ChRhcGkvY292ZXIvcm9sZS5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiZQoEUm9sZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEisKCHBvbGljaWVzGAMgAygLMhkuYmx1ZWFwaS5hcGkuY292ZXIuUG9saWN5EhYKDmNvc3Rncm91cHNfaWRzGAQgAygJImEKBlBvbGljeRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhgKC2Rlc2NyaXB0aW9uGAMgASgJSACIAQESEwoLcGVybWlzc2lvbnMYBCADKAlCDgoMX2Rlc2NyaXB0aW9uQl0KH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuY292ZXJCDEFwaVJvbGVQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
14
14
 
15
15
  /**
16
16
  * @generated from message blueapi.api.cover.Role
@@ -27,9 +27,9 @@ export type Role = Message<"blueapi.api.cover.Role"> & {
27
27
  name: string;
28
28
 
29
29
  /**
30
- * @generated from field: repeated string permissions = 3;
30
+ * @generated from field: repeated blueapi.api.cover.Policy policies = 3;
31
31
  */
32
- permissions: string[];
32
+ policies: Policy[];
33
33
 
34
34
  /**
35
35
  * @generated from field: repeated string costgroups_ids = 4;
@@ -44,3 +44,35 @@ export type Role = Message<"blueapi.api.cover.Role"> & {
44
44
  export const RoleSchema: GenMessage<Role> = /*@__PURE__*/
45
45
  messageDesc(file_api_cover_role, 0);
46
46
 
47
+ /**
48
+ * @generated from message blueapi.api.cover.Policy
49
+ */
50
+ export type Policy = Message<"blueapi.api.cover.Policy"> & {
51
+ /**
52
+ * @generated from field: string id = 1;
53
+ */
54
+ id: string;
55
+
56
+ /**
57
+ * @generated from field: string name = 2;
58
+ */
59
+ name: string;
60
+
61
+ /**
62
+ * @generated from field: optional string description = 3;
63
+ */
64
+ description?: string;
65
+
66
+ /**
67
+ * @generated from field: repeated string permissions = 4;
68
+ */
69
+ permissions: string[];
70
+ };
71
+
72
+ /**
73
+ * Describes the message blueapi.api.cover.Policy.
74
+ * Use `create(PolicySchema)` to create a new message.
75
+ */
76
+ export const PolicySchema: GenMessage<Policy> = /*@__PURE__*/
77
+ messageDesc(file_api_cover_role, 1);
78
+