Socket
Socket
Sign inDemoInstall

@strapi/plugin-content-manager

Package Overview
Dependencies
205
Maintainers
8
Versions
1077
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e to 0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a

dist/server/src/policies/__tests__/has-draft-and-publish.test.d.ts

3

dist/server/src/policies/index.d.ts
declare const _default: {
'has-draft-and-publish': (ctx: import("koa").Context, config: any, { strapi }: {
strapi: import("@strapi/types").Strapi;
}) => boolean;
hasPermissions: {

@@ -3,0 +6,0 @@ name: string;

44

dist/shared/contracts/collection-types.d.ts
import { errors } from '@strapi/utils';
import { Schema, Common, EntityService, Entity as SEntity } from '@strapi/types';
import { Schema, Common, EntityService } from '@strapi/types';
type Entity = EntityService.Result<Common.UID.Schema>;
type PaginatedEntities = EntityService.PaginatedResult<Common.UID.Schema>;
type PaginationQuery = EntityService.Params.Pagination.PageNotation;
type Filters = EntityService.Params.Pick<Common.UID.Schema, 'filters'>;
type SortQuery = EntityService.Params.Sort.StringNotation<Common.UID.Schema> & string;

@@ -14,5 +13,6 @@ /**

body: {};
query: PaginationQuery & Filters & {
sort?: SortQuery;
[key: string]: unknown;
query: {
page: PaginationQuery['page'];
pageSize: PaginationQuery['pageSize'];
sort: SortQuery;
};

@@ -41,5 +41,6 @@ }

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -57,5 +58,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -88,3 +90,3 @@ /**

model: string;
sourceId: SEntity.ID;
sourceId: number;
}

@@ -108,5 +110,6 @@ interface Response {

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -142,5 +145,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -159,5 +163,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -243,7 +248,6 @@ /**

interface Request {
body: {};
query: {
ids: Entity['id'][];
[key: string]: unknown;
body: {
ids: number[];
};
query: {};
}

@@ -250,0 +254,0 @@ interface Params {

@@ -16,3 +16,3 @@ import { errors } from '@strapi/utils';

default: number;
isResizable: boolean;
isResizeable: boolean;
}>;

@@ -19,0 +19,0 @@ components: Component[];

@@ -8,8 +8,2 @@ import { Entity, EntityService } from '@strapi/types';

}
export interface Pagination {
page: NonNullable<PaginationQuery['page']>;
pageSize: NonNullable<PaginationQuery['pageSize']>;
pageCount: number;
total: number;
}
/**

@@ -21,5 +15,5 @@ * GET /relations/:model/:targetField

body: {};
query: Partial<Pick<Pagination, 'pageSize' | 'page'>> & {
_q?: string;
_filter?: string;
query: {
pageSize: PaginationQuery['pageSize'];
page: PaginationQuery['page'];
};

@@ -33,3 +27,8 @@ }

results: RelationResult[];
pagination: Pagination;
pagination: {
page: NonNullable<PaginationQuery['page']>;
pageSize: NonNullable<PaginationQuery['pageSize']>;
pageCount: number;
total: number;
};
error?: never;

@@ -48,3 +47,3 @@ } | {

body: {};
query: Partial<Pick<Pagination, 'pageSize' | 'page'>>;
query: {};
}

@@ -54,7 +53,12 @@ interface Params {

targetField: string;
id: string;
id: number;
}
type Response = {
results: RelationResult[];
pagination: Pagination;
pagination: {
page: NonNullable<PaginationQuery['page']>;
pageSize: NonNullable<PaginationQuery['pageSize']>;
pageCount: number;
total: number;
};
error?: never;

@@ -61,0 +65,0 @@ } | {

@@ -17,5 +17,6 @@ import { EntityService, Common } from '@strapi/types';

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -36,5 +37,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -51,5 +53,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -66,5 +69,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -81,5 +85,6 @@ /**

}
type Response = Entity | {
interface Response {
data: Entity;
error?: errors.ApplicationError;
};
}
}

@@ -86,0 +91,0 @@ /**

{
"name": "@strapi/plugin-content-manager",
"version": "0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e",
"version": "0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a",
"description": "A powerful UI to easily manage your data.",

@@ -39,3 +39,3 @@ "repository": {

"files": [
"dist/",
"./dist",
"strapi-server.js"

@@ -53,5 +53,6 @@ ],

"@sindresorhus/slugify": "1.1.0",
"@strapi/types": "0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e",
"@strapi/utils": "0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e",
"@strapi/types": "0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a",
"@strapi/utils": "0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a",
"koa": "2.13.4",
"koa-bodyparser": "4.4.1",
"lodash": "4.17.21",

@@ -61,6 +62,5 @@ "qs": "6.11.1"

"devDependencies": {
"@strapi/pack-up": "0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e",
"@strapi/pack-up": "0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a",
"@types/jest": "29.5.2",
"@types/lodash": "^4.14.191",
"koa-body": "4.2.0"
"@types/lodash": "^4.14.191"
},

@@ -79,3 +79,3 @@ "engines": {

},
"gitHead": "8c0ce630983672c5ddb15e4a853fabb826def95e"
"gitHead": "8eb29ac7ea9fec54363dab89723e6c99691b5f6a"
}

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 not supported yet

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

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 not supported yet

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 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 not supported yet

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

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

Sorry, the diff of this file is not supported yet

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