@strapi/plugin-content-manager
Advanced tools
Comparing version 0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e to 0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a
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; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3
750606
7
158
8241
+ Addedkoa-bodyparser@4.4.1
+ Added@hapi/bourne@3.0.0(transitive)
+ Added@strapi/database@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a(transitive)
+ Added@strapi/logger@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a(transitive)
+ Added@strapi/permissions@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a(transitive)
+ Added@strapi/types@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a(transitive)
+ Added@strapi/utils@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedbytes@3.1.2(transitive)
+ Addedco-body@6.2.0(transitive)
+ Addedcopy-to@2.0.1(transitive)
+ Addedfs-extra@10.0.0(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinflation@2.1.0(transitive)
+ Addedknex@2.5.0(transitive)
+ Addedkoa-bodyparser@4.4.1(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedraw-body@2.5.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedstatuses@2.0.1(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedunpipe@1.0.0(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removed@strapi/database@0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e(transitive)
- Removed@strapi/logger@0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e(transitive)
- Removed@strapi/permissions@0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e(transitive)
- Removed@strapi/types@0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e(transitive)
- Removed@strapi/utils@0.0.0-experimental.8c0ce630983672c5ddb15e4a853fabb826def95e(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcross-spawn@7.0.3(transitive)
- Removedesprima@4.0.1(transitive)
- Removedexeca@5.1.1(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfind-up@4.1.05.0.0(transitive)
- Removedfind-yarn-workspace-root2@1.2.16(transitive)
- Removedfs-extra@10.1.0(transitive)
- Removedget-stream@6.0.1(transitive)
- Removedhuman-signals@2.1.0(transitive)
- Removedis-number@7.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedknex@3.0.1(transitive)
- Removedload-yaml-file@0.2.0(transitive)
- Removedlocate-path@5.0.06.0.0(transitive)
- Removedmerge-stream@2.0.0(transitive)
- Removedmicromatch@4.0.7(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removednode-machine-id@1.1.12(transitive)
- Removednpm-run-path@4.0.1(transitive)
- Removedonetime@5.1.2(transitive)
- Removedp-limit@2.3.03.1.0(transitive)
- Removedp-locate@4.1.05.0.0(transitive)
- Removedp-try@2.2.0(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpify@4.0.1(transitive)
- Removedpkg-dir@4.2.0(transitive)
- Removedpreferred-pm@3.1.2(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedstrip-final-newline@2.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwhich-pm@2.0.0(transitive)
- Removedyocto-queue@0.1.0(transitive)
Updated@strapi/types@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a
Updated@strapi/utils@0.0.0-experimental.8eb29ac7ea9fec54363dab89723e6c99691b5f6a