You've already forked npm-core-sdk
Latest generation
This commit is contained in:
16
api.ts
16
api.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "api.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -254,7 +254,7 @@ export const GetPermissionsRequest = new GetPermissionsRequest$Type();
|
||||
class GetPermissionsResult$Type extends MessageType<GetPermissionsResult> {
|
||||
constructor() {
|
||||
super("api.GetPermissionsResult", [
|
||||
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 1 /*RepeatType.PACKED*/, T: () => Permission }
|
||||
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetPermissionsResult>): GetPermissionsResult {
|
||||
@@ -364,7 +364,7 @@ export const GetUIPermissionsRequest = new GetUIPermissionsRequest$Type();
|
||||
class GetUIPermissionsResult$Type extends MessageType<GetUIPermissionsResult> {
|
||||
constructor() {
|
||||
super("api.GetUIPermissionsResult", [
|
||||
{ no: 1, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 1 /*RepeatType.PACKED*/, T: () => Permission }
|
||||
{ no: 1, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetUIPermissionsResult>): GetUIPermissionsResult {
|
||||
@@ -458,7 +458,7 @@ export const ListUserUIPermissionsRequest = new ListUserUIPermissionsRequest$Typ
|
||||
class ListUserUIPermissionsResult$Type extends MessageType<ListUserUIPermissionsResult> {
|
||||
constructor() {
|
||||
super("api.ListUserUIPermissionsResult", [
|
||||
{ no: 2, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 1 /*RepeatType.PACKED*/, T: () => UserUIPermissions }
|
||||
{ no: 2, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UserUIPermissions }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListUserUIPermissionsResult>): ListUserUIPermissionsResult {
|
||||
@@ -506,11 +506,11 @@ class RegisterPackageRequest$Type extends MessageType<RegisterPackageRequest> {
|
||||
constructor() {
|
||||
super("api.RegisterPackageRequest", [
|
||||
{ no: 1, name: "PackageName", kind: "scalar", localName: "PackageName", jsonName: "PackageName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Clients", kind: "message", localName: "Clients", jsonName: "Clients", repeat: 1 /*RepeatType.PACKED*/, T: () => ClientAPI },
|
||||
{ no: 2, name: "Clients", kind: "message", localName: "Clients", jsonName: "Clients", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClientAPI },
|
||||
{ no: 3, name: "ForceFullScopeCreation", kind: "scalar", localName: "ForceFullScopeCreation", jsonName: "ForceFullScopeCreation", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 4, name: "Roles", kind: "message", localName: "Roles", jsonName: "Roles", repeat: 1 /*RepeatType.PACKED*/, T: () => Role },
|
||||
{ no: 5, name: "Workflows", kind: "message", localName: "Workflows", jsonName: "Workflows", repeat: 1 /*RepeatType.PACKED*/, T: () => ModuleRegistration },
|
||||
{ no: 6, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 1 /*RepeatType.PACKED*/, T: () => Module }
|
||||
{ no: 4, name: "Roles", kind: "message", localName: "Roles", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Role },
|
||||
{ no: 5, name: "Workflows", kind: "message", localName: "Workflows", jsonName: "Workflows", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ModuleRegistration },
|
||||
{ no: 6, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<RegisterPackageRequest>): RegisterPackageRequest {
|
||||
|
||||
Reference in New Issue
Block a user