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

dist/resources/person-group-members.d.ts

10

dist/resources/index.d.ts
import { SortOption } from '../sort';
import * as Images from './images';
import * as PersonGroups from './person-groups';
import * as PersonGroupMembers from './person-group-members';
import * as Serials from './serials';

@@ -8,3 +9,3 @@ import * as SerialArticles from './serial-articles';

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

@@ -15,6 +16,7 @@ cardinality: null | '1' | 'N';

export declare const types: Type[];
export { Images, PersonGroups, Serials, SerialArticles, SerialArticleFiles, SerialIssues, };
export { Images, PersonGroups, PersonGroupMembers, Serials, SerialArticles, SerialArticleFiles, SerialIssues, };
export declare type AttributesForType<T extends Type> = {
images: Images.Attributes;
'person-groups': PersonGroups.Attributes;
'person-group-members': PersonGroupMembers.Attributes;
serials: Serials.Attributes;

@@ -28,2 +30,3 @@ 'serial-articles': SerialArticles.Attributes;

'person-groups': PersonGroups.Relationships;
'person-group-members': PersonGroupMembers.Relationships;
serials: Serials.Relationships;

@@ -37,2 +40,3 @@ 'serial-articles': SerialArticles.Relationships;

'person-groups': PersonGroups.SortField;
'person-group-members': PersonGroupMembers.SortField;
serials: Serials.SortField;

@@ -46,2 +50,3 @@ 'serial-articles': SerialArticles.SortField;

'person-groups': SortOption<PersonGroups.SortField>;
'person-group-members': SortOption<PersonGroupMembers.SortField>;
serials: SortOption<Serials.SortField>;

@@ -55,2 +60,3 @@ 'serial-articles': SortOption<SerialArticles.SortField>;

'person-groups': PersonGroups.Filter;
'person-group-members': PersonGroupMembers.Filter;
serials: Serials.Filter;

@@ -57,0 +63,0 @@ 'serial-articles': SerialArticles.Filter;

13

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

@@ -28,2 +28,4 @@ exports.Images = Images;

exports.PersonGroups = PersonGroups;
const PersonGroupMembers = __importStar(require("./person-group-members"));
exports.PersonGroupMembers = PersonGroupMembers;
const Serials = __importStar(require("./serials"));

@@ -37,6 +39,7 @@ exports.Serials = Serials;

exports.SerialIssues = SerialIssues;
exports.types = ["images", "person-groups", "serials", "serial-articles", "serial-article-files", "serial-issues"];
exports.types = ["images", "person-groups", "person-group-members", "serials", "serial-articles", "serial-article-files", "serial-issues"];
exports.attributeKeys = {
images: ["createdAt", "updatedAt", "url", "contentType", "width", "height", "path", "sizeBytes", "md5", "sha256", "description", "license", "licenseCode", "licenseUrl"],
'person-groups': ["groupType", "name"],
'person-group-members': ["name", "surname", "givenName", "prefix", "description", "organization", "role", "email", "homepage"],
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"],

@@ -49,3 +52,4 @@ '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"],

images: [],
'person-groups': ["serials"],
'person-groups': ["members", "serials"],
'person-group-members': ["personGroup"],
serials: ["personGroups", "coverImage"],

@@ -59,2 +63,3 @@ 'serial-articles': ["serial", "serialIssue", "personGroups", "serialArticleFiles"],

'person-groups': ["groupType"],
'person-group-members': ["name", "personGroup"],
serials: ["createdBefore", "updatedBefore", "createdAfter", "updatedAfter", "serialType", "s2oStatus", "s2oStatusEmpty", "code"],

@@ -68,2 +73,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-groups': [],
'person-group-members': [],
serials: ["code", "createdAt", "updatedAt", "name"],

@@ -77,2 +83,3 @@ 'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd"],

'person-groups': [],
'person-group-members': [],
serials: ["code", "createdAt", "updatedAt", "name", "-createdAt", "-updatedAt", "-code", "-name"],

@@ -79,0 +86,0 @@ 'serial-articles': ["createdAt", "updatedAt", "acceptedAt", "publishedAt", "retractedAt", "title", "pages", "pageStart", "pageEnd", "-createdAt", "-updatedAt", "-acceptedAt", "-publishedAt", "-retractedAt", "-title", "-pages", "-pageStart", "-pageEnd"],

import { EqualFilter } from '../filter';
import { Serials } from './index';
import { PersonGroupMembers, Serials } from './index';
export declare type PersonGroupType = 'authors' | 'editors' | 'translators';

@@ -11,2 +11,6 @@ export declare const personGroupTypes: PersonGroupType[];

export declare type Relationships = {
members: {
type: PersonGroupMembers.Type;
cardinality: 'N';
};
serials: {

@@ -13,0 +17,0 @@ type: Serials.Type;

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