You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name,keep_enum_prefix
|
||||
// @generated from protobuf file "resource.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -106,7 +106,7 @@ class Resource$Type extends MessageType<Resource> {
|
||||
constructor() {
|
||||
super("api.Resource", [
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "ParentID", kind: "scalar", localName: "ParentID", jsonName: "ParentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Type", "ParentId"] } } });
|
||||
}
|
||||
@@ -345,7 +345,7 @@ export const DeleteResourceResponse = new DeleteResourceResponse$Type();
|
||||
class ListResourcesRequest$Type extends MessageType<ListResourcesRequest> {
|
||||
constructor() {
|
||||
super("api.ListResourcesRequest", [
|
||||
{ no: 1, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 1, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 2, name: "ParentID", kind: "scalar", localName: "ParentID", jsonName: "ParentID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -447,7 +447,7 @@ export const ListResourcesResponse = new ListResourcesResponse$Type();
|
||||
class CleanResourceRequest$Type extends MessageType<CleanResourceRequest> {
|
||||
constructor() {
|
||||
super("api.CleanResourceRequest", [
|
||||
{ no: 1, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 1, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 2, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user