@ems-press/content-api-types
Advanced tools
Comparing version 1.0.0-alpha.26 to 1.0.0-alpha.27
import { SortOption } from '../sort'; | ||
import * as Images from './images'; | ||
import * as Persons from './persons'; | ||
import * as PersonGroups from './person-groups'; | ||
@@ -9,3 +10,3 @@ import * as PersonGroupMembers from './person-group-members'; | ||
import * as SerialIssues from './serial-issues'; | ||
export declare type Type = Images.Type | PersonGroups.Type | PersonGroupMembers.Type | Serials.Type | SerialArticles.Type | SerialArticleFiles.Type | SerialIssues.Type; | ||
export declare type Type = Images.Type | Persons.Type | PersonGroups.Type | PersonGroupMembers.Type | Serials.Type | SerialArticles.Type | SerialArticleFiles.Type | SerialIssues.Type; | ||
export declare type Relationship = { | ||
@@ -16,3 +17,3 @@ cardinality: null | '1' | 'N'; | ||
export declare const types: Type[]; | ||
export { Images, PersonGroups, PersonGroupMembers, Serials, SerialArticles, SerialArticleFiles, SerialIssues, }; | ||
export { Images, PersonGroups, PersonGroupMembers, Persons, Serials, SerialArticles, SerialArticleFiles, SerialIssues, }; | ||
export declare type AttributesForType<T extends Type> = { | ||
@@ -22,2 +23,3 @@ images: Images.Attributes; | ||
'person-group-members': PersonGroupMembers.Attributes; | ||
persons: Persons.Attributes; | ||
serials: Serials.Attributes; | ||
@@ -32,2 +34,3 @@ 'serial-articles': SerialArticles.Attributes; | ||
'person-group-members': PersonGroupMembers.Relationships; | ||
persons: Persons.Relationships; | ||
serials: Serials.Relationships; | ||
@@ -42,2 +45,3 @@ 'serial-articles': SerialArticles.Relationships; | ||
'person-group-members': PersonGroupMembers.SortField; | ||
persons: Persons.SortField; | ||
serials: Serials.SortField; | ||
@@ -52,2 +56,3 @@ 'serial-articles': SerialArticles.SortField; | ||
'person-group-members': SortOption<PersonGroupMembers.SortField>; | ||
persons: SortOption<Persons.SortField>; | ||
serials: SortOption<Serials.SortField>; | ||
@@ -62,2 +67,3 @@ 'serial-articles': SortOption<SerialArticles.SortField>; | ||
'person-group-members': PersonGroupMembers.Filter; | ||
persons: Persons.Filter; | ||
serials: Serials.Filter; | ||
@@ -64,0 +70,0 @@ 'serial-articles': SerialArticles.Filter; |
@@ -22,5 +22,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sortOptions = exports.sortFields = exports.filterKeys = exports.relationshipKeys = exports.attributeKeys = exports.SerialIssues = exports.SerialArticleFiles = exports.SerialArticles = exports.Serials = exports.PersonGroupMembers = exports.PersonGroups = exports.Images = exports.types = void 0; | ||
exports.sortOptions = exports.sortFields = exports.filterKeys = exports.relationshipKeys = exports.attributeKeys = exports.SerialIssues = exports.SerialArticleFiles = exports.SerialArticles = exports.Serials = exports.Persons = exports.PersonGroupMembers = exports.PersonGroups = exports.Images = exports.types = void 0; | ||
const Images = __importStar(require("./images")); | ||
exports.Images = Images; | ||
const Persons = __importStar(require("./persons")); | ||
exports.Persons = Persons; | ||
const PersonGroups = __importStar(require("./person-groups")); | ||
@@ -38,3 +40,3 @@ exports.PersonGroups = PersonGroups; | ||
exports.SerialIssues = SerialIssues; | ||
exports.types = ["images", "person-groups", "person-group-members", "serials", "serial-articles", "serial-article-files", "serial-issues"]; | ||
exports.types = ["images", "persons", "person-groups", "person-group-members", "serials", "serial-articles", "serial-article-files", "serial-issues"]; | ||
exports.attributeKeys = { | ||
@@ -44,2 +46,3 @@ images: ["createdAt", "updatedAt", "url", "contentType", "width", "height", "path", "sizeBytes", "md5", "sha256", "description", "license", "licenseCode", "licenseUrl"], | ||
'person-group-members': ["name", "surname", "givenName", "prefix", "description", "organization", "role", "email", "homepage"], | ||
persons: ["createdAt", "updatedAt", "name", "surname", "givenName", "prefix", "orcid", "description", "organization", "role", "email", "twitterProfile", "linkedinProfile", "facebookProfile", "homepage", "emsphAddressesId"], | ||
serials: ["createdAt", "updatedAt", "code", "descriptionMarkdown", "submitDescriptionMarkdown", "subscribeDescriptionMarkdown", "serialType", "name", "nameAbbreviation", "subtitle", "doiPrefix", "issn", "eIssn", "mscs", "keywords", "owner", "ownerUrl", "publishingModel", "s2oStatus", "s2oStatusStart", "s2oStatusEnd", "publisher", "publisherOrganization", "publisherAddress", "publisherUrl", "copyright", "copyrightUrl", "codeOfPractice", "codeOfPracticeUrl", "volumesPerYear", "issuesPerVolume", "pagesPerYear", "printWidthCm", "printHeightCm"], | ||
@@ -54,2 +57,3 @@ 'serial-articles': ["createdAt", "updatedAt", "articleType", "acceptedAt", "acceptedAtPrecision", "publishedAt", "publishedAtPrecision", "retractedAt", "retractedAtPrecision", "title", "titleTex", "subtitle", "subtitleTex", "abstractMarkdown", "abstractTex", "doi", "mscs", "keywords", "pages", "pageStart", "pageEnd", "copyright", "license", "licenseCode", "licenseUrl", "onlineAccessType", "languageCode"], | ||
'person-group-members': ["personGroup"], | ||
persons: ["image"], | ||
serials: ["personGroups", "coverImage"], | ||
@@ -64,2 +68,3 @@ 'serial-articles': ["serial", "serialIssue", "personGroups", "serialArticleFiles"], | ||
'person-group-members': ["name", "personGroup"], | ||
persons: ["emsphAddressesId"], | ||
serials: ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "serialType", "s2oStatus", "s2oStatusEmpty", "code"], | ||
@@ -74,2 +79,3 @@ 'serial-articles': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "acceptedBefore", "publishedBefore", "retractedBefore", "acceptedAfter", "publishedAfter", "retractedAfter", "licenseCode", "articleType", "doi", "onlineAccessType", "languageCode", "licenseCodeEmpty", "doiEmpty", "languageCodeEmpty", "mscs", "keywords", "serial", "serialIssue", "serialIssueEmpty"], | ||
'person-group-members': [], | ||
persons: ["createdAt", "updatedAt"], | ||
serials: ["code", "createdAt", "updatedAt", "name"], | ||
@@ -84,2 +90,3 @@ 'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd"], | ||
'person-group-members': [], | ||
persons: ["createdAt", "updatedAt", "-createdAt", "-updatedAt"], | ||
serials: ["code", "createdAt", "updatedAt", "name", "-createdAt", "-updatedAt", "-code", "-name"], | ||
@@ -86,0 +93,0 @@ 'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd", "-createdAt", "-updatedAt", "-acceptedAt", "-publishedAt", "-retractedAt", "-title", "-pages", "-pageStart", "-pageEnd"], |
{ | ||
"name": "@ems-press/content-api-types", | ||
"version": "1.0.0-alpha.26", | ||
"version": "1.0.0-alpha.27", | ||
"description": "Typescript types for the EMS Press Content API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
67157
52
580