@ems-press/content-api-types
Advanced tools
Comparing version 1.0.0-alpha.13 to 1.0.0-alpha.14
@@ -21,1 +21,7 @@ import * as PersonGroups from './person-groups'; | ||
}[T]; | ||
export declare const attributeKeys: { | ||
[T in Type]: (keyof AttributesForType<T>)[]; | ||
}; | ||
export declare const relationshipKeys: { | ||
[T in Type]: (keyof RelationshipsForType<T>)[]; | ||
}; |
@@ -22,3 +22,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Serials = exports.PersonGroups = void 0; | ||
exports.relationshipKeys = exports.attributeKeys = exports.Serials = exports.PersonGroups = void 0; | ||
const PersonGroups = __importStar(require("./person-groups")); | ||
@@ -28,2 +28,11 @@ exports.PersonGroups = PersonGroups; | ||
exports.Serials = Serials; | ||
exports.attributeKeys = { | ||
'person-groups': ["groupType", "name"], | ||
serials: ["createdAt", "updatedAt", "code", "coverImageUrl", "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"], | ||
}; | ||
exports.relationshipKeys = { | ||
'person-groups': ["serials"], | ||
serials: ["personGroups"], | ||
}; | ||
// TODO: sortables and filters | ||
//# sourceMappingURL=index.js.map |
@@ -14,3 +14,1 @@ import { EqualFilter } from '../filter'; | ||
export declare type Filter = EqualFilter<Attributes, 'groupType'>; | ||
export declare const attributeKeys: ("groupType" | "name")[]; | ||
export declare const relationshipKeys: "serials"[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.relationshipKeys = exports.attributeKeys = void 0; | ||
exports.attributeKeys = ["groupType", "name"]; | ||
exports.relationshipKeys = ["serials"]; | ||
//# sourceMappingURL=person-groups.js.map |
@@ -50,3 +50,1 @@ import { PersonGroups } from './index'; | ||
export declare type Filter = DateFilter<'created' | 'updated'> & EqualFilter<Attributes, 'serialType' | 's2oStatus'>; | ||
export declare const attributeKeys: ("name" | "createdAt" | "updatedAt" | "code" | "coverImageUrl" | "descriptionMarkdown" | "submitDescriptionMarkdown" | "subscribeDescriptionMarkdown" | "serialType" | "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")[]; | ||
export declare const relationshipKeys: "personGroups"[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.relationshipKeys = exports.attributeKeys = void 0; | ||
exports.attributeKeys = ["createdAt", "updatedAt", "code", "coverImageUrl", "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"]; | ||
exports.relationshipKeys = ["personGroups"]; | ||
//# sourceMappingURL=serials.js.map |
{ | ||
"name": "@ems-press/content-api-types", | ||
"version": "1.0.0-alpha.13", | ||
"version": "1.0.0-alpha.14", | ||
"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
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
199
47091