@lansweeper/permissions-grpc 0.0.3 → 0.0.5

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.0.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/permissions-grpc@0.0.4...@lansweeper/permissions-grpc@0.0.5) (2021-09-16)
7
+
8
+ **Note:** Version bump only for package @lansweeper/permissions-grpc
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.0.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/permissions-grpc@0.0.3...@lansweeper/permissions-grpc@0.0.4) (2021-09-15)
15
+
16
+ **Note:** Version bump only for package @lansweeper/permissions-grpc
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.0.3](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/permissions-grpc@0.0.2...@lansweeper/permissions-grpc@0.0.3) (2021-09-02)
7
23
 
8
24
  **Note:** Version bump only for package @lansweeper/permissions-grpc
package/buf.yaml CHANGED
@@ -1,15 +1,9 @@
1
- version: v1beta1
2
- build:
3
- roots:
4
- - proto
1
+ version: v1
5
2
  lint:
6
3
  use:
7
4
  - DEFAULT
8
5
  - FILE_LOWER_SNAKE_CASE
9
6
  except:
10
- - ENUM_NO_ALLOW_ALIAS
11
- - IMPORT_NO_PUBLIC
12
- - PACKAGE_AFFINITY
13
7
  - PACKAGE_DIRECTORY_MATCH
14
8
  - PACKAGE_SAME_DIRECTORY
15
9
  - SERVICE_SUFFIX
@@ -19,8 +13,6 @@ lint:
19
13
  - ENUM_ZERO_VALUE_SUFFIX
20
14
  - ENUM_VALUE_PREFIX
21
15
  - PACKAGE_VERSION_SUFFIX
22
- ignore:
23
- - google/protobuf
24
16
  breaking:
25
17
  use:
26
18
  - FILE
@@ -1 +1 @@
1
- {"file":[{"name":"permissions.proto","package":"checkpermission","messageType":[{"name":"CheckPermissionRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"account_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"accountId"},{"name":"action","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"action"},{"name":"trace_id","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"CheckPermissionResponse","field":[{"name":"granted","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"granted"},{"name":"installations","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"installations"},{"name":"asset_scopes","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"assetScopes"},{"name":"derived_permissions","number":4,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"derivedPermissions"}]},{"name":"GetUserPermissionsRequest","field":[{"name":"user_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"userId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"trace_id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"traceId","proto3Optional":true}],"oneofDecl":[{"name":"_trace_id"}]},{"name":"GetUserPermissionsResponse","field":[{"name":"permissions","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".checkpermission.GetUserPermissionsResponse.PermissionsEntry","jsonName":"permissions"}],"nestedType":[{"name":"Permissions","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"installations"},{"name":"asset_scopes","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"assetScopes"}]},{"name":"PermissionsEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".checkpermission.GetUserPermissionsResponse.Permissions","jsonName":"value"}],"options":{"mapEntry":true}}]}],"service":[{"name":"CheckPermissionService","method":[{"name":"CheckPermission","inputType":".checkpermission.CheckPermissionRequest","outputType":".checkpermission.CheckPermissionResponse","options":{}},{"name":"GetUserPermissions","inputType":".checkpermission.GetUserPermissionsRequest","outputType":".checkpermission.GetUserPermissionsResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,36,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,24]},{"path":[4,0],"span":[4,0,9,1]},{"path":[4,0,1],"span":[4,8,30]},{"path":[4,0,2,0],"span":[5,2,21]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,16]},{"path":[4,0,2,0,3],"span":[5,19,20]},{"path":[4,0,2,1],"span":[6,2,24]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,19]},{"path":[4,0,2,1,3],"span":[6,22,23]},{"path":[4,0,2,2],"span":[7,2,20]},{"path":[4,0,2,2,5],"span":[7,2,8]},{"path":[4,0,2,2,1],"span":[7,9,15]},{"path":[4,0,2,2,3],"span":[7,18,19]},{"path":[4,0,2,3],"span":[8,2,22]},{"path":[4,0,2,3,5],"span":[8,2,8]},{"path":[4,0,2,3,1],"span":[8,9,17]},{"path":[4,0,2,3,3],"span":[8,20,21]},{"path":[4,1],"span":[11,0,16,1]},{"path":[4,1,1],"span":[11,8,31]},{"path":[4,1,2,0],"span":[12,2,19]},{"path":[4,1,2,0,5],"span":[12,2,6]},{"path":[4,1,2,0,1],"span":[12,7,14]},{"path":[4,1,2,0,3],"span":[12,17,18]},{"path":[4,1,2,1],"span":[13,2,36]},{"path":[4,1,2,1,4],"span":[13,2,10]},{"path":[4,1,2,1,5],"span":[13,11,17]},{"path":[4,1,2,1,1],"span":[13,18,31]},{"path":[4,1,2,1,3],"span":[13,34,35]},{"path":[4,1,2,2],"span":[14,2,35]},{"path":[4,1,2,2,4],"span":[14,2,10]},{"path":[4,1,2,2,5],"span":[14,11,17]},{"path":[4,1,2,2,1],"span":[14,18,30]},{"path":[4,1,2,2,3],"span":[14,33,34]},{"path":[4,1,2,3],"span":[15,2,42]},{"path":[4,1,2,3,4],"span":[15,2,10]},{"path":[4,1,2,3,5],"span":[15,11,17]},{"path":[4,1,2,3,1],"span":[15,18,37]},{"path":[4,1,2,3,3],"span":[15,40,41]},{"path":[4,2],"span":[18,0,22,1]},{"path":[4,2,1],"span":[18,8,33]},{"path":[4,2,2,0],"span":[19,2,21]},{"path":[4,2,2,0,5],"span":[19,2,8]},{"path":[4,2,2,0,1],"span":[19,9,16]},{"path":[4,2,2,0,3],"span":[19,19,20]},{"path":[4,2,2,1],"span":[20,2,21]},{"path":[4,2,2,1,5],"span":[20,2,8]},{"path":[4,2,2,1,1],"span":[20,9,16]},{"path":[4,2,2,1,3],"span":[20,19,20]},{"path":[4,2,2,2],"span":[21,2,31]},{"path":[4,2,2,2,4],"span":[21,2,10]},{"path":[4,2,2,2,5],"span":[21,11,17]},{"path":[4,2,2,2,1],"span":[21,18,26]},{"path":[4,2,2,2,3],"span":[21,29,30]},{"path":[4,3],"span":[24,0,30,1]},{"path":[4,3,1],"span":[24,8,34]},{"path":[4,3,3,0],"span":[25,2,28,3]},{"path":[4,3,3,0,1],"span":[25,10,21]},{"path":[4,3,3,0,2,0],"span":[26,4,38]},{"path":[4,3,3,0,2,0,4],"span":[26,4,12]},{"path":[4,3,3,0,2,0,5],"span":[26,13,19]},{"path":[4,3,3,0,2,0,1],"span":[26,20,33]},{"path":[4,3,3,0,2,0,3],"span":[26,36,37]},{"path":[4,3,3,0,2,1],"span":[27,4,37]},{"path":[4,3,3,0,2,1,4],"span":[27,4,12]},{"path":[4,3,3,0,2,1,5],"span":[27,13,19]},{"path":[4,3,3,0,2,1,1],"span":[27,20,32]},{"path":[4,3,3,0,2,1,3],"span":[27,35,36]},{"path":[4,3,2,0],"span":[29,2,43]},{"path":[4,3,2,0,6],"span":[29,2,26]},{"path":[4,3,2,0,1],"span":[29,27,38]},{"path":[4,3,2,0,3],"span":[29,41,42]},{"path":[6,0],"span":[33,0,36,1]},{"path":[6,0,1],"span":[33,8,30]},{"path":[6,0,2,0],"span":[34,2,83]},{"path":[6,0,2,0,1],"span":[34,6,21]},{"path":[6,0,2,0,2],"span":[34,23,45]},{"path":[6,0,2,0,3],"span":[34,56,79]},{"path":[6,0,2,1],"span":[35,2,92]},{"path":[6,0,2,1,1],"span":[35,6,24]},{"path":[6,0,2,1,2],"span":[35,26,51]},{"path":[6,0,2,1,3],"span":[35,62,88]}]},"syntax":"proto3"}],"bufbuildImageExtension":{}}
1
+ {"file":[{"name":"proto/permissions.proto","package":"checkpermission","messageType":[{"name":"CheckPermissionRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"account_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"accountId"},{"name":"action","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"action"},{"name":"trace_id","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"CheckPermissionResponse","field":[{"name":"granted","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"granted"},{"name":"installations","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"installations"},{"name":"asset_scopes","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"assetScopes"},{"name":"derived_permissions","number":4,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"derivedPermissions"}]},{"name":"GetUserPermissionsRequest","field":[{"name":"user_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"userId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"trace_id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"traceId","proto3Optional":true}],"oneofDecl":[{"name":"_trace_id"}]},{"name":"GetUserPermissionsResponse","field":[{"name":"permissions","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".checkpermission.GetUserPermissionsResponse.PermissionsEntry","jsonName":"permissions"}],"nestedType":[{"name":"Permissions","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"installations"},{"name":"asset_scopes","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"assetScopes"}]},{"name":"PermissionsEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".checkpermission.GetUserPermissionsResponse.Permissions","jsonName":"value"}],"options":{"mapEntry":true}}]}],"service":[{"name":"CheckPermissionService","method":[{"name":"CheckPermission","inputType":".checkpermission.CheckPermissionRequest","outputType":".checkpermission.CheckPermissionResponse","options":{}},{"name":"GetUserPermissions","inputType":".checkpermission.GetUserPermissionsRequest","outputType":".checkpermission.GetUserPermissionsResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,36,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,24]},{"path":[4,0],"span":[4,0,9,1]},{"path":[4,0,1],"span":[4,8,30]},{"path":[4,0,2,0],"span":[5,2,21]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,16]},{"path":[4,0,2,0,3],"span":[5,19,20]},{"path":[4,0,2,1],"span":[6,2,24]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,19]},{"path":[4,0,2,1,3],"span":[6,22,23]},{"path":[4,0,2,2],"span":[7,2,20]},{"path":[4,0,2,2,5],"span":[7,2,8]},{"path":[4,0,2,2,1],"span":[7,9,15]},{"path":[4,0,2,2,3],"span":[7,18,19]},{"path":[4,0,2,3],"span":[8,2,22]},{"path":[4,0,2,3,5],"span":[8,2,8]},{"path":[4,0,2,3,1],"span":[8,9,17]},{"path":[4,0,2,3,3],"span":[8,20,21]},{"path":[4,1],"span":[11,0,16,1]},{"path":[4,1,1],"span":[11,8,31]},{"path":[4,1,2,0],"span":[12,2,19]},{"path":[4,1,2,0,5],"span":[12,2,6]},{"path":[4,1,2,0,1],"span":[12,7,14]},{"path":[4,1,2,0,3],"span":[12,17,18]},{"path":[4,1,2,1],"span":[13,2,36]},{"path":[4,1,2,1,4],"span":[13,2,10]},{"path":[4,1,2,1,5],"span":[13,11,17]},{"path":[4,1,2,1,1],"span":[13,18,31]},{"path":[4,1,2,1,3],"span":[13,34,35]},{"path":[4,1,2,2],"span":[14,2,35]},{"path":[4,1,2,2,4],"span":[14,2,10]},{"path":[4,1,2,2,5],"span":[14,11,17]},{"path":[4,1,2,2,1],"span":[14,18,30]},{"path":[4,1,2,2,3],"span":[14,33,34]},{"path":[4,1,2,3],"span":[15,2,42]},{"path":[4,1,2,3,4],"span":[15,2,10]},{"path":[4,1,2,3,5],"span":[15,11,17]},{"path":[4,1,2,3,1],"span":[15,18,37]},{"path":[4,1,2,3,3],"span":[15,40,41]},{"path":[4,2],"span":[18,0,22,1]},{"path":[4,2,1],"span":[18,8,33]},{"path":[4,2,2,0],"span":[19,2,21]},{"path":[4,2,2,0,5],"span":[19,2,8]},{"path":[4,2,2,0,1],"span":[19,9,16]},{"path":[4,2,2,0,3],"span":[19,19,20]},{"path":[4,2,2,1],"span":[20,2,21]},{"path":[4,2,2,1,5],"span":[20,2,8]},{"path":[4,2,2,1,1],"span":[20,9,16]},{"path":[4,2,2,1,3],"span":[20,19,20]},{"path":[4,2,2,2],"span":[21,2,31]},{"path":[4,2,2,2,4],"span":[21,2,10]},{"path":[4,2,2,2,5],"span":[21,11,17]},{"path":[4,2,2,2,1],"span":[21,18,26]},{"path":[4,2,2,2,3],"span":[21,29,30]},{"path":[4,3],"span":[24,0,30,1]},{"path":[4,3,1],"span":[24,8,34]},{"path":[4,3,3,0],"span":[25,2,28,3]},{"path":[4,3,3,0,1],"span":[25,10,21]},{"path":[4,3,3,0,2,0],"span":[26,4,38]},{"path":[4,3,3,0,2,0,4],"span":[26,4,12]},{"path":[4,3,3,0,2,0,5],"span":[26,13,19]},{"path":[4,3,3,0,2,0,1],"span":[26,20,33]},{"path":[4,3,3,0,2,0,3],"span":[26,36,37]},{"path":[4,3,3,0,2,1],"span":[27,4,37]},{"path":[4,3,3,0,2,1,4],"span":[27,4,12]},{"path":[4,3,3,0,2,1,5],"span":[27,13,19]},{"path":[4,3,3,0,2,1,1],"span":[27,20,32]},{"path":[4,3,3,0,2,1,3],"span":[27,35,36]},{"path":[4,3,2,0],"span":[29,2,43]},{"path":[4,3,2,0,6],"span":[29,2,26]},{"path":[4,3,2,0,1],"span":[29,27,38]},{"path":[4,3,2,0,3],"span":[29,41,42]},{"path":[6,0],"span":[33,0,36,1]},{"path":[6,0,1],"span":[33,8,30]},{"path":[6,0,2,0],"span":[34,2,83]},{"path":[6,0,2,0,1],"span":[34,6,21]},{"path":[6,0,2,0,2],"span":[34,23,45]},{"path":[6,0,2,0,3],"span":[34,56,79]},{"path":[6,0,2,1],"span":[35,2,92]},{"path":[6,0,2,1,1],"span":[35,6,24]},{"path":[6,0,2,1,2],"span":[35,26,51]},{"path":[6,0,2,1,3],"span":[35,62,88]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -5,7 +5,6 @@
5
5
  /* eslint-disable */
6
6
 
7
7
  import * as grpc from "@grpc/grpc-js";
8
- import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
9
8
  import * as permissions_pb from "./permissions_pb";
10
9
 
11
10
  interface ICheckPermissionServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@lansweeper/permissions-grpc",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
+ "description": "Permissions grpc",
4
5
  "main": "gen-proto/index.js",
5
6
  "types": "gen-proto/index.d.ts",
6
7
  "license": "MIT",
@@ -11,5 +12,5 @@
11
12
  "devDependencies": {
12
13
  "@types/google-protobuf": "^3.15.5"
13
14
  },
14
- "gitHead": "4845c58ca45e5e74d4d4f1ac2dcec46c52d9751d"
15
+ "gitHead": "fddf7c770b9e4a73b069d57613d4e539ad4a5d24"
15
16
  }