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

@ems-press/content-api-types

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ems-press/content-api-types - npm Package Compare versions

Comparing version 1.0.0-alpha.23 to 1.0.0-alpha.24

dist/resources/serial-articles.d.ts

10

dist/resources/index.d.ts

@@ -5,4 +5,5 @@ import { SortOption } from '../sort';

import * as Serials from './serials';
import * as SerialArticles from './serial-articles';
import * as SerialIssues from './serial-issues';
export declare type Type = Images.Type | PersonGroups.Type | Serials.Type | SerialIssues.Type;
export declare type Type = Images.Type | PersonGroups.Type | Serials.Type | SerialArticles.Type | SerialIssues.Type;
export declare type Relationship = {

@@ -13,3 +14,3 @@ cardinality: null | '1' | 'N';

export declare const types: Type[];
export { Images, PersonGroups, Serials, SerialIssues };
export { Images, PersonGroups, Serials, SerialArticles, SerialIssues };
export declare type AttributesForType<T extends Type> = {

@@ -19,2 +20,3 @@ images: Images.Attributes;

serials: Serials.Attributes;
'serial-articles': SerialArticles.Attributes;
'serial-issues': SerialIssues.Attributes;

@@ -26,2 +28,3 @@ }[T];

serials: Serials.Relationships;
'serial-articles': SerialArticles.Relationships;
'serial-issues': SerialIssues.Relationships;

@@ -33,2 +36,3 @@ }[T];

serials: Serials.SortField;
'serial-articles': SerialArticles.SortField;
'serial-issues': SerialIssues.SortField;

@@ -40,2 +44,3 @@ }[T];

serials: SortOption<Serials.SortField>;
'serial-articles': SortOption<SerialArticles.SortField>;
'serial-issues': SortOption<SerialIssues.SortField>;

@@ -47,2 +52,3 @@ }[T];

serials: Serials.Filter;
'serial-articles': SerialArticles.Filter;
'serial-issues': SerialIssues.Filter;

@@ -49,0 +55,0 @@ }[T];

17

dist/resources/index.js

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.sortOptions = exports.sortFields = exports.filterKeys = exports.relationshipKeys = exports.attributeKeys = exports.SerialIssues = exports.Serials = exports.PersonGroups = exports.Images = exports.types = void 0;
exports.sortOptions = exports.sortFields = exports.filterKeys = exports.relationshipKeys = exports.attributeKeys = exports.SerialIssues = exports.SerialArticles = exports.Serials = exports.PersonGroups = exports.Images = exports.types = void 0;
const Images = __importStar(require("./images"));

@@ -30,5 +30,7 @@ exports.Images = Images;

exports.Serials = Serials;
const SerialArticles = __importStar(require("./serial-articles"));
exports.SerialArticles = SerialArticles;
const SerialIssues = __importStar(require("./serial-issues"));
exports.SerialIssues = SerialIssues;
exports.types = ["images", "person-groups", "serials", "serial-issues"];
exports.types = ["images", "person-groups", "serials", "serial-articles", "serial-issues"];
exports.attributeKeys = {

@@ -38,2 +40,3 @@ images: ["createdAt", "updatedAt", "url", "contentType", "width", "height", "path", "sizeBytes", "md5", "sha256"],

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"],
'serial-articles': ["createdAt", "updatedAt", "serialArticleType", "acceptedAt", "acceptedAtPrecision", "publishedAt", "publishedAtPrecision", "retractedAt", "retractedAtPrecision", "title", "titleTex", "subtitle", "subtitleTex", "abstractMarkdown", "abstractTex", "doi", "mscs", "keywords", "pages", "pageStart", "pageEnd", "copyright", "license", "licenseCode", "licenseUrl", "onlineAccessType", "languageCode"],
'serial-issues': ["createdAt", "updatedAt", "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", "issueName", "volume", "issue", "pageStart", "pageEnd", "publishedAt", "publishedAtPrecison"],

@@ -45,3 +48,4 @@ };

serials: ["personGroups", "coverImage"],
'serial-issues': ["serial", "personGroups", "coverImage"],
'serial-articles': ["serial", "serialIssue", "personGroups"],
'serial-issues': ["serial", "personGroups", "coverImage", "articles"],
};

@@ -52,2 +56,3 @@ exports.filterKeys = {

serials: ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "serialType", "s2oStatus", "s2oStatusEmpty", "code"],
'serial-articles': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "acceptedBefore", "publishedBefore", "retractedBefore", "acceptedAfter", "publishedAfter", "retractedAfter", "doi", "licenseCode", "onlineAccessType", "languageCode", "doiEmpty", "licenseCodeEmpty", "languageCodeEmpty", "mscs", "keywords", "serial", "serialIssue", "serialIssueEmpty"],
'serial-issues': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "publishedBefore", "publishedAfter", "serialType", "s2oStatus", "s2oStatusEmpty", "serial"],

@@ -59,3 +64,4 @@ };

serials: ["code", "createdAt", "updatedAt", "name"],
'serial-issues': ["createdAt", "updatedAt", "name", "volume", "issue", "publishedAt"],
'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd"],
'serial-issues': ["createdAt", "updatedAt", "name", "publishedAt", "volume", "issue"],
};

@@ -66,4 +72,5 @@ exports.sortOptions = {

serials: ["code", "createdAt", "updatedAt", "name", "-createdAt", "-updatedAt", "-code", "-name"],
'serial-issues': ["createdAt", "updatedAt", "name", "volume", "issue", "publishedAt", "-createdAt", "-updatedAt", "-name", "-volume", "-issue", "-publishedAt"],
'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd", "-createdAt", "-updatedAt", "-acceptedAt", "-publishedAt", "-retractedAt", "-title", "-pages", "-pageStart", "-pageEnd"],
'serial-issues': ["createdAt", "updatedAt", "name", "publishedAt", "volume", "issue", "-createdAt", "-updatedAt", "-name", "-publishedAt", "-volume", "-issue"],
};
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import { Images, PersonGroups, Serials } from './index';
import { Images, PersonGroups, SerialArticles, Serials } from './index';
import { DateFilter, IsInFilter } from '../filter';

@@ -27,2 +27,6 @@ import { DatePrecision } from '../date';

};
articles: {
type: SerialArticles.Type;
cardinality: 'N';
};
};

@@ -29,0 +33,0 @@ export declare type SortField = 'createdAt' | 'updatedAt' | 'name' | 'volume' | 'issue' | 'publishedAt';

{
"name": "@ems-press/content-api-types",
"version": "1.0.0-alpha.23",
"version": "1.0.0-alpha.24",
"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

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