Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enonic-types

Package Overview
Dependencies
Maintainers
1
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-types - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

generated/contributorsRefList_GET_response.d.ts

9

cristin.d.ts

@@ -10,2 +10,3 @@ declare module "*/lib/cristin" {

type Result = import("./generated").Result;
type ListOfResultContributors = import("./generated").ListOfResultContributors;
type ListOfInstitutions = import("./generated").ListOfInstitutions;

@@ -16,2 +17,3 @@ type Institution = import("./generated").Institution;

type Unarray<T> = import("./types").Unarray<T>;
type CristinResultContributor = Unarray<ListOfResultContributors>;
type CristinPersonAffiliation = NonNullable<Unarray<Person["affiliations"]>>;

@@ -45,2 +47,3 @@ type CristinProjectCoordinatingInstitution = Project["coordinating_institution"];

getCristinResult(id: string, connection?: RepoConnection): Result | void;
getCristinResultContributors(id: string, repoConnection?: RepoConnection): ListOfResultContributors | void;
}

@@ -58,2 +61,3 @@ }

REPO_CRISTIN_RESULTS: "no.item.cristin.results";
REPO_CRISTIN_RESULT_CONTRIBUTORS: "no.item.cristin.resultcontributors";
REPO_CRISTIN_UNITS: "no.item.cristin.units";

@@ -76,2 +80,3 @@ BRANCH_MASTER: "master";

type Unit = import("./generated").Unit;
type ListOfResultContributors = import("./generated").ListOfResultContributors;
interface CristinStorageLibrary {

@@ -88,2 +93,4 @@ lookupPerson(ids: Array<string>): Array<Person>;

lookupResult(id: string): Result | undefined;
lookupResultContributors(id: string): ListOfResultContributors | undefined;
lookupResultContributors(ids: Array<string>): Array<ListOfResultContributors>;
}

@@ -133,2 +140,3 @@ }

type Result = import("./generated").Result;
type ListOfResultContributors = import("./generated").ListOfResultContributors;
type CristinResultCategory = NonNullable<Result["category"]>;

@@ -154,2 +162,3 @@ type ListOfInstitutions = import("./generated").ListOfInstitutions;

}): FetchResponse<Array<CristinResultCategory>>;
fetchResultContributors(params: GetSingleParams): ListOfResultContributors;
fetchInstitutions(params: GetInstitutionsParams): FetchResponse<ListOfInstitutions>;

@@ -156,0 +165,0 @@ fetchInstitution(params: GetSingleParams): Institution;

1

generated/index.d.ts

@@ -7,2 +7,3 @@ export declare type ListOfPersons = import("./personsList_GET_response").ListOfPersons;

export declare type Result = import("./results_GET_response").Results_GETResponse;
export declare type ListOfResultContributors = import("./contributorsRefList_GET_response").ListOfContributorReferences;
export declare type ListOfInstitutions = import("./institutionsList_GET_response").ListOfInstitutions;

@@ -9,0 +10,0 @@ export declare type Institution = import("./institutions_GET_response").Institution;

6

package.json
{
"name": "enonic-types",
"sideEffects": false,
"version": "0.4.4",
"version": "0.4.5",
"description": "TypeScript types for Enonic XP",

@@ -29,4 +29,4 @@ "typings": "index.d.ts",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"copyfiles": "^2.4.1",

@@ -33,0 +33,0 @@ "eslint": "^8.12.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc