@furo/open-models 1.15.3 → 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 +3545 -3545
- 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
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
import { ARRAY, FieldNode, INT32, Registry, STRING, } from '@furo/open-models/dist/index';
|
|
4
|
+
/**
|
|
5
|
+
* SourceCodeInfoLocation
|
|
6
|
+
*/
|
|
7
|
+
export class SourceCodeInfoLocation extends FieldNode {
|
|
8
|
+
constructor(initData, parent, parentAttributeName) {
|
|
9
|
+
super(undefined, parent, parentAttributeName);
|
|
10
|
+
this.__meta.typeName = 'google.protobuf.SourceCodeInfo.Location';
|
|
11
|
+
this.__meta.description = 'SourceCodeInfoLocation';
|
|
12
|
+
this.__meta.nodeFields = [
|
|
13
|
+
{
|
|
14
|
+
fieldName: 'path',
|
|
15
|
+
protoName: 'path',
|
|
16
|
+
FieldConstructor: INT32,
|
|
17
|
+
constraints: {},
|
|
18
|
+
description: 'Identifies which part of the FileDescriptorProto was defined at this\n location.\n\n Each element is a field number or an index. They form a path from\n the root FileDescriptorProto to the place where the definition occurs.\n For example, this path:\n [ 4, 3, 2, 7, 1 ]\n refers to:\n file.message_type(3) // 4, 3\n .field(7) // 2, 7\n .name() // 1\n This is because FileDescriptorProto.message_type has field number 4:\n repeated DescriptorProto message_type = 4;\n and DescriptorProto.field has field number 2:\n repeated FieldDescriptorProto field = 2;\n and FieldDescriptorProto.name has field number 1:\n optional string name = 1;\n\n Thus, the above path gives the location of a field name. If we removed\n the last element:\n [ 4, 3, 2, 7 ]\n this path refers to the whole field declaration (from the beginning\n of the label to the terminating semicolon).',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
fieldName: 'span',
|
|
22
|
+
protoName: 'span',
|
|
23
|
+
FieldConstructor: INT32,
|
|
24
|
+
constraints: {},
|
|
25
|
+
description: 'Always has exactly three or four elements: start line, start column,\n end line (optional, otherwise assumed same as start line), end column.\n These are packed into a single field for efficiency. Note that line\n and column numbers are zero-based -- typically you will want to add\n 1 to each before displaying to a user.',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
fieldName: 'leadingComments',
|
|
29
|
+
protoName: 'leading_comments',
|
|
30
|
+
FieldConstructor: STRING,
|
|
31
|
+
constraints: {},
|
|
32
|
+
description: 'If this SourceCodeInfo represents a complete declaration, these are any\n comments appearing before and after the declaration which appear to be\n attached to the declaration.\n\n A series of line comments appearing on consecutive lines, with no other\n tokens appearing on those lines, will be treated as a single comment.\n\n leading_detached_comments will keep paragraphs of comments that appear\n before (but not connected to) the current element. Each paragraph,\n separated by empty lines, will be one comment element in the repeated\n field.\n\n Only the comment content is provided; comment markers (e.g. //) are\n stripped out. For block comments, leading whitespace and an asterisk\n will be stripped from the beginning of each line other than the first.\n Newlines are included in the output.\n\n Examples:\n\n optional int32 foo = 1; // Comment attached to foo.\n // Comment attached to bar.\n optional int32 bar = 2;\n\n optional string baz = 3;\n // Comment attached to baz.\n // Another line attached to baz.\n\n // Comment attached to moo.\n //\n // Another line attached to moo.\n optional double moo = 4;\n\n // Detached comment for corge. This is not leading or trailing comments\n // to moo or corge because there are blank lines separating it from\n // both.\n\n // Detached comment for corge paragraph 2.\n\n optional string corge = 5;\n /* Block comment attached\n * to corge. Leading asterisks\n * will be removed. *\\/\n /* Block comment attached to\n * grault. *\\/\n optional int32 grault = 6;\n\n // ignored detached comments.',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
fieldName: 'trailingComments',
|
|
36
|
+
protoName: 'trailing_comments',
|
|
37
|
+
FieldConstructor: STRING,
|
|
38
|
+
constraints: {},
|
|
39
|
+
description: '',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
fieldName: 'leadingDetachedComments',
|
|
43
|
+
protoName: 'leading_detached_comments',
|
|
44
|
+
FieldConstructor: STRING,
|
|
45
|
+
constraints: {},
|
|
46
|
+
description: '',
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
// Initialize the fields
|
|
50
|
+
// Identifies which part of the FileDescriptorProto was defined at this
|
|
51
|
+
// location.
|
|
52
|
+
//
|
|
53
|
+
// Each element is a field number or an index. They form a path from
|
|
54
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
|
55
|
+
// For example, this path:
|
|
56
|
+
// [ 4, 3, 2, 7, 1 ]
|
|
57
|
+
// refers to:
|
|
58
|
+
// file.message_type(3) // 4, 3
|
|
59
|
+
// .field(7) // 2, 7
|
|
60
|
+
// .name() // 1
|
|
61
|
+
// This is because FileDescriptorProto.message_type has field number 4:
|
|
62
|
+
// repeated DescriptorProto message_type = 4;
|
|
63
|
+
// and DescriptorProto.field has field number 2:
|
|
64
|
+
// repeated FieldDescriptorProto field = 2;
|
|
65
|
+
// and FieldDescriptorProto.name has field number 1:
|
|
66
|
+
// optional string name = 1;
|
|
67
|
+
//
|
|
68
|
+
// Thus, the above path gives the location of a field name. If we removed
|
|
69
|
+
// the last element:
|
|
70
|
+
// [ 4, 3, 2, 7 ]
|
|
71
|
+
// this path refers to the whole field declaration (from the beginning
|
|
72
|
+
// of the label to the terminating semicolon).
|
|
73
|
+
this._path = new ARRAY(undefined, this, 'path');
|
|
74
|
+
// Always has exactly three or four elements: start line, start column,
|
|
75
|
+
// end line (optional, otherwise assumed same as start line), end column.
|
|
76
|
+
// These are packed into a single field for efficiency. Note that line
|
|
77
|
+
// and column numbers are zero-based -- typically you will want to add
|
|
78
|
+
// 1 to each before displaying to a user.
|
|
79
|
+
this._span = new ARRAY(undefined, this, 'span');
|
|
80
|
+
// If this SourceCodeInfo represents a complete declaration, these are any
|
|
81
|
+
// comments appearing before and after the declaration which appear to be
|
|
82
|
+
// attached to the declaration.
|
|
83
|
+
//
|
|
84
|
+
// A series of line comments appearing on consecutive lines, with no other
|
|
85
|
+
// tokens appearing on those lines, will be treated as a single comment.
|
|
86
|
+
//
|
|
87
|
+
// leading_detached_comments will keep paragraphs of comments that appear
|
|
88
|
+
// before (but not connected to) the current element. Each paragraph,
|
|
89
|
+
// separated by empty lines, will be one comment element in the repeated
|
|
90
|
+
// field.
|
|
91
|
+
//
|
|
92
|
+
// Only the comment content is provided; comment markers (e.g. //) are
|
|
93
|
+
// stripped out. For block comments, leading whitespace and an asterisk
|
|
94
|
+
// will be stripped from the beginning of each line other than the first.
|
|
95
|
+
// Newlines are included in the output.
|
|
96
|
+
//
|
|
97
|
+
// Examples:
|
|
98
|
+
//
|
|
99
|
+
// optional int32 foo = 1; // Comment attached to foo.
|
|
100
|
+
// // Comment attached to bar.
|
|
101
|
+
// optional int32 bar = 2;
|
|
102
|
+
//
|
|
103
|
+
// optional string baz = 3;
|
|
104
|
+
// // Comment attached to baz.
|
|
105
|
+
// // Another line attached to baz.
|
|
106
|
+
//
|
|
107
|
+
// // Comment attached to moo.
|
|
108
|
+
// //
|
|
109
|
+
// // Another line attached to moo.
|
|
110
|
+
// optional double moo = 4;
|
|
111
|
+
//
|
|
112
|
+
// // Detached comment for corge. This is not leading or trailing comments
|
|
113
|
+
// // to moo or corge because there are blank lines separating it from
|
|
114
|
+
// // both.
|
|
115
|
+
//
|
|
116
|
+
// // Detached comment for corge paragraph 2.
|
|
117
|
+
//
|
|
118
|
+
// optional string corge = 5;
|
|
119
|
+
// /* Block comment attached
|
|
120
|
+
// * to corge. Leading asterisks
|
|
121
|
+
// * will be removed. *\/
|
|
122
|
+
// /* Block comment attached to
|
|
123
|
+
// * grault. *\/
|
|
124
|
+
// optional int32 grault = 6;
|
|
125
|
+
//
|
|
126
|
+
// // ignored detached comments.
|
|
127
|
+
this._leadingComments = new STRING(undefined, this, 'leadingComments');
|
|
128
|
+
this._trailingComments = new STRING(undefined, this, 'trailingComments');
|
|
129
|
+
this._leadingDetachedComments = new ARRAY(undefined, this, 'leadingDetachedComments');
|
|
130
|
+
// Set required fields
|
|
131
|
+
[].forEach(fieldName => {
|
|
132
|
+
this[fieldName].__meta.required = true;
|
|
133
|
+
});
|
|
134
|
+
// Default values from openAPI annotations
|
|
135
|
+
this.__defaultValues = {};
|
|
136
|
+
// Initialize the fields with init data
|
|
137
|
+
if (initData !== undefined) {
|
|
138
|
+
this.__fromLiteral({ ...this.__defaultValues, ...initData });
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
this.__fromLiteral(this.__defaultValues);
|
|
142
|
+
}
|
|
143
|
+
// Set readonly fields after the init, so child nodes are readonly too
|
|
144
|
+
[].forEach(fieldName => {
|
|
145
|
+
this[fieldName].__readonly = true;
|
|
146
|
+
});
|
|
147
|
+
this.__meta.isPristine = true;
|
|
148
|
+
}
|
|
149
|
+
// Identifies which part of the FileDescriptorProto was defined at this
|
|
150
|
+
// location.
|
|
151
|
+
//
|
|
152
|
+
// Each element is a field number or an index. They form a path from
|
|
153
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
|
154
|
+
// For example, this path:
|
|
155
|
+
// [ 4, 3, 2, 7, 1 ]
|
|
156
|
+
// refers to:
|
|
157
|
+
// file.message_type(3) // 4, 3
|
|
158
|
+
// .field(7) // 2, 7
|
|
159
|
+
// .name() // 1
|
|
160
|
+
// This is because FileDescriptorProto.message_type has field number 4:
|
|
161
|
+
// repeated DescriptorProto message_type = 4;
|
|
162
|
+
// and DescriptorProto.field has field number 2:
|
|
163
|
+
// repeated FieldDescriptorProto field = 2;
|
|
164
|
+
// and FieldDescriptorProto.name has field number 1:
|
|
165
|
+
// optional string name = 1;
|
|
166
|
+
//
|
|
167
|
+
// Thus, the above path gives the location of a field name. If we removed
|
|
168
|
+
// the last element:
|
|
169
|
+
// [ 4, 3, 2, 7 ]
|
|
170
|
+
// this path refers to the whole field declaration (from the beginning
|
|
171
|
+
// of the label to the terminating semicolon).
|
|
172
|
+
get path() {
|
|
173
|
+
return this._path;
|
|
174
|
+
}
|
|
175
|
+
set path(v) {
|
|
176
|
+
this.__TypeSetter(this._path, v);
|
|
177
|
+
}
|
|
178
|
+
// Always has exactly three or four elements: start line, start column,
|
|
179
|
+
// end line (optional, otherwise assumed same as start line), end column.
|
|
180
|
+
// These are packed into a single field for efficiency. Note that line
|
|
181
|
+
// and column numbers are zero-based -- typically you will want to add
|
|
182
|
+
// 1 to each before displaying to a user.
|
|
183
|
+
get span() {
|
|
184
|
+
return this._span;
|
|
185
|
+
}
|
|
186
|
+
set span(v) {
|
|
187
|
+
this.__TypeSetter(this._span, v);
|
|
188
|
+
}
|
|
189
|
+
// If this SourceCodeInfo represents a complete declaration, these are any
|
|
190
|
+
// comments appearing before and after the declaration which appear to be
|
|
191
|
+
// attached to the declaration.
|
|
192
|
+
//
|
|
193
|
+
// A series of line comments appearing on consecutive lines, with no other
|
|
194
|
+
// tokens appearing on those lines, will be treated as a single comment.
|
|
195
|
+
//
|
|
196
|
+
// leading_detached_comments will keep paragraphs of comments that appear
|
|
197
|
+
// before (but not connected to) the current element. Each paragraph,
|
|
198
|
+
// separated by empty lines, will be one comment element in the repeated
|
|
199
|
+
// field.
|
|
200
|
+
//
|
|
201
|
+
// Only the comment content is provided; comment markers (e.g. //) are
|
|
202
|
+
// stripped out. For block comments, leading whitespace and an asterisk
|
|
203
|
+
// will be stripped from the beginning of each line other than the first.
|
|
204
|
+
// Newlines are included in the output.
|
|
205
|
+
//
|
|
206
|
+
// Examples:
|
|
207
|
+
//
|
|
208
|
+
// optional int32 foo = 1; // Comment attached to foo.
|
|
209
|
+
// // Comment attached to bar.
|
|
210
|
+
// optional int32 bar = 2;
|
|
211
|
+
//
|
|
212
|
+
// optional string baz = 3;
|
|
213
|
+
// // Comment attached to baz.
|
|
214
|
+
// // Another line attached to baz.
|
|
215
|
+
//
|
|
216
|
+
// // Comment attached to moo.
|
|
217
|
+
// //
|
|
218
|
+
// // Another line attached to moo.
|
|
219
|
+
// optional double moo = 4;
|
|
220
|
+
//
|
|
221
|
+
// // Detached comment for corge. This is not leading or trailing comments
|
|
222
|
+
// // to moo or corge because there are blank lines separating it from
|
|
223
|
+
// // both.
|
|
224
|
+
//
|
|
225
|
+
// // Detached comment for corge paragraph 2.
|
|
226
|
+
//
|
|
227
|
+
// optional string corge = 5;
|
|
228
|
+
// /* Block comment attached
|
|
229
|
+
// * to corge. Leading asterisks
|
|
230
|
+
// * will be removed. *\/
|
|
231
|
+
// /* Block comment attached to
|
|
232
|
+
// * grault. *\/
|
|
233
|
+
// optional int32 grault = 6;
|
|
234
|
+
//
|
|
235
|
+
// // ignored detached comments.
|
|
236
|
+
get leadingComments() {
|
|
237
|
+
return this._leadingComments;
|
|
238
|
+
}
|
|
239
|
+
set leadingComments(v) {
|
|
240
|
+
this.__PrimitivesSetter(this._leadingComments, v);
|
|
241
|
+
}
|
|
242
|
+
get trailingComments() {
|
|
243
|
+
return this._trailingComments;
|
|
244
|
+
}
|
|
245
|
+
set trailingComments(v) {
|
|
246
|
+
this.__PrimitivesSetter(this._trailingComments, v);
|
|
247
|
+
}
|
|
248
|
+
get leadingDetachedComments() {
|
|
249
|
+
return this._leadingDetachedComments;
|
|
250
|
+
}
|
|
251
|
+
set leadingDetachedComments(v) {
|
|
252
|
+
this.__TypeSetter(this._leadingDetachedComments, v);
|
|
253
|
+
}
|
|
254
|
+
fromLiteral(data) {
|
|
255
|
+
super.__fromLiteral(data);
|
|
256
|
+
}
|
|
257
|
+
toLiteral() {
|
|
258
|
+
return super.__toLiteral();
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
Registry.register('google.protobuf.SourceCodeInfo.Location', SourceCodeInfoLocation);
|
|
262
|
+
//# sourceMappingURL=SourceCodeInfo.Location.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceCodeInfo.Location.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.ts"],"names":[],"mappings":"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","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nimport {\n ARRAY,\n FieldNode,\n INT32,\n Registry,\n STRING,\n} from '@furo/open-models/dist/index';\n\n/**\n * @interface ISourceCodeInfoLocation\n */\nexport interface ISourceCodeInfoLocation {\n /**\n * Identifies which part of the FileDescriptorProto was defined at this\n * location.\n *\n * Each element is a field number or an index. They form a path from\n * the root FileDescriptorProto to the place where the definition occurs.\n * For example, this path:\n * [ 4, 3, 2, 7, 1 ]\n * refers to:\n * file.message_type(3) // 4, 3\n * .field(7) // 2, 7\n * .name() // 1\n * This is because FileDescriptorProto.message_type has field number 4:\n * repeated DescriptorProto message_type = 4;\n * and DescriptorProto.field has field number 2:\n * repeated FieldDescriptorProto field = 2;\n * and FieldDescriptorProto.name has field number 1:\n * optional string name = 1;\n *\n * Thus, the above path gives the location of a field name. If we removed\n * the last element:\n * [ 4, 3, 2, 7 ]\n * this path refers to the whole field declaration (from the beginning\n * of the label to the terminating semicolon).\n */\n path?: number[];\n /**\n * Always has exactly three or four elements: start line, start column,\n * end line (optional, otherwise assumed same as start line), end column.\n * These are packed into a single field for efficiency. Note that line\n * and column numbers are zero-based -- typically you will want to add\n * 1 to each before displaying to a user.\n */\n span?: number[];\n /**\n * If this SourceCodeInfo represents a complete declaration, these are any\n * comments appearing before and after the declaration which appear to be\n * attached to the declaration.\n *\n * A series of line comments appearing on consecutive lines, with no other\n * tokens appearing on those lines, will be treated as a single comment.\n *\n * leading_detached_comments will keep paragraphs of comments that appear\n * before (but not connected to) the current element. Each paragraph,\n * separated by empty lines, will be one comment element in the repeated\n * field.\n *\n * Only the comment content is provided; comment markers (e.g. //) are\n * stripped out. For block comments, leading whitespace and an asterisk\n * will be stripped from the beginning of each line other than the first.\n * Newlines are included in the output.\n *\n * Examples:\n *\n * optional int32 foo = 1; // Comment attached to foo.\n * // Comment attached to bar.\n * optional int32 bar = 2;\n *\n * optional string baz = 3;\n * // Comment attached to baz.\n * // Another line attached to baz.\n *\n * // Comment attached to moo.\n * //\n * // Another line attached to moo.\n * optional double moo = 4;\n *\n * // Detached comment for corge. This is not leading or trailing comments\n * // to moo or corge because there are blank lines separating it from\n * // both.\n *\n * // Detached comment for corge paragraph 2.\n *\n * optional string corge = 5;\n * /* Block comment attached\n * * to corge. Leading asterisks\n * * will be removed. *\\/\n * /* Block comment attached to\n * * grault. *\\/\n * optional int32 grault = 6;\n *\n * // ignored detached comments.\n */\n leadingComments?: string;\n trailingComments?: string;\n leadingDetachedComments?: string[];\n}\n\n/**\n * @interface TSourceCodeInfoLocation\n */\nexport interface TSourceCodeInfoLocation {\n /**\n * Identifies which part of the FileDescriptorProto was defined at this\n * location.\n *\n * Each element is a field number or an index. They form a path from\n * the root FileDescriptorProto to the place where the definition occurs.\n * For example, this path:\n * [ 4, 3, 2, 7, 1 ]\n * refers to:\n * file.message_type(3) // 4, 3\n * .field(7) // 2, 7\n * .name() // 1\n * This is because FileDescriptorProto.message_type has field number 4:\n * repeated DescriptorProto message_type = 4;\n * and DescriptorProto.field has field number 2:\n * repeated FieldDescriptorProto field = 2;\n * and FieldDescriptorProto.name has field number 1:\n * optional string name = 1;\n *\n * Thus, the above path gives the location of a field name. If we removed\n * the last element:\n * [ 4, 3, 2, 7 ]\n * this path refers to the whole field declaration (from the beginning\n * of the label to the terminating semicolon).\n */\n path?: number[];\n /**\n * Always has exactly three or four elements: start line, start column,\n * end line (optional, otherwise assumed same as start line), end column.\n * These are packed into a single field for efficiency. Note that line\n * and column numbers are zero-based -- typically you will want to add\n * 1 to each before displaying to a user.\n */\n span?: number[];\n /**\n * If this SourceCodeInfo represents a complete declaration, these are any\n * comments appearing before and after the declaration which appear to be\n * attached to the declaration.\n *\n * A series of line comments appearing on consecutive lines, with no other\n * tokens appearing on those lines, will be treated as a single comment.\n *\n * leading_detached_comments will keep paragraphs of comments that appear\n * before (but not connected to) the current element. Each paragraph,\n * separated by empty lines, will be one comment element in the repeated\n * field.\n *\n * Only the comment content is provided; comment markers (e.g. //) are\n * stripped out. For block comments, leading whitespace and an asterisk\n * will be stripped from the beginning of each line other than the first.\n * Newlines are included in the output.\n *\n * Examples:\n *\n * optional int32 foo = 1; // Comment attached to foo.\n * // Comment attached to bar.\n * optional int32 bar = 2;\n *\n * optional string baz = 3;\n * // Comment attached to baz.\n * // Another line attached to baz.\n *\n * // Comment attached to moo.\n * //\n * // Another line attached to moo.\n * optional double moo = 4;\n *\n * // Detached comment for corge. This is not leading or trailing comments\n * // to moo or corge because there are blank lines separating it from\n * // both.\n *\n * // Detached comment for corge paragraph 2.\n *\n * optional string corge = 5;\n * /* Block comment attached\n * * to corge. Leading asterisks\n * * will be removed. *\\/\n * /* Block comment attached to\n * * grault. *\\/\n * optional int32 grault = 6;\n *\n * // ignored detached comments.\n */\n leading_comments?: string;\n trailing_comments?: string;\n leading_detached_comments?: string[];\n}\n\n/**\n * SourceCodeInfoLocation\n */\nexport class SourceCodeInfoLocation extends FieldNode {\n // Identifies which part of the FileDescriptorProto was defined at this\n // location.\n //\n // Each element is a field number or an index. They form a path from\n // the root FileDescriptorProto to the place where the definition occurs.\n // For example, this path:\n // [ 4, 3, 2, 7, 1 ]\n // refers to:\n // file.message_type(3) // 4, 3\n // .field(7) // 2, 7\n // .name() // 1\n // This is because FileDescriptorProto.message_type has field number 4:\n // repeated DescriptorProto message_type = 4;\n // and DescriptorProto.field has field number 2:\n // repeated FieldDescriptorProto field = 2;\n // and FieldDescriptorProto.name has field number 1:\n // optional string name = 1;\n //\n // Thus, the above path gives the location of a field name. If we removed\n // the last element:\n // [ 4, 3, 2, 7 ]\n // this path refers to the whole field declaration (from the beginning\n // of the label to the terminating semicolon).\n private _path: ARRAY<INT32, number>;\n\n // Always has exactly three or four elements: start line, start column,\n // end line (optional, otherwise assumed same as start line), end column.\n // These are packed into a single field for efficiency. Note that line\n // and column numbers are zero-based -- typically you will want to add\n // 1 to each before displaying to a user.\n private _span: ARRAY<INT32, number>;\n\n // If this SourceCodeInfo represents a complete declaration, these are any\n // comments appearing before and after the declaration which appear to be\n // attached to the declaration.\n //\n // A series of line comments appearing on consecutive lines, with no other\n // tokens appearing on those lines, will be treated as a single comment.\n //\n // leading_detached_comments will keep paragraphs of comments that appear\n // before (but not connected to) the current element. Each paragraph,\n // separated by empty lines, will be one comment element in the repeated\n // field.\n //\n // Only the comment content is provided; comment markers (e.g. //) are\n // stripped out. For block comments, leading whitespace and an asterisk\n // will be stripped from the beginning of each line other than the first.\n // Newlines are included in the output.\n //\n // Examples:\n //\n // optional int32 foo = 1; // Comment attached to foo.\n // // Comment attached to bar.\n // optional int32 bar = 2;\n //\n // optional string baz = 3;\n // // Comment attached to baz.\n // // Another line attached to baz.\n //\n // // Comment attached to moo.\n // //\n // // Another line attached to moo.\n // optional double moo = 4;\n //\n // // Detached comment for corge. This is not leading or trailing comments\n // // to moo or corge because there are blank lines separating it from\n // // both.\n //\n // // Detached comment for corge paragraph 2.\n //\n // optional string corge = 5;\n // /* Block comment attached\n // * to corge. Leading asterisks\n // * will be removed. *\\/\n // /* Block comment attached to\n // * grault. *\\/\n // optional int32 grault = 6;\n //\n // // ignored detached comments.\n private _leadingComments: STRING;\n\n private _trailingComments: STRING;\n\n private _leadingDetachedComments: ARRAY<STRING, string>;\n\n public __defaultValues: ISourceCodeInfoLocation;\n\n constructor(\n initData?: ISourceCodeInfoLocation,\n parent?: FieldNode,\n parentAttributeName?: string,\n ) {\n super(undefined, parent, parentAttributeName);\n this.__meta.typeName = 'google.protobuf.SourceCodeInfo.Location';\n this.__meta.description = 'SourceCodeInfoLocation';\n\n this.__meta.nodeFields = [\n {\n fieldName: 'path',\n protoName: 'path',\n FieldConstructor: INT32,\n constraints: {},\n description:\n 'Identifies which part of the FileDescriptorProto was defined at this\\n location.\\n\\n Each element is a field number or an index. They form a path from\\n the root FileDescriptorProto to the place where the definition occurs.\\n For example, this path:\\n [ 4, 3, 2, 7, 1 ]\\n refers to:\\n file.message_type(3) // 4, 3\\n .field(7) // 2, 7\\n .name() // 1\\n This is because FileDescriptorProto.message_type has field number 4:\\n repeated DescriptorProto message_type = 4;\\n and DescriptorProto.field has field number 2:\\n repeated FieldDescriptorProto field = 2;\\n and FieldDescriptorProto.name has field number 1:\\n optional string name = 1;\\n\\n Thus, the above path gives the location of a field name. If we removed\\n the last element:\\n [ 4, 3, 2, 7 ]\\n this path refers to the whole field declaration (from the beginning\\n of the label to the terminating semicolon).',\n },\n {\n fieldName: 'span',\n protoName: 'span',\n FieldConstructor: INT32,\n constraints: {},\n description:\n 'Always has exactly three or four elements: start line, start column,\\n end line (optional, otherwise assumed same as start line), end column.\\n These are packed into a single field for efficiency. Note that line\\n and column numbers are zero-based -- typically you will want to add\\n 1 to each before displaying to a user.',\n },\n {\n fieldName: 'leadingComments',\n protoName: 'leading_comments',\n FieldConstructor: STRING,\n constraints: {},\n description:\n 'If this SourceCodeInfo represents a complete declaration, these are any\\n comments appearing before and after the declaration which appear to be\\n attached to the declaration.\\n\\n A series of line comments appearing on consecutive lines, with no other\\n tokens appearing on those lines, will be treated as a single comment.\\n\\n leading_detached_comments will keep paragraphs of comments that appear\\n before (but not connected to) the current element. Each paragraph,\\n separated by empty lines, will be one comment element in the repeated\\n field.\\n\\n Only the comment content is provided; comment markers (e.g. //) are\\n stripped out. For block comments, leading whitespace and an asterisk\\n will be stripped from the beginning of each line other than the first.\\n Newlines are included in the output.\\n\\n Examples:\\n\\n optional int32 foo = 1; // Comment attached to foo.\\n // Comment attached to bar.\\n optional int32 bar = 2;\\n\\n optional string baz = 3;\\n // Comment attached to baz.\\n // Another line attached to baz.\\n\\n // Comment attached to moo.\\n //\\n // Another line attached to moo.\\n optional double moo = 4;\\n\\n // Detached comment for corge. This is not leading or trailing comments\\n // to moo or corge because there are blank lines separating it from\\n // both.\\n\\n // Detached comment for corge paragraph 2.\\n\\n optional string corge = 5;\\n /* Block comment attached\\n * to corge. Leading asterisks\\n * will be removed. *\\\\/\\n /* Block comment attached to\\n * grault. *\\\\/\\n optional int32 grault = 6;\\n\\n // ignored detached comments.',\n },\n {\n fieldName: 'trailingComments',\n protoName: 'trailing_comments',\n FieldConstructor: STRING,\n constraints: {},\n description: '',\n },\n {\n fieldName: 'leadingDetachedComments',\n protoName: 'leading_detached_comments',\n FieldConstructor: STRING,\n constraints: {},\n description: '',\n },\n ];\n\n // Initialize the fields\n // Identifies which part of the FileDescriptorProto was defined at this\n // location.\n //\n // Each element is a field number or an index. They form a path from\n // the root FileDescriptorProto to the place where the definition occurs.\n // For example, this path:\n // [ 4, 3, 2, 7, 1 ]\n // refers to:\n // file.message_type(3) // 4, 3\n // .field(7) // 2, 7\n // .name() // 1\n // This is because FileDescriptorProto.message_type has field number 4:\n // repeated DescriptorProto message_type = 4;\n // and DescriptorProto.field has field number 2:\n // repeated FieldDescriptorProto field = 2;\n // and FieldDescriptorProto.name has field number 1:\n // optional string name = 1;\n //\n // Thus, the above path gives the location of a field name. If we removed\n // the last element:\n // [ 4, 3, 2, 7 ]\n // this path refers to the whole field declaration (from the beginning\n // of the label to the terminating semicolon).\n this._path = new ARRAY<INT32, number>(undefined, this, 'path');\n\n // Always has exactly three or four elements: start line, start column,\n // end line (optional, otherwise assumed same as start line), end column.\n // These are packed into a single field for efficiency. Note that line\n // and column numbers are zero-based -- typically you will want to add\n // 1 to each before displaying to a user.\n this._span = new ARRAY<INT32, number>(undefined, this, 'span');\n\n // If this SourceCodeInfo represents a complete declaration, these are any\n // comments appearing before and after the declaration which appear to be\n // attached to the declaration.\n //\n // A series of line comments appearing on consecutive lines, with no other\n // tokens appearing on those lines, will be treated as a single comment.\n //\n // leading_detached_comments will keep paragraphs of comments that appear\n // before (but not connected to) the current element. Each paragraph,\n // separated by empty lines, will be one comment element in the repeated\n // field.\n //\n // Only the comment content is provided; comment markers (e.g. //) are\n // stripped out. For block comments, leading whitespace and an asterisk\n // will be stripped from the beginning of each line other than the first.\n // Newlines are included in the output.\n //\n // Examples:\n //\n // optional int32 foo = 1; // Comment attached to foo.\n // // Comment attached to bar.\n // optional int32 bar = 2;\n //\n // optional string baz = 3;\n // // Comment attached to baz.\n // // Another line attached to baz.\n //\n // // Comment attached to moo.\n // //\n // // Another line attached to moo.\n // optional double moo = 4;\n //\n // // Detached comment for corge. This is not leading or trailing comments\n // // to moo or corge because there are blank lines separating it from\n // // both.\n //\n // // Detached comment for corge paragraph 2.\n //\n // optional string corge = 5;\n // /* Block comment attached\n // * to corge. Leading asterisks\n // * will be removed. *\\/\n // /* Block comment attached to\n // * grault. *\\/\n // optional int32 grault = 6;\n //\n // // ignored detached comments.\n this._leadingComments = new STRING(undefined, this, 'leadingComments');\n\n this._trailingComments = new STRING(undefined, this, 'trailingComments');\n\n this._leadingDetachedComments = new ARRAY<STRING, string>(\n undefined,\n this,\n 'leadingDetachedComments',\n );\n\n // Set required fields\n [].forEach(fieldName => {\n (\n this[fieldName as keyof SourceCodeInfoLocation] 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 SourceCodeInfoLocation] as FieldNode\n ).__readonly = true;\n });\n\n this.__meta.isPristine = true;\n }\n\n // Identifies which part of the FileDescriptorProto was defined at this\n // location.\n //\n // Each element is a field number or an index. They form a path from\n // the root FileDescriptorProto to the place where the definition occurs.\n // For example, this path:\n // [ 4, 3, 2, 7, 1 ]\n // refers to:\n // file.message_type(3) // 4, 3\n // .field(7) // 2, 7\n // .name() // 1\n // This is because FileDescriptorProto.message_type has field number 4:\n // repeated DescriptorProto message_type = 4;\n // and DescriptorProto.field has field number 2:\n // repeated FieldDescriptorProto field = 2;\n // and FieldDescriptorProto.name has field number 1:\n // optional string name = 1;\n //\n // Thus, the above path gives the location of a field name. If we removed\n // the last element:\n // [ 4, 3, 2, 7 ]\n // this path refers to the whole field declaration (from the beginning\n // of the label to the terminating semicolon).\n public get path(): ARRAY<INT32, number> {\n return this._path;\n }\n\n public set path(v: number[]) {\n this.__TypeSetter(this._path, v);\n }\n\n // Always has exactly three or four elements: start line, start column,\n // end line (optional, otherwise assumed same as start line), end column.\n // These are packed into a single field for efficiency. Note that line\n // and column numbers are zero-based -- typically you will want to add\n // 1 to each before displaying to a user.\n public get span(): ARRAY<INT32, number> {\n return this._span;\n }\n\n public set span(v: number[]) {\n this.__TypeSetter(this._span, v);\n }\n\n // If this SourceCodeInfo represents a complete declaration, these are any\n // comments appearing before and after the declaration which appear to be\n // attached to the declaration.\n //\n // A series of line comments appearing on consecutive lines, with no other\n // tokens appearing on those lines, will be treated as a single comment.\n //\n // leading_detached_comments will keep paragraphs of comments that appear\n // before (but not connected to) the current element. Each paragraph,\n // separated by empty lines, will be one comment element in the repeated\n // field.\n //\n // Only the comment content is provided; comment markers (e.g. //) are\n // stripped out. For block comments, leading whitespace and an asterisk\n // will be stripped from the beginning of each line other than the first.\n // Newlines are included in the output.\n //\n // Examples:\n //\n // optional int32 foo = 1; // Comment attached to foo.\n // // Comment attached to bar.\n // optional int32 bar = 2;\n //\n // optional string baz = 3;\n // // Comment attached to baz.\n // // Another line attached to baz.\n //\n // // Comment attached to moo.\n // //\n // // Another line attached to moo.\n // optional double moo = 4;\n //\n // // Detached comment for corge. This is not leading or trailing comments\n // // to moo or corge because there are blank lines separating it from\n // // both.\n //\n // // Detached comment for corge paragraph 2.\n //\n // optional string corge = 5;\n // /* Block comment attached\n // * to corge. Leading asterisks\n // * will be removed. *\\/\n // /* Block comment attached to\n // * grault. *\\/\n // optional int32 grault = 6;\n //\n // // ignored detached comments.\n public get leadingComments(): STRING {\n return this._leadingComments;\n }\n\n public set leadingComments(v: string) {\n this.__PrimitivesSetter(this._leadingComments, v);\n }\n\n public get trailingComments(): STRING {\n return this._trailingComments;\n }\n\n public set trailingComments(v: string) {\n this.__PrimitivesSetter(this._trailingComments, v);\n }\n\n public get leadingDetachedComments(): ARRAY<STRING, string> {\n return this._leadingDetachedComments;\n }\n\n public set leadingDetachedComments(v: string[]) {\n this.__TypeSetter(this._leadingDetachedComments, v);\n }\n\n fromLiteral(data: ISourceCodeInfoLocation) {\n super.__fromLiteral(data);\n }\n\n toLiteral(): ISourceCodeInfoLocation {\n return super.__toLiteral();\n }\n}\n\nRegistry.register(\n 'google.protobuf.SourceCodeInfo.Location',\n SourceCodeInfoLocation,\n);\n"]}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ARRAY, FieldNode } from '@furo/open-models/dist/index';
|
|
2
|
+
import { SourceCodeInfoLocation as GoogleProtobufSourceCodeInfoLocation, type ISourceCodeInfoLocation as IGoogleProtobufSourceCodeInfoLocation, type TSourceCodeInfoLocation as TGoogleProtobufSourceCodeInfoLocation } from './SourceCodeInfo.Location.js';
|
|
3
|
+
/**
|
|
4
|
+
* @interface ISourceCodeInfo
|
|
5
|
+
* Encapsulates information about the original source file from which a
|
|
6
|
+
* FileDescriptorProto was generated.
|
|
7
|
+
*/
|
|
8
|
+
export interface ISourceCodeInfo {
|
|
9
|
+
/**
|
|
10
|
+
* A Location identifies a piece of source code in a .proto file which
|
|
11
|
+
* corresponds to a particular definition. This information is intended
|
|
12
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
13
|
+
* tools.
|
|
14
|
+
*
|
|
15
|
+
* For example, say we have a file like:
|
|
16
|
+
* message Foo {
|
|
17
|
+
* optional string foo = 1;
|
|
18
|
+
* }
|
|
19
|
+
* Let's look at just the field definition:
|
|
20
|
+
* optional string foo = 1;
|
|
21
|
+
* ^ ^^ ^^ ^ ^^^
|
|
22
|
+
* a bc de f ghi
|
|
23
|
+
* We have the following locations:
|
|
24
|
+
* span path represents
|
|
25
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
26
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
27
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
28
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
29
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
30
|
+
*
|
|
31
|
+
* Notes:
|
|
32
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
|
33
|
+
* particular index within it). This is used whenever a set of elements are
|
|
34
|
+
* logically enclosed in a single code segment. For example, an entire
|
|
35
|
+
* extend block (possibly containing multiple extension definitions) will
|
|
36
|
+
* have an outer location whose path refers to the "extensions" repeated
|
|
37
|
+
* field without an index.
|
|
38
|
+
* - Multiple locations may have the same path. This happens when a single
|
|
39
|
+
* logical declaration is spread out across multiple places. The most
|
|
40
|
+
* obvious example is the "extend" block again -- there may be multiple
|
|
41
|
+
* extend blocks in the same scope, each of which will have the same path.
|
|
42
|
+
* - A location's span is not always a subset of its parent's span. For
|
|
43
|
+
* example, the "extendee" of an extension declaration appears at the
|
|
44
|
+
* beginning of the "extend" block and is shared by all extensions within
|
|
45
|
+
* the block.
|
|
46
|
+
* - Just because a location's span is a subset of some other location's span
|
|
47
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
|
48
|
+
* both a type and a field in a single declaration. Thus, the locations
|
|
49
|
+
* corresponding to the type and field and their components will overlap.
|
|
50
|
+
* - Code which tries to interpret locations should probably be designed to
|
|
51
|
+
* ignore those that it doesn't understand, as more types of locations could
|
|
52
|
+
* be recorded in the future.
|
|
53
|
+
*/
|
|
54
|
+
location?: IGoogleProtobufSourceCodeInfoLocation[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @interface TSourceCodeInfo
|
|
58
|
+
* Encapsulates information about the original source file from which a
|
|
59
|
+
* FileDescriptorProto was generated.
|
|
60
|
+
*/
|
|
61
|
+
export interface TSourceCodeInfo {
|
|
62
|
+
/**
|
|
63
|
+
* A Location identifies a piece of source code in a .proto file which
|
|
64
|
+
* corresponds to a particular definition. This information is intended
|
|
65
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
66
|
+
* tools.
|
|
67
|
+
*
|
|
68
|
+
* For example, say we have a file like:
|
|
69
|
+
* message Foo {
|
|
70
|
+
* optional string foo = 1;
|
|
71
|
+
* }
|
|
72
|
+
* Let's look at just the field definition:
|
|
73
|
+
* optional string foo = 1;
|
|
74
|
+
* ^ ^^ ^^ ^ ^^^
|
|
75
|
+
* a bc de f ghi
|
|
76
|
+
* We have the following locations:
|
|
77
|
+
* span path represents
|
|
78
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
79
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
80
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
81
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
82
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
83
|
+
*
|
|
84
|
+
* Notes:
|
|
85
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
|
86
|
+
* particular index within it). This is used whenever a set of elements are
|
|
87
|
+
* logically enclosed in a single code segment. For example, an entire
|
|
88
|
+
* extend block (possibly containing multiple extension definitions) will
|
|
89
|
+
* have an outer location whose path refers to the "extensions" repeated
|
|
90
|
+
* field without an index.
|
|
91
|
+
* - Multiple locations may have the same path. This happens when a single
|
|
92
|
+
* logical declaration is spread out across multiple places. The most
|
|
93
|
+
* obvious example is the "extend" block again -- there may be multiple
|
|
94
|
+
* extend blocks in the same scope, each of which will have the same path.
|
|
95
|
+
* - A location's span is not always a subset of its parent's span. For
|
|
96
|
+
* example, the "extendee" of an extension declaration appears at the
|
|
97
|
+
* beginning of the "extend" block and is shared by all extensions within
|
|
98
|
+
* the block.
|
|
99
|
+
* - Just because a location's span is a subset of some other location's span
|
|
100
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
|
101
|
+
* both a type and a field in a single declaration. Thus, the locations
|
|
102
|
+
* corresponding to the type and field and their components will overlap.
|
|
103
|
+
* - Code which tries to interpret locations should probably be designed to
|
|
104
|
+
* ignore those that it doesn't understand, as more types of locations could
|
|
105
|
+
* be recorded in the future.
|
|
106
|
+
*/
|
|
107
|
+
location?: TGoogleProtobufSourceCodeInfoLocation[];
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* SourceCodeInfo
|
|
111
|
+
* Encapsulates information about the original source file from which a
|
|
112
|
+
* FileDescriptorProto was generated.
|
|
113
|
+
*/
|
|
114
|
+
export declare class SourceCodeInfo extends FieldNode {
|
|
115
|
+
private _location;
|
|
116
|
+
__defaultValues: ISourceCodeInfo;
|
|
117
|
+
constructor(initData?: ISourceCodeInfo, parent?: FieldNode, parentAttributeName?: string);
|
|
118
|
+
get location(): ARRAY<GoogleProtobufSourceCodeInfoLocation, IGoogleProtobufSourceCodeInfoLocation>;
|
|
119
|
+
set location(v: IGoogleProtobufSourceCodeInfoLocation[]);
|
|
120
|
+
fromLiteral(data: ISourceCodeInfo): void;
|
|
121
|
+
toLiteral(): ISourceCodeInfo;
|
|
122
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// Code generated by furo protoc-gen-open-models. DO NOT EDIT.
|
|
2
|
+
// protoc-gen-open-models version: ????
|
|
3
|
+
import { ARRAY, FieldNode, Registry } from '@furo/open-models/dist/index';
|
|
4
|
+
import { SourceCodeInfoLocation as GoogleProtobufSourceCodeInfoLocation, } from './SourceCodeInfo.Location.js';
|
|
5
|
+
/**
|
|
6
|
+
* SourceCodeInfo
|
|
7
|
+
* Encapsulates information about the original source file from which a
|
|
8
|
+
* FileDescriptorProto was generated.
|
|
9
|
+
*/
|
|
10
|
+
export class SourceCodeInfo extends FieldNode {
|
|
11
|
+
constructor(initData, parent, parentAttributeName) {
|
|
12
|
+
super(undefined, parent, parentAttributeName);
|
|
13
|
+
this.__meta.typeName = 'google.protobuf.SourceCodeInfo';
|
|
14
|
+
this.__meta.description =
|
|
15
|
+
'SourceCodeInfo Encapsulates information about the original source file from which a\n FileDescriptorProto was generated.';
|
|
16
|
+
this.__meta.nodeFields = [
|
|
17
|
+
{
|
|
18
|
+
fieldName: 'location',
|
|
19
|
+
protoName: 'location',
|
|
20
|
+
FieldConstructor: GoogleProtobufSourceCodeInfoLocation,
|
|
21
|
+
constraints: {},
|
|
22
|
+
description: 'A Location identifies a piece of source code in a .proto file which\n corresponds to a particular definition. This information is intended\n to be useful to IDEs, code indexers, documentation generators, and similar\n tools.\n\n For example, say we have a file like:\n message Foo {\n optional string foo = 1;\n }\n Let\'s look at just the field definition:\n optional string foo = 1;\n ^ ^^ ^^ ^ ^^^\n a bc de f ghi\n We have the following locations:\n span path represents\n [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n\n Notes:\n - A location may refer to a repeated field itself (i.e. not to any\n particular index within it). This is used whenever a set of elements are\n logically enclosed in a single code segment. For example, an entire\n extend block (possibly containing multiple extension definitions) will\n have an outer location whose path refers to the "extensions" repeated\n field without an index.\n - Multiple locations may have the same path. This happens when a single\n logical declaration is spread out across multiple places. The most\n obvious example is the "extend" block again -- there may be multiple\n extend blocks in the same scope, each of which will have the same path.\n - A location\'s span is not always a subset of its parent\'s span. For\n example, the "extendee" of an extension declaration appears at the\n beginning of the "extend" block and is shared by all extensions within\n the block.\n - Just because a location\'s span is a subset of some other location\'s span\n does not mean that it is a descendant. For example, a "group" defines\n both a type and a field in a single declaration. Thus, the locations\n corresponding to the type and field and their components will overlap.\n - Code which tries to interpret locations should probably be designed to\n ignore those that it doesn\'t understand, as more types of locations could\n be recorded in the future.',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
// Initialize the fields
|
|
26
|
+
// A Location identifies a piece of source code in a .proto file which
|
|
27
|
+
// corresponds to a particular definition. This information is intended
|
|
28
|
+
// to be useful to IDEs, code indexers, documentation generators, and similar
|
|
29
|
+
// tools.
|
|
30
|
+
//
|
|
31
|
+
// For example, say we have a file like:
|
|
32
|
+
// message Foo {
|
|
33
|
+
// optional string foo = 1;
|
|
34
|
+
// }
|
|
35
|
+
// Let's look at just the field definition:
|
|
36
|
+
// optional string foo = 1;
|
|
37
|
+
// ^ ^^ ^^ ^ ^^^
|
|
38
|
+
// a bc de f ghi
|
|
39
|
+
// We have the following locations:
|
|
40
|
+
// span path represents
|
|
41
|
+
// [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
42
|
+
// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
43
|
+
// [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
44
|
+
// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
45
|
+
// [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
46
|
+
//
|
|
47
|
+
// Notes:
|
|
48
|
+
// - A location may refer to a repeated field itself (i.e. not to any
|
|
49
|
+
// particular index within it). This is used whenever a set of elements are
|
|
50
|
+
// logically enclosed in a single code segment. For example, an entire
|
|
51
|
+
// extend block (possibly containing multiple extension definitions) will
|
|
52
|
+
// have an outer location whose path refers to the "extensions" repeated
|
|
53
|
+
// field without an index.
|
|
54
|
+
// - Multiple locations may have the same path. This happens when a single
|
|
55
|
+
// logical declaration is spread out across multiple places. The most
|
|
56
|
+
// obvious example is the "extend" block again -- there may be multiple
|
|
57
|
+
// extend blocks in the same scope, each of which will have the same path.
|
|
58
|
+
// - A location's span is not always a subset of its parent's span. For
|
|
59
|
+
// example, the "extendee" of an extension declaration appears at the
|
|
60
|
+
// beginning of the "extend" block and is shared by all extensions within
|
|
61
|
+
// the block.
|
|
62
|
+
// - Just because a location's span is a subset of some other location's span
|
|
63
|
+
// does not mean that it is a descendant. For example, a "group" defines
|
|
64
|
+
// both a type and a field in a single declaration. Thus, the locations
|
|
65
|
+
// corresponding to the type and field and their components will overlap.
|
|
66
|
+
// - Code which tries to interpret locations should probably be designed to
|
|
67
|
+
// ignore those that it doesn't understand, as more types of locations could
|
|
68
|
+
// be recorded in the future.
|
|
69
|
+
this._location = new ARRAY(undefined, this, 'location');
|
|
70
|
+
// Set required fields
|
|
71
|
+
[].forEach(fieldName => {
|
|
72
|
+
this[fieldName].__meta.required =
|
|
73
|
+
true;
|
|
74
|
+
});
|
|
75
|
+
// Default values from openAPI annotations
|
|
76
|
+
this.__defaultValues = {};
|
|
77
|
+
// Initialize the fields with init data
|
|
78
|
+
if (initData !== undefined) {
|
|
79
|
+
this.__fromLiteral({ ...this.__defaultValues, ...initData });
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.__fromLiteral(this.__defaultValues);
|
|
83
|
+
}
|
|
84
|
+
// Set readonly fields after the init, so child nodes are readonly too
|
|
85
|
+
[].forEach(fieldName => {
|
|
86
|
+
this[fieldName].__readonly = true;
|
|
87
|
+
});
|
|
88
|
+
this.__meta.isPristine = true;
|
|
89
|
+
}
|
|
90
|
+
// A Location identifies a piece of source code in a .proto file which
|
|
91
|
+
// corresponds to a particular definition. This information is intended
|
|
92
|
+
// to be useful to IDEs, code indexers, documentation generators, and similar
|
|
93
|
+
// tools.
|
|
94
|
+
//
|
|
95
|
+
// For example, say we have a file like:
|
|
96
|
+
// message Foo {
|
|
97
|
+
// optional string foo = 1;
|
|
98
|
+
// }
|
|
99
|
+
// Let's look at just the field definition:
|
|
100
|
+
// optional string foo = 1;
|
|
101
|
+
// ^ ^^ ^^ ^ ^^^
|
|
102
|
+
// a bc de f ghi
|
|
103
|
+
// We have the following locations:
|
|
104
|
+
// span path represents
|
|
105
|
+
// [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
106
|
+
// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
107
|
+
// [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
108
|
+
// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
109
|
+
// [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
110
|
+
//
|
|
111
|
+
// Notes:
|
|
112
|
+
// - A location may refer to a repeated field itself (i.e. not to any
|
|
113
|
+
// particular index within it). This is used whenever a set of elements are
|
|
114
|
+
// logically enclosed in a single code segment. For example, an entire
|
|
115
|
+
// extend block (possibly containing multiple extension definitions) will
|
|
116
|
+
// have an outer location whose path refers to the "extensions" repeated
|
|
117
|
+
// field without an index.
|
|
118
|
+
// - Multiple locations may have the same path. This happens when a single
|
|
119
|
+
// logical declaration is spread out across multiple places. The most
|
|
120
|
+
// obvious example is the "extend" block again -- there may be multiple
|
|
121
|
+
// extend blocks in the same scope, each of which will have the same path.
|
|
122
|
+
// - A location's span is not always a subset of its parent's span. For
|
|
123
|
+
// example, the "extendee" of an extension declaration appears at the
|
|
124
|
+
// beginning of the "extend" block and is shared by all extensions within
|
|
125
|
+
// the block.
|
|
126
|
+
// - Just because a location's span is a subset of some other location's span
|
|
127
|
+
// does not mean that it is a descendant. For example, a "group" defines
|
|
128
|
+
// both a type and a field in a single declaration. Thus, the locations
|
|
129
|
+
// corresponding to the type and field and their components will overlap.
|
|
130
|
+
// - Code which tries to interpret locations should probably be designed to
|
|
131
|
+
// ignore those that it doesn't understand, as more types of locations could
|
|
132
|
+
// be recorded in the future.
|
|
133
|
+
get location() {
|
|
134
|
+
return this._location;
|
|
135
|
+
}
|
|
136
|
+
set location(v) {
|
|
137
|
+
this.__TypeSetter(this._location, v);
|
|
138
|
+
}
|
|
139
|
+
fromLiteral(data) {
|
|
140
|
+
super.__fromLiteral(data);
|
|
141
|
+
}
|
|
142
|
+
toLiteral() {
|
|
143
|
+
return super.__toLiteral();
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
Registry.register('google.protobuf.SourceCodeInfo', SourceCodeInfo);
|
|
147
|
+
//# sourceMappingURL=SourceCodeInfo.js.map
|