contentful-management
Advanced tools
Comparing version 11.40.0 to 11.40.1
@@ -49,3 +49,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.40.0"}`, params.application, params.integration, params.feature); | ||
`${sdkMain}/${"11.40.1"}`, params.application, params.integration, params.feature); | ||
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, { | ||
@@ -52,0 +52,0 @@ userAgent |
@@ -94,3 +94,3 @@ import type { ContentFields } from '../../entities/content-type-fields'; | ||
*/ | ||
export declare function toInternalFieldType(api: Partial<ContentFields>): "Asset" | "Entry" | "File" | "Entries" | "Boolean" | "Symbol" | "Number" | "Resource" | "Text" | "RichText" | "Integer" | "Date" | "Object" | "Location" | "Symbols" | "Assets" | "Resources" | undefined; | ||
export declare function toInternalFieldType(api: Partial<ContentFields>): "Asset" | "Entry" | "Boolean" | "Symbol" | "Number" | "Resource" | "Text" | "RichText" | "Integer" | "Date" | "Object" | "Location" | "File" | "Symbols" | "Entries" | "Assets" | "Resources" | undefined; | ||
export declare const DEFAULTS_WIDGET: { | ||
@@ -97,0 +97,0 @@ Text: { |
@@ -10,9 +10,3 @@ import type { MakeRequest, MRActions, MRReturn } from '../../common-types'; | ||
*/ | ||
export type OptionalDefaults<T> = Omit<T, keyof DefaultParams> & ('organizationId' extends keyof T ? { | ||
organizationId?: string; | ||
} : Record<string, unknown>) & ('spaceId' extends keyof T ? { | ||
spaceId?: string; | ||
} : Record<string, unknown>) & ('environmentId' extends keyof T ? { | ||
environmentId?: string; | ||
} : Record<string, unknown>); | ||
export type OptionalDefaults<T> = Omit<T, keyof DefaultParams> & Partial<Pick<T, Extract<keyof T, keyof DefaultParams>>>; | ||
/** | ||
@@ -19,0 +13,0 @@ * @private |
{ | ||
"name": "contentful-management", | ||
"version": "11.40.0", | ||
"version": "11.40.1", | ||
"description": "Client for Contentful's Content Management API", | ||
@@ -40,6 +40,7 @@ "homepage": "https://www.contentful.com/developers/documentation/content-management-api/", | ||
"pretest": "rimraf coverage && npm run lint", | ||
"test": "npm run test:cover-unit && npm run test:cover-integration && npm run test:size", | ||
"test": "npm run test:cover-unit && npm run test:types && npm run test:cover-integration && npm run test:size", | ||
"test:cover-unit": "npm run test:unit -- --coverage", | ||
"test:cover-integration": "npm run test:integration -- --coverage", | ||
"test:unit": "npx vitest --project unit --run", | ||
"test:types": "npx vitest --project types --run", | ||
"test:unit-watch": "npx vitest --project unit", | ||
@@ -46,0 +47,0 @@ "test:integration": "npx vitest --project integration --run --no-file-parallelism", |
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
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
426
84090
7987631