Socket
Socket
Sign inDemoInstall

contentful-management

Package Overview
Dependencies
Maintainers
6
Versions
578
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-management - npm Package Compare versions

Comparing version 11.28.0 to 11.29.0

dist/es-modules/adapters/REST/endpoints/concept-scheme.js

4

dist/es-modules/adapters/REST/endpoints/index.js

@@ -18,2 +18,4 @@ import * as ApiKey from './api-key';

import * as Comment from './comment';
import * as Concept from './concept';
import * as ConceptScheme from './concept-scheme';
import * as ContentType from './content-type';

@@ -75,2 +77,4 @@ import * as EditorInterface from './editor-interface';

Comment,
Concept,
ConceptScheme,
ContentType,

@@ -77,0 +81,0 @@ EditorInterface,

2

dist/es-modules/contentful-management.js

@@ -48,3 +48,3 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }

// @ts-expect-error
`${sdkMain}/${"11.28.0"}`, params.application, params.integration, params.feature);
`${sdkMain}/${"11.29.0"}`, params.application, params.integration, params.feature);
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {

@@ -51,0 +51,0 @@ userAgent

@@ -53,2 +53,4 @@ import * as apiKey from './api-key';

import * as workflowDefinition from './workflow-definition';
import * as concept from './concept';
import * as conceptScheme from './concept-scheme';
export default {

@@ -73,2 +75,4 @@ accessToken,

comment,
concept,
conceptScheme,
contentType,

@@ -75,0 +79,0 @@ editorInterface,

@@ -117,2 +117,20 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }

},
concept: {
create: wrap(wrapParams, 'Concept', 'create'),
get: wrap(wrapParams, 'Concept', 'get'),
delete: wrap(wrapParams, 'Concept', 'delete'),
update: wrap(wrapParams, 'Concept', 'update'),
getMany: wrap(wrapParams, 'Concept', 'getMany'),
getDescendants: wrap(wrapParams, 'Concept', 'getDescendants'),
getAncestors: wrap(wrapParams, 'Concept', 'getAncestors'),
getTotal: wrap(wrapParams, 'Concept', 'getTotal')
},
conceptScheme: {
get: wrap(wrapParams, 'ConceptScheme', 'get'),
getMany: wrap(wrapParams, 'ConceptScheme', 'getMany'),
getTotal: wrap(wrapParams, 'ConceptScheme', 'getTotal'),
delete: wrap(wrapParams, 'ConceptScheme', 'delete'),
create: wrap(wrapParams, 'ConceptScheme', 'create'),
update: wrap(wrapParams, 'ConceptScheme', 'update')
},
function: {

@@ -119,0 +137,0 @@ getMany: wrap(wrapParams, 'Function', 'getMany')

@@ -18,2 +18,4 @@ import * as ApiKey from './api-key';

import * as Comment from './comment';
import * as Concept from './concept';
import * as ConceptScheme from './concept-scheme';
import * as ContentType from './content-type';

@@ -75,2 +77,4 @@ import * as EditorInterface from './editor-interface';

Comment: typeof Comment;
Concept: typeof Concept;
ConceptScheme: typeof ConceptScheme;
ContentType: typeof ContentType;

@@ -77,0 +81,0 @@ EditorInterface: typeof EditorInterface;

@@ -53,2 +53,4 @@ import * as apiKey from './api-key';

import * as workflowDefinition from './workflow-definition';
import * as concept from './concept';
import * as conceptScheme from './concept-scheme';
declare const _default: {

@@ -73,2 +75,4 @@ accessToken: typeof accessToken;

comment: typeof comment;
concept: typeof concept;
conceptScheme: typeof conceptScheme;
contentType: typeof contentType;

@@ -75,0 +79,0 @@ editorInterface: typeof editorInterface;

@@ -62,1 +62,3 @@ export * from './common-types';

export type { WorkflowsChangelogEntry, WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, } from './entities/workflows-changelog-entry';
export type { ConceptProps, CreateConceptProps } from './entities/concept';
export type { ConceptSchemeProps, CreateConceptSchemeProps } from './entities/concept-scheme';

@@ -1,4 +0,4 @@

import { RawAxiosRequestHeaders, RawAxiosRequestConfig } from 'axios';
import { RawAxiosRequestConfig, RawAxiosRequestHeaders } from 'axios';
import { OpPatch } from 'json-patch';
import { CollectionProp, GetAppDefinitionParams, GetContentTypeParams, GetOrganizationMembershipParams, GetOrganizationParams, GetSnapshotForContentTypeParams, GetSnapshotForEntryParams, GetSpaceEnvironmentParams, GetSpaceParams, KeyValueMap, QueryParams, GetBulkActionParams, GetReleaseParams, CursorPaginatedCollectionProp, GetEnvironmentTemplateParams, BasicCursorPaginationOptions, EnvironmentTemplateParams } from '../common-types';
import { BasicCursorPaginationOptions, CollectionProp, CursorPaginatedCollectionProp, EnvironmentTemplateParams, GetAppDefinitionParams, GetBulkActionParams, GetContentTypeParams, GetEnvironmentTemplateParams, GetOrganizationMembershipParams, GetOrganizationParams, GetReleaseParams, GetSnapshotForContentTypeParams, GetSnapshotForEntryParams, GetSpaceEnvironmentParams, GetSpaceParams, KeyValueMap, QueryParams } from '../common-types';
import { ApiKeyProps, CreateApiKeyProps } from '../entities/api-key';

@@ -13,3 +13,3 @@ import { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps } from '../entities/asset';

import { PreviewApiKeyProps } from '../entities/preview-api-key';
import { ScheduledActionProps, CreateUpdateScheduledActionProps } from '../entities/scheduled-action';
import { CreateUpdateScheduledActionProps, ScheduledActionProps } from '../entities/scheduled-action';
import { SnapshotProps } from '../entities/snapshot';

@@ -61,2 +61,4 @@ import { DefaultParams, OptionalDefaults } from './wrappers/wrap';

import { AppAccessTokenPlainClientAPI } from './entities/app-access-token';
import { ConceptPlainClientAPI } from './entities/concept';
import { ConceptSchemePlainClientAPI } from './entities/concept-scheme';
export type PlainClientAPI = {

@@ -138,2 +140,4 @@ raw: {

comment: CommentPlainClientAPI;
concept: ConceptPlainClientAPI;
conceptScheme: ConceptSchemePlainClientAPI;
contentType: {

@@ -140,0 +144,0 @@ get(params: OptionalDefaults<GetContentTypeParams & QueryParams>): Promise<ContentTypeProps>;

{
"name": "contentful-management",
"version": "11.28.0",
"version": "11.29.0",
"description": "Client for Contentful's Content Management API",

@@ -5,0 +5,0 @@ "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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