@furo/open-models 1.15.2 → 1.16.0
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/custom-elements.json +3730 -3730
- package/dist/decorators/ModelDecorators.d.ts +2 -0
- package/dist/decorators/ModelDecorators.js.map +1 -1
- package/dist/protoc-gen-open-models/API_OPTIONS.d.ts +5 -0
- package/dist/protoc-gen-open-models/API_OPTIONS.js +11 -0
- package/dist/protoc-gen-open-models/API_OPTIONS.js.map +1 -0
- package/dist/protoc-gen-open-models/BusinessValidators.d.ts +1 -0
- package/dist/protoc-gen-open-models/BusinessValidators.js +201 -0
- package/dist/protoc-gen-open-models/BusinessValidators.js.map +1 -0
- package/dist/protoc-gen-open-models/CustomPrototypes.d.ts +1 -0
- package/dist/protoc-gen-open-models/CustomPrototypes.js +17 -0
- package/dist/protoc-gen-open-models/CustomPrototypes.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/Colour.d.ts +61 -0
- package/dist/protoc-gen-open-models/furo/cube/Colour.js +110 -0
- package/dist/protoc-gen-open-models/furo/cube/Colour.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.d.ts +80 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.js +131 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeEntity.d.ts +57 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeEntity.js +94 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeEntity.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeService.d.ts +12 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeService.js +14 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeService.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.d.ts +31 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js +58 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.d.ts +26 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js +57 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.d.ts +44 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js +79 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.d.ts +26 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js +57 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.d.ts +37 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js +73 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.d.ts +26 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js +57 -0
- package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/Materials.d.ts +12 -0
- package/dist/protoc-gen-open-models/furo/cube/Materials.js +21 -0
- package/dist/protoc-gen-open-models/furo/cube/Materials.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/cube/Wrappers.d.ts +65 -0
- package/dist/protoc-gen-open-models/furo/cube/Wrappers.js +168 -0
- package/dist/protoc-gen-open-models/furo/cube/Wrappers.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.d.ts +50 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.js +83 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.d.ts +50 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.js +83 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.d.ts +74 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.js +96 -0
- package/dist/protoc-gen-open-models/furo/fat/Any.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Bool.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.js +76 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Bytes.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/DecimalRange.d.ts +58 -0
- package/dist/protoc-gen-open-models/furo/fat/DecimalRange.js +82 -0
- package/dist/protoc-gen-open-models/furo/fat/DecimalRange.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Double.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.js +76 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.d.ts +57 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.js +78 -0
- package/dist/protoc-gen-open-models/furo/fat/Empty.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.js +76 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Float.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.js +76 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Int32.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.js +76 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Int64.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/String.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/String.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/String.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint32.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.js +75 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.d.ts +68 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.js +94 -0
- package/dist/protoc-gen-open-models/furo/fat/Uint64.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/BookingCenter.d.ts +11 -0
- package/dist/protoc-gen-open-models/furo/type/BookingCenter.js +15 -0
- package/dist/protoc-gen-open-models/furo/type/BookingCenter.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.d.ts +75 -0
- package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.js +230 -0
- package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Decimal.d.ts +37 -0
- package/dist/protoc-gen-open-models/furo/type/Decimal.js +61 -0
- package/dist/protoc-gen-open-models/furo/type/Decimal.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/DecimalB.d.ts +37 -0
- package/dist/protoc-gen-open-models/furo/type/DecimalB.js +61 -0
- package/dist/protoc-gen-open-models/furo/type/DecimalB.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/DecimalRange.d.ts +58 -0
- package/dist/protoc-gen-open-models/furo/type/DecimalRange.js +82 -0
- package/dist/protoc-gen-open-models/furo/type/DecimalRange.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/DeepRecursion.d.ts +31 -0
- package/dist/protoc-gen-open-models/furo/type/DeepRecursion.js +72 -0
- package/dist/protoc-gen-open-models/furo/type/DeepRecursion.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.d.ts +30 -0
- package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.js +70 -0
- package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Defaults.d.ts +111 -0
- package/dist/protoc-gen-open-models/furo/type/Defaults.js +222 -0
- package/dist/protoc-gen-open-models/furo/type/Defaults.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.d.ts +30 -0
- package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.js +70 -0
- package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Identifier.d.ts +117 -0
- package/dist/protoc-gen-open-models/furo/type/Identifier.js +215 -0
- package/dist/protoc-gen-open-models/furo/type/Identifier.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Numeric.d.ts +42 -0
- package/dist/protoc-gen-open-models/furo/type/Numeric.js +81 -0
- package/dist/protoc-gen-open-models/furo/type/Numeric.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Numeric64.d.ts +47 -0
- package/dist/protoc-gen-open-models/furo/type/Numeric64.js +95 -0
- package/dist/protoc-gen-open-models/furo/type/Numeric64.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Other.d.ts +26 -0
- package/dist/protoc-gen-open-models/furo/type/Other.js +57 -0
- package/dist/protoc-gen-open-models/furo/type/Other.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/RefSystem.d.ts +13 -0
- package/dist/protoc-gen-open-models/furo/type/RefSystem.js +17 -0
- package/dist/protoc-gen-open-models/furo/type/RefSystem.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/RefType.d.ts +53 -0
- package/dist/protoc-gen-open-models/furo/type/RefType.js +57 -0
- package/dist/protoc-gen-open-models/furo/type/RefType.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Tree.d.ts +53 -0
- package/dist/protoc-gen-open-models/furo/type/Tree.js +90 -0
- package/dist/protoc-gen-open-models/furo/type/Tree.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Uints.d.ts +46 -0
- package/dist/protoc-gen-open-models/furo/type/Uints.js +113 -0
- package/dist/protoc-gen-open-models/furo/type/Uints.js.map +1 -0
- package/dist/protoc-gen-open-models/furo/type/Wrappers.d.ts +65 -0
- package/dist/protoc-gen-open-models/furo/type/Wrappers.js +168 -0
- package/dist/protoc-gen-open-models/furo/type/Wrappers.js.map +1 -0
- package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.d.ts +45 -0
- package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.js +77 -0
- package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.js.map +1 -0
- package/dist/protoc-gen-open-models/google/api/Http.d.ts +66 -0
- package/dist/protoc-gen-open-models/google/api/Http.js +93 -0
- package/dist/protoc-gen-open-models/google/api/Http.js.map +1 -0
- package/dist/protoc-gen-open-models/google/api/HttpRule.d.ts +985 -0
- package/dist/protoc-gen-open-models/google/api/HttpRule.js +514 -0
- package/dist/protoc-gen-open-models/google/api/HttpRule.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/Any.d.ts +356 -0
- package/dist/protoc-gen-open-models/google/protobuf/Any.js +217 -0
- package/dist/protoc-gen-open-models/google/protobuf/Any.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/BoolValue.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/BoolValue.js +62 -0
- package/dist/protoc-gen-open-models/google/protobuf/BoolValue.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/BytesValue.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/BytesValue.js +62 -0
- package/dist/protoc-gen-open-models/google/protobuf/BytesValue.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.d.ts +36 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.js +85 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.d.ts +30 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.js +70 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.d.ts +87 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.js +194 -0
- package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.js +63 -0
- package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/Edition.d.ts +11 -0
- package/dist/protoc-gen-open-models/google/protobuf/Edition.js +26 -0
- package/dist/protoc-gen-open-models/google/protobuf/Edition.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.d.ts +30 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.js +71 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.d.ts +69 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.js +127 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.d.ts +95 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.js +143 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.d.ts +39 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.js +87 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.d.ts +76 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.js +120 -0
- package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.d.ts +81 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.js +132 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.d.ts +4 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.js +8 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.d.ts +76 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.js +120 -0
- package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.js +15 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.d.ts +6 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.js +16 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.js +15 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.js +15 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.js +15 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.js +15 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.d.ts +74 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.js +140 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.d.ts +32 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.js +73 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.d.ts +65 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.js +100 -0
- package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.js +10 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.d.ts +20 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.js +25 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.d.ts +189 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.js +282 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.js +9 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.d.ts +31 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.js +71 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.js +9 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.js +9 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.d.ts +12 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.js +16 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.d.ts +264 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.js +364 -0
- package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.d.ts +151 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.js +262 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.d.ts +32 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.js +61 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.js +9 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileOptions.d.ts +333 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileOptions.js +482 -0
- package/dist/protoc-gen-open-models/google/protobuf/FileOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/FloatValue.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/FloatValue.js +62 -0
- package/dist/protoc-gen-open-models/google/protobuf/FloatValue.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.js +12 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.d.ts +78 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.js +130 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.d.ts +43 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.js +66 -0
- package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/Int32Value.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/Int32Value.js +62 -0
- package/dist/protoc-gen-open-models/google/protobuf/Int32Value.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/Int64Value.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/Int64Value.js +62 -0
- package/dist/protoc-gen-open-models/google/protobuf/Int64Value.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.d.ts +201 -0
- package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.js +259 -0
- package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.d.ts +74 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.js +138 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.d.ts +5 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.js +9 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.d.ts +67 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.js +115 -0
- package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.d.ts +34 -0
- package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.js +73 -0
- package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.d.ts +44 -0
- package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.js +77 -0
- package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.js +87 -0
- package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.d.ts +61 -0
- package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.js +99 -0
- package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.d.ts +207 -0
- package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.js +262 -0
- package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.d.ts +122 -0
- package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.js +147 -0
- package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/StringValue.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/StringValue.js +63 -0
- package/dist/protoc-gen-open-models/google/protobuf/StringValue.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.js +63 -0
- package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.d.ts +40 -0
- package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.js +63 -0
- package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.d.ts +30 -0
- package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.js +70 -0
- package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.js.map +1 -0
- package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.d.ts +82 -0
- package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.js +153 -0
- package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.js.map +1 -0
- package/dist/protoc-gen-open-models/init.d.ts +10 -0
- package/dist/protoc-gen-open-models/init.js +10 -0
- package/dist/protoc-gen-open-models/init.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.d.ts +31 -0
- package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.js +71 -0
- package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Any.d.ts +30 -0
- package/dist/protoc-gen-open-models/openapiv3/Any.js +70 -0
- package/dist/protoc-gen-open-models/openapiv3/Any.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Callback.d.ts +35 -0
- package/dist/protoc-gen-open-models/openapiv3/Callback.js +74 -0
- package/dist/protoc-gen-open-models/openapiv3/Callback.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Components.d.ts +83 -0
- package/dist/protoc-gen-open-models/openapiv3/Components.js +194 -0
- package/dist/protoc-gen-open-models/openapiv3/Components.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Contact.d.ts +44 -0
- package/dist/protoc-gen-open-models/openapiv3/Contact.js +101 -0
- package/dist/protoc-gen-open-models/openapiv3/Contact.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/DefaultType.d.ts +35 -0
- package/dist/protoc-gen-open-models/openapiv3/DefaultType.js +85 -0
- package/dist/protoc-gen-open-models/openapiv3/DefaultType.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Discriminator.d.ts +40 -0
- package/dist/protoc-gen-open-models/openapiv3/Discriminator.js +89 -0
- package/dist/protoc-gen-open-models/openapiv3/Discriminator.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Document.d.ts +73 -0
- package/dist/protoc-gen-open-models/openapiv3/Document.js +176 -0
- package/dist/protoc-gen-open-models/openapiv3/Document.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Encoding.d.ts +55 -0
- package/dist/protoc-gen-open-models/openapiv3/Encoding.js +130 -0
- package/dist/protoc-gen-open-models/openapiv3/Encoding.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Encodings.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/Encodings.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/Encodings.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Example.d.ts +47 -0
- package/dist/protoc-gen-open-models/openapiv3/Example.js +114 -0
- package/dist/protoc-gen-open-models/openapiv3/Example.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Expression.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/Expression.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/Expression.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.d.ts +39 -0
- package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.js +88 -0
- package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Header.d.ts +88 -0
- package/dist/protoc-gen-open-models/openapiv3/Header.js +217 -0
- package/dist/protoc-gen-open-models/openapiv3/Header.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Info.d.ts +66 -0
- package/dist/protoc-gen-open-models/openapiv3/Info.js +159 -0
- package/dist/protoc-gen-open-models/openapiv3/Info.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ItemsItem.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/ItemsItem.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/ItemsItem.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/License.d.ts +39 -0
- package/dist/protoc-gen-open-models/openapiv3/License.js +87 -0
- package/dist/protoc-gen-open-models/openapiv3/License.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Link.d.ts +61 -0
- package/dist/protoc-gen-open-models/openapiv3/Link.js +145 -0
- package/dist/protoc-gen-open-models/openapiv3/Link.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/MediaType.d.ts +53 -0
- package/dist/protoc-gen-open-models/openapiv3/MediaType.js +119 -0
- package/dist/protoc-gen-open-models/openapiv3/MediaType.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/MediaTypes.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/MediaTypes.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/MediaTypes.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedAny.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedAny.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedAny.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.js +78 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.js +78 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.js +78 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.js +78 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.js +78 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedString.d.ts +45 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedString.js +77 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedString.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.d.ts +46 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.js +79 -0
- package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/OauthFlow.d.ts +50 -0
- package/dist/protoc-gen-open-models/openapiv3/OauthFlow.js +116 -0
- package/dist/protoc-gen-open-models/openapiv3/OauthFlow.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/OauthFlows.d.ts +50 -0
- package/dist/protoc-gen-open-models/openapiv3/OauthFlows.js +116 -0
- package/dist/protoc-gen-open-models/openapiv3/OauthFlows.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Object.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/Object.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/Object.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Operation.d.ts +96 -0
- package/dist/protoc-gen-open-models/openapiv3/Operation.js +234 -0
- package/dist/protoc-gen-open-models/openapiv3/Operation.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Parameter.d.ts +98 -0
- package/dist/protoc-gen-open-models/openapiv3/Parameter.js +245 -0
- package/dist/protoc-gen-open-models/openapiv3/Parameter.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/PathItem.d.ts +97 -0
- package/dist/protoc-gen-open-models/openapiv3/PathItem.js +244 -0
- package/dist/protoc-gen-open-models/openapiv3/PathItem.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Paths.d.ts +35 -0
- package/dist/protoc-gen-open-models/openapiv3/Paths.js +74 -0
- package/dist/protoc-gen-open-models/openapiv3/Paths.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Properties.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/Properties.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/Properties.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Reference.d.ts +38 -0
- package/dist/protoc-gen-open-models/openapiv3/Reference.js +86 -0
- package/dist/protoc-gen-open-models/openapiv3/Reference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBody.d.ts +45 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBody.js +102 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBody.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.js +72 -0
- package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Response.d.ts +52 -0
- package/dist/protoc-gen-open-models/openapiv3/Response.js +118 -0
- package/dist/protoc-gen-open-models/openapiv3/Response.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Responses.d.ts +41 -0
- package/dist/protoc-gen-open-models/openapiv3/Responses.js +89 -0
- package/dist/protoc-gen-open-models/openapiv3/Responses.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Schema.d.ts +213 -0
- package/dist/protoc-gen-open-models/openapiv3/Schema.js +558 -0
- package/dist/protoc-gen-open-models/openapiv3/Schema.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.js +73 -0
- package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.d.ts +29 -0
- package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.js +60 -0
- package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.d.ts +70 -0
- package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.js +173 -0
- package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.d.ts +32 -0
- package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.js +72 -0
- package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Server.d.ts +45 -0
- package/dist/protoc-gen-open-models/openapiv3/Server.js +101 -0
- package/dist/protoc-gen-open-models/openapiv3/Server.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ServerVariable.d.ts +44 -0
- package/dist/protoc-gen-open-models/openapiv3/ServerVariable.js +102 -0
- package/dist/protoc-gen-open-models/openapiv3/ServerVariable.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/ServerVariables.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/ServerVariables.js +58 -0
- package/dist/protoc-gen-open-models/openapiv3/ServerVariables.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.d.ts +38 -0
- package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.js +86 -0
- package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/StringArray.d.ts +25 -0
- package/dist/protoc-gen-open-models/openapiv3/StringArray.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/StringArray.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Strings.d.ts +26 -0
- package/dist/protoc-gen-open-models/openapiv3/Strings.js +57 -0
- package/dist/protoc-gen-open-models/openapiv3/Strings.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Tag.d.ts +45 -0
- package/dist/protoc-gen-open-models/openapiv3/Tag.js +102 -0
- package/dist/protoc-gen-open-models/openapiv3/Tag.js.map +1 -0
- package/dist/protoc-gen-open-models/openapiv3/Xml.d.ts +54 -0
- package/dist/protoc-gen-open-models/openapiv3/Xml.js +129 -0
- package/dist/protoc-gen-open-models/openapiv3/Xml.js.map +1 -0
- package/dist/web-components/furo-type-renderer.d.ts +6 -0
- package/dist/web-components/furo-type-renderer.js +3 -0
- package/dist/web-components/furo-type-renderer.js.map +1 -0
- package/dist/web-components/impl/TypeRenderer/TypeRenderer.d.ts +158 -0
- package/dist/web-components/impl/TypeRenderer/TypeRenderer.js +309 -0
- package/dist/web-components/impl/TypeRenderer/TypeRenderer.js.map +1 -0
- package/dist/web-components/impl/TypeRenderer/index.d.ts +6 -0
- package/dist/web-components/impl/TypeRenderer/index.js +3 -0
- package/dist/web-components/impl/TypeRenderer/index.js.map +1 -0
- package/package.json +18 -15
- package/tsconfig.json +0 -44
- /package/dist/decorators/{defaultServiceEventHandlers.d.ts → DefaultServiceEventHandlers.d.ts} +0 -0
- /package/dist/decorators/{defaultServiceEventHandlers.js → DefaultServiceEventHandlers.js} +0 -0
- /package/dist/decorators/{defaultServiceEventHandlers.js.map → DefaultServiceEventHandlers.js.map} +0 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
import { BOOLEAN, ENUM, FieldNode, INT32, Registry, STRING, } from '@furo/open-models/dist/index';
|
|
4
|
+
import { FieldDescriptorProtoLabel as GoogleProtobufFieldDescriptorProtoLabel } from './FieldDescriptorProto.Label.js';
|
|
5
|
+
import { FieldDescriptorProtoType as GoogleProtobufFieldDescriptorProtoType } from './FieldDescriptorProto.Type.js';
|
|
6
|
+
import { FieldOptions as GoogleProtobufFieldOptions, } from './FieldOptions.js';
|
|
7
|
+
/**
|
|
8
|
+
* FieldDescriptorProto
|
|
9
|
+
* Describes a field within a message.
|
|
10
|
+
*/
|
|
11
|
+
export class FieldDescriptorProto extends FieldNode {
|
|
12
|
+
constructor(initData, parent, parentAttributeName) {
|
|
13
|
+
super(undefined, parent, parentAttributeName);
|
|
14
|
+
this.__meta.typeName = 'google.protobuf.FieldDescriptorProto';
|
|
15
|
+
this.__meta.description =
|
|
16
|
+
'FieldDescriptorProto Describes a field within a message.';
|
|
17
|
+
this.__meta.nodeFields = [
|
|
18
|
+
{
|
|
19
|
+
fieldName: 'name',
|
|
20
|
+
protoName: 'name',
|
|
21
|
+
FieldConstructor: STRING,
|
|
22
|
+
constraints: {},
|
|
23
|
+
description: '',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
fieldName: 'number',
|
|
27
|
+
protoName: 'number',
|
|
28
|
+
FieldConstructor: INT32,
|
|
29
|
+
constraints: {},
|
|
30
|
+
description: '',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
fieldName: 'label',
|
|
34
|
+
protoName: 'label',
|
|
35
|
+
FieldConstructor: (ENUM),
|
|
36
|
+
constraints: {},
|
|
37
|
+
description: '',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
fieldName: 'type',
|
|
41
|
+
protoName: 'type',
|
|
42
|
+
FieldConstructor: (ENUM),
|
|
43
|
+
constraints: {},
|
|
44
|
+
description: 'If type_name is set, this need not be set. If both this and type_name\n are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
fieldName: 'typeName',
|
|
48
|
+
protoName: 'type_name',
|
|
49
|
+
FieldConstructor: STRING,
|
|
50
|
+
constraints: {},
|
|
51
|
+
description: "For message and enum types, this is the name of the type. If the name\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n rules are used to find the type (i.e. first the nested types within this\n message are searched, then within the parent, on up to the root\n namespace).",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
fieldName: 'extendee',
|
|
55
|
+
protoName: 'extendee',
|
|
56
|
+
FieldConstructor: STRING,
|
|
57
|
+
constraints: {},
|
|
58
|
+
description: 'For extensions, this is the name of the type being extended. It is\n resolved in the same manner as type_name.',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
fieldName: 'defaultValue',
|
|
62
|
+
protoName: 'default_value',
|
|
63
|
+
FieldConstructor: STRING,
|
|
64
|
+
constraints: {},
|
|
65
|
+
description: 'For numeric types, contains the original text representation of the value.\n For booleans, "true" or "false".\n For strings, contains the default text contents (not escaped in any way).\n For bytes, contains the C escaped value. All bytes >= 128 are escaped.',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
fieldName: 'oneofIndex',
|
|
69
|
+
protoName: 'oneof_index',
|
|
70
|
+
FieldConstructor: INT32,
|
|
71
|
+
constraints: {},
|
|
72
|
+
description: "If set, gives the index of a oneof in the containing type's oneof_decl\n list. This field is a member of that oneof.",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
fieldName: 'jsonName',
|
|
76
|
+
protoName: 'json_name',
|
|
77
|
+
FieldConstructor: STRING,
|
|
78
|
+
constraints: {},
|
|
79
|
+
description: "JSON name of this field. The value is set by protocol compiler. If the\n user has set a \"json_name\" option on this field, that option's value\n will be used. Otherwise, it's deduced from the field's name by converting\n it to camelCase.",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
fieldName: 'options',
|
|
83
|
+
protoName: 'options',
|
|
84
|
+
FieldConstructor: GoogleProtobufFieldOptions,
|
|
85
|
+
constraints: {},
|
|
86
|
+
description: '',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
fieldName: 'proto3Optional',
|
|
90
|
+
protoName: 'proto3_optional',
|
|
91
|
+
FieldConstructor: BOOLEAN,
|
|
92
|
+
constraints: {},
|
|
93
|
+
description: 'If true, this is a proto3 "optional". When a proto3 field is optional, it\n tracks presence regardless of field type.\n\n When proto3_optional is true, this field must be belong to a oneof to\n signal to old proto3 clients that presence is tracked for this field. This\n oneof is known as a "synthetic" oneof, and this field must be its sole\n member (each proto3 optional field gets its own synthetic oneof). Synthetic\n oneofs exist in the descriptor only, and do not generate any API. Synthetic\n oneofs must be ordered after all "real" oneofs.\n\n For message fields, proto3_optional doesn\'t create any semantic change,\n since non-repeated message fields always track presence. However it still\n indicates the semantic detail of whether the user wrote "optional" or not.\n This can be useful for round-tripping the .proto file. For consistency we\n give message fields a synthetic oneof also, even though it is not required\n to track presence. This is especially important because the parser can\'t\n tell if a field is a message or an enum, so it must always create a\n synthetic oneof.\n\n Proto2 optional fields do not set this flag, because they already indicate\n optional with `LABEL_OPTIONAL`.',
|
|
94
|
+
},
|
|
95
|
+
];
|
|
96
|
+
// Initialize the fields
|
|
97
|
+
this._name = new STRING(undefined, this, 'name');
|
|
98
|
+
this._number = new INT32(undefined, this, 'number');
|
|
99
|
+
this._label = new ENUM(undefined, GoogleProtobufFieldDescriptorProtoLabel, GoogleProtobufFieldDescriptorProtoLabel.LABEL_OPTIONAL, this, 'label');
|
|
100
|
+
// If type_name is set, this need not be set. If both this and type_name
|
|
101
|
+
// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
102
|
+
this._type = new ENUM(undefined, GoogleProtobufFieldDescriptorProtoType, GoogleProtobufFieldDescriptorProtoType.TYPE_DOUBLE, this, 'type');
|
|
103
|
+
// For message and enum types, this is the name of the type. If the name
|
|
104
|
+
// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
105
|
+
// rules are used to find the type (i.e. first the nested types within this
|
|
106
|
+
// message are searched, then within the parent, on up to the root
|
|
107
|
+
// namespace).
|
|
108
|
+
this._typeName = new STRING(undefined, this, 'typeName');
|
|
109
|
+
// For extensions, this is the name of the type being extended. It is
|
|
110
|
+
// resolved in the same manner as type_name.
|
|
111
|
+
this._extendee = new STRING(undefined, this, 'extendee');
|
|
112
|
+
// For numeric types, contains the original text representation of the value.
|
|
113
|
+
// For booleans, "true" or "false".
|
|
114
|
+
// For strings, contains the default text contents (not escaped in any way).
|
|
115
|
+
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
116
|
+
this._defaultValue = new STRING(undefined, this, 'defaultValue');
|
|
117
|
+
// If set, gives the index of a oneof in the containing type's oneof_decl
|
|
118
|
+
// list. This field is a member of that oneof.
|
|
119
|
+
this._oneofIndex = new INT32(undefined, this, 'oneofIndex');
|
|
120
|
+
// JSON name of this field. The value is set by protocol compiler. If the
|
|
121
|
+
// user has set a "json_name" option on this field, that option's value
|
|
122
|
+
// will be used. Otherwise, it's deduced from the field's name by converting
|
|
123
|
+
// it to camelCase.
|
|
124
|
+
this._jsonName = new STRING(undefined, this, 'jsonName');
|
|
125
|
+
this._options = new GoogleProtobufFieldOptions(undefined, this, 'options');
|
|
126
|
+
// If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
127
|
+
// tracks presence regardless of field type.
|
|
128
|
+
//
|
|
129
|
+
// When proto3_optional is true, this field must be belong to a oneof to
|
|
130
|
+
// signal to old proto3 clients that presence is tracked for this field. This
|
|
131
|
+
// oneof is known as a "synthetic" oneof, and this field must be its sole
|
|
132
|
+
// member (each proto3 optional field gets its own synthetic oneof). Synthetic
|
|
133
|
+
// oneofs exist in the descriptor only, and do not generate any API. Synthetic
|
|
134
|
+
// oneofs must be ordered after all "real" oneofs.
|
|
135
|
+
//
|
|
136
|
+
// For message fields, proto3_optional doesn't create any semantic change,
|
|
137
|
+
// since non-repeated message fields always track presence. However it still
|
|
138
|
+
// indicates the semantic detail of whether the user wrote "optional" or not.
|
|
139
|
+
// This can be useful for round-tripping the .proto file. For consistency we
|
|
140
|
+
// give message fields a synthetic oneof also, even though it is not required
|
|
141
|
+
// to track presence. This is especially important because the parser can't
|
|
142
|
+
// tell if a field is a message or an enum, so it must always create a
|
|
143
|
+
// synthetic oneof.
|
|
144
|
+
//
|
|
145
|
+
// Proto2 optional fields do not set this flag, because they already indicate
|
|
146
|
+
// optional with `LABEL_OPTIONAL`.
|
|
147
|
+
this._proto3Optional = new BOOLEAN(undefined, this, 'proto3Optional');
|
|
148
|
+
// Set required fields
|
|
149
|
+
[].forEach(fieldName => {
|
|
150
|
+
this[fieldName].__meta.required = true;
|
|
151
|
+
});
|
|
152
|
+
// Default values from openAPI annotations
|
|
153
|
+
this.__defaultValues = {};
|
|
154
|
+
// Initialize the fields with init data
|
|
155
|
+
if (initData !== undefined) {
|
|
156
|
+
this.__fromLiteral({ ...this.__defaultValues, ...initData });
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
this.__fromLiteral(this.__defaultValues);
|
|
160
|
+
}
|
|
161
|
+
// Set readonly fields after the init, so child nodes are readonly too
|
|
162
|
+
[].forEach(fieldName => {
|
|
163
|
+
this[fieldName].__readonly =
|
|
164
|
+
true;
|
|
165
|
+
});
|
|
166
|
+
this.__meta.isPristine = true;
|
|
167
|
+
}
|
|
168
|
+
get name() {
|
|
169
|
+
return this._name;
|
|
170
|
+
}
|
|
171
|
+
set name(v) {
|
|
172
|
+
this.__PrimitivesSetter(this._name, v);
|
|
173
|
+
}
|
|
174
|
+
get number() {
|
|
175
|
+
return this._number;
|
|
176
|
+
}
|
|
177
|
+
set number(v) {
|
|
178
|
+
this.__PrimitivesSetter(this._number, v);
|
|
179
|
+
}
|
|
180
|
+
get label() {
|
|
181
|
+
return this._label;
|
|
182
|
+
}
|
|
183
|
+
set label(v) {
|
|
184
|
+
this.__TypeSetter(this._label, v);
|
|
185
|
+
}
|
|
186
|
+
// If type_name is set, this need not be set. If both this and type_name
|
|
187
|
+
// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
188
|
+
get type() {
|
|
189
|
+
return this._type;
|
|
190
|
+
}
|
|
191
|
+
set type(v) {
|
|
192
|
+
this.__TypeSetter(this._type, v);
|
|
193
|
+
}
|
|
194
|
+
// For message and enum types, this is the name of the type. If the name
|
|
195
|
+
// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
196
|
+
// rules are used to find the type (i.e. first the nested types within this
|
|
197
|
+
// message are searched, then within the parent, on up to the root
|
|
198
|
+
// namespace).
|
|
199
|
+
get typeName() {
|
|
200
|
+
return this._typeName;
|
|
201
|
+
}
|
|
202
|
+
set typeName(v) {
|
|
203
|
+
this.__PrimitivesSetter(this._typeName, v);
|
|
204
|
+
}
|
|
205
|
+
// For extensions, this is the name of the type being extended. It is
|
|
206
|
+
// resolved in the same manner as type_name.
|
|
207
|
+
get extendee() {
|
|
208
|
+
return this._extendee;
|
|
209
|
+
}
|
|
210
|
+
set extendee(v) {
|
|
211
|
+
this.__PrimitivesSetter(this._extendee, v);
|
|
212
|
+
}
|
|
213
|
+
// For numeric types, contains the original text representation of the value.
|
|
214
|
+
// For booleans, "true" or "false".
|
|
215
|
+
// For strings, contains the default text contents (not escaped in any way).
|
|
216
|
+
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
217
|
+
get defaultValue() {
|
|
218
|
+
return this._defaultValue;
|
|
219
|
+
}
|
|
220
|
+
set defaultValue(v) {
|
|
221
|
+
this.__PrimitivesSetter(this._defaultValue, v);
|
|
222
|
+
}
|
|
223
|
+
// If set, gives the index of a oneof in the containing type's oneof_decl
|
|
224
|
+
// list. This field is a member of that oneof.
|
|
225
|
+
get oneofIndex() {
|
|
226
|
+
return this._oneofIndex;
|
|
227
|
+
}
|
|
228
|
+
set oneofIndex(v) {
|
|
229
|
+
this.__PrimitivesSetter(this._oneofIndex, v);
|
|
230
|
+
}
|
|
231
|
+
// JSON name of this field. The value is set by protocol compiler. If the
|
|
232
|
+
// user has set a "json_name" option on this field, that option's value
|
|
233
|
+
// will be used. Otherwise, it's deduced from the field's name by converting
|
|
234
|
+
// it to camelCase.
|
|
235
|
+
get jsonName() {
|
|
236
|
+
return this._jsonName;
|
|
237
|
+
}
|
|
238
|
+
set jsonName(v) {
|
|
239
|
+
this.__PrimitivesSetter(this._jsonName, v);
|
|
240
|
+
}
|
|
241
|
+
get options() {
|
|
242
|
+
return this._options;
|
|
243
|
+
}
|
|
244
|
+
set options(v) {
|
|
245
|
+
this.__TypeSetter(this._options, v);
|
|
246
|
+
}
|
|
247
|
+
// If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
248
|
+
// tracks presence regardless of field type.
|
|
249
|
+
//
|
|
250
|
+
// When proto3_optional is true, this field must be belong to a oneof to
|
|
251
|
+
// signal to old proto3 clients that presence is tracked for this field. This
|
|
252
|
+
// oneof is known as a "synthetic" oneof, and this field must be its sole
|
|
253
|
+
// member (each proto3 optional field gets its own synthetic oneof). Synthetic
|
|
254
|
+
// oneofs exist in the descriptor only, and do not generate any API. Synthetic
|
|
255
|
+
// oneofs must be ordered after all "real" oneofs.
|
|
256
|
+
//
|
|
257
|
+
// For message fields, proto3_optional doesn't create any semantic change,
|
|
258
|
+
// since non-repeated message fields always track presence. However it still
|
|
259
|
+
// indicates the semantic detail of whether the user wrote "optional" or not.
|
|
260
|
+
// This can be useful for round-tripping the .proto file. For consistency we
|
|
261
|
+
// give message fields a synthetic oneof also, even though it is not required
|
|
262
|
+
// to track presence. This is especially important because the parser can't
|
|
263
|
+
// tell if a field is a message or an enum, so it must always create a
|
|
264
|
+
// synthetic oneof.
|
|
265
|
+
//
|
|
266
|
+
// Proto2 optional fields do not set this flag, because they already indicate
|
|
267
|
+
// optional with `LABEL_OPTIONAL`.
|
|
268
|
+
get proto3Optional() {
|
|
269
|
+
return this._proto3Optional;
|
|
270
|
+
}
|
|
271
|
+
set proto3Optional(v) {
|
|
272
|
+
this.__PrimitivesSetter(this._proto3Optional, v);
|
|
273
|
+
}
|
|
274
|
+
fromLiteral(data) {
|
|
275
|
+
super.__fromLiteral(data);
|
|
276
|
+
}
|
|
277
|
+
toLiteral() {
|
|
278
|
+
return super.__toLiteral();
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
Registry.register('google.protobuf.FieldDescriptorProto', FieldDescriptorProto);
|
|
282
|
+
//# sourceMappingURL=FieldDescriptorProto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldDescriptorProto.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/FieldDescriptorProto.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,OAAO,EACL,OAAO,EACP,IAAI,EACJ,SAAS,EACT,KAAK,EACL,QAAQ,EACR,MAAM,GACP,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,yBAAyB,IAAI,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AAEpH,OAAO,EAAE,wBAAwB,IAAI,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAEjH,OAAO,EACL,Y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Q,CAAC,CAAS;QAC3B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC7C,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAW,OAAO,CAAC,CAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtC,CAAC;IAED,6EAA6E;IAC7E,6CAA6C;IAC7C,EAAE;IACF,yEAAyE;IACzE,8EAA8E;IAC9E,0EAA0E;IAC1E,+EAA+E;IAC/E,+EAA+E;IAC/E,mDAAmD;IACnD,EAAE;IACF,2EAA2E;IAC3E,6EAA6E;IAC7E,8EAA8E;IAC9E,6EAA6E;IAC7E,8EAA8E;IAC9E,4EAA4E;IAC5E,uEAAuE;IACvE,oBAAoB;IACpB,EAAE;IACF,8EAA8E;IAC9E,mCAAmC;IACnC,IAAW,cAAc;QACvB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED,IAAW,cAAc,CAAC,CAAU;QAClC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;IACnD,CAAC;IAED,WAAW,CAAC,IAA2B;QACrC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,SAAS;QACP,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;CACF;AAED,QAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,oBAAoB,CAAC,CAAC","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nimport {\n BOOLEAN,\n ENUM,\n FieldNode,\n INT32,\n Registry,\n STRING,\n} from '@furo/open-models/dist/index';\nimport { FieldDescriptorProtoLabel as GoogleProtobufFieldDescriptorProtoLabel } from './FieldDescriptorProto.Label';\n\nimport { FieldDescriptorProtoType as GoogleProtobufFieldDescriptorProtoType } from './FieldDescriptorProto.Type';\n\nimport {\n FieldOptions as GoogleProtobufFieldOptions,\n type IFieldOptions as IGoogleProtobufFieldOptions,\n type TFieldOptions as TGoogleProtobufFieldOptions,\n} from './FieldOptions';\n\n/**\n * @interface IFieldDescriptorProto\n * Describes a field within a message.\n */\nexport interface IFieldDescriptorProto {\n name?: string;\n number?: number;\n label?: GoogleProtobufFieldDescriptorProtoLabel | string;\n /**\n * If type_name is set, this need not be set. If both this and type_name\n * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n */\n type?: GoogleProtobufFieldDescriptorProtoType | string;\n /**\n * For message and enum types, this is the name of the type. If the name\n * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n * rules are used to find the type (i.e. first the nested types within this\n * message are searched, then within the parent, on up to the root\n * namespace).\n */\n typeName?: string;\n /**\n * For extensions, this is the name of the type being extended. It is\n * resolved in the same manner as type_name.\n */\n extendee?: string;\n /**\n * For numeric types, contains the original text representation of the value.\n * For booleans, \"true\" or \"false\".\n * For strings, contains the default text contents (not escaped in any way).\n * For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n */\n defaultValue?: string;\n /**\n * If set, gives the index of a oneof in the containing type's oneof_decl\n * list. This field is a member of that oneof.\n */\n oneofIndex?: number;\n /**\n * JSON name of this field. The value is set by protocol compiler. If the\n * user has set a \"json_name\" option on this field, that option's value\n * will be used. Otherwise, it's deduced from the field's name by converting\n * it to camelCase.\n */\n jsonName?: string;\n options?: IGoogleProtobufFieldOptions;\n /**\n * If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n * tracks presence regardless of field type.\n *\n * When proto3_optional is true, this field must be belong to a oneof to\n * signal to old proto3 clients that presence is tracked for this field. This\n * oneof is known as a \"synthetic\" oneof, and this field must be its sole\n * member (each proto3 optional field gets its own synthetic oneof). Synthetic\n * oneofs exist in the descriptor only, and do not generate any API. Synthetic\n * oneofs must be ordered after all \"real\" oneofs.\n *\n * For message fields, proto3_optional doesn't create any semantic change,\n * since non-repeated message fields always track presence. However it still\n * indicates the semantic detail of whether the user wrote \"optional\" or not.\n * This can be useful for round-tripping the .proto file. For consistency we\n * give message fields a synthetic oneof also, even though it is not required\n * to track presence. This is especially important because the parser can't\n * tell if a field is a message or an enum, so it must always create a\n * synthetic oneof.\n *\n * Proto2 optional fields do not set this flag, because they already indicate\n * optional with `LABEL_OPTIONAL`.\n */\n proto3Optional?: boolean;\n}\n\n/**\n * @interface TFieldDescriptorProto\n * Describes a field within a message.\n */\nexport interface TFieldDescriptorProto {\n name?: string;\n number?: number;\n label?: GoogleProtobufFieldDescriptorProtoLabel | string;\n /**\n * If type_name is set, this need not be set. If both this and type_name\n * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n */\n type?: GoogleProtobufFieldDescriptorProtoType | string;\n /**\n * For message and enum types, this is the name of the type. If the name\n * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n * rules are used to find the type (i.e. first the nested types within this\n * message are searched, then within the parent, on up to the root\n * namespace).\n */\n type_name?: string;\n /**\n * For extensions, this is the name of the type being extended. It is\n * resolved in the same manner as type_name.\n */\n extendee?: string;\n /**\n * For numeric types, contains the original text representation of the value.\n * For booleans, \"true\" or \"false\".\n * For strings, contains the default text contents (not escaped in any way).\n * For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n */\n default_value?: string;\n /**\n * If set, gives the index of a oneof in the containing type's oneof_decl\n * list. This field is a member of that oneof.\n */\n oneof_index?: number;\n /**\n * JSON name of this field. The value is set by protocol compiler. If the\n * user has set a \"json_name\" option on this field, that option's value\n * will be used. Otherwise, it's deduced from the field's name by converting\n * it to camelCase.\n */\n json_name?: string;\n options?: TGoogleProtobufFieldOptions;\n /**\n * If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n * tracks presence regardless of field type.\n *\n * When proto3_optional is true, this field must be belong to a oneof to\n * signal to old proto3 clients that presence is tracked for this field. This\n * oneof is known as a \"synthetic\" oneof, and this field must be its sole\n * member (each proto3 optional field gets its own synthetic oneof). Synthetic\n * oneofs exist in the descriptor only, and do not generate any API. Synthetic\n * oneofs must be ordered after all \"real\" oneofs.\n *\n * For message fields, proto3_optional doesn't create any semantic change,\n * since non-repeated message fields always track presence. However it still\n * indicates the semantic detail of whether the user wrote \"optional\" or not.\n * This can be useful for round-tripping the .proto file. For consistency we\n * give message fields a synthetic oneof also, even though it is not required\n * to track presence. This is especially important because the parser can't\n * tell if a field is a message or an enum, so it must always create a\n * synthetic oneof.\n *\n * Proto2 optional fields do not set this flag, because they already indicate\n * optional with `LABEL_OPTIONAL`.\n */\n proto3_optional?: boolean;\n}\n\n/**\n * FieldDescriptorProto\n * Describes a field within a message.\n */\nexport class FieldDescriptorProto extends FieldNode {\n private _name: STRING;\n\n private _number: INT32;\n\n private _label: ENUM<GoogleProtobufFieldDescriptorProtoLabel>;\n\n // If type_name is set, this need not be set. If both this and type_name\n // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n private _type: ENUM<GoogleProtobufFieldDescriptorProtoType>;\n\n // For message and enum types, this is the name of the type. If the name\n // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n // rules are used to find the type (i.e. first the nested types within this\n // message are searched, then within the parent, on up to the root\n // namespace).\n private _typeName: STRING;\n\n // For extensions, this is the name of the type being extended. It is\n // resolved in the same manner as type_name.\n private _extendee: STRING;\n\n // For numeric types, contains the original text representation of the value.\n // For booleans, \"true\" or \"false\".\n // For strings, contains the default text contents (not escaped in any way).\n // For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n private _defaultValue: STRING;\n\n // If set, gives the index of a oneof in the containing type's oneof_decl\n // list. This field is a member of that oneof.\n private _oneofIndex: INT32;\n\n // JSON name of this field. The value is set by protocol compiler. If the\n // user has set a \"json_name\" option on this field, that option's value\n // will be used. Otherwise, it's deduced from the field's name by converting\n // it to camelCase.\n private _jsonName: STRING;\n\n private _options: GoogleProtobufFieldOptions;\n\n // If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n // tracks presence regardless of field type.\n //\n // When proto3_optional is true, this field must be belong to a oneof to\n // signal to old proto3 clients that presence is tracked for this field. This\n // oneof is known as a \"synthetic\" oneof, and this field must be its sole\n // member (each proto3 optional field gets its own synthetic oneof). Synthetic\n // oneofs exist in the descriptor only, and do not generate any API. Synthetic\n // oneofs must be ordered after all \"real\" oneofs.\n //\n // For message fields, proto3_optional doesn't create any semantic change,\n // since non-repeated message fields always track presence. However it still\n // indicates the semantic detail of whether the user wrote \"optional\" or not.\n // This can be useful for round-tripping the .proto file. For consistency we\n // give message fields a synthetic oneof also, even though it is not required\n // to track presence. This is especially important because the parser can't\n // tell if a field is a message or an enum, so it must always create a\n // synthetic oneof.\n //\n // Proto2 optional fields do not set this flag, because they already indicate\n // optional with `LABEL_OPTIONAL`.\n private _proto3Optional: BOOLEAN;\n\n public __defaultValues: IFieldDescriptorProto;\n\n constructor(\n initData?: IFieldDescriptorProto,\n parent?: FieldNode,\n parentAttributeName?: string,\n ) {\n super(undefined, parent, parentAttributeName);\n this.__meta.typeName = 'google.protobuf.FieldDescriptorProto';\n this.__meta.description =\n 'FieldDescriptorProto Describes a field within a message.';\n\n this.__meta.nodeFields = [\n {\n fieldName: 'name',\n protoName: 'name',\n FieldConstructor: STRING,\n constraints: {},\n description: '',\n },\n {\n fieldName: 'number',\n protoName: 'number',\n FieldConstructor: INT32,\n constraints: {},\n description: '',\n },\n {\n fieldName: 'label',\n protoName: 'label',\n FieldConstructor: ENUM<GoogleProtobufFieldDescriptorProtoLabel>,\n constraints: {},\n description: '',\n },\n {\n fieldName: 'type',\n protoName: 'type',\n FieldConstructor: ENUM<GoogleProtobufFieldDescriptorProtoType>,\n constraints: {},\n description:\n 'If type_name is set, this need not be set. If both this and type_name\\n are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.',\n },\n {\n fieldName: 'typeName',\n protoName: 'type_name',\n FieldConstructor: STRING,\n constraints: {},\n description:\n \"For message and enum types, this is the name of the type. If the name\\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\\n rules are used to find the type (i.e. first the nested types within this\\n message are searched, then within the parent, on up to the root\\n namespace).\",\n },\n {\n fieldName: 'extendee',\n protoName: 'extendee',\n FieldConstructor: STRING,\n constraints: {},\n description:\n 'For extensions, this is the name of the type being extended. It is\\n resolved in the same manner as type_name.',\n },\n {\n fieldName: 'defaultValue',\n protoName: 'default_value',\n FieldConstructor: STRING,\n constraints: {},\n description:\n 'For numeric types, contains the original text representation of the value.\\n For booleans, \"true\" or \"false\".\\n For strings, contains the default text contents (not escaped in any way).\\n For bytes, contains the C escaped value. All bytes >= 128 are escaped.',\n },\n {\n fieldName: 'oneofIndex',\n protoName: 'oneof_index',\n FieldConstructor: INT32,\n constraints: {},\n description:\n \"If set, gives the index of a oneof in the containing type's oneof_decl\\n list. This field is a member of that oneof.\",\n },\n {\n fieldName: 'jsonName',\n protoName: 'json_name',\n FieldConstructor: STRING,\n constraints: {},\n description:\n \"JSON name of this field. The value is set by protocol compiler. If the\\n user has set a \\\"json_name\\\" option on this field, that option's value\\n will be used. Otherwise, it's deduced from the field's name by converting\\n it to camelCase.\",\n },\n {\n fieldName: 'options',\n protoName: 'options',\n FieldConstructor: GoogleProtobufFieldOptions,\n constraints: {},\n description: '',\n },\n {\n fieldName: 'proto3Optional',\n protoName: 'proto3_optional',\n FieldConstructor: BOOLEAN,\n constraints: {},\n description:\n 'If true, this is a proto3 \"optional\". When a proto3 field is optional, it\\n tracks presence regardless of field type.\\n\\n When proto3_optional is true, this field must be belong to a oneof to\\n signal to old proto3 clients that presence is tracked for this field. This\\n oneof is known as a \"synthetic\" oneof, and this field must be its sole\\n member (each proto3 optional field gets its own synthetic oneof). Synthetic\\n oneofs exist in the descriptor only, and do not generate any API. Synthetic\\n oneofs must be ordered after all \"real\" oneofs.\\n\\n For message fields, proto3_optional doesn\\'t create any semantic change,\\n since non-repeated message fields always track presence. However it still\\n indicates the semantic detail of whether the user wrote \"optional\" or not.\\n This can be useful for round-tripping the .proto file. For consistency we\\n give message fields a synthetic oneof also, even though it is not required\\n to track presence. This is especially important because the parser can\\'t\\n tell if a field is a message or an enum, so it must always create a\\n synthetic oneof.\\n\\n Proto2 optional fields do not set this flag, because they already indicate\\n optional with `LABEL_OPTIONAL`.',\n },\n ];\n\n // Initialize the fields\n this._name = new STRING(undefined, this, 'name');\n\n this._number = new INT32(undefined, this, 'number');\n\n this._label = new ENUM<GoogleProtobufFieldDescriptorProtoLabel>(\n undefined,\n GoogleProtobufFieldDescriptorProtoLabel,\n GoogleProtobufFieldDescriptorProtoLabel.LABEL_OPTIONAL,\n this,\n 'label',\n );\n\n // If type_name is set, this need not be set. If both this and type_name\n // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n this._type = new ENUM<GoogleProtobufFieldDescriptorProtoType>(\n undefined,\n GoogleProtobufFieldDescriptorProtoType,\n GoogleProtobufFieldDescriptorProtoType.TYPE_DOUBLE,\n this,\n 'type',\n );\n\n // For message and enum types, this is the name of the type. If the name\n // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n // rules are used to find the type (i.e. first the nested types within this\n // message are searched, then within the parent, on up to the root\n // namespace).\n this._typeName = new STRING(undefined, this, 'typeName');\n\n // For extensions, this is the name of the type being extended. It is\n // resolved in the same manner as type_name.\n this._extendee = new STRING(undefined, this, 'extendee');\n\n // For numeric types, contains the original text representation of the value.\n // For booleans, \"true\" or \"false\".\n // For strings, contains the default text contents (not escaped in any way).\n // For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n this._defaultValue = new STRING(undefined, this, 'defaultValue');\n\n // If set, gives the index of a oneof in the containing type's oneof_decl\n // list. This field is a member of that oneof.\n this._oneofIndex = new INT32(undefined, this, 'oneofIndex');\n\n // JSON name of this field. The value is set by protocol compiler. If the\n // user has set a \"json_name\" option on this field, that option's value\n // will be used. Otherwise, it's deduced from the field's name by converting\n // it to camelCase.\n this._jsonName = new STRING(undefined, this, 'jsonName');\n\n this._options = new GoogleProtobufFieldOptions(undefined, this, 'options');\n\n // If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n // tracks presence regardless of field type.\n //\n // When proto3_optional is true, this field must be belong to a oneof to\n // signal to old proto3 clients that presence is tracked for this field. This\n // oneof is known as a \"synthetic\" oneof, and this field must be its sole\n // member (each proto3 optional field gets its own synthetic oneof). Synthetic\n // oneofs exist in the descriptor only, and do not generate any API. Synthetic\n // oneofs must be ordered after all \"real\" oneofs.\n //\n // For message fields, proto3_optional doesn't create any semantic change,\n // since non-repeated message fields always track presence. However it still\n // indicates the semantic detail of whether the user wrote \"optional\" or not.\n // This can be useful for round-tripping the .proto file. For consistency we\n // give message fields a synthetic oneof also, even though it is not required\n // to track presence. This is especially important because the parser can't\n // tell if a field is a message or an enum, so it must always create a\n // synthetic oneof.\n //\n // Proto2 optional fields do not set this flag, because they already indicate\n // optional with `LABEL_OPTIONAL`.\n this._proto3Optional = new BOOLEAN(undefined, this, 'proto3Optional');\n\n // Set required fields\n [].forEach(fieldName => {\n (\n this[fieldName as keyof FieldDescriptorProto] as FieldNode\n ).__meta.required = true;\n });\n\n // Default values from openAPI annotations\n this.__defaultValues = {};\n\n // Initialize the fields with init data\n if (initData !== undefined) {\n this.__fromLiteral({ ...this.__defaultValues, ...initData });\n } else {\n this.__fromLiteral(this.__defaultValues);\n }\n\n // Set readonly fields after the init, so child nodes are readonly too\n [].forEach(fieldName => {\n (this[fieldName as keyof FieldDescriptorProto] as FieldNode).__readonly =\n true;\n });\n\n this.__meta.isPristine = true;\n }\n\n public get name(): STRING {\n return this._name;\n }\n\n public set name(v: string) {\n this.__PrimitivesSetter(this._name, v);\n }\n\n public get number(): INT32 {\n return this._number;\n }\n\n public set number(v: number) {\n this.__PrimitivesSetter(this._number, v);\n }\n\n public get label(): ENUM<GoogleProtobufFieldDescriptorProtoLabel> {\n return this._label;\n }\n\n public set label(v: GoogleProtobufFieldDescriptorProtoLabel) {\n this.__TypeSetter(this._label, v);\n }\n\n // If type_name is set, this need not be set. If both this and type_name\n // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.\n public get type(): ENUM<GoogleProtobufFieldDescriptorProtoType> {\n return this._type;\n }\n\n public set type(v: GoogleProtobufFieldDescriptorProtoType) {\n this.__TypeSetter(this._type, v);\n }\n\n // For message and enum types, this is the name of the type. If the name\n // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n // rules are used to find the type (i.e. first the nested types within this\n // message are searched, then within the parent, on up to the root\n // namespace).\n public get typeName(): STRING {\n return this._typeName;\n }\n\n public set typeName(v: string) {\n this.__PrimitivesSetter(this._typeName, v);\n }\n\n // For extensions, this is the name of the type being extended. It is\n // resolved in the same manner as type_name.\n public get extendee(): STRING {\n return this._extendee;\n }\n\n public set extendee(v: string) {\n this.__PrimitivesSetter(this._extendee, v);\n }\n\n // For numeric types, contains the original text representation of the value.\n // For booleans, \"true\" or \"false\".\n // For strings, contains the default text contents (not escaped in any way).\n // For bytes, contains the C escaped value. All bytes >= 128 are escaped.\n public get defaultValue(): STRING {\n return this._defaultValue;\n }\n\n public set defaultValue(v: string) {\n this.__PrimitivesSetter(this._defaultValue, v);\n }\n\n // If set, gives the index of a oneof in the containing type's oneof_decl\n // list. This field is a member of that oneof.\n public get oneofIndex(): INT32 {\n return this._oneofIndex;\n }\n\n public set oneofIndex(v: number) {\n this.__PrimitivesSetter(this._oneofIndex, v);\n }\n\n // JSON name of this field. The value is set by protocol compiler. If the\n // user has set a \"json_name\" option on this field, that option's value\n // will be used. Otherwise, it's deduced from the field's name by converting\n // it to camelCase.\n public get jsonName(): STRING {\n return this._jsonName;\n }\n\n public set jsonName(v: string) {\n this.__PrimitivesSetter(this._jsonName, v);\n }\n\n public get options(): GoogleProtobufFieldOptions {\n return this._options;\n }\n\n public set options(v: IGoogleProtobufFieldOptions) {\n this.__TypeSetter(this._options, v);\n }\n\n // If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n // tracks presence regardless of field type.\n //\n // When proto3_optional is true, this field must be belong to a oneof to\n // signal to old proto3 clients that presence is tracked for this field. This\n // oneof is known as a \"synthetic\" oneof, and this field must be its sole\n // member (each proto3 optional field gets its own synthetic oneof). Synthetic\n // oneofs exist in the descriptor only, and do not generate any API. Synthetic\n // oneofs must be ordered after all \"real\" oneofs.\n //\n // For message fields, proto3_optional doesn't create any semantic change,\n // since non-repeated message fields always track presence. However it still\n // indicates the semantic detail of whether the user wrote \"optional\" or not.\n // This can be useful for round-tripping the .proto file. For consistency we\n // give message fields a synthetic oneof also, even though it is not required\n // to track presence. This is especially important because the parser can't\n // tell if a field is a message or an enum, so it must always create a\n // synthetic oneof.\n //\n // Proto2 optional fields do not set this flag, because they already indicate\n // optional with `LABEL_OPTIONAL`.\n public get proto3Optional(): BOOLEAN {\n return this._proto3Optional;\n }\n\n public set proto3Optional(v: boolean) {\n this.__PrimitivesSetter(this._proto3Optional, v);\n }\n\n fromLiteral(data: IFieldDescriptorProto) {\n super.__fromLiteral(data);\n }\n\n toLiteral(): IFieldDescriptorProto {\n return super.__toLiteral();\n }\n}\n\nRegistry.register('google.protobuf.FieldDescriptorProto', FieldDescriptorProto);\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
export var FieldOptionsCType;
|
|
4
|
+
(function (FieldOptionsCType) {
|
|
5
|
+
FieldOptionsCType["STRING"] = "STRING";
|
|
6
|
+
FieldOptionsCType["CORD"] = "CORD";
|
|
7
|
+
FieldOptionsCType["STRING_PIECE"] = "STRING_PIECE";
|
|
8
|
+
})(FieldOptionsCType || (FieldOptionsCType = {}));
|
|
9
|
+
//# sourceMappingURL=FieldOptions.CType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldOptions.CType.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/FieldOptions.CType.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,kCAAa,CAAA;IACb,kDAA6B,CAAA;AAC/B,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nexport enum FieldOptionsCType {\n STRING = 'STRING',\n CORD = 'CORD',\n STRING_PIECE = 'STRING_PIECE',\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ENUM, FieldNode, STRING } from '@furo/open-models/dist/index';
|
|
2
|
+
import { Edition as GoogleProtobufEdition } from './Edition.js';
|
|
3
|
+
/**
|
|
4
|
+
* @interface IFieldOptionsEditionDefault
|
|
5
|
+
*/
|
|
6
|
+
export interface IFieldOptionsEditionDefault {
|
|
7
|
+
edition?: GoogleProtobufEdition | string;
|
|
8
|
+
value?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @interface TFieldOptionsEditionDefault
|
|
12
|
+
*/
|
|
13
|
+
export interface TFieldOptionsEditionDefault {
|
|
14
|
+
edition?: GoogleProtobufEdition | string;
|
|
15
|
+
value?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* FieldOptionsEditionDefault
|
|
19
|
+
*/
|
|
20
|
+
export declare class FieldOptionsEditionDefault extends FieldNode {
|
|
21
|
+
private _edition;
|
|
22
|
+
private _value;
|
|
23
|
+
__defaultValues: IFieldOptionsEditionDefault;
|
|
24
|
+
constructor(initData?: IFieldOptionsEditionDefault, parent?: FieldNode, parentAttributeName?: string);
|
|
25
|
+
get edition(): ENUM<GoogleProtobufEdition>;
|
|
26
|
+
set edition(v: GoogleProtobufEdition);
|
|
27
|
+
get value(): STRING;
|
|
28
|
+
set value(v: string);
|
|
29
|
+
fromLiteral(data: IFieldOptionsEditionDefault): void;
|
|
30
|
+
toLiteral(): IFieldOptionsEditionDefault;
|
|
31
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
import { ENUM, FieldNode, Registry, STRING, } from '@furo/open-models/dist/index';
|
|
4
|
+
import { Edition as GoogleProtobufEdition } from './Edition.js';
|
|
5
|
+
/**
|
|
6
|
+
* FieldOptionsEditionDefault
|
|
7
|
+
*/
|
|
8
|
+
export class FieldOptionsEditionDefault extends FieldNode {
|
|
9
|
+
constructor(initData, parent, parentAttributeName) {
|
|
10
|
+
super(undefined, parent, parentAttributeName);
|
|
11
|
+
this.__meta.typeName = 'google.protobuf.FieldOptions.EditionDefault';
|
|
12
|
+
this.__meta.description = 'FieldOptionsEditionDefault';
|
|
13
|
+
this.__meta.nodeFields = [
|
|
14
|
+
{
|
|
15
|
+
fieldName: 'edition',
|
|
16
|
+
protoName: 'edition',
|
|
17
|
+
FieldConstructor: (ENUM),
|
|
18
|
+
constraints: {},
|
|
19
|
+
description: '',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
fieldName: 'value',
|
|
23
|
+
protoName: 'value',
|
|
24
|
+
FieldConstructor: STRING,
|
|
25
|
+
constraints: {},
|
|
26
|
+
description: '',
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
// Initialize the fields
|
|
30
|
+
this._edition = new ENUM(undefined, GoogleProtobufEdition, GoogleProtobufEdition.EDITION_UNKNOWN, this, 'edition');
|
|
31
|
+
this._value = new STRING(undefined, this, 'value');
|
|
32
|
+
// Set required fields
|
|
33
|
+
[].forEach(fieldName => {
|
|
34
|
+
this[fieldName].__meta.required = true;
|
|
35
|
+
});
|
|
36
|
+
// Default values from openAPI annotations
|
|
37
|
+
this.__defaultValues = {};
|
|
38
|
+
// Initialize the fields with init data
|
|
39
|
+
if (initData !== undefined) {
|
|
40
|
+
this.__fromLiteral({ ...this.__defaultValues, ...initData });
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.__fromLiteral(this.__defaultValues);
|
|
44
|
+
}
|
|
45
|
+
// Set readonly fields after the init, so child nodes are readonly too
|
|
46
|
+
[].forEach(fieldName => {
|
|
47
|
+
this[fieldName].__readonly = true;
|
|
48
|
+
});
|
|
49
|
+
this.__meta.isPristine = true;
|
|
50
|
+
}
|
|
51
|
+
get edition() {
|
|
52
|
+
return this._edition;
|
|
53
|
+
}
|
|
54
|
+
set edition(v) {
|
|
55
|
+
this.__TypeSetter(this._edition, v);
|
|
56
|
+
}
|
|
57
|
+
get value() {
|
|
58
|
+
return this._value;
|
|
59
|
+
}
|
|
60
|
+
set value(v) {
|
|
61
|
+
this.__PrimitivesSetter(this._value, v);
|
|
62
|
+
}
|
|
63
|
+
fromLiteral(data) {
|
|
64
|
+
super.__fromLiteral(data);
|
|
65
|
+
}
|
|
66
|
+
toLiteral() {
|
|
67
|
+
return super.__toLiteral();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
Registry.register('google.protobuf.FieldOptions.EditionDefault', FieldOptionsEditionDefault);
|
|
71
|
+
//# sourceMappingURL=FieldOptions.EditionDefault.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldOptions.EditionDefault.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,OAAO,EACL,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,MAAM,GACP,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAkB7D;;GAEG;AACH,MAAM,OAAO,0BAA2B,SAAQ,SAAS;IAOvD,YACE,QAAsC,EACtC,MAAkB,EAClB,mBAA4B;QAE5B,KAAK,CAAC,SAAS,EAAE,MAAM,EAA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CAAC,SAAS,CAAC,EAAE;YAEnB,IAAI,CAAC,SAA6C,CACnD,CAAC,UAAU,GAAG,IAAI,CAAC;QACtB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;IAChC,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAW,OAAO,CAAC,CAAwB;QACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtC,CAAC;IAED,IAAW,KAAK;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAW,KAAK,CAAC,CAAS;QACxB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,WAAW,CAAC,IAAiC;QAC3C,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,SAAS;QACP,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;CACF;AAED,QAAQ,CAAC,QAAQ,CACf,6CAA6C,EAC7C,0BAA0B,CAC3B,CAAC","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nimport {\n ENUM,\n FieldNode,\n Registry,\n STRING,\n} from '@furo/open-models/dist/index';\nimport { Edition as GoogleProtobufEdition } from './Edition';\n\n/**\n * @interface IFieldOptionsEditionDefault\n */\nexport interface IFieldOptionsEditionDefault {\n edition?: GoogleProtobufEdition | string;\n value?: string; // Textproto value.\n}\n\n/**\n * @interface TFieldOptionsEditionDefault\n */\nexport interface TFieldOptionsEditionDefault {\n edition?: GoogleProtobufEdition | string;\n value?: string; // Textproto value.\n}\n\n/**\n * FieldOptionsEditionDefault\n */\nexport class FieldOptionsEditionDefault extends FieldNode {\n private _edition: ENUM<GoogleProtobufEdition>;\n\n private _value: STRING; // Textproto value.\n\n public __defaultValues: IFieldOptionsEditionDefault;\n\n constructor(\n initData?: IFieldOptionsEditionDefault,\n parent?: FieldNode,\n parentAttributeName?: string,\n ) {\n super(undefined, parent, parentAttributeName);\n this.__meta.typeName = 'google.protobuf.FieldOptions.EditionDefault';\n this.__meta.description = 'FieldOptionsEditionDefault';\n\n this.__meta.nodeFields = [\n {\n fieldName: 'edition',\n protoName: 'edition',\n FieldConstructor: ENUM<GoogleProtobufEdition>,\n constraints: {},\n description: '',\n },\n {\n fieldName: 'value',\n protoName: 'value',\n FieldConstructor: STRING,\n constraints: {},\n description: '',\n },\n ];\n\n // Initialize the fields\n this._edition = new ENUM<GoogleProtobufEdition>(\n undefined,\n GoogleProtobufEdition,\n GoogleProtobufEdition.EDITION_UNKNOWN,\n this,\n 'edition',\n );\n\n this._value = new STRING(undefined, this, 'value');\n\n // Set required fields\n [].forEach(fieldName => {\n (\n this[fieldName as keyof FieldOptionsEditionDefault] as FieldNode\n ).__meta.required = true;\n });\n\n // Default values from openAPI annotations\n this.__defaultValues = {};\n\n // Initialize the fields with init data\n if (initData !== undefined) {\n this.__fromLiteral({ ...this.__defaultValues, ...initData });\n } else {\n this.__fromLiteral(this.__defaultValues);\n }\n\n // Set readonly fields after the init, so child nodes are readonly too\n [].forEach(fieldName => {\n (\n this[fieldName as keyof FieldOptionsEditionDefault] as FieldNode\n ).__readonly = true;\n });\n\n this.__meta.isPristine = true;\n }\n\n public get edition(): ENUM<GoogleProtobufEdition> {\n return this._edition;\n }\n\n public set edition(v: GoogleProtobufEdition) {\n this.__TypeSetter(this._edition, v);\n }\n\n public get value(): STRING {\n return this._value;\n }\n\n public set value(v: string) {\n this.__PrimitivesSetter(this._value, v);\n }\n\n fromLiteral(data: IFieldOptionsEditionDefault) {\n super.__fromLiteral(data);\n }\n\n toLiteral(): IFieldOptionsEditionDefault {\n return super.__toLiteral();\n }\n}\n\nRegistry.register(\n 'google.protobuf.FieldOptions.EditionDefault',\n FieldOptionsEditionDefault,\n);\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
export var FieldOptionsJSType;
|
|
4
|
+
(function (FieldOptionsJSType) {
|
|
5
|
+
FieldOptionsJSType["JS_NORMAL"] = "JS_NORMAL";
|
|
6
|
+
FieldOptionsJSType["JS_STRING"] = "JS_STRING";
|
|
7
|
+
FieldOptionsJSType["JS_NUMBER"] = "JS_NUMBER";
|
|
8
|
+
})(FieldOptionsJSType || (FieldOptionsJSType = {}));
|
|
9
|
+
//# sourceMappingURL=FieldOptions.JSType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldOptions.JSType.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/FieldOptions.JSType.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,6CAAuB,CAAA;IACvB,6CAAuB,CAAA;IACvB,6CAAuB,CAAA;AACzB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nexport enum FieldOptionsJSType {\n JS_NORMAL = 'JS_NORMAL',\n JS_STRING = 'JS_STRING',\n JS_NUMBER = 'JS_NUMBER',\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
export var FieldOptionsOptionRetention;
|
|
4
|
+
(function (FieldOptionsOptionRetention) {
|
|
5
|
+
FieldOptionsOptionRetention["RETENTION_UNKNOWN"] = "RETENTION_UNKNOWN";
|
|
6
|
+
FieldOptionsOptionRetention["RETENTION_RUNTIME"] = "RETENTION_RUNTIME";
|
|
7
|
+
FieldOptionsOptionRetention["RETENTION_SOURCE"] = "RETENTION_SOURCE";
|
|
8
|
+
})(FieldOptionsOptionRetention || (FieldOptionsOptionRetention = {}));
|
|
9
|
+
//# sourceMappingURL=FieldOptions.OptionRetention.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldOptions.OptionRetention.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,MAAM,CAAN,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACrC,sEAAuC,CAAA;IACvC,sEAAuC,CAAA;IACvC,oEAAqC,CAAA;AACvC,CAAC,EAJW,2BAA2B,KAA3B,2BAA2B,QAItC","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nexport enum FieldOptionsOptionRetention {\n RETENTION_UNKNOWN = 'RETENTION_UNKNOWN',\n RETENTION_RUNTIME = 'RETENTION_RUNTIME',\n RETENTION_SOURCE = 'RETENTION_SOURCE',\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum FieldOptionsOptionTargetType {
|
|
2
|
+
TARGET_TYPE_UNKNOWN = "TARGET_TYPE_UNKNOWN",
|
|
3
|
+
TARGET_TYPE_FILE = "TARGET_TYPE_FILE",
|
|
4
|
+
TARGET_TYPE_EXTENSION_RANGE = "TARGET_TYPE_EXTENSION_RANGE",
|
|
5
|
+
TARGET_TYPE_MESSAGE = "TARGET_TYPE_MESSAGE",
|
|
6
|
+
TARGET_TYPE_FIELD = "TARGET_TYPE_FIELD",
|
|
7
|
+
TARGET_TYPE_ONEOF = "TARGET_TYPE_ONEOF",
|
|
8
|
+
TARGET_TYPE_ENUM = "TARGET_TYPE_ENUM",
|
|
9
|
+
TARGET_TYPE_ENUM_ENTRY = "TARGET_TYPE_ENUM_ENTRY",
|
|
10
|
+
TARGET_TYPE_SERVICE = "TARGET_TYPE_SERVICE",
|
|
11
|
+
TARGET_TYPE_METHOD = "TARGET_TYPE_METHOD"
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
export var FieldOptionsOptionTargetType;
|
|
4
|
+
(function (FieldOptionsOptionTargetType) {
|
|
5
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_UNKNOWN"] = "TARGET_TYPE_UNKNOWN";
|
|
6
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_FILE"] = "TARGET_TYPE_FILE";
|
|
7
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = "TARGET_TYPE_EXTENSION_RANGE";
|
|
8
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_MESSAGE"] = "TARGET_TYPE_MESSAGE";
|
|
9
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_FIELD"] = "TARGET_TYPE_FIELD";
|
|
10
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_ONEOF"] = "TARGET_TYPE_ONEOF";
|
|
11
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_ENUM"] = "TARGET_TYPE_ENUM";
|
|
12
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = "TARGET_TYPE_ENUM_ENTRY";
|
|
13
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_SERVICE"] = "TARGET_TYPE_SERVICE";
|
|
14
|
+
FieldOptionsOptionTargetType["TARGET_TYPE_METHOD"] = "TARGET_TYPE_METHOD";
|
|
15
|
+
})(FieldOptionsOptionTargetType || (FieldOptionsOptionTargetType = {}));
|
|
16
|
+
//# sourceMappingURL=FieldOptions.OptionTargetType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldOptions.OptionTargetType.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,MAAM,CAAN,IAAY,4BAWX;AAXD,WAAY,4BAA4B;IACtC,2EAA2C,CAAA;IAC3C,qEAAqC,CAAA;IACrC,2FAA2D,CAAA;IAC3D,2EAA2C,CAAA;IAC3C,uEAAuC,CAAA;IACvC,uEAAuC,CAAA;IACvC,qEAAqC,CAAA;IACrC,iFAAiD,CAAA;IACjD,2EAA2C,CAAA;IAC3C,yEAAyC,CAAA;AAC3C,CAAC,EAXW,4BAA4B,KAA5B,4BAA4B,QAWvC","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nexport enum FieldOptionsOptionTargetType {\n TARGET_TYPE_UNKNOWN = 'TARGET_TYPE_UNKNOWN',\n TARGET_TYPE_FILE = 'TARGET_TYPE_FILE',\n TARGET_TYPE_EXTENSION_RANGE = 'TARGET_TYPE_EXTENSION_RANGE',\n TARGET_TYPE_MESSAGE = 'TARGET_TYPE_MESSAGE',\n TARGET_TYPE_FIELD = 'TARGET_TYPE_FIELD',\n TARGET_TYPE_ONEOF = 'TARGET_TYPE_ONEOF',\n TARGET_TYPE_ENUM = 'TARGET_TYPE_ENUM',\n TARGET_TYPE_ENUM_ENTRY = 'TARGET_TYPE_ENUM_ENTRY',\n TARGET_TYPE_SERVICE = 'TARGET_TYPE_SERVICE',\n TARGET_TYPE_METHOD = 'TARGET_TYPE_METHOD',\n}\n"]}
|