mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
e57e19ec31
refs https://github.com/TryGhost/Ghost/issues/10922 - adds migrations to... 1. add `post.type` column 2. populate `post.type` column based on `post.page` value 3. drop `post.page` column - updates all code paths to work with `post.type` in place of `post.page` - adds `nql-map-key-values` transformer for mapping `page`->`type` in `filter` params when using the v2 API - modifies importer to handle `post.page`->`post.type` transformation when importing older export files
15 lines
384 B
JSON
15 lines
384 B
JSON
{
|
|
"name": "nql-map-key-values",
|
|
"version": "0.0.0",
|
|
"description": "Map keys and values for nql query objects",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/master/core/shared/nql-map-key-values",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@nexes/nql": "0.3.0",
|
|
"lodash": "4.17.15"
|
|
}
|
|
}
|