@sap/artifact-management-base-types
Advanced tools
Comparing version 1.1.3 to 1.2.0
{ | ||
"name": "@sap/artifact-management-base-types", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "Type signatures for artifact management", | ||
@@ -5,0 +5,0 @@ "types": "./src/index.d.ts", |
@@ -7,7 +7,8 @@ export interface StateMessage { | ||
private stateMessages; | ||
private static ModuleCode; | ||
add(messageOrError: { | ||
code: string; | ||
description: string; | ||
} | Error): Info; | ||
} | Error, moduleType?: string): Info; | ||
getStateMessages(): StateMessage[] | undefined; | ||
} |
@@ -13,2 +13,4 @@ import ProjectFileSystem from '../commons/ProjectFileSystem'; | ||
'@cds.persistence.skip'?: boolean; | ||
associations?: any; | ||
compositions?: any; | ||
}; | ||
@@ -15,0 +17,0 @@ export default class CapApi { |
@@ -27,3 +27,3 @@ export { ProjectType } from './definitions/ProjectType'; | ||
export { DetectionMechanism, getDetectionPriority } from './project/PluginEntryTypes'; | ||
export { default as ItemLink, LinkTypeReverse, LinkType } from './project/ItemLink'; | ||
export { default as ItemLink, LinkTypeReverse, LinkType, isLinkTypeReverseValid } from './project/ItemLink'; | ||
export { default as ErrorWithLocation } from './project/ErrorWithLocation'; | ||
@@ -30,0 +30,0 @@ export { default as TemplateInfo } from './project/TemplateInfo'; |
@@ -7,3 +7,10 @@ export declare enum LinkType { | ||
PARENT_OF = "PARENT_OF", | ||
CHILD_OF = "CHILD_OF" | ||
CHILD_OF = "CHILD_OF", | ||
ASSOCIATES_TO_ONE = "ASSOCIATES_TO_ONE", | ||
ASSOCIATES_TO_MANY = "ASSOCIATES_TO_MANY", | ||
HAS_ASSOCIATION_WITH_ONE = "HAS_ASSOCIATION_WITH_ONE", | ||
HAS_ASSOCIATION_WITH_MANY = "HAS_ASSOCIATION_WITH_MANY", | ||
HAS_COMPOSITION_WITH_ONE = "HAS_COMPOSITION_WITH_ONE", | ||
HAS_COMPOSITION_WITH_MANY = "HAS_COMPOSITION_WITH_MANY", | ||
SELF = "SELF" | ||
} | ||
@@ -17,3 +24,11 @@ export declare const LinkTypeReverse: { | ||
HAS_TRANSITIVE_DEPENDENCY: LinkType; | ||
ASSOCIATES_TO_ONE: LinkType; | ||
ASSOCIATES_TO_MANY: LinkType; | ||
HAS_ASSOCIATION_WITH_ONE: LinkType; | ||
HAS_ASSOCIATION_WITH_MANY: LinkType; | ||
HAS_COMPOSITION_WITH_ONE: LinkType; | ||
HAS_COMPOSITION_WITH_MANY: LinkType; | ||
SELF: LinkType; | ||
}; | ||
export declare function isLinkTypeReverseValid(linkType: LinkType): boolean; | ||
export default interface ItemLink { | ||
@@ -20,0 +35,0 @@ /** Link type */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54668
1176