Socket
Socket
Sign inDemoInstall

@ems-press/content-api-types

Package Overview
Dependencies
0
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.31 to 1.0.0-beta.32

dist/resources/book-chapter-images.d.ts

16

dist/resources/index.d.ts

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

import * as BookChapterFiles from './book-chapter-files';
import * as BookChapterImages from './book-chapter-images';
import * as BookFiles from './book-files';
import * as BookImages from './book-images';
import * as Images from './images';

@@ -18,3 +20,3 @@ import * as Persons from './persons';

import * as SerialIssueFiles from './serial-issue-files';
export declare type Type = Books.Type | BookChapters.Type | BookChapterFiles.Type | BookFiles.Type | BookSeries.Type | Images.Type | Persons.Type | PersonGroups.Type | PersonGroupMembers.Type | Serials.Type | SerialArticles.Type | SerialArticleFiles.Type | SerialArticleImages.Type | SerialIssues.Type | SerialIssueFiles.Type;
export declare type Type = Books.Type | BookChapters.Type | BookChapterFiles.Type | BookChapterImages.Type | BookFiles.Type | BookImages.Type | BookSeries.Type | Images.Type | Persons.Type | PersonGroups.Type | PersonGroupMembers.Type | Serials.Type | SerialArticles.Type | SerialArticleFiles.Type | SerialArticleImages.Type | SerialIssues.Type | SerialIssueFiles.Type;
export declare type Relationship = {

@@ -25,3 +27,3 @@ cardinality: null | '1' | 'N';

export declare const types: Type[];
export { Books, BookChapters, BookChapterFiles, BookFiles, BookSeries, Images, PersonGroups, PersonGroupMembers, Persons, Serials, SerialArticles, SerialArticleFiles, SerialArticleImages, SerialIssues, SerialIssueFiles, };
export { Books, BookChapters, BookChapterFiles, BookChapterImages, BookFiles, BookImages, BookSeries, Images, PersonGroups, PersonGroupMembers, Persons, Serials, SerialArticles, SerialArticleFiles, SerialArticleImages, SerialIssues, SerialIssueFiles, };
export declare type AttributesForType<T extends Type> = {

@@ -31,3 +33,5 @@ books: Books.Attributes;

'book-chapter-files': BookChapterFiles.Attributes;
'book-chapter-images': BookChapterImages.Attributes;
'book-files': BookFiles.Attributes;
'book-images': BookImages.Attributes;
'book-series': BookSeries.Attributes;

@@ -49,3 +53,5 @@ images: Images.Attributes;

'book-chapter-files': BookChapterFiles.Relationships;
'book-chapter-images': BookChapterImages.Relationships;
'book-files': BookFiles.Relationships;
'book-images': BookImages.Relationships;
'book-series': BookSeries.Relationships;

@@ -67,3 +73,5 @@ images: Images.Relationships;

'book-chapter-files': BookChapterFiles.SortField;
'book-chapter-images': BookChapterImages.SortField;
'book-files': BookFiles.SortField;
'book-images': BookImages.SortField;
'book-series': BookSeries.SortField;

@@ -85,3 +93,5 @@ images: Images.SortField;

'book-chapter-files': SortOption<BookChapterFiles.SortField>;
'book-chapter-images': SortOption<BookChapterImages.SortField>;
'book-files': SortOption<BookFiles.SortField>;
'book-images': SortOption<BookImages.SortField>;
'book-series': SortOption<BookSeries.SortField>;

@@ -103,3 +113,5 @@ images: SortOption<Images.SortField>;

'book-chapter-files': BookChapterFiles.Filter;
'book-chapter-images': BookChapterImages.Filter;
'book-files': BookFiles.Filter;
'book-images': BookImages.Filter;
'book-series': BookSeries.Filter;

@@ -106,0 +118,0 @@ images: Images.Filter;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.sortOptions = exports.sortFields = exports.filterKeys = exports.relationshipKeys = exports.attributeKeys = exports.SerialIssueFiles = exports.SerialIssues = exports.SerialArticleImages = exports.SerialArticleFiles = exports.SerialArticles = exports.Serials = exports.Persons = exports.PersonGroupMembers = exports.PersonGroups = exports.Images = exports.BookSeries = exports.BookFiles = exports.BookChapterFiles = exports.BookChapters = exports.Books = exports.types = void 0;
exports.sortOptions = exports.sortFields = exports.filterKeys = exports.relationshipKeys = exports.attributeKeys = exports.SerialIssueFiles = exports.SerialIssues = exports.SerialArticleImages = exports.SerialArticleFiles = exports.SerialArticles = exports.Serials = exports.Persons = exports.PersonGroupMembers = exports.PersonGroups = exports.Images = exports.BookSeries = exports.BookImages = exports.BookFiles = exports.BookChapterImages = exports.BookChapterFiles = exports.BookChapters = exports.Books = exports.types = void 0;
const BookSeries = __importStar(require("./book-series"));

@@ -32,4 +32,8 @@ exports.BookSeries = BookSeries;

exports.BookChapterFiles = BookChapterFiles;
const BookChapterImages = __importStar(require("./book-chapter-images"));
exports.BookChapterImages = BookChapterImages;
const BookFiles = __importStar(require("./book-files"));
exports.BookFiles = BookFiles;
const BookImages = __importStar(require("./book-images"));
exports.BookImages = BookImages;
//import * as BookSupplementaryUrls from './book-supplementary-urls'

@@ -56,3 +60,3 @@ const Images = __importStar(require("./images"));

exports.SerialIssueFiles = SerialIssueFiles;
exports.types = ["books", "book-chapters", "book-chapter-files", "book-files", "book-series", "images", "persons", "person-groups", "person-group-members", "serials", "serial-articles", "serial-article-files", "serial-article-images", "serial-issues", "serial-issue-files"];
exports.types = ["books", "book-chapters", "book-chapter-files", "book-chapter-images", "book-files", "book-images", "book-series", "images", "persons", "person-groups", "person-group-members", "serials", "serial-articles", "serial-article-files", "serial-article-images", "serial-issues", "serial-issue-files"];
exports.attributeKeys = {

@@ -62,3 +66,5 @@ books: ["createdAt", "updatedAt", "bookType", "bookSeriesVolume", "multiVolumeNumber", "titleTex", "title", "subtitleTex", "subtitle", "blurbMarkdownTex", "blurbMarkdown", "isbn", "eIsbn", "doi", "publishedAt", "publishedAtPrecision", "onlineAccessType", "mscs", "bicSubjectCategories", "keywords", "pages", "binding", "printWidthCm", "printHeightCm", "publisher", "publisherOrganization", "publisherAddress", "publisherUrl", "copyright", "copyrightUrl", "license", "licenseCode", "licenseUrl"],

'book-chapter-files': ["createdAt", "updatedAt", "access", "url", "contentType", "path", "sizeBytes", "md5", "sha256", "fileType", "publishedAt", "publishedAtPrecision", "description", "copyright", "license", "licenseCode", "licenseUrl", "languageCode"],
'book-chapter-images': ["createdAt", "updatedAt", "access", "url", "contentType", "path", "sizeBytes", "md5", "sha256", "publishedAt", "publishedAtPrecision", "description", "copyright", "license", "licenseCode", "licenseUrl", "languageCode", "fileType", "width", "height"],
'book-files': ["createdAt", "updatedAt", "access", "url", "contentType", "path", "sizeBytes", "md5", "sha256", "fileType", "publishedAt", "publishedAtPrecision", "description", "copyright", "license", "licenseCode", "licenseUrl", "languageCode"],
'book-images': ["createdAt", "updatedAt", "access", "url", "contentType", "path", "sizeBytes", "md5", "sha256", "publishedAt", "publishedAtPrecision", "description", "copyright", "license", "licenseCode", "licenseUrl", "languageCode", "fileType", "width", "height"],
'book-series': ["createdAt", "updatedAt", "name", "code", "issn", "eIssn", "doiPrefix", "descriptionMarkdown", "publisher", "publisherOrganization", "publisherAddress", "publisherUrl", "owner", "ownerUrl", "copyright", "copyrightUrl"],

@@ -81,3 +87,5 @@ //'book-supplementary-urls': keys<BookSupplementaryUrls.Attributes>(),

'book-chapter-files': ["bookChapter"],
'book-chapter-images': ["bookChapter"],
'book-files': ["book"],
'book-images': ["book"],
'book-series': ["coverImage"],

@@ -100,3 +108,5 @@ //'book-supplementary-urls': keys<BookSupplementaryUrls.Relationships>(),

'book-chapter-files': ["createdBefore", "updatedBefore", "publishedBefore", "createdAfter", "updatedAfter", "publishedAfter", "fileType", "contentType", "path", "md5", "sha256", "licenseCode", "languageCode", "licenseCodeEmpty", "languageCodeEmpty", "bookChapter"],
'book-chapter-images': ["createdBefore", "updatedBefore", "publishedBefore", "createdAfter", "updatedAfter", "publishedAfter", "fileType", "contentType", "path", "md5", "sha256", "licenseCode", "languageCode", "licenseCodeEmpty", "languageCodeEmpty", "bookChapter"],
'book-files': ["createdBefore", "updatedBefore", "publishedBefore", "createdAfter", "updatedAfter", "publishedAfter", "fileType", "contentType", "path", "md5", "sha256", "licenseCode", "languageCode", "licenseCodeEmpty", "languageCodeEmpty", "book"],
'book-images': ["createdBefore", "updatedBefore", "publishedBefore", "createdAfter", "updatedAfter", "publishedAfter", "fileType", "contentType", "path", "md5", "sha256", "licenseCode", "languageCode", "licenseCodeEmpty", "languageCodeEmpty", "book"],
'book-series': ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "code", "name", "doiPrefix", "issn", "eIssn"],

@@ -119,3 +129,5 @@ //'book-supplementary-urls': keys<BookSupplementaryUrls.Filter>(),

'book-chapter-files': ["createdAt", "updatedAt", "contentType", "path", "publishedAt"],
'book-chapter-images': ["createdAt", "updatedAt", "contentType", "path", "publishedAt"],
'book-files': ["createdAt", "updatedAt", "contentType", "path", "publishedAt"],
'book-images': ["createdAt", "updatedAt", "contentType", "path", "publishedAt"],
'book-series': ["createdAt", "updatedAt", "code", "name"],

@@ -140,3 +152,5 @@ //'book-supplementary-urls': keys<

'book-chapter-files': ["createdAt", "updatedAt", "contentType", "path", "publishedAt", "-createdAt", "-updatedAt", "-publishedAt", "-contentType", "-path"],
'book-chapter-images': ["createdAt", "updatedAt", "contentType", "path", "publishedAt", "-createdAt", "-updatedAt", "-publishedAt", "-contentType", "-path"],
'book-files': ["createdAt", "updatedAt", "contentType", "path", "publishedAt", "-createdAt", "-updatedAt", "-publishedAt", "-contentType", "-path"],
'book-images': ["createdAt", "updatedAt", "contentType", "path", "publishedAt", "-createdAt", "-updatedAt", "-publishedAt", "-contentType", "-path"],
'book-series': ["createdAt", "updatedAt", "code", "name", "-createdAt", "-updatedAt", "-code", "-name"],

@@ -143,0 +157,0 @@ //'book-supplementary-urls': keys<

2

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

@@ -5,3 +5,3 @@ import { SerialArticleFiles, SerialArticles } from './index';

export declare type SerialArticleImageType = 'full-text-jats-xml-image' | 'full-text-json-image' | 'supplementary-image';
export declare const serialArticleImageTypes: SerialArticleImageType[];
export declare const serialArticleImageTypes: import("./book-chapter-images").BookChapterImageType[];
export declare type Attributes = Omit<SerialArticleFiles.Attributes, 'fileType'> & {

@@ -8,0 +8,0 @@ fileType: SerialArticleImageType;

{
"name": "@ems-press/content-api-types",
"version": "1.0.0-beta.31",
"version": "1.0.0-beta.32",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc