enonic-types
Advanced tools
Comparing version 0.3.14 to 0.3.15
@@ -33,6 +33,11 @@ declare module "*/lib/cristin" { | ||
interface CristinLibrary { | ||
getCristinPersons(ids: Array<string>): Array<Person>; | ||
getCristinPerson(id: string, connection?: RepoConnection): Person | void; | ||
getCristinInstitutions(ids: Array<string>): Array<Institution>; | ||
getCristinInstitution(id: string, connection?: RepoConnection): Institution | void; | ||
getCristinProjects(ids: Array<string>): Array<Project>; | ||
getCristinProject(id: string, connection?: RepoConnection): Project | void; | ||
getCristinUnits(ids: Array<string>): Array<Unit>; | ||
getCristinUnit(id: string, connection?: RepoConnection): Unit | void; | ||
getCristinResults(ids: Array<string>): Array<Result>; | ||
getCristinResult(id: string, connection?: RepoConnection): Result | void; | ||
@@ -69,6 +74,11 @@ } | ||
interface CristinStorageLibrary { | ||
lookupPerson(ids: Array<string>): Array<Person>; | ||
lookupPerson(id: string): Person | undefined; | ||
lookupInstitution(ids: Array<string>): Array<Institution>; | ||
lookupInstitution(id: string): Institution | undefined; | ||
lookupProject(ids: Array<string>): Array<Project>; | ||
lookupProject(id: string): Project | undefined; | ||
lookupUnit(ids: Array<string>): Array<Unit>; | ||
lookupUnit(id: string): Unit | undefined; | ||
lookupResult(ids: Array<string>): Array<Result>; | ||
lookupResult(id: string): Result | undefined; | ||
@@ -75,0 +85,0 @@ } |
{ | ||
"name": "enonic-types", | ||
"sideEffects": false, | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -29,4 +29,4 @@ "typings": "index.d.ts", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.11.0", | ||
"@typescript-eslint/parser": "^5.11.0", | ||
"@typescript-eslint/eslint-plugin": "^5.12.0", | ||
"@typescript-eslint/parser": "^5.12.0", | ||
"copyfiles": "^2.4.1", | ||
@@ -33,0 +33,0 @@ "eslint": "^8.9.0", |
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
264482
7145