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.24 to 1.0.0-alpha.25

dist/resources/serial-article-files.d.ts

8

dist/resources/images.d.ts

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

import { DateFilter, EqualFilter, IsInFilter } from '../filter';
import { DateFilter, IsInFilter } from '../filter';
export declare type Type = 'images';

@@ -14,5 +14,9 @@ export declare type Attributes = {

sha256: string;
description?: string;
license?: string;
licenseCode?: string;
licenseUrl?: string;
};
export declare type Relationships = Record<never, never>;
export declare type SortField = 'createdAt' | 'updatedAt' | 'contentType' | 'path';
export declare type Filter = DateFilter<'created' | 'updated'> & EqualFilter<Attributes, 'path'> & IsInFilter<Attributes, 'contentType'>;
export declare type Filter = DateFilter<'created' | 'updated'> & IsInFilter<Attributes, 'contentType' | 'path' | 'md5' | 'sha256' | 'licenseCode'>;

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

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

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

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

@@ -21,2 +22,3 @@ images: Images.Attributes;

'serial-articles': SerialArticles.Attributes;
'serial-article-files': SerialArticleFiles.Attributes;
'serial-issues': SerialIssues.Attributes;

@@ -29,2 +31,3 @@ }[T];

'serial-articles': SerialArticles.Relationships;
'serial-article-files': SerialArticleFiles.Relationships;
'serial-issues': SerialIssues.Relationships;

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

'serial-articles': SerialArticles.SortField;
'serial-article-files': SerialArticleFiles.SortField;
'serial-issues': SerialIssues.SortField;

@@ -45,2 +49,3 @@ }[T];

'serial-articles': SortOption<SerialArticles.SortField>;
'serial-article-files': SortOption<SerialArticleFiles.SortField>;
'serial-issues': SortOption<SerialIssues.SortField>;

@@ -53,2 +58,3 @@ }[T];

'serial-articles': SerialArticles.Filter;
'serial-article-files': SerialArticleFiles.Filter;
'serial-issues': SerialIssues.Filter;

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

@@ -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.SerialArticles = exports.Serials = 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.PersonGroups = exports.Images = exports.types = void 0;
const Images = __importStar(require("./images"));

@@ -32,10 +32,13 @@ exports.Images = Images;

exports.SerialArticles = SerialArticles;
const SerialArticleFiles = __importStar(require("./serial-article-files"));
exports.SerialArticleFiles = SerialArticleFiles;
const SerialIssues = __importStar(require("./serial-issues"));
exports.SerialIssues = SerialIssues;
exports.types = ["images", "person-groups", "serials", "serial-articles", "serial-issues"];
exports.types = ["images", "person-groups", "serials", "serial-articles", "serial-article-files", "serial-issues"];
exports.attributeKeys = {
images: ["createdAt", "updatedAt", "url", "contentType", "width", "height", "path", "sizeBytes", "md5", "sha256"],
images: ["createdAt", "updatedAt", "url", "contentType", "width", "height", "path", "sizeBytes", "md5", "sha256", "description", "license", "licenseCode", "licenseUrl"],
'person-groups': ["groupType", "name"],
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-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"],
'serial-article-files': ["createdAt", "updatedAt", "access", "url", "contentType", "path", "sizeBytes", "md5", "sha256", "fileType", "publishedAt", "publishedAtPrecision", "description", "copyright", "license", "licenseCode", "licenseUrl", "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"],

@@ -47,26 +50,30 @@ };

serials: ["personGroups", "coverImage"],
'serial-articles': ["serial", "serialIssue", "personGroups"],
'serial-articles': ["serial", "serialIssue", "personGroups", "serialArticleFiles"],
'serial-article-files': ["serialArticle"],
'serial-issues': ["serial", "personGroups", "coverImage", "articles"],
};
exports.filterKeys = {
images: ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "path", "contentType"],
images: ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "contentType", "path", "md5", "sha256", "licenseCode", "licenseCodeEmpty"],
'person-groups': ["groupType"],
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-articles': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "acceptedBefore", "publishedBefore", "retractedBefore", "acceptedAfter", "publishedAfter", "retractedAfter", "licenseCode", "articleType", "doi", "onlineAccessType", "languageCode", "licenseCodeEmpty", "doiEmpty", "languageCodeEmpty", "mscs", "keywords", "serial", "serialIssue", "serialIssueEmpty"],
'serial-article-files': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "publishedBefore", "publishedAfter", "contentType", "path", "md5", "sha256", "licenseCode", "languageCode", "fileType", "licenseCodeEmpty", "languageCodeEmpty", "serialArticle"],
'serial-issues': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "publishedBefore", "publishedAfter", "serialType", "s2oStatus", "s2oStatusEmpty", "serial"],
};
exports.sortFields = {
images: ["createdAt", "updatedAt", "path", "contentType"],
images: ["createdAt", "updatedAt", "contentType", "path"],
'person-groups': [],
serials: ["code", "createdAt", "updatedAt", "name"],
'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd"],
'serial-article-files': ["createdAt", "updatedAt", "contentType", "path", "publishedAt"],
'serial-issues': ["createdAt", "updatedAt", "name", "publishedAt", "volume", "issue"],
};
exports.sortOptions = {
images: ["createdAt", "updatedAt", "path", "contentType", "-createdAt", "-updatedAt", "-path", "-contentType"],
images: ["createdAt", "updatedAt", "contentType", "path", "-createdAt", "-updatedAt", "-contentType", "-path"],
'person-groups': [],
serials: ["code", "createdAt", "updatedAt", "name", "-createdAt", "-updatedAt", "-code", "-name"],
'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd", "-createdAt", "-updatedAt", "-acceptedAt", "-publishedAt", "-retractedAt", "-title", "-pages", "-pageStart", "-pageEnd"],
'serial-article-files': ["createdAt", "updatedAt", "contentType", "path", "publishedAt", "-createdAt", "-updatedAt", "-contentType", "-path", "-publishedAt"],
'serial-issues': ["createdAt", "updatedAt", "name", "publishedAt", "volume", "issue", "-createdAt", "-updatedAt", "-name", "-publishedAt", "-volume", "-issue"],
};
//# sourceMappingURL=index.js.map

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

import { PersonGroups, Serials, SerialIssues } from './index';
import { PersonGroups, Serials, SerialIssues, SerialArticleFiles } from './index';
import { DateFilter, IsInFilter } from '../filter';

@@ -12,3 +12,3 @@ import { DatePrecision } from '../date';

updatedAt: Date;
serialArticleType: SerialArticleType;
articleType: SerialArticleType;
acceptedAt?: Date;

@@ -52,5 +52,9 @@ acceptedAtPrecision?: DatePrecision;

};
serialArticleFiles: {
type: SerialArticleFiles.Type;
cardinality: 'N';
};
};
export declare type SortField = 'createdAt' | 'updatedAt' | 'acceptedAt' | 'publishedAt' | 'retractedAt' | 'title' | 'pages' | 'pageStart' | 'pageEnd';
export declare type Filter = DateFilter<'created' | 'updated' | 'accepted' | 'published' | 'retracted'> & IsInFilter<Attributes, 'doi' | 'licenseCode' | 'onlineAccessType' | 'languageCode'> & {
export declare type Filter = DateFilter<'created' | 'updated' | 'accepted' | 'published' | 'retracted'> & IsInFilter<Attributes, 'articleType' | 'doi' | 'licenseCode' | 'onlineAccessType' | 'languageCode'> & {
mscs?: string[];

@@ -57,0 +61,0 @@ keywords?: string[];

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

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