@kanonak-protocol/sdk 2.3.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +24 -29
- package/dist/index.d.ts +3 -3
- package/dist/index.js +34 -39
- package/dist/resolution/KanonakAddress.d.ts +58 -0
- package/dist/resolution/index.d.ts +2 -0
- package/dist/resolution/index.js +1 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +11 -16
- package/dist/validation/rules/document/index.d.ts +0 -1
- package/dist/validation/rules/repository/EmbeddedKanonakTypeRule.d.ts +75 -0
- package/dist/validation/rules/repository/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/validation/rules/document/EmbeddedKanonakNoExplicitTypeRule.d.ts +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -8,12 +8,12 @@ export { GitIgnoreFilter } from './filtering/index.js';
|
|
|
8
8
|
export type { IGitIgnoreFilter } from './filtering/index.js';
|
|
9
9
|
export { KanonakParser, KanonakObjectParser, PropertyMetadata, KanonakDocumentPositions, parseWithPositions, } from './parsing/index.js';
|
|
10
10
|
export type { IKanonakObjectParser, SourcePosition, ImportPackageEntry, ParsedDocumentWithPositions, } from './parsing/index.js';
|
|
11
|
-
export { ResourceResolver, KanonakUri, KanonakUriBuilder, TypeResolver, findInstancesByType, compareVersions, versionsEqual, formatVersion, parseVersionString, createVersion, isCompatibleVersion, isMajorCompatible, pickHighestDocument, } from './resolution/index.js';
|
|
12
|
-
export type { ResourceResolutionResult, ILogger, InstanceSearchResult, DocumentVersionPick, } from './resolution/index.js';
|
|
11
|
+
export { ResourceResolver, KanonakUri, KanonakUriBuilder, parseKanonakAddress, formatKanonakAddress, TypeResolver, findInstancesByType, compareVersions, versionsEqual, formatVersion, parseVersionString, createVersion, isCompatibleVersion, isMajorCompatible, pickHighestDocument, } from './resolution/index.js';
|
|
12
|
+
export type { ResourceResolutionResult, ILogger, InstanceSearchResult, DocumentVersionPick, KanonakAddress, } from './resolution/index.js';
|
|
13
13
|
export { Kanonak, DefinedKanonak, SubjectKanonak, EmbeddedKanonak, ReferenceKanonak, LiteralKanonak } from './kanonaks/index.js';
|
|
14
14
|
export type { IStatement } from './statements/index.js';
|
|
15
15
|
export { Statement, ScalarStatement, StringStatement, NumberStatement, BooleanStatement, ReferenceStatement, EmbeddedStatement, ListStatement } from './statements/index.js';
|
|
16
|
-
export { OntologyValidationResult, OntologyValidationError, ValidationSeverity, ValidationContext, KanonakObjectValidator, NamespacePrefixRule, ResourceNamingRule, PropertyTypeSpecificityRule, SubjectKanonakTypeRequiredRule,
|
|
16
|
+
export { OntologyValidationResult, OntologyValidationError, ValidationSeverity, ValidationContext, KanonakObjectValidator, NamespacePrefixRule, ResourceNamingRule, PropertyTypeSpecificityRule, SubjectKanonakTypeRequiredRule, EmbeddedKanonakTypeRule, ImportExistenceRule, UnresolvedReferenceRule, TypeAmbiguityRule, ClassHierarchyCycleRule, PropertyHierarchyCycleRule, PropertyRangeRequiredRule, SubClassOfReferenceRule, SubPropertyOfReferenceRule, NamespaceImportCycleRule, InstancePropertyReferenceRule, DefinitionPropertyReferenceRule, XsdImportRule, AmbiguousReferenceRule, PropertyRangeReferenceRule, ObjectPropertyImportRule, ObjectPropertyValueValidationRule, PropertyDomainRule, PropertyValueTypeRule, ClassDefinitionRule } from './validation/index.js';
|
|
17
17
|
export type { IKanonakObjectValidator, IDocumentValidationRule, IRepositoryValidationRule } from './validation/index.js';
|
|
18
18
|
export type { IKanonakDocumentRepository } from '@kanonak-protocol/types/document/models';
|
|
19
19
|
export type { IKanonakParser } from '@kanonak-protocol/types/document/parsing';
|