@osdk/maker 0.13.0-beta.9 → 0.14.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -0
- package/README.md +55 -13
- package/build/browser/api/action/ActionLevelValidationDefinition.js +2 -0
- package/build/browser/api/action/ActionLevelValidationDefinition.js.map +1 -0
- package/build/browser/api/action/ActionParameter.js +2 -0
- package/build/browser/api/action/ActionParameter.js.map +1 -0
- package/build/browser/api/action/ActionParameterAllowedValues.js +2 -0
- package/build/browser/api/action/ActionParameterAllowedValues.js.map +1 -0
- package/build/browser/api/action/ActionParameterConditionalOverride.js +2 -0
- package/build/browser/api/action/ActionParameterConditionalOverride.js.map +1 -0
- package/build/browser/api/action/ActionParameterConfiguration.js +2 -0
- package/build/browser/api/action/ActionParameterConfiguration.js.map +1 -0
- package/build/browser/api/action/ActionParameterType.js +22 -0
- package/build/browser/api/action/ActionParameterType.js.map +1 -0
- package/build/browser/api/action/ActionSection.js +2 -0
- package/build/browser/api/action/ActionSection.js.map +1 -0
- package/build/browser/api/action/ActionStatus.js +2 -0
- package/build/browser/api/action/ActionStatus.js.map +1 -0
- package/build/browser/api/action/ActionType.js +2 -0
- package/build/browser/api/action/ActionType.js.map +1 -0
- package/build/browser/api/action/ActionValidationRule.js +2 -0
- package/build/browser/api/action/ActionValidationRule.js.map +1 -0
- package/build/browser/api/action/ConditionDefinition.js +2 -0
- package/build/browser/api/action/ConditionDefinition.js.map +1 -0
- package/build/browser/api/action/MappingValue.js +2 -0
- package/build/browser/api/action/MappingValue.js.map +1 -0
- package/build/browser/api/action/SectionConditionalOverride.js +2 -0
- package/build/browser/api/action/SectionConditionalOverride.js.map +1 -0
- package/build/browser/api/action/SubmissionMetadata.js +2 -0
- package/build/browser/api/action/SubmissionMetadata.js.map +1 -0
- package/build/browser/api/common/BlueprintIcons.js +2 -0
- package/build/browser/api/common/BlueprintIcons.js.map +1 -0
- package/build/browser/api/common/OntologyDefinition.js +2 -0
- package/build/browser/api/common/OntologyDefinition.js.map +1 -0
- package/build/browser/api/common/OntologyEntityBase.js +2 -0
- package/build/browser/api/common/OntologyEntityBase.js.map +1 -0
- package/build/browser/api/{types.js → common/OntologyEntityTypeEnum.js} +2 -8
- package/build/browser/api/common/OntologyEntityTypeEnum.js.map +1 -0
- package/build/browser/api/common/OntologyEntityTypeMapping.js +2 -0
- package/build/browser/api/common/OntologyEntityTypeMapping.js.map +1 -0
- package/build/browser/api/common/TypeClass.js +2 -0
- package/build/browser/api/common/TypeClass.js.map +1 -0
- package/build/browser/api/defineAction.js +69 -46
- package/build/browser/api/defineAction.js.map +1 -1
- package/build/browser/api/defineInterface.js +14 -34
- package/build/browser/api/defineInterface.js.map +1 -1
- package/build/browser/api/defineInterfaceLinkConstraint.js +3 -2
- package/build/browser/api/defineInterfaceLinkConstraint.js.map +1 -1
- package/build/browser/api/defineLink.js +33 -12
- package/build/browser/api/defineLink.js.map +1 -1
- package/build/browser/api/defineObject.js +9 -29
- package/build/browser/api/defineObject.js.map +1 -1
- package/build/browser/api/defineOntology.js +17 -552
- package/build/browser/api/defineOntology.js.map +1 -1
- package/build/browser/api/defineSpt.js +1 -1
- package/build/browser/api/defineSpt.js.map +1 -1
- package/build/browser/api/defineValueType.js +1 -1
- package/build/browser/api/defineValueType.js.map +1 -1
- package/build/browser/api/importOntologyEntity.js +1 -1
- package/build/browser/api/importOntologyEntity.js.map +1 -1
- package/build/browser/api/{defineImportSpt.js → importSharedPropertyType.js} +2 -3
- package/build/browser/api/importSharedPropertyType.js.map +1 -0
- package/build/browser/api/interface/InterfacePropertyType.js +2 -0
- package/build/browser/api/interface/InterfacePropertyType.js.map +1 -0
- package/build/browser/api/interface/InterfaceType.js +2 -0
- package/build/browser/api/interface/InterfaceType.js.map +1 -0
- package/build/browser/api/interface/getFlattenedInterfaceProperties.js +27 -0
- package/build/browser/api/interface/getFlattenedInterfaceProperties.js.map +1 -0
- package/build/browser/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js +42 -0
- package/build/browser/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js.map +1 -0
- package/build/browser/api/links/LinkType.js +2 -0
- package/build/browser/api/links/LinkType.js.map +1 -0
- package/build/browser/api/namespace/combineApiNamespaceIfMissing.js +20 -0
- package/build/browser/api/namespace/combineApiNamespaceIfMissing.js.map +1 -0
- package/build/browser/api/object/InterfaceImplementation.js +2 -0
- package/build/browser/api/object/InterfaceImplementation.js.map +1 -0
- package/build/browser/api/object/ObjectPropertyType.js +2 -0
- package/build/browser/api/object/ObjectPropertyType.js.map +1 -0
- package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js +2 -0
- package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -0
- package/build/browser/api/object/ObjectType.js +2 -0
- package/build/browser/api/object/ObjectType.js.map +1 -0
- package/build/browser/api/object/ObjectTypeDatasourceDefinition.js +2 -0
- package/build/browser/api/object/ObjectTypeDatasourceDefinition.js.map +1 -0
- package/build/browser/api/object/ObjectTypeDefinition.js +2 -0
- package/build/browser/api/object/ObjectTypeDefinition.js.map +1 -0
- package/build/browser/api/object/ObjectTypeStatus.js +2 -0
- package/build/browser/api/object/ObjectTypeStatus.js.map +1 -0
- package/build/browser/api/objectStatus.test.js.map +1 -1
- package/build/browser/api/overall.test.js +1987 -691
- package/build/browser/api/overall.test.js.map +1 -1
- package/build/browser/api/properties/Nullability.js +2 -0
- package/build/browser/api/properties/Nullability.js.map +1 -0
- package/build/browser/api/properties/PropertyTypeType.js +34 -0
- package/build/browser/api/properties/PropertyTypeType.js.map +1 -0
- package/build/browser/api/properties/SharedPropertyType.js +2 -0
- package/build/browser/api/properties/SharedPropertyType.js.map +1 -0
- package/build/browser/api/propertyConversionUtils.js +0 -238
- package/build/browser/api/propertyConversionUtils.js.map +1 -1
- package/build/browser/api/values/ValueTypeDefinitionVersion.js +2 -0
- package/build/browser/api/values/ValueTypeDefinitionVersion.js.map +1 -0
- package/build/browser/api/values/ValueTypeType.js +2 -0
- package/build/browser/api/values/ValueTypeType.js.map +1 -0
- package/build/browser/api/wrapWithProxy.js +1 -0
- package/build/browser/api/wrapWithProxy.js.map +1 -1
- package/build/browser/cli/main.js +13 -4
- package/build/browser/cli/main.js.map +1 -1
- package/build/browser/conversion/toConjure/distributeTypeHelper.js +23 -0
- package/build/browser/conversion/toConjure/distributeTypeHelper.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js +88 -0
- package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionParameters.js +31 -0
- package/build/browser/conversion/toMarketplace/convertActionParameters.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionSections.js +43 -0
- package/build/browser/conversion/toMarketplace/convertActionSections.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionValidation.js +93 -0
- package/build/browser/conversion/toMarketplace/convertActionValidation.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionVisibility.js +41 -0
- package/build/browser/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertCardinality.js +23 -0
- package/build/browser/conversion/toMarketplace/convertCardinality.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertConditionDefinition.js +88 -0
- package/build/browser/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
- package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js +89 -0
- package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertInterface.js +47 -0
- package/build/browser/conversion/toMarketplace/convertInterface.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertLink.js +132 -0
- package/build/browser/conversion/toMarketplace/convertLink.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertMappingValue.js +41 -0
- package/build/browser/conversion/toMarketplace/convertMappingValue.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js +43 -0
- package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertObject.js +108 -0
- package/build/browser/conversion/toMarketplace/convertObject.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +53 -0
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js +29 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +57 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
- package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
- package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertSpt.js +62 -0
- package/build/browser/conversion/toMarketplace/convertSpt.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertValueType.js +25 -0
- package/build/browser/conversion/toMarketplace/convertValueType.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
- package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
- package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
- package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
- package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
- package/build/browser/conversion/toMarketplace/getFormContentOrdering.js +39 -0
- package/build/browser/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +124 -0
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
- package/build/browser/index.js +5 -5
- package/build/browser/index.js.map +1 -1
- package/build/browser/util/OptionalFields.js +2 -0
- package/build/browser/util/OptionalFields.js.map +1 -0
- package/build/browser/util/RequiredFields.js +2 -0
- package/build/browser/util/RequiredFields.js.map +1 -0
- package/build/cjs/index.cjs +1177 -1045
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +417 -346
- package/build/esm/api/action/ActionLevelValidationDefinition.js +2 -0
- package/build/esm/api/action/ActionLevelValidationDefinition.js.map +1 -0
- package/build/esm/api/action/ActionParameter.js +2 -0
- package/build/esm/api/action/ActionParameter.js.map +1 -0
- package/build/esm/api/action/ActionParameterAllowedValues.js +2 -0
- package/build/esm/api/action/ActionParameterAllowedValues.js.map +1 -0
- package/build/esm/api/action/ActionParameterConditionalOverride.js +2 -0
- package/build/esm/api/action/ActionParameterConditionalOverride.js.map +1 -0
- package/build/esm/api/action/ActionParameterConfiguration.js +2 -0
- package/build/esm/api/action/ActionParameterConfiguration.js.map +1 -0
- package/build/esm/api/action/ActionParameterType.js +22 -0
- package/build/esm/api/action/ActionParameterType.js.map +1 -0
- package/build/esm/api/action/ActionSection.js +2 -0
- package/build/esm/api/action/ActionSection.js.map +1 -0
- package/build/esm/api/action/ActionStatus.js +2 -0
- package/build/esm/api/action/ActionStatus.js.map +1 -0
- package/build/esm/api/action/ActionType.js +2 -0
- package/build/esm/api/action/ActionType.js.map +1 -0
- package/build/esm/api/action/ActionValidationRule.js +2 -0
- package/build/esm/api/action/ActionValidationRule.js.map +1 -0
- package/build/esm/api/action/ConditionDefinition.js +2 -0
- package/build/esm/api/action/ConditionDefinition.js.map +1 -0
- package/build/esm/api/action/MappingValue.js +2 -0
- package/build/esm/api/action/MappingValue.js.map +1 -0
- package/build/esm/api/action/SectionConditionalOverride.js +2 -0
- package/build/esm/api/action/SectionConditionalOverride.js.map +1 -0
- package/build/esm/api/action/SubmissionMetadata.js +2 -0
- package/build/esm/api/action/SubmissionMetadata.js.map +1 -0
- package/build/esm/api/common/BlueprintIcons.js +2 -0
- package/build/esm/api/common/BlueprintIcons.js.map +1 -0
- package/build/esm/api/common/OntologyDefinition.js +2 -0
- package/build/esm/api/common/OntologyDefinition.js.map +1 -0
- package/build/esm/api/common/OntologyEntityBase.js +2 -0
- package/build/esm/api/common/OntologyEntityBase.js.map +1 -0
- package/build/esm/api/{types.js → common/OntologyEntityTypeEnum.js} +2 -8
- package/build/esm/api/common/OntologyEntityTypeEnum.js.map +1 -0
- package/build/esm/api/common/OntologyEntityTypeMapping.js +2 -0
- package/build/esm/api/common/OntologyEntityTypeMapping.js.map +1 -0
- package/build/esm/api/common/TypeClass.js +2 -0
- package/build/esm/api/common/TypeClass.js.map +1 -0
- package/build/esm/api/defineAction.js +69 -46
- package/build/esm/api/defineAction.js.map +1 -1
- package/build/esm/api/defineInterface.js +14 -34
- package/build/esm/api/defineInterface.js.map +1 -1
- package/build/esm/api/defineInterfaceLinkConstraint.js +3 -2
- package/build/esm/api/defineInterfaceLinkConstraint.js.map +1 -1
- package/build/esm/api/defineLink.js +33 -12
- package/build/esm/api/defineLink.js.map +1 -1
- package/build/esm/api/defineObject.js +9 -29
- package/build/esm/api/defineObject.js.map +1 -1
- package/build/esm/api/defineOntology.js +17 -552
- package/build/esm/api/defineOntology.js.map +1 -1
- package/build/esm/api/defineSpt.js +1 -1
- package/build/esm/api/defineSpt.js.map +1 -1
- package/build/esm/api/defineValueType.js +1 -1
- package/build/esm/api/defineValueType.js.map +1 -1
- package/build/esm/api/importOntologyEntity.js +1 -1
- package/build/esm/api/importOntologyEntity.js.map +1 -1
- package/build/esm/api/{defineImportSpt.js → importSharedPropertyType.js} +2 -3
- package/build/esm/api/importSharedPropertyType.js.map +1 -0
- package/build/esm/api/interface/InterfacePropertyType.js +2 -0
- package/build/esm/api/interface/InterfacePropertyType.js.map +1 -0
- package/build/esm/api/interface/InterfaceType.js +2 -0
- package/build/esm/api/interface/InterfaceType.js.map +1 -0
- package/build/esm/api/interface/getFlattenedInterfaceProperties.js +27 -0
- package/build/esm/api/interface/getFlattenedInterfaceProperties.js.map +1 -0
- package/build/esm/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js +42 -0
- package/build/esm/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js.map +1 -0
- package/build/esm/api/links/LinkType.js +2 -0
- package/build/esm/api/links/LinkType.js.map +1 -0
- package/build/esm/api/namespace/combineApiNamespaceIfMissing.js +20 -0
- package/build/esm/api/namespace/combineApiNamespaceIfMissing.js.map +1 -0
- package/build/esm/api/object/InterfaceImplementation.js +2 -0
- package/build/esm/api/object/InterfaceImplementation.js.map +1 -0
- package/build/esm/api/object/ObjectPropertyType.js +2 -0
- package/build/esm/api/object/ObjectPropertyType.js.map +1 -0
- package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js +2 -0
- package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -0
- package/build/esm/api/object/ObjectType.js +2 -0
- package/build/esm/api/object/ObjectType.js.map +1 -0
- package/build/esm/api/object/ObjectTypeDatasourceDefinition.js +2 -0
- package/build/esm/api/object/ObjectTypeDatasourceDefinition.js.map +1 -0
- package/build/esm/api/object/ObjectTypeDefinition.js +2 -0
- package/build/esm/api/object/ObjectTypeDefinition.js.map +1 -0
- package/build/esm/api/object/ObjectTypeStatus.js +2 -0
- package/build/esm/api/object/ObjectTypeStatus.js.map +1 -0
- package/build/esm/api/objectStatus.test.js.map +1 -1
- package/build/esm/api/overall.test.js +1987 -691
- package/build/esm/api/overall.test.js.map +1 -1
- package/build/esm/api/properties/Nullability.js +2 -0
- package/build/esm/api/properties/Nullability.js.map +1 -0
- package/build/esm/api/properties/PropertyTypeType.js +34 -0
- package/build/esm/api/properties/PropertyTypeType.js.map +1 -0
- package/build/esm/api/properties/SharedPropertyType.js +2 -0
- package/build/esm/api/properties/SharedPropertyType.js.map +1 -0
- package/build/esm/api/propertyConversionUtils.js +0 -238
- package/build/esm/api/propertyConversionUtils.js.map +1 -1
- package/build/esm/api/values/ValueTypeDefinitionVersion.js +2 -0
- package/build/esm/api/values/ValueTypeDefinitionVersion.js.map +1 -0
- package/build/esm/api/values/ValueTypeType.js +2 -0
- package/build/esm/api/values/ValueTypeType.js.map +1 -0
- package/build/esm/api/wrapWithProxy.js +1 -0
- package/build/esm/api/wrapWithProxy.js.map +1 -1
- package/build/esm/cli/main.js +13 -4
- package/build/esm/cli/main.js.map +1 -1
- package/build/esm/conversion/toConjure/distributeTypeHelper.js +23 -0
- package/build/esm/conversion/toConjure/distributeTypeHelper.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js +88 -0
- package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionParameters.js +31 -0
- package/build/esm/conversion/toMarketplace/convertActionParameters.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionSections.js +43 -0
- package/build/esm/conversion/toMarketplace/convertActionSections.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionValidation.js +93 -0
- package/build/esm/conversion/toMarketplace/convertActionValidation.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionVisibility.js +41 -0
- package/build/esm/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertCardinality.js +23 -0
- package/build/esm/conversion/toMarketplace/convertCardinality.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertConditionDefinition.js +88 -0
- package/build/esm/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
- package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js +89 -0
- package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertInterface.js +47 -0
- package/build/esm/conversion/toMarketplace/convertInterface.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertLink.js +132 -0
- package/build/esm/conversion/toMarketplace/convertLink.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertMappingValue.js +41 -0
- package/build/esm/conversion/toMarketplace/convertMappingValue.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js +43 -0
- package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertObject.js +108 -0
- package/build/esm/conversion/toMarketplace/convertObject.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +53 -0
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js +29 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +57 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
- package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
- package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertSpt.js +62 -0
- package/build/esm/conversion/toMarketplace/convertSpt.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertValueType.js +25 -0
- package/build/esm/conversion/toMarketplace/convertValueType.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
- package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
- package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
- package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
- package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
- package/build/esm/conversion/toMarketplace/getFormContentOrdering.js +39 -0
- package/build/esm/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +124 -0
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/util/OptionalFields.js +2 -0
- package/build/esm/util/OptionalFields.js.map +1 -0
- package/build/esm/util/RequiredFields.js +2 -0
- package/build/esm/util/RequiredFields.js.map +1 -0
- package/build/types/api/action/ActionLevelValidationDefinition.d.ts +7 -0
- package/build/types/api/action/ActionLevelValidationDefinition.d.ts.map +1 -0
- package/build/types/api/action/ActionParameter.d.ts +14 -0
- package/build/types/api/action/ActionParameter.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterAllowedValues.d.ts +50 -0
- package/build/types/api/action/ActionParameterAllowedValues.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterConditionalOverride.d.ts +26 -0
- package/build/types/api/action/ActionParameterConditionalOverride.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterConfiguration.d.ts +20 -0
- package/build/types/api/action/ActionParameterConfiguration.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterType.d.ts +6 -0
- package/build/types/api/action/ActionParameterType.d.ts.map +1 -0
- package/build/types/api/action/ActionSection.d.ts +13 -0
- package/build/types/api/action/ActionSection.d.ts.map +1 -0
- package/build/types/api/action/ActionStatus.d.ts +2 -0
- package/build/types/api/action/ActionStatus.d.ts.map +1 -0
- package/build/types/api/action/ActionType.d.ts +36 -0
- package/build/types/api/action/ActionType.d.ts.map +1 -0
- package/build/types/api/action/ActionValidationRule.d.ts +2 -0
- package/build/types/api/action/ActionValidationRule.d.ts.map +1 -0
- package/build/types/api/action/ConditionDefinition.d.ts +15 -0
- package/build/types/api/action/ConditionDefinition.d.ts.map +1 -0
- package/build/types/api/action/MappingValue.d.ts +13 -0
- package/build/types/api/action/MappingValue.d.ts.map +1 -0
- package/build/types/api/action/SectionConditionalOverride.d.ts +2 -0
- package/build/types/api/action/SectionConditionalOverride.d.ts.map +1 -0
- package/build/types/api/action/SubmissionMetadata.d.ts +6 -0
- package/build/types/api/action/SubmissionMetadata.d.ts.map +1 -0
- package/build/types/api/{iconNames.d.ts.map → common/BlueprintIcons.d.ts.map} +1 -1
- package/build/types/api/common/OntologyDefinition.d.ts +6 -0
- package/build/types/api/common/OntologyDefinition.d.ts.map +1 -0
- package/build/types/api/common/OntologyEntityBase.d.ts +5 -0
- package/build/types/api/common/OntologyEntityBase.d.ts.map +1 -0
- package/build/types/api/common/OntologyEntityTypeEnum.d.ts +8 -0
- package/build/types/api/common/OntologyEntityTypeEnum.d.ts.map +1 -0
- package/build/types/api/common/OntologyEntityTypeMapping.d.ts +16 -0
- package/build/types/api/common/OntologyEntityTypeMapping.d.ts.map +1 -0
- package/build/types/api/common/TypeClass.d.ts +4 -0
- package/build/types/api/common/TypeClass.d.ts.map +1 -0
- package/build/types/api/defineAction.d.ts +38 -3
- package/build/types/api/defineAction.d.ts.map +1 -1
- package/build/types/api/defineInterface.d.ts +5 -3
- package/build/types/api/defineInterface.d.ts.map +1 -1
- package/build/types/api/defineInterfaceLinkConstraint.d.ts +1 -1
- package/build/types/api/defineInterfaceLinkConstraint.d.ts.map +1 -1
- package/build/types/api/defineLink.d.ts +1 -1
- package/build/types/api/defineLink.d.ts.map +1 -1
- package/build/types/api/defineObject.d.ts +2 -4
- package/build/types/api/defineObject.d.ts.map +1 -1
- package/build/types/api/defineOntology.d.ts +11 -4
- package/build/types/api/defineOntology.d.ts.map +1 -1
- package/build/types/api/defineSpt.d.ts +2 -1
- package/build/types/api/defineSpt.d.ts.map +1 -1
- package/build/types/api/defineValueType.d.ts +2 -1
- package/build/types/api/defineValueType.d.ts.map +1 -1
- package/build/types/api/importOntologyEntity.d.ts +1 -1
- package/build/types/api/importOntologyEntity.d.ts.map +1 -1
- package/build/types/api/{defineImportSpt.d.ts → importSharedPropertyType.d.ts} +2 -1
- package/build/types/api/importSharedPropertyType.d.ts.map +1 -0
- package/build/types/api/interface/InterfacePropertyType.d.ts +5 -0
- package/build/types/api/interface/InterfacePropertyType.d.ts.map +1 -0
- package/build/types/api/interface/InterfaceType.d.ts +10 -0
- package/build/types/api/interface/InterfaceType.d.ts.map +1 -0
- package/build/types/api/interface/getFlattenedInterfaceProperties.d.ts +3 -0
- package/build/types/api/interface/getFlattenedInterfaceProperties.d.ts.map +1 -0
- package/build/types/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.d.ts +3 -0
- package/build/types/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.d.ts.map +1 -0
- package/build/types/api/links/LinkType.d.ts +100 -0
- package/build/types/api/links/LinkType.d.ts.map +1 -0
- package/build/types/api/namespace/combineApiNamespaceIfMissing.d.ts +1 -0
- package/build/types/api/namespace/combineApiNamespaceIfMissing.d.ts.map +1 -0
- package/build/types/api/object/InterfaceImplementation.d.ts +8 -0
- package/build/types/api/object/InterfaceImplementation.d.ts.map +1 -0
- package/build/types/api/object/ObjectPropertyType.d.ts +27 -0
- package/build/types/api/object/ObjectPropertyType.d.ts.map +1 -0
- package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts +3 -0
- package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts.map +1 -0
- package/build/types/api/object/ObjectType.d.ts +29 -0
- package/build/types/api/object/ObjectType.d.ts.map +1 -0
- package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts +11 -0
- package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts.map +1 -0
- package/build/types/api/object/ObjectTypeDefinition.d.ts +26 -0
- package/build/types/api/object/ObjectTypeDefinition.d.ts.map +1 -0
- package/build/types/api/object/ObjectTypeStatus.d.ts +5 -0
- package/build/types/api/object/ObjectTypeStatus.d.ts.map +1 -0
- package/build/types/api/properties/Nullability.d.ts +4 -0
- package/build/types/api/properties/Nullability.d.ts.map +1 -0
- package/build/types/api/properties/PropertyTypeType.d.ts +33 -0
- package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -0
- package/build/types/api/properties/SharedPropertyType.d.ts +22 -0
- package/build/types/api/properties/SharedPropertyType.d.ts.map +1 -0
- package/build/types/api/propertyConversionUtils.d.ts +2 -20
- package/build/types/api/propertyConversionUtils.d.ts.map +1 -1
- package/build/types/api/values/ValueTypeDefinitionVersion.d.ts +14 -0
- package/build/types/api/values/ValueTypeDefinitionVersion.d.ts.map +1 -0
- package/build/types/api/values/ValueTypeType.d.ts +178 -0
- package/build/types/api/values/ValueTypeType.d.ts.map +1 -0
- package/build/types/api/wrapWithProxy.d.ts +1 -1
- package/build/types/api/wrapWithProxy.d.ts.map +1 -1
- package/build/types/cli/main.d.ts.map +1 -1
- package/build/types/conversion/toConjure/distributeTypeHelper.d.ts +3 -0
- package/build/types/conversion/toConjure/distributeTypeHelper.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionParameters.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertActionParameters.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionSections.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertActionSections.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionValidation.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertActionValidation.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts +2 -0
- package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertCardinality.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertCardinality.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts +2 -0
- package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertInterface.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertInterface.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertLink.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertLink.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertMappingValue.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertMappingValue.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts +7 -0
- package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertObject.d.ts +9 -0
- package/build/types/conversion/toMarketplace/convertObject.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertSpt.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertSpt.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertValueType.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertValueType.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts +2 -0
- package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts +2 -0
- package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts +3 -0
- package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts +3 -0
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts.map +1 -0
- package/build/types/index.d.ts +22 -6
- package/build/types/index.d.ts.map +1 -1
- package/build/types/util/OptionalFields.d.ts +4 -0
- package/build/types/util/OptionalFields.d.ts.map +1 -0
- package/build/types/util/RequiredFields.d.ts +4 -0
- package/build/types/util/RequiredFields.d.ts.map +1 -0
- package/package.json +5 -5
- package/build/browser/api/defineImportSpt.js.map +0 -1
- package/build/browser/api/iconNames.js +0 -2
- package/build/browser/api/iconNames.js.map +0 -1
- package/build/browser/api/ontologyUtils.js +0 -243
- package/build/browser/api/ontologyUtils.js.map +0 -1
- package/build/browser/api/types.js.map +0 -1
- package/build/esm/api/defineImportSpt.js.map +0 -1
- package/build/esm/api/iconNames.js +0 -2
- package/build/esm/api/iconNames.js.map +0 -1
- package/build/esm/api/ontologyUtils.js +0 -243
- package/build/esm/api/ontologyUtils.js.map +0 -1
- package/build/esm/api/types.js.map +0 -1
- package/build/types/api/defineImportSpt.d.ts.map +0 -1
- package/build/types/api/ontologyUtils.d.ts +0 -8
- package/build/types/api/ontologyUtils.d.ts.map +0 -1
- package/build/types/api/types.d.ts +0 -625
- package/build/types/api/types.d.ts.map +0 -1
- /package/build/types/api/{iconNames.d.ts → common/BlueprintIcons.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionLevelValidationDefinition.js","names":[],"sources":["ActionLevelValidationDefinition.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ValidationRuleDisplayMetadata } from \"@osdk/client.unstable\";\nimport type { ConditionDefinition } from \"./ConditionDefinition.js\";\n\nexport type ActionLevelValidationDefinition = Array<ActionLevelValidationRule>;\n\nexport type ActionLevelValidationRule = {\n condition: ConditionDefinition;\n displayMetadata?: ValidationRuleDisplayMetadata;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionParameter.js","names":[],"sources":["ActionParameter.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrParameterPrefill,\n ParameterId,\n} from \"@osdk/client.unstable\";\nimport type { TypeClass } from \"../common/TypeClass.js\";\nimport type { ActionParameterConfiguration } from \"./ActionParameterConfiguration.js\";\nimport type { ActionParameterType } from \"./ActionParameterType.js\";\n\nexport interface ActionParameter {\n id: ParameterId;\n displayName: string;\n type: ActionParameterType;\n validation: ActionParameterValidation;\n description?: string;\n typeClasses?: Array<TypeClass>;\n defaultValue?: OntologyIrParameterPrefill;\n}\nexport type ActionParameterValidation = Omit<\n ActionParameterConfiguration,\n \"displayName\" | \"defaultValue\"\n>;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionParameterAllowedValues.js","names":[],"sources":["ActionParameterAllowedValues.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n InterfaceTypeApiName,\n OntologyIrConditionValue,\n OntologyIrLabelledValue,\n OntologyIrParameterDateRangeValue,\n} from \"@osdk/client.unstable\";\n\n// TODO(dpaquin): cleanup? or does \"type: foo\" actually make sense here\n\nexport type ActionParameterAllowedValues =\n | {\n type: \"oneOf\";\n oneOf: Array<OntologyIrLabelledValue>;\n otherValueAllowed?: boolean;\n }\n | {\n type: \"range\";\n min?: OntologyIrConditionValue;\n max?: OntologyIrConditionValue;\n }\n | { type: \"text\"; minLength?: number; maxLength?: number; regex?: string }\n | {\n type: \"datetime\";\n maximum?: OntologyIrParameterDateRangeValue;\n minimum?: OntologyIrParameterDateRangeValue;\n }\n | { type: \"objectTypeReference\"; interfaceTypes: Array<InterfaceTypeApiName> }\n | { type: \"objectQuery\" }\n | { type: \"attachment\" }\n | { type: \"boolean\" }\n | { type: \"objectSetRid\" }\n | { type: \"cbacMarking\" }\n | { type: \"mandatoryMarking\" }\n | { type: \"objectList\" }\n | { type: \"mediaReference\" }\n | { type: \"timeSeriesReference\" }\n | { type: \"geohash\" }\n | { type: \"geoshape\" }\n | { type: \"geotimeSeriesReference\" }\n | { type: \"interfaceObjectQuery\" }\n | { type: \"redacted\" };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionParameterConditionalOverride.js","names":[],"sources":["ActionParameterConditionalOverride.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyIrParameterPrefill } from \"@osdk/client.unstable\";\nimport type { ActionParameterAllowedValues } from \"./ActionParameterAllowedValues.js\";\nimport type { ConditionDefinition } from \"./ConditionDefinition.js\";\n\nexport type ActionParameterConditionalOverride =\n | VisibilityOverride\n | DisabledOverride\n | RequiredOverride\n | DefaultValueOverride\n | ConstraintOverride;\n\nexport type VisibilityOverride = {\n type: \"visibility\";\n condition: ConditionDefinition;\n};\n\nexport type DisabledOverride = {\n type: \"disabled\";\n condition: ConditionDefinition;\n};\n\nexport type RequiredOverride = {\n type: \"required\";\n condition: ConditionDefinition;\n};\n\nexport type DefaultValueOverride = {\n type: \"defaultValue\";\n condition: ConditionDefinition;\n defaultValue: OntologyIrParameterPrefill;\n};\n\nexport type ConstraintOverride = {\n type: \"constraint\";\n condition: ConditionDefinition;\n constraint: ActionParameterAllowedValues;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionParameterConfiguration.js","names":[],"sources":["ActionParameterConfiguration.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyIrParameterPrefill } from \"@osdk/client.unstable\";\nimport type { ActionParameterAllowedValues } from \"./ActionParameterAllowedValues.js\";\nimport type { ActionParameterConditionalOverride } from \"./ActionParameterConditionalOverride.js\";\nimport type { ActionParameterType } from \"./ActionParameterType.js\";\n\nexport interface ActionParameterConfiguration {\n allowedValues?: ActionParameterAllowedValues;\n required?: ActionParameterRequirementConstraint;\n defaultVisibility?: \"editable\" | \"disabled\" | \"hidden\";\n conditionalOverrides?: Array<ActionParameterConditionalOverride>;\n defaultValue?: OntologyIrParameterPrefill;\n displayName?: string;\n description?: string;\n // should only be used on non-property parameters\n customParameterType?: ActionParameterType;\n}\n\nexport type ActionParameterRequirementConstraint =\n | boolean\n | { listLength: { min?: number; max?: number } };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// FIXME: these should not use conjure types
|
|
18
|
+
|
|
19
|
+
export function isActionParameterTypePrimitive(type) {
|
|
20
|
+
return ["boolean", "booleanList", "integer", "integerList", "long", "longList", "double", "doubleList", "string", "stringList", "decimal", "decimalList", "timestamp", "timestampList", "geohash", "geohashList", "geoshape", "geoshapeList", "timeSeriesReference", "date", "dateList", "objectTypeReference", "objectReference", "attachment", "attachmentList", "marking", "markingList", "mediaReference", "mediaReferenceList", "geotimeSeriesReference", "geotimeSeriesReferenceList"].includes(type);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=ActionParameterType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionParameterType.js","names":["isActionParameterTypePrimitive","type","includes"],"sources":["ActionParameterType.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrBaseParameterType_decimal,\n OntologyIrBaseParameterType_decimalList,\n OntologyIrBaseParameterType_interfaceReference,\n OntologyIrBaseParameterType_interfaceReferenceList,\n OntologyIrBaseParameterType_objectReference,\n OntologyIrBaseParameterType_objectReferenceList,\n OntologyIrBaseParameterType_objectSetRid,\n OntologyIrBaseParameterType_objectTypeReference,\n OntologyIrBaseParameterType_struct,\n OntologyIrBaseParameterType_structList,\n OntologyIrBaseParameterType_timestamp,\n OntologyIrBaseParameterType_timestampList,\n} from \"@osdk/client.unstable\";\n\nexport type ActionParameterTypePrimitive =\n | \"boolean\"\n | \"booleanList\"\n | \"integer\"\n | \"integerList\"\n | \"long\"\n | \"longList\"\n | \"double\"\n | \"doubleList\"\n | \"string\"\n | \"stringList\"\n | \"decimal\"\n | \"decimalList\"\n | \"timestamp\"\n | \"timestampList\"\n | \"geohash\"\n | \"geohashList\"\n | \"geoshape\"\n | \"geoshapeList\"\n | \"timeSeriesReference\"\n | \"date\"\n | \"dateList\"\n | \"objectTypeReference\"\n | \"attachment\"\n | \"attachmentList\"\n | \"marking\"\n | \"markingList\"\n | \"mediaReference\"\n | \"mediaReferenceList\"\n | \"geotimeSeriesReference\"\n | \"geotimeSeriesReferenceList\";\n\n// FIXME: these should not use conjure types\ntype ActionParameterTypeComplex =\n | OntologyIrBaseParameterType_decimal\n | OntologyIrBaseParameterType_decimalList\n | OntologyIrBaseParameterType_timestamp\n | OntologyIrBaseParameterType_timestampList\n | OntologyIrBaseParameterType_objectReference\n | OntologyIrBaseParameterType_objectReferenceList\n | OntologyIrBaseParameterType_objectSetRid\n | OntologyIrBaseParameterType_objectTypeReference\n | OntologyIrBaseParameterType_objectReference\n | OntologyIrBaseParameterType_interfaceReference\n | OntologyIrBaseParameterType_interfaceReferenceList\n | OntologyIrBaseParameterType_struct\n | OntologyIrBaseParameterType_structList;\n\nexport type ActionParameterType =\n | ActionParameterTypePrimitive\n | ActionParameterTypeComplex;\nexport function isActionParameterTypePrimitive(\n type: string,\n): type is ActionParameterTypePrimitive {\n return [\n \"boolean\",\n \"booleanList\",\n \"integer\",\n \"integerList\",\n \"long\",\n \"longList\",\n \"double\",\n \"doubleList\",\n \"string\",\n \"stringList\",\n \"decimal\",\n \"decimalList\",\n \"timestamp\",\n \"timestampList\",\n \"geohash\",\n \"geohashList\",\n \"geoshape\",\n \"geoshapeList\",\n \"timeSeriesReference\",\n \"date\",\n \"dateList\",\n \"objectTypeReference\",\n \"objectReference\",\n \"attachment\",\n \"attachmentList\",\n \"marking\",\n \"markingList\",\n \"mediaReference\",\n \"mediaReferenceList\",\n \"geotimeSeriesReference\",\n \"geotimeSeriesReferenceList\",\n ].includes(type);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiDA;;AAmBA,OAAO,SAASA,8BAA8BA,CAC5CC,IAAY,EAC0B;EACtC,OAAO,CACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,aAAa,EACb,MAAM,EACN,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,UAAU,EACV,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,CAC7B,CAACC,QAAQ,CAACD,IAAI,CAAC;AAClB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionSection.js","names":[],"sources":["ActionSection.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { SectionConditionalOverride } from \"./SectionConditionalOverride.js\";\n\nexport type ActionSection = {\n id: string;\n displayName: string;\n parameters: Array<string>;\n defaultVisibility?: \"visible\" | \"hidden\";\n description?: string;\n columnCount?: 1 | 2;\n showTitleBar?: boolean;\n collapsedByDefault?: boolean;\n style?: \"box\" | \"minimal\";\n conditionalOverrides?: Array<SectionConditionalOverride>;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionStatus.js","names":[],"sources":["ActionStatus.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ActionTypeStatus_deprecated } from \"@osdk/client.unstable\";\n\nexport type ActionStatus =\n | \"active\"\n | \"experimental\"\n | \"example\"\n | ActionTypeStatus_deprecated;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionType.js","names":[],"sources":["ActionType.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n ActionTypeApiName,\n DisplayMetadataConfigurationDefaultLayout,\n DisplayMetadataConfigurationDisplayAndFormat,\n OntologyIrActionTypeEntities,\n OntologyIrFormContent,\n OntologyIrLogicRule,\n OntologyIrValidationRule,\n SectionId,\n} from \"@osdk/client.unstable\";\nimport type { RequiredFields } from \"../../util/RequiredFields.js\";\nimport type { BlueprintIcon } from \"../common/BlueprintIcons.js\";\nimport type { OntologyEntityBase } from \"../common/OntologyEntityBase.js\";\nimport type { OntologyEntityTypeEnum } from \"../common/OntologyEntityTypeEnum.js\";\nimport type { TypeClass } from \"../common/TypeClass.js\";\nimport type { ActionParameter } from \"./ActionParameter.js\";\nimport type { ActionSection } from \"./ActionSection.js\";\nimport type { ActionStatus } from \"./ActionStatus.js\";\nimport type { SubmissionMetadata } from \"./SubmissionMetadata.js\";\n\ninterface ActionTypeInner {\n apiName: ActionTypeApiName;\n displayName: string;\n description: string;\n icon: { locator: BlueprintIcon; color: string };\n parameters: Array<ActionParameter>;\n rules: Array<OntologyIrLogicRule>;\n sections: Record<SectionId, ActionSection>;\n status: ActionStatus;\n entities: OntologyIrActionTypeEntities;\n parameterOrdering: Array<string>;\n formContentOrdering: Array<OntologyIrFormContent>;\n validation: Array<OntologyIrValidationRule>;\n typeClasses: Array<TypeClass>;\n defaultFormat: DisplayMetadataConfigurationDefaultLayout;\n enableLayoutSwitch: boolean;\n displayAndFormat: DisplayMetadataConfigurationDisplayAndFormat;\n submissionMetadata: SubmissionMetadata;\n}\n\nexport type ActionType =\n & OntologyEntityBase\n & RequiredFields<\n Partial<ActionTypeInner>,\n \"apiName\" | \"displayName\" | \"rules\" | \"status\"\n >\n & {\n __type: OntologyEntityTypeEnum.ACTION_TYPE;\n };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionValidationRule.js","names":[],"sources":["ActionValidationRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyIrValidationRule } from \"@osdk/client.unstable\";\n\nexport type ActionValidationRule = OntologyIrValidationRule;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionDefinition.js","names":[],"sources":["ConditionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrCondition,\n OntologyIrConditionValue,\n} from \"@osdk/client.unstable\";\n\n// TODO(ethana): add more commonly used conditions - parameter matching, organizations, etc.\n\nexport type ConditionDefinition =\n | UnionCondition\n | OntologyIrCondition\n | GroupValidationRule\n | ParameterValidationRule;\n\nexport type UnionCondition = {\n type: \"and\" | \"or\";\n conditions: Array<ConditionDefinition>;\n};\n\nexport type GroupValidationRule = {\n type: \"group\";\n name: string;\n};\n\nexport type ParameterValidationRule = {\n type: \"parameter\";\n parameterId: string;\n matches: OntologyIrConditionValue;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MappingValue.js","names":[],"sources":["MappingValue.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrLogicRuleValue_interfaceParameterPropertyValue,\n OntologyIrLogicRuleValue_objectParameterPropertyValue,\n OntologyIrLogicRuleValue_parameterId,\n OntologyIrLogicRuleValue_staticValue,\n OntologyIrLogicRuleValue_synchronousWebhookOutput,\n} from \"@osdk/client.unstable\";\n\nexport type MappingValue =\n | CustomMapping\n | UuidMappingValue\n | CurrentTimeMappingValue\n | CurrentUserMappingValue;\n\nexport type UuidMappingValue = {\n type: \"uuid\";\n linkId?: string;\n};\n\nexport type CurrentTimeMappingValue = {\n type: \"currentTime\";\n};\n\nexport type CurrentUserMappingValue = {\n type: \"currentUser\";\n};\n\nexport type CustomMapping =\n | OntologyIrLogicRuleValue_parameterId\n | OntologyIrLogicRuleValue_staticValue\n | OntologyIrLogicRuleValue_objectParameterPropertyValue\n | OntologyIrLogicRuleValue_interfaceParameterPropertyValue\n | OntologyIrLogicRuleValue_synchronousWebhookOutput;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionConditionalOverride.js","names":[],"sources":["SectionConditionalOverride.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { VisibilityOverride } from \"./ActionParameterConditionalOverride.js\";\n\nexport type SectionConditionalOverride = VisibilityOverride;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmissionMetadata.js","names":[],"sources":["SubmissionMetadata.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ButtonDisplayMetadata } from \"@osdk/client.unstable\";\n\nexport type SubmissionMetadata = {\n submitButtonDisplayMetadata?: ButtonDisplayMetadata;\n successMessage: string;\n undoButtonConfiguration?: boolean;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlueprintIcons.js","names":[],"sources":["BlueprintIcons.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// This copy paste is bad but fine for now\nexport type BlueprintIcon =\n | \"add-clip\"\n | \"add-column-left\"\n | \"add-column-right\"\n | \"add-location\"\n | \"add-row-bottom\"\n | \"add-row-top\"\n | \"add-to-artifact\"\n | \"add-to-folder\"\n | \"add\"\n | \"aimpoints-target\"\n | \"airplane\"\n | \"align-center\"\n | \"align-justify\"\n | \"align-left\"\n | \"align-right\"\n | \"alignment-bottom\"\n | \"alignment-horizontal-center\"\n | \"alignment-left\"\n | \"alignment-right\"\n | \"alignment-top\"\n | \"alignment-vertical-center\"\n | \"ammunition\"\n | \"anchor\"\n | \"annotation\"\n | \"antenna\"\n | \"app-header\"\n | \"application\"\n | \"applications\"\n | \"archive\"\n | \"area-of-interest\"\n | \"array-boolean\"\n | \"array-date\"\n | \"array-floating-point\"\n | \"array-numeric\"\n | \"array-string\"\n | \"array-timestamp\"\n | \"array\"\n | \"arrow-bottom-left\"\n | \"arrow-bottom-right\"\n | \"arrow-down\"\n | \"arrow-left\"\n | \"arrow-right\"\n | \"arrow-top-left\"\n | \"arrow-top-right\"\n | \"arrow-up\"\n | \"arrows-horizontal\"\n | \"arrows-vertical\"\n | \"asterisk\"\n | \"at\"\n | \"automatic-updates\"\n | \"axle\"\n | \"backlink\"\n | \"backward-ten\"\n | \"badge\"\n | \"ban-circle\"\n | \"bank-account\"\n | \"barcode\"\n | \"binary-number\"\n | \"blank\"\n | \"blocked-person\"\n | \"bold\"\n | \"book\"\n | \"bookmark\"\n | \"box\"\n | \"briefcase\"\n | \"bring-data\"\n | \"bring-forward\"\n | \"bug\"\n | \"buggy\"\n | \"build\"\n | \"bullseye\"\n | \"calculator\"\n | \"calendar\"\n | \"camera\"\n | \"caret-down\"\n | \"caret-left\"\n | \"caret-right\"\n | \"caret-up\"\n | \"cargo-ship\"\n | \"cell-tower\"\n | \"changes\"\n | \"chart\"\n | \"chat\"\n | \"chevron-backward\"\n | \"chevron-down\"\n | \"chevron-forward\"\n | \"chevron-left\"\n | \"chevron-right\"\n | \"chevron-up\"\n | \"circle-arrow-down\"\n | \"circle-arrow-left\"\n | \"circle-arrow-right\"\n | \"circle-arrow-up\"\n | \"circle\"\n | \"citation\"\n | \"clean\"\n | \"clip\"\n | \"clipboard-file\"\n | \"clipboard\"\n | \"cloud-download\"\n | \"cloud-server\"\n | \"cloud-tick\"\n | \"cloud-upload\"\n | \"cloud\"\n | \"code-block\"\n | \"code\"\n | \"cog\"\n | \"collapse-all\"\n | \"color-fill\"\n | \"column-layout\"\n | \"comment\"\n | \"comparison\"\n | \"compass\"\n | \"compressed\"\n | \"confirm\"\n | \"console\"\n | \"contrast\"\n | \"control\"\n | \"credit-card\"\n | \"crop\"\n | \"cross-circle\"\n | \"cross\"\n | \"crown\"\n | \"css-style\"\n | \"cube-add\"\n | \"cube-remove\"\n | \"cube\"\n | \"curly-braces\"\n | \"curved-range-chart\"\n | \"cut\"\n | \"cycle\"\n | \"dashboard\"\n | \"data-connection\"\n | \"data-lineage\"\n | \"data-search\"\n | \"data-sync\"\n | \"database\"\n | \"delete\"\n | \"delta\"\n | \"derive-column\"\n | \"desktop\"\n | \"detection\"\n | \"diagnosis\"\n | \"diagram-tree\"\n | \"direction-left\"\n | \"direction-right\"\n | \"disable\"\n | \"divide\"\n | \"document-open\"\n | \"document-share\"\n | \"document\"\n | \"dollar\"\n | \"dot\"\n | \"double-caret-horizontal\"\n | \"double-caret-vertical\"\n | \"double-chevron-down\"\n | \"double-chevron-left\"\n | \"double-chevron-right\"\n | \"double-chevron-up\"\n | \"doughnut-chart\"\n | \"download\"\n | \"drag-handle-horizontal\"\n | \"drag-handle-vertical\"\n | \"draw\"\n | \"drawer-left-filled\"\n | \"drawer-left\"\n | \"drawer-right-filled\"\n | \"drawer-right\"\n | \"drive-time\"\n | \"duplicate\"\n | \"edit\"\n | \"eject\"\n | \"emoji\"\n | \"endnote\"\n | \"endorsed\"\n | \"envelope\"\n | \"equals\"\n | \"eraser\"\n | \"error\"\n | \"euro\"\n | \"excavator\"\n | \"exchange\"\n | \"exclude-row\"\n | \"expand-all\"\n | \"explain\"\n | \"export\"\n | \"eye-off\"\n | \"eye-on\"\n | \"eye-open\"\n | \"fast-backward\"\n | \"fast-forward\"\n | \"feed-subscribed\"\n | \"feed\"\n | \"film\"\n | \"filter-keep\"\n | \"filter-list\"\n | \"filter-open\"\n | \"filter-remove\"\n | \"filter\"\n | \"flag\"\n | \"flame\"\n | \"flash\"\n | \"floating-point\"\n | \"floppy-disk\"\n | \"flow-branch\"\n | \"flow-end\"\n | \"flow-linear\"\n | \"flow-review-branch\"\n | \"flow-review\"\n | \"flows\"\n | \"folder-close\"\n | \"folder-new\"\n | \"folder-open\"\n | \"folder-shared-open\"\n | \"folder-shared\"\n | \"follower\"\n | \"following\"\n | \"font\"\n | \"fork\"\n | \"form\"\n | \"forward-ten\"\n | \"fuel\"\n | \"full-circle\"\n | \"full-stacked-chart\"\n | \"fullscreen\"\n | \"function\"\n | \"gantt-chart\"\n | \"generate\"\n | \"geofence\"\n | \"geolocation\"\n | \"geosearch\"\n | \"geotime\"\n | \"git-branch\"\n | \"git-commit\"\n | \"git-merge\"\n | \"git-new-branch\"\n | \"git-pull\"\n | \"git-push\"\n | \"git-repo\"\n | \"glass\"\n | \"globe-network\"\n | \"globe\"\n | \"graph-remove\"\n | \"graph\"\n | \"greater-than-or-equal-to\"\n | \"greater-than\"\n | \"grid-view\"\n | \"grid\"\n | \"group-item\"\n | \"group-objects\"\n | \"grouped-bar-chart\"\n | \"hand-down\"\n | \"hand-left\"\n | \"hand-right\"\n | \"hand-up\"\n | \"hand\"\n | \"hat\"\n | \"header-one\"\n | \"header-three\"\n | \"header-two\"\n | \"header\"\n | \"headset\"\n | \"heart-broken\"\n | \"heart\"\n | \"heat-grid\"\n | \"heatmap\"\n | \"helicopter\"\n | \"help\"\n | \"helper-management\"\n | \"high-priority\"\n | \"high-voltage-pole\"\n | \"highlight\"\n | \"history\"\n | \"home\"\n | \"horizontal-bar-chart-asc\"\n | \"horizontal-bar-chart-desc\"\n | \"horizontal-bar-chart\"\n | \"horizontal-distribution\"\n | \"horizontal-inbetween\"\n | \"hurricane\"\n | \"id-number\"\n | \"image-rotate-left\"\n | \"image-rotate-right\"\n | \"import\"\n | \"inbox-filtered\"\n | \"inbox-geo\"\n | \"inbox-search\"\n | \"inbox-update\"\n | \"inbox\"\n | \"info-sign\"\n | \"inheritance\"\n | \"inherited-group\"\n | \"inner-join\"\n | \"input\"\n | \"insert\"\n | \"intelligence\"\n | \"intersection\"\n | \"ip-address\"\n | \"issue-closed\"\n | \"issue-new\"\n | \"issue\"\n | \"italic\"\n | \"join-table\"\n | \"key-backspace\"\n | \"key-command\"\n | \"key-control\"\n | \"key-delete\"\n | \"key-enter\"\n | \"key-escape\"\n | \"key-option\"\n | \"key-shift\"\n | \"key-tab\"\n | \"key\"\n | \"known-vehicle\"\n | \"lab-test\"\n | \"label\"\n | \"layer-outline\"\n | \"layer\"\n | \"layers\"\n | \"layout-auto\"\n | \"layout-balloon\"\n | \"layout-bottom-row-three-tiles\"\n | \"layout-bottom-row-two-tiles\"\n | \"layout-circle\"\n | \"layout-grid\"\n | \"layout-group-by\"\n | \"layout-hierarchy\"\n | \"layout-left-column-three-tiles\"\n | \"layout-left-column-two-tiles\"\n | \"layout-linear\"\n | \"layout-right-column-three-tiles\"\n | \"layout-right-column-two-tiles\"\n | \"layout-skew-grid\"\n | \"layout-sorted-clusters\"\n | \"layout-three-columns\"\n | \"layout-three-rows\"\n | \"layout-top-row-three-tiles\"\n | \"layout-top-row-two-tiles\"\n | \"layout-two-columns\"\n | \"layout-two-rows\"\n | \"layout\"\n | \"learning\"\n | \"left-join\"\n | \"lengthen-text\"\n | \"less-than-or-equal-to\"\n | \"less-than\"\n | \"lifesaver\"\n | \"lightbulb\"\n | \"lightning\"\n | \"link\"\n | \"list-columns\"\n | \"list-detail-view\"\n | \"list\"\n | \"locate\"\n | \"lock\"\n | \"locomotive\"\n | \"log-in\"\n | \"log-out\"\n | \"low-voltage-pole\"\n | \"manual\"\n | \"manually-entered-data\"\n | \"many-to-many\"\n | \"many-to-one\"\n | \"map-create\"\n | \"map-marker\"\n | \"map\"\n | \"maximize\"\n | \"media\"\n | \"menu-closed\"\n | \"menu-open\"\n | \"menu\"\n | \"merge-columns\"\n | \"merge-links\"\n | \"microphone\"\n | \"minimize\"\n | \"minus\"\n | \"mobile-phone\"\n | \"mobile-video\"\n | \"modal-filled\"\n | \"modal\"\n | \"model\"\n | \"moon\"\n | \"more\"\n | \"mountain\"\n | \"move\"\n | \"mugshot\"\n | \"multi-select\"\n | \"music\"\n | \"nest\"\n | \"new-drawing\"\n | \"new-grid-item\"\n | \"new-layer\"\n | \"new-layers\"\n | \"new-link\"\n | \"new-object\"\n | \"new-person\"\n | \"new-prescription\"\n | \"new-shield\"\n | \"new-text-box\"\n | \"ninja\"\n | \"not-equal-to\"\n | \"notifications-snooze\"\n | \"notifications-updated\"\n | \"notifications\"\n | \"numbered-list\"\n | \"numerical\"\n | \"office\"\n | \"offline\"\n | \"oil-field\"\n | \"one-column\"\n | \"one-to-many\"\n | \"one-to-one\"\n | \"open-application\"\n | \"outdated\"\n | \"output\"\n | \"page-layout\"\n | \"panel-stats\"\n | \"panel-table\"\n | \"paperclip\"\n | \"paragraph\"\n | \"paste-variable\"\n | \"path-search\"\n | \"path\"\n | \"pause\"\n | \"people\"\n | \"percentage\"\n | \"person\"\n | \"phone-call\"\n | \"phone-forward\"\n | \"phone\"\n | \"pie-chart\"\n | \"pin\"\n | \"pivot-table\"\n | \"pivot\"\n | \"play\"\n | \"playbook\"\n | \"plus\"\n | \"polygon-filter\"\n | \"power\"\n | \"predictive-analysis\"\n | \"prescription\"\n | \"presentation\"\n | \"print\"\n | \"projects\"\n | \"properties\"\n | \"property\"\n | \"publish-function\"\n | \"pulse\"\n | \"rain\"\n | \"random\"\n | \"range-ring\"\n | \"record\"\n | \"rect-height\"\n | \"rect-width\"\n | \"rectangle\"\n | \"redo\"\n | \"refresh\"\n | \"regex\"\n | \"regression-chart\"\n | \"remove-column-left\"\n | \"remove-column-right\"\n | \"remove-column\"\n | \"remove-row-bottom\"\n | \"remove-row-top\"\n | \"remove\"\n | \"repeat\"\n | \"reset\"\n | \"resolve\"\n | \"rig\"\n | \"right-join\"\n | \"ring\"\n | \"rocket-slant\"\n | \"rocket\"\n | \"rotate-document\"\n | \"rotate-page\"\n | \"route\"\n | \"satellite\"\n | \"saved\"\n | \"scatter-plot\"\n | \"search-around\"\n | \"search-template\"\n | \"search-text\"\n | \"search\"\n | \"segmented-control\"\n | \"select\"\n | \"selection\"\n | \"send-backward\"\n | \"send-message\"\n | \"send-to-graph\"\n | \"send-to-map\"\n | \"send-to\"\n | \"sensor\"\n | \"series-add\"\n | \"series-configuration\"\n | \"series-derived\"\n | \"series-filtered\"\n | \"series-search\"\n | \"settings\"\n | \"shapes\"\n | \"share\"\n | \"shared-filter\"\n | \"shield\"\n | \"ship\"\n | \"shop\"\n | \"shopping-cart\"\n | \"shorten-text\"\n | \"signal-search\"\n | \"sim-card\"\n | \"slash\"\n | \"small-cross\"\n | \"small-info-sign\"\n | \"small-minus\"\n | \"small-plus\"\n | \"small-square\"\n | \"small-tick\"\n | \"snowflake\"\n | \"soccer-ball\"\n | \"social-media\"\n | \"sort-alphabetical-desc\"\n | \"sort-alphabetical\"\n | \"sort-asc\"\n | \"sort-desc\"\n | \"sort-numerical-desc\"\n | \"sort-numerical\"\n | \"sort\"\n | \"spell-check\"\n | \"split-columns\"\n | \"sports-stadium\"\n | \"square\"\n | \"stacked-chart\"\n | \"stadium-geometry\"\n | \"star-empty\"\n | \"star\"\n | \"step-backward\"\n | \"step-chart\"\n | \"step-forward\"\n | \"stop\"\n | \"stopwatch\"\n | \"strikethrough\"\n | \"style\"\n | \"subscript\"\n | \"superscript\"\n | \"swap-horizontal\"\n | \"swap-vertical\"\n | \"switch\"\n | \"symbol-circle\"\n | \"symbol-cross\"\n | \"symbol-diamond\"\n | \"symbol-rectangle\"\n | \"symbol-square\"\n | \"symbol-triangle-down\"\n | \"symbol-triangle-up\"\n | \"syringe\"\n | \"table-sync\"\n | \"tag\"\n | \"take-action\"\n | \"tank\"\n | \"target\"\n | \"taxi\"\n | \"team\"\n | \"temperature\"\n | \"text-highlight\"\n | \"th-derived\"\n | \"th-disconnect\"\n | \"th-filtered\"\n | \"th-list\"\n | \"th\"\n | \"third-party\"\n | \"thumbs-down\"\n | \"thumbs-up\"\n | \"tick-circle\"\n | \"tick\"\n | \"time\"\n | \"timeline-area-chart\"\n | \"timeline-bar-chart\"\n | \"timeline-events\"\n | \"timeline-line-chart\"\n | \"tint\"\n | \"torch\"\n | \"tractor\"\n | \"train\"\n | \"translate\"\n | \"trash\"\n | \"tree\"\n | \"trending-down\"\n | \"trending-up\"\n | \"trophy\"\n | \"truck\"\n | \"two-columns\"\n | \"unarchive\"\n | \"underline\"\n | \"undo\"\n | \"ungroup-objects\"\n | \"unknown-vehicle\"\n | \"unlink\"\n | \"unlock\"\n | \"unpin\"\n | \"unresolve\"\n | \"updated\"\n | \"upload\"\n | \"user\"\n | \"variable\"\n | \"vector\"\n | \"vertical-bar-chart-asc\"\n | \"vertical-bar-chart-desc\"\n | \"vertical-distribution\"\n | \"vertical-inbetween\"\n | \"video\"\n | \"virus\"\n | \"volume-down\"\n | \"volume-off\"\n | \"volume-up\"\n | \"walk\"\n | \"warning-sign\"\n | \"waterfall-chart\"\n | \"waves\"\n | \"widget-button\"\n | \"widget-footer\"\n | \"widget-header\"\n | \"widget\"\n | \"wind\"\n | \"wrench\"\n | \"zoom-in\"\n | \"zoom-out\"\n | \"zoom-to-fit\";\n\nexport type BlueprintIcons_16Key =\n | \"AddClip\"\n | \"AddColumnLeft\"\n | \"AddColumnRight\"\n | \"AddLocation\"\n | \"AddRowBottom\"\n | \"AddRowTop\"\n | \"AddToArtifact\"\n | \"AddToFolder\"\n | \"Add\"\n | \"AimpointsTarget\"\n | \"Airplane\"\n | \"AlignCenter\"\n | \"AlignJustify\"\n | \"AlignLeft\"\n | \"AlignRight\"\n | \"AlignmentBottom\"\n | \"AlignmentHorizontalCenter\"\n | \"AlignmentLeft\"\n | \"AlignmentRight\"\n | \"AlignmentTop\"\n | \"AlignmentVerticalCenter\"\n | \"Ammunition\"\n | \"Anchor\"\n | \"Annotation\"\n | \"Antenna\"\n | \"AppHeader\"\n | \"Application\"\n | \"Applications\"\n | \"Archive\"\n | \"AreaOfInterest\"\n | \"ArrayBoolean\"\n | \"ArrayDate\"\n | \"ArrayFloatingPoint\"\n | \"ArrayNumeric\"\n | \"ArrayString\"\n | \"ArrayTimestamp\"\n | \"Array\"\n | \"ArrowBottomLeft\"\n | \"ArrowBottomRight\"\n | \"ArrowDown\"\n | \"ArrowLeft\"\n | \"ArrowRight\"\n | \"ArrowTopLeft\"\n | \"ArrowTopRight\"\n | \"ArrowUp\"\n | \"ArrowsHorizontal\"\n | \"ArrowsVertical\"\n | \"Asterisk\"\n | \"At\"\n | \"AutomaticUpdates\"\n | \"Axle\"\n | \"Backlink\"\n | \"BackwardTen\"\n | \"Badge\"\n | \"BanCircle\"\n | \"BankAccount\"\n | \"Barcode\"\n | \"BinaryNumber\"\n | \"Blank\"\n | \"BlockedPerson\"\n | \"Bold\"\n | \"Book\"\n | \"Bookmark\"\n | \"Box\"\n | \"Briefcase\"\n | \"BringData\"\n | \"BringForward\"\n | \"Bug\"\n | \"Buggy\"\n | \"Build\"\n | \"Bullseye\"\n | \"Calculator\"\n | \"Calendar\"\n | \"Camera\"\n | \"CaretDown\"\n | \"CaretLeft\"\n | \"CaretRight\"\n | \"CaretUp\"\n | \"CargoShip\"\n | \"CellTower\"\n | \"Changes\"\n | \"Chart\"\n | \"Chat\"\n | \"ChevronBackward\"\n | \"ChevronDown\"\n | \"ChevronForward\"\n | \"ChevronLeft\"\n | \"ChevronRight\"\n | \"ChevronUp\"\n | \"CircleArrowDown\"\n | \"CircleArrowLeft\"\n | \"CircleArrowRight\"\n | \"CircleArrowUp\"\n | \"Circle\"\n | \"Citation\"\n | \"Clean\"\n | \"Clip\"\n | \"ClipboardFile\"\n | \"Clipboard\"\n | \"CloudDownload\"\n | \"CloudServer\"\n | \"CloudTick\"\n | \"CloudUpload\"\n | \"Cloud\"\n | \"CodeBlock\"\n | \"Code\"\n | \"Cog\"\n | \"CollapseAll\"\n | \"ColorFill\"\n | \"ColumnLayout\"\n | \"Comment\"\n | \"Comparison\"\n | \"Compass\"\n | \"Compressed\"\n | \"Confirm\"\n | \"Console\"\n | \"Contrast\"\n | \"Control\"\n | \"CreditCard\"\n | \"Crop\"\n | \"CrossCircle\"\n | \"Cross\"\n | \"Crown\"\n | \"CssStyle\"\n | \"CubeAdd\"\n | \"CubeRemove\"\n | \"Cube\"\n | \"CurlyBraces\"\n | \"CurvedRangeChart\"\n | \"Cut\"\n | \"Cycle\"\n | \"Dashboard\"\n | \"DataConnection\"\n | \"DataLineage\"\n | \"DataSearch\"\n | \"DataSync\"\n | \"Database\"\n | \"Delete\"\n | \"Delta\"\n | \"DeriveColumn\"\n | \"Desktop\"\n | \"Detection\"\n | \"Diagnosis\"\n | \"DiagramTree\"\n | \"DirectionLeft\"\n | \"DirectionRight\"\n | \"Disable\"\n | \"Divide\"\n | \"DocumentOpen\"\n | \"DocumentShare\"\n | \"Document\"\n | \"Dollar\"\n | \"Dot\"\n | \"DoubleCaretHorizontal\"\n | \"DoubleCaretVertical\"\n | \"DoubleChevronDown\"\n | \"DoubleChevronLeft\"\n | \"DoubleChevronRight\"\n | \"DoubleChevronUp\"\n | \"DoughnutChart\"\n | \"Download\"\n | \"DragHandleHorizontal\"\n | \"DragHandleVertical\"\n | \"Draw\"\n | \"DrawerLeftFilled\"\n | \"DrawerLeft\"\n | \"DrawerRightFilled\"\n | \"DrawerRight\"\n | \"DriveTime\"\n | \"Duplicate\"\n | \"Edit\"\n | \"Eject\"\n | \"Emoji\"\n | \"Endnote\"\n | \"Endorsed\"\n | \"Envelope\"\n | \"Equals\"\n | \"Eraser\"\n | \"Error\"\n | \"Euro\"\n | \"Excavator\"\n | \"Exchange\"\n | \"ExcludeRow\"\n | \"ExpandAll\"\n | \"Explain\"\n | \"Export\"\n | \"EyeOff\"\n | \"EyeOn\"\n | \"EyeOpen\"\n | \"FastBackward\"\n | \"FastForward\"\n | \"FeedSubscribed\"\n | \"Feed\"\n | \"Film\"\n | \"FilterKeep\"\n | \"FilterList\"\n | \"FilterOpen\"\n | \"FilterRemove\"\n | \"Filter\"\n | \"Flag\"\n | \"Flame\"\n | \"Flash\"\n | \"FloatingPoint\"\n | \"FloppyDisk\"\n | \"FlowBranch\"\n | \"FlowEnd\"\n | \"FlowLinear\"\n | \"FlowReviewBranch\"\n | \"FlowReview\"\n | \"Flows\"\n | \"FolderClose\"\n | \"FolderNew\"\n | \"FolderOpen\"\n | \"FolderSharedOpen\"\n | \"FolderShared\"\n | \"Follower\"\n | \"Following\"\n | \"Font\"\n | \"Fork\"\n | \"Form\"\n | \"ForwardTen\"\n | \"Fuel\"\n | \"FullCircle\"\n | \"FullStackedChart\"\n | \"Fullscreen\"\n | \"Function\"\n | \"GanttChart\"\n | \"Generate\"\n | \"Geofence\"\n | \"Geolocation\"\n | \"Geosearch\"\n | \"Geotime\"\n | \"GitBranch\"\n | \"GitCommit\"\n | \"GitMerge\"\n | \"GitNewBranch\"\n | \"GitPull\"\n | \"GitPush\"\n | \"GitRepo\"\n | \"Glass\"\n | \"GlobeNetwork\"\n | \"Globe\"\n | \"GraphRemove\"\n | \"Graph\"\n | \"GreaterThanOrEqualTo\"\n | \"GreaterThan\"\n | \"GridView\"\n | \"Grid\"\n | \"GroupItem\"\n | \"GroupObjects\"\n | \"GroupedBarChart\"\n | \"HandDown\"\n | \"HandLeft\"\n | \"HandRight\"\n | \"HandUp\"\n | \"Hand\"\n | \"Hat\"\n | \"HeaderOne\"\n | \"HeaderThree\"\n | \"HeaderTwo\"\n | \"Header\"\n | \"Headset\"\n | \"HeartBroken\"\n | \"Heart\"\n | \"HeatGrid\"\n | \"Heatmap\"\n | \"Helicopter\"\n | \"Help\"\n | \"HelperManagement\"\n | \"HighPriority\"\n | \"HighVoltagePole\"\n | \"Highlight\"\n | \"History\"\n | \"Home\"\n | \"HorizontalBarChartAsc\"\n | \"HorizontalBarChartDesc\"\n | \"HorizontalBarChart\"\n | \"HorizontalDistribution\"\n | \"HorizontalInbetween\"\n | \"Hurricane\"\n | \"IdNumber\"\n | \"ImageRotateLeft\"\n | \"ImageRotateRight\"\n | \"Import\"\n | \"InboxFiltered\"\n | \"InboxGeo\"\n | \"InboxSearch\"\n | \"InboxUpdate\"\n | \"Inbox\"\n | \"InfoSign\"\n | \"Inheritance\"\n | \"InheritedGroup\"\n | \"InnerJoin\"\n | \"Input\"\n | \"Insert\"\n | \"Intelligence\"\n | \"Intersection\"\n | \"IpAddress\"\n | \"IssueClosed\"\n | \"IssueNew\"\n | \"Issue\"\n | \"Italic\"\n | \"JoinTable\"\n | \"KeyBackspace\"\n | \"KeyCommand\"\n | \"KeyControl\"\n | \"KeyDelete\"\n | \"KeyEnter\"\n | \"KeyEscape\"\n | \"KeyOption\"\n | \"KeyShift\"\n | \"KeyTab\"\n | \"Key\"\n | \"KnownVehicle\"\n | \"LabTest\"\n | \"Label\"\n | \"LayerOutline\"\n | \"Layer\"\n | \"Layers\"\n | \"LayoutAuto\"\n | \"LayoutBalloon\"\n | \"LayoutBottomRowThreeTiles\"\n | \"LayoutBottomRowTwoTiles\"\n | \"LayoutCircle\"\n | \"LayoutGrid\"\n | \"LayoutGroupBy\"\n | \"LayoutHierarchy\"\n | \"LayoutLeftColumnThreeTiles\"\n | \"LayoutLeftColumnTwoTiles\"\n | \"LayoutLinear\"\n | \"LayoutRightColumnThreeTiles\"\n | \"LayoutRightColumnTwoTiles\"\n | \"LayoutSkewGrid\"\n | \"LayoutSortedClusters\"\n | \"LayoutThreeColumns\"\n | \"LayoutThreeRows\"\n | \"LayoutTopRowThreeTiles\"\n | \"LayoutTopRowTwoTiles\"\n | \"LayoutTwoColumns\"\n | \"LayoutTwoRows\"\n | \"Layout\"\n | \"Learning\"\n | \"LeftJoin\"\n | \"LengthenText\"\n | \"LessThanOrEqualTo\"\n | \"LessThan\"\n | \"Lifesaver\"\n | \"Lightbulb\"\n | \"Lightning\"\n | \"Link\"\n | \"ListColumns\"\n | \"ListDetailView\"\n | \"List\"\n | \"Locate\"\n | \"Lock\"\n | \"Locomotive\"\n | \"LogIn\"\n | \"LogOut\"\n | \"LowVoltagePole\"\n | \"Manual\"\n | \"ManuallyEnteredData\"\n | \"ManyToMany\"\n | \"ManyToOne\"\n | \"MapCreate\"\n | \"MapMarker\"\n | \"Map\"\n | \"Maximize\"\n | \"Media\"\n | \"MenuClosed\"\n | \"MenuOpen\"\n | \"Menu\"\n | \"MergeColumns\"\n | \"MergeLinks\"\n | \"Microphone\"\n | \"Minimize\"\n | \"Minus\"\n | \"MobilePhone\"\n | \"MobileVideo\"\n | \"ModalFilled\"\n | \"Modal\"\n | \"Model\"\n | \"Moon\"\n | \"More\"\n | \"Mountain\"\n | \"Move\"\n | \"Mugshot\"\n | \"MultiSelect\"\n | \"Music\"\n | \"Nest\"\n | \"NewDrawing\"\n | \"NewGridItem\"\n | \"NewLayer\"\n | \"NewLayers\"\n | \"NewLink\"\n | \"NewObject\"\n | \"NewPerson\"\n | \"NewPrescription\"\n | \"NewShield\"\n | \"NewTextBox\"\n | \"Ninja\"\n | \"NotEqualTo\"\n | \"NotificationsSnooze\"\n | \"NotificationsUpdated\"\n | \"Notifications\"\n | \"NumberedList\"\n | \"Numerical\"\n | \"Office\"\n | \"Offline\"\n | \"OilField\"\n | \"OneColumn\"\n | \"OneToMany\"\n | \"OneToOne\"\n | \"OpenApplication\"\n | \"Outdated\"\n | \"Output\"\n | \"PageLayout\"\n | \"PanelStats\"\n | \"PanelTable\"\n | \"Paperclip\"\n | \"Paragraph\"\n | \"PasteVariable\"\n | \"PathSearch\"\n | \"Path\"\n | \"Pause\"\n | \"People\"\n | \"Percentage\"\n | \"Person\"\n | \"PhoneCall\"\n | \"PhoneForward\"\n | \"Phone\"\n | \"PieChart\"\n | \"Pin\"\n | \"PivotTable\"\n | \"Pivot\"\n | \"Play\"\n | \"Playbook\"\n | \"Plus\"\n | \"PolygonFilter\"\n | \"Power\"\n | \"PredictiveAnalysis\"\n | \"Prescription\"\n | \"Presentation\"\n | \"Print\"\n | \"Projects\"\n | \"Properties\"\n | \"Property\"\n | \"PublishFunction\"\n | \"Pulse\"\n | \"Rain\"\n | \"Random\"\n | \"RangeRing\"\n | \"Record\"\n | \"RectHeight\"\n | \"RectWidth\"\n | \"Rectangle\"\n | \"Redo\"\n | \"Refresh\"\n | \"Regex\"\n | \"RegressionChart\"\n | \"RemoveColumnLeft\"\n | \"RemoveColumnRight\"\n | \"RemoveColumn\"\n | \"RemoveRowBottom\"\n | \"RemoveRowTop\"\n | \"Remove\"\n | \"Repeat\"\n | \"Reset\"\n | \"Resolve\"\n | \"Rig\"\n | \"RightJoin\"\n | \"Ring\"\n | \"RocketSlant\"\n | \"Rocket\"\n | \"RotateDocument\"\n | \"RotatePage\"\n | \"Route\"\n | \"Satellite\"\n | \"Saved\"\n | \"ScatterPlot\"\n | \"SearchAround\"\n | \"SearchTemplate\"\n | \"SearchText\"\n | \"Search\"\n | \"SegmentedControl\"\n | \"Select\"\n | \"Selection\"\n | \"SendBackward\"\n | \"SendMessage\"\n | \"SendToGraph\"\n | \"SendToMap\"\n | \"SendTo\"\n | \"Sensor\"\n | \"SeriesAdd\"\n | \"SeriesConfiguration\"\n | \"SeriesDerived\"\n | \"SeriesFiltered\"\n | \"SeriesSearch\"\n | \"Settings\"\n | \"Shapes\"\n | \"Share\"\n | \"SharedFilter\"\n | \"Shield\"\n | \"Ship\"\n | \"Shop\"\n | \"ShoppingCart\"\n | \"ShortenText\"\n | \"SignalSearch\"\n | \"SimCard\"\n | \"Slash\"\n | \"SmallCross\"\n | \"SmallInfoSign\"\n | \"SmallMinus\"\n | \"SmallPlus\"\n | \"SmallSquare\"\n | \"SmallTick\"\n | \"Snowflake\"\n | \"SoccerBall\"\n | \"SocialMedia\"\n | \"SortAlphabeticalDesc\"\n | \"SortAlphabetical\"\n | \"SortAsc\"\n | \"SortDesc\"\n | \"SortNumericalDesc\"\n | \"SortNumerical\"\n | \"Sort\"\n | \"SpellCheck\"\n | \"SplitColumns\"\n | \"SportsStadium\"\n | \"Square\"\n | \"StackedChart\"\n | \"StadiumGeometry\"\n | \"StarEmpty\"\n | \"Star\"\n | \"StepBackward\"\n | \"StepChart\"\n | \"StepForward\"\n | \"Stop\"\n | \"Stopwatch\"\n | \"Strikethrough\"\n | \"Style\"\n | \"Subscript\"\n | \"Superscript\"\n | \"SwapHorizontal\"\n | \"SwapVertical\"\n | \"Switch\"\n | \"SymbolCircle\"\n | \"SymbolCross\"\n | \"SymbolDiamond\"\n | \"SymbolRectangle\"\n | \"SymbolSquare\"\n | \"SymbolTriangleDown\"\n | \"SymbolTriangleUp\"\n | \"Syringe\"\n | \"TableSync\"\n | \"Tag\"\n | \"TakeAction\"\n | \"Tank\"\n | \"Target\"\n | \"Taxi\"\n | \"Team\"\n | \"Temperature\"\n | \"TextHighlight\"\n | \"ThDerived\"\n | \"ThDisconnect\"\n | \"ThFiltered\"\n | \"ThList\"\n | \"Th\"\n | \"ThirdParty\"\n | \"ThumbsDown\"\n | \"ThumbsUp\"\n | \"TickCircle\"\n | \"Tick\"\n | \"Time\"\n | \"TimelineAreaChart\"\n | \"TimelineBarChart\"\n | \"TimelineEvents\"\n | \"TimelineLineChart\"\n | \"Tint\"\n | \"Torch\"\n | \"Tractor\"\n | \"Train\"\n | \"Translate\"\n | \"Trash\"\n | \"Tree\"\n | \"TrendingDown\"\n | \"TrendingUp\"\n | \"Trophy\"\n | \"Truck\"\n | \"TwoColumns\"\n | \"Unarchive\"\n | \"Underline\"\n | \"Undo\"\n | \"UngroupObjects\"\n | \"UnknownVehicle\"\n | \"Unlink\"\n | \"Unlock\"\n | \"Unpin\"\n | \"Unresolve\"\n | \"Updated\"\n | \"Upload\"\n | \"User\"\n | \"Variable\"\n | \"Vector\"\n | \"VerticalBarChartAsc\"\n | \"VerticalBarChartDesc\"\n | \"VerticalDistribution\"\n | \"VerticalInbetween\"\n | \"Video\"\n | \"Virus\"\n | \"VolumeDown\"\n | \"VolumeOff\"\n | \"VolumeUp\"\n | \"Walk\"\n | \"WarningSign\"\n | \"WaterfallChart\"\n | \"Waves\"\n | \"WidgetButton\"\n | \"WidgetFooter\"\n | \"WidgetHeader\"\n | \"Widget\"\n | \"Wind\"\n | \"Wrench\"\n | \"ZoomIn\"\n | \"ZoomOut\"\n | \"ZoomToFit\";\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyDefinition.js","names":[],"sources":["OntologyDefinition.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ValueTypeDefinitionVersion } from \"../values/ValueTypeDefinitionVersion.js\";\nimport type { OntologyEntityTypeEnum } from \"./OntologyEntityTypeEnum.js\";\nimport type { OntologyEntityTypeMapping } from \"./OntologyEntityTypeMapping.js\";\n\nexport type OntologyDefinition =\n & {\n [K in Exclude<OntologyEntityTypeEnum, \"VALUE_TYPE\">]: Record<\n string,\n OntologyEntityTypeMapping[K]\n >;\n }\n & {\n VALUE_TYPE: Record<string, ValueTypeDefinitionVersion[]>;\n };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyEntityBase.js","names":[],"sources":["OntologyEntityBase.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyEntityTypeEnum } from \"./OntologyEntityTypeEnum.js\";\n\nexport interface OntologyEntityBase {\n __type: OntologyEntityTypeEnum;\n apiName: string;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2025 Palantir Technologies, Inc. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
@@ -23,10 +23,4 @@ export let OntologyEntityTypeEnum = /*#__PURE__*/function (OntologyEntityTypeEnu
|
|
|
23
23
|
OntologyEntityTypeEnum["VALUE_TYPE"] = "VALUE_TYPE";
|
|
24
24
|
return OntologyEntityTypeEnum;
|
|
25
25
|
}({});
|
|
26
|
-
|
|
27
|
-
export const CREATE_OR_MODIFY_OBJECT_PARAMETER = "objectToCreateOrModifyParameter";
|
|
28
|
-
|
|
29
|
-
// TODO(ethana): add more commonly used conditions - parameter matching, organizations, etc.
|
|
30
|
-
|
|
31
|
-
// TODO(dpaquin): cleanup? or does "type: foo" actually make sense here
|
|
32
|
-
//# sourceMappingURL=types.js.map
|
|
26
|
+
//# sourceMappingURL=OntologyEntityTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyEntityTypeEnum.js","names":["OntologyEntityTypeEnum"],"sources":["OntologyEntityTypeEnum.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport enum OntologyEntityTypeEnum {\n OBJECT_TYPE = \"OBJECT_TYPE\",\n LINK_TYPE = \"LINK_TYPE\",\n INTERFACE_TYPE = \"INTERFACE_TYPE\",\n SHARED_PROPERTY_TYPE = \"SHARED_PROPERTY_TYPE\",\n ACTION_TYPE = \"ACTION_TYPE\",\n VALUE_TYPE = \"VALUE_TYPE\",\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,sBAAsB,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OntologyEntityTypeMapping.js","names":[],"sources":["OntologyEntityTypeMapping.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ActionType } from \"../action/ActionType.js\";\nimport type { InterfaceType } from \"../interface/InterfaceType.js\";\nimport type { LinkType } from \"../links/LinkType.js\";\nimport type { ObjectType } from \"../object/ObjectType.js\";\nimport type { SharedPropertyType } from \"../properties/SharedPropertyType.js\";\nimport type { ValueTypeDefinitionVersion } from \"../values/ValueTypeDefinitionVersion.js\";\nimport type { OntologyEntityTypeEnum } from \"./OntologyEntityTypeEnum.js\";\n\nexport interface OntologyEntityTypeMapping {\n [OntologyEntityTypeEnum.OBJECT_TYPE]: ObjectType;\n [OntologyEntityTypeEnum.ACTION_TYPE]: ActionType;\n [OntologyEntityTypeEnum.LINK_TYPE]: LinkType;\n [OntologyEntityTypeEnum.INTERFACE_TYPE]: InterfaceType;\n [OntologyEntityTypeEnum.SHARED_PROPERTY_TYPE]: SharedPropertyType;\n [OntologyEntityTypeEnum.VALUE_TYPE]: ValueTypeDefinitionVersion;\n}\n\nexport type OntologyEntityType =\n OntologyEntityTypeMapping[keyof OntologyEntityTypeMapping];\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeClass.js","names":[],"sources":["TypeClass.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type TypeClass = { kind: string; name: string };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -16,40 +16,46 @@
|
|
|
16
16
|
|
|
17
17
|
import { consola } from "consola";
|
|
18
18
|
import invariant from "tiny-invariant";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
import { convertConditionDefinition } from "../conversion/toMarketplace/convertConditionDefinition.js";
|
|
20
|
+
import { convertMappingValue } from "../conversion/toMarketplace/convertMappingValue.js";
|
|
21
|
+
import { isActionParameterTypePrimitive } from "./action/ActionParameterType.js";
|
|
22
|
+
import { OntologyEntityTypeEnum } from "./common/OntologyEntityTypeEnum.js";
|
|
23
|
+
import { uppercaseFirstLetter } from "./defineObject.js";
|
|
24
|
+
import { importedTypes, namespace, ontologyDefinition, updateOntology } from "./defineOntology.js";
|
|
25
|
+
import { getFlattenedInterfaceProperties } from "./interface/getFlattenedInterfaceProperties.js";
|
|
26
|
+
import { isStruct } from "./properties/PropertyTypeType.js";
|
|
27
|
+
export const MODIFY_OBJECT_PARAMETER = "objectToModifyParameter";
|
|
28
|
+
export const CREATE_OR_MODIFY_OBJECT_PARAMETER = "objectToCreateOrModifyParameter";
|
|
29
|
+
export function defineCreateInterfaceObjectAction(def) {
|
|
30
|
+
const allProperties = Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).filter(([_, prop]) => !isStruct(prop.sharedPropertyType.type) && !(def.excludedProperties ?? []).includes(prop.sharedPropertyType.nonNameSpacedApiName));
|
|
31
|
+
if (allProperties.length !== Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).length) {
|
|
32
|
+
consola.info(`Some properties on ${def.interfaceType.apiName} were skipped in the create action because they are structs`);
|
|
27
33
|
}
|
|
28
34
|
return defineAction({
|
|
29
|
-
apiName: `create-${kebab(interfaceType.apiName.split(".").pop() ?? interfaceType.apiName)}${objectType === undefined ? "" : `-${kebab(objectType.apiName.split(".").pop() ?? objectType.apiName)}`}`,
|
|
30
|
-
displayName: `Create ${interfaceType.displayMetadata.displayName}`,
|
|
35
|
+
apiName: `create-${kebab(def.interfaceType.apiName.split(".").pop() ?? def.interfaceType.apiName)}${def.objectType === undefined ? "" : `-${kebab(def.objectType.apiName.split(".").pop() ?? def.objectType.apiName)}`}`,
|
|
36
|
+
displayName: `Create ${def.interfaceType.displayMetadata.displayName}`,
|
|
31
37
|
parameters: [{
|
|
32
38
|
id: "objectTypeParameter",
|
|
33
39
|
displayName: "Object type to create",
|
|
34
40
|
type: {
|
|
35
41
|
type: "objectTypeReference",
|
|
36
42
|
objectTypeReference: {
|
|
37
|
-
interfaceTypeRids: [interfaceType.apiName]
|
|
43
|
+
interfaceTypeRids: [def.interfaceType.apiName]
|
|
38
44
|
}
|
|
39
45
|
},
|
|
40
46
|
validation: {
|
|
41
47
|
required: true,
|
|
42
|
-
allowedValues: objectType === undefined ? {
|
|
48
|
+
allowedValues: def.objectType === undefined ? {
|
|
43
49
|
type: "objectTypeReference",
|
|
44
|
-
interfaceTypes: [interfaceType.apiName]
|
|
50
|
+
interfaceTypes: [def.interfaceType.apiName]
|
|
45
51
|
} : {
|
|
46
52
|
type: "oneOf",
|
|
47
53
|
oneOf: [{
|
|
48
|
-
label: objectType.displayName,
|
|
54
|
+
label: def.objectType.displayName,
|
|
49
55
|
value: {
|
|
50
56
|
type: "objectType",
|
|
51
57
|
objectType: {
|
|
52
|
-
objectTypeId: objectType.apiName
|
|
58
|
+
objectTypeId: def.objectType.apiName
|
|
53
59
|
}
|
|
54
60
|
}
|
|
55
61
|
}]
|
|
@@ -67,9 +73,9 @@ export function defineCreateInterfaceObjectAction(interfaceType, objectType, val
|
|
|
67
73
|
allowedValues: extractAllowedValuesFromPropertyType(prop.sharedPropertyType.type)
|
|
68
74
|
}
|
|
69
75
|
}))],
|
|
70
|
-
status: interfaceType.status.type !== "deprecated" ? interfaceType.status.type : interfaceType.status,
|
|
76
|
+
status: def.interfaceType.status.type !== "deprecated" ? def.interfaceType.status.type : def.interfaceType.status,
|
|
71
77
|
entities: {
|
|
72
|
-
affectedInterfaceTypes: [interfaceType.apiName],
|
|
78
|
+
affectedInterfaceTypes: [def.interfaceType.apiName],
|
|
73
79
|
affectedObjectTypes: [],
|
|
74
80
|
affectedLinkTypes: [],
|
|
75
81
|
typeGroups: []
|
|
@@ -77,7 +83,7 @@ export function defineCreateInterfaceObjectAction(interfaceType, objectType, val
|
|
|
77
83
|
rules: [{
|
|
78
84
|
type: "addInterfaceRule",
|
|
79
85
|
addInterfaceRule: {
|
|
80
|
-
interfaceApiName: interfaceType.apiName,
|
|
86
|
+
interfaceApiName: def.interfaceType.apiName,
|
|
81
87
|
objectTypeParameter: "objectTypeParameter",
|
|
82
88
|
sharedPropertyValues: Object.fromEntries(allProperties.map(([id, _prop]) => [id, {
|
|
83
89
|
type: "parameterId",
|
|
@@ -85,8 +91,8 @@ export function defineCreateInterfaceObjectAction(interfaceType, objectType, val
|
|
|
85
91
|
}]))
|
|
86
92
|
}
|
|
87
93
|
}],
|
|
88
|
-
...(validation ? {
|
|
89
|
-
validation: convertValidationRule(validation)
|
|
94
|
+
...(def.validation ? {
|
|
95
|
+
validation: convertValidationRule(def.validation)
|
|
90
96
|
} : {})
|
|
91
97
|
});
|
|
92
98
|
}
|
|
@@ -128,7 +134,7 @@ export function defineCreateObjectAction(def) {
|
|
|
128
134
|
}],
|
|
129
135
|
parameterOrdering: def.parameterOrdering ?? createDefaultParameterOrdering(def, parameters),
|
|
130
136
|
...(def.actionLevelValidation ? {
|
|
131
|
-
validation: convertValidationRule(def.actionLevelValidation)
|
|
137
|
+
validation: convertValidationRule(def.actionLevelValidation, parameters)
|
|
132
138
|
} : {}),
|
|
133
139
|
...(def.defaultFormat && {
|
|
134
140
|
defaultFormat: def.defaultFormat
|
|
@@ -147,35 +153,35 @@ export function defineCreateObjectAction(def) {
|
|
|
147
153
|
})
|
|
148
154
|
});
|
|
149
155
|
}
|
|
150
|
-
export function defineModifyInterfaceObjectAction(
|
|
151
|
-
const allProperties = Object.entries(
|
|
152
|
-
if (allProperties.length !== Object.entries(
|
|
153
|
-
consola.info(`Some properties on ${interfaceType.apiName} were skipped in the modify action because they are structs`);
|
|
156
|
+
export function defineModifyInterfaceObjectAction(def) {
|
|
157
|
+
const allProperties = Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).filter(([_, prop]) => !isStruct(prop.sharedPropertyType.type) && !(def.excludedProperties ?? []).includes(prop.sharedPropertyType.nonNameSpacedApiName));
|
|
158
|
+
if (allProperties.length !== Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).length) {
|
|
159
|
+
consola.info(`Some properties on ${def.interfaceType.apiName} were skipped in the modify action because they are structs`);
|
|
154
160
|
}
|
|
155
161
|
return defineAction({
|
|
156
|
-
apiName: `modify-${kebab(interfaceType.apiName.split(".").pop() ?? interfaceType.apiName)}${objectType === undefined ? "" : `-${kebab(objectType.apiName.split(".").pop() ?? objectType.apiName)}`}`,
|
|
157
|
-
displayName: `Modify ${interfaceType.displayMetadata.displayName}`,
|
|
162
|
+
apiName: `modify-${kebab(def.interfaceType.apiName.split(".").pop() ?? def.interfaceType.apiName)}${def.objectType === undefined ? "" : `-${kebab(def.objectType.apiName.split(".").pop() ?? def.objectType.apiName)}`}`,
|
|
163
|
+
displayName: `Modify ${def.interfaceType.displayMetadata.displayName}`,
|
|
158
164
|
parameters: [{
|
|
159
165
|
id: "interfaceObjectToModifyParameter",
|
|
160
166
|
displayName: "Object type to modify",
|
|
161
167
|
type: {
|
|
162
168
|
type: "interfaceReference",
|
|
163
169
|
interfaceReference: {
|
|
164
|
-
interfaceTypeRid: interfaceType.apiName
|
|
170
|
+
interfaceTypeRid: def.interfaceType.apiName
|
|
165
171
|
}
|
|
166
172
|
},
|
|
167
173
|
validation: {
|
|
168
174
|
required: true,
|
|
169
|
-
allowedValues: objectType === undefined ? {
|
|
175
|
+
allowedValues: def.objectType === undefined ? {
|
|
170
176
|
type: "interfaceObjectQuery"
|
|
171
177
|
} : {
|
|
172
178
|
type: "oneOf",
|
|
173
179
|
oneOf: [{
|
|
174
|
-
label: objectType.displayName,
|
|
180
|
+
label: def.objectType.displayName,
|
|
175
181
|
value: {
|
|
176
182
|
type: "objectType",
|
|
177
183
|
objectType: {
|
|
178
|
-
objectTypeId: objectType.apiName
|
|
184
|
+
objectTypeId: def.objectType.apiName
|
|
179
185
|
}
|
|
180
186
|
}
|
|
181
187
|
}]
|
|
@@ -193,9 +199,9 @@ export function defineModifyInterfaceObjectAction(interfaceType, objectType, val
|
|
|
193
199
|
allowedValues: extractAllowedValuesFromPropertyType(prop.sharedPropertyType.type)
|
|
194
200
|
}
|
|
195
201
|
}))],
|
|
196
|
-
status: interfaceType.status.type !== "deprecated" ? interfaceType.status.type : interfaceType.status,
|
|
202
|
+
status: def.interfaceType.status.type !== "deprecated" ? def.interfaceType.status.type : def.interfaceType.status,
|
|
197
203
|
entities: {
|
|
198
|
-
affectedInterfaceTypes: [interfaceType.apiName],
|
|
204
|
+
affectedInterfaceTypes: [def.interfaceType.apiName],
|
|
199
205
|
affectedObjectTypes: [],
|
|
200
206
|
affectedLinkTypes: [],
|
|
201
207
|
typeGroups: []
|
|
@@ -210,8 +216,8 @@ export function defineModifyInterfaceObjectAction(interfaceType, objectType, val
|
|
|
210
216
|
}]))
|
|
211
217
|
}
|
|
212
218
|
}],
|
|
213
|
-
...(validation ? {
|
|
214
|
-
validation: convertValidationRule(validation)
|
|
219
|
+
...(def.validation ? {
|
|
220
|
+
validation: convertValidationRule(def.validation)
|
|
215
221
|
} : {})
|
|
216
222
|
});
|
|
217
223
|
}
|
|
@@ -268,7 +274,7 @@ export function defineModifyObjectAction(def) {
|
|
|
268
274
|
},
|
|
269
275
|
parameterOrdering: def.parameterOrdering ?? createDefaultParameterOrdering(def, parameters, MODIFY_OBJECT_PARAMETER),
|
|
270
276
|
...(def.actionLevelValidation ? {
|
|
271
|
-
validation: convertValidationRule(def.actionLevelValidation)
|
|
277
|
+
validation: convertValidationRule(def.actionLevelValidation, parameters)
|
|
272
278
|
} : {}),
|
|
273
279
|
...(def.defaultFormat && {
|
|
274
280
|
defaultFormat: def.defaultFormat
|
|
@@ -378,7 +384,7 @@ export function defineCreateOrModifyObjectAction(def) {
|
|
|
378
384
|
},
|
|
379
385
|
parameterOrdering: def.parameterOrdering ?? createDefaultParameterOrdering(def, parameters, CREATE_OR_MODIFY_OBJECT_PARAMETER),
|
|
380
386
|
...(def.actionLevelValidation ? {
|
|
381
|
-
validation: convertValidationRule(def.actionLevelValidation)
|
|
387
|
+
validation: convertValidationRule(def.actionLevelValidation, parameters)
|
|
382
388
|
} : {}),
|
|
383
389
|
...(def.defaultFormat && {
|
|
384
390
|
defaultFormat: def.defaultFormat
|
|
@@ -419,6 +425,29 @@ export function defineAction(actionDef) {
|
|
|
419
425
|
if (rule.type === "deleteObjectRule") {
|
|
420
426
|
!parameterIds.some(id => id === rule.deleteObjectRule.objectToDelete) ? process.env.NODE_ENV !== "production" ? invariant(false, `Object to delete parameter must be defined in parameters`) : invariant(false) : void 0;
|
|
421
427
|
}
|
|
428
|
+
if (rule.type === "modifyInterfaceRule") {
|
|
429
|
+
// The there must be a parameter for the interface, and the interface there must exist
|
|
430
|
+
const interfaceParam = actionDef.parameters.find(p => p.id === rule.modifyInterfaceRule.interfaceObjectToModifyParameter);
|
|
431
|
+
!(interfaceParam !== undefined && typeof interfaceParam.type === "object" && (interfaceParam.type.type === "interfaceReference" || interfaceParam.type.type === "interfaceReferenceList")) ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface object to modify parameter must be an interface reference`) : invariant(false) : void 0;
|
|
432
|
+
const interfaceReference = interfaceParam.type.type === "interfaceReference" ? interfaceParam.type.interfaceReference.interfaceTypeRid : interfaceParam.type.interfaceReferenceList.interfaceTypeRid;
|
|
433
|
+
!(ontologyDefinition.INTERFACE_TYPE[interfaceReference] !== undefined || importedTypes.INTERFACE_TYPE[interfaceReference] !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface type ${interfaceReference} does not exist`) : invariant(false) : void 0;
|
|
434
|
+
|
|
435
|
+
// All referenced SPTs must exist on the interface
|
|
436
|
+
const interfaceType = ontologyDefinition.INTERFACE_TYPE[interfaceReference];
|
|
437
|
+
Object.keys(rule.modifyInterfaceRule.sharedPropertyValues).forEach(spt => {
|
|
438
|
+
!Object.keys(getFlattenedInterfaceProperties(interfaceType)).includes(spt) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist in interface type ${interfaceReference}`) : invariant(false) : void 0;
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
if (rule.type === "addInterfaceRule") {
|
|
442
|
+
// The referenced interface must exist globally
|
|
443
|
+
const interfaceType = ontologyDefinition.INTERFACE_TYPE[rule.addInterfaceRule.interfaceApiName] ?? importedTypes.INTERFACE_TYPE[rule.addInterfaceRule.interfaceApiName];
|
|
444
|
+
!(interfaceType !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface type ${rule.addInterfaceRule.interfaceApiName} does not exist`) : invariant(false) : void 0;
|
|
445
|
+
|
|
446
|
+
// All referenced SPTs must exist on the interface
|
|
447
|
+
Object.keys(rule.addInterfaceRule.sharedPropertyValues).forEach(spt => {
|
|
448
|
+
!Object.keys(getFlattenedInterfaceProperties(interfaceType)).includes(spt) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist in interface type ${interfaceType.apiName}`) : invariant(false) : void 0;
|
|
449
|
+
});
|
|
450
|
+
}
|
|
422
451
|
});
|
|
423
452
|
const fullAction = {
|
|
424
453
|
...actionDef,
|
|
@@ -492,7 +521,7 @@ function createParameters(def, parameterSet) {
|
|
|
492
521
|
});
|
|
493
522
|
return [...targetParam, ...Array.from(parameterSet).map(id => ({
|
|
494
523
|
id,
|
|
495
|
-
displayName: def.parameterConfiguration?.[id]?.displayName ?? def.objectType.properties?.[id]?.displayName ??
|
|
524
|
+
displayName: def.parameterConfiguration?.[id]?.displayName ?? def.objectType.properties?.[id]?.displayName ?? uppercaseFirstLetter(id),
|
|
496
525
|
type: def.parameterConfiguration?.[id]?.customParameterType ?? extractActionParameterType(def.objectType.properties?.[id]),
|
|
497
526
|
validation: def.parameterConfiguration?.[id] !== undefined ? {
|
|
498
527
|
...def.parameterConfiguration?.[id],
|
|
@@ -775,22 +804,16 @@ function extractActionParameterType(pt) {
|
|
|
775
804
|
function maybeAddList(type, pt) {
|
|
776
805
|
return pt.array ?? false ? type + "List" : type;
|
|
777
806
|
}
|
|
778
|
-
function isActionParameterTypePrimitive(type) {
|
|
779
|
-
return ["boolean", "booleanList", "integer", "integerList", "long", "longList", "double", "doubleList", "string", "stringList", "decimal", "decimalList", "timestamp", "timestampList", "geohash", "geohashList", "geoshape", "geoshapeList", "timeSeriesReference", "date", "dateList", "objectTypeReference", "objectReference", "attachment", "attachmentList", "marking", "markingList", "mediaReference", "mediaReferenceList", "geotimeSeriesReference", "geotimeSeriesReferenceList"].includes(type);
|
|
780
|
-
}
|
|
781
|
-
function isStruct(type) {
|
|
782
|
-
return typeof type === "object" && type.type === "struct";
|
|
783
|
-
}
|
|
784
807
|
function kebab(s) {
|
|
785
808
|
return s.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([A-Z])([A-Z][a-z])/g, "$1-$2").replace(/\./g, "-").toLowerCase();
|
|
786
809
|
}
|
|
787
810
|
function sanitize(s) {
|
|
788
811
|
return s.includes(".") ? s : namespace + s;
|
|
789
812
|
}
|
|
790
|
-
function convertValidationRule(actionValidation) {
|
|
813
|
+
function convertValidationRule(actionValidation, actionParameters) {
|
|
791
814
|
return actionValidation.map(rule => {
|
|
792
815
|
return {
|
|
793
|
-
condition: convertConditionDefinition(rule.condition),
|
|
816
|
+
condition: convertConditionDefinition(rule.condition, actionParameters),
|
|
794
817
|
displayMetadata: rule.displayMetadata ?? {
|
|
795
818
|
failureMessage: "Did not satisfy validation",
|
|
796
819
|
typeClasses: []
|