@blaze-cms/plugin-data-ui 0.125.0-auth-updates.8 → 0.125.0-core-styles.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,18 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [0.125.0-auth-updates.8](https://github.com/thebyte9/blaze/compare/v0.125.0-auth-updates.7...v0.125.0-auth-updates.8) (2022-11-24)
7
-
8
-
9
- ### Features
10
-
11
- * add admin listing filter to allow filtering in admin listings ([ac862bf](https://github.com/thebyte9/blaze/commit/ac862bf64dc021b2618aa648545b873b7db2638e))
12
-
13
-
14
-
15
-
16
-
17
- # [0.125.0-auth-updates.5](https://github.com/thebyte9/blaze/compare/v0.125.0-auth-updates.4...v0.125.0-auth-updates.5) (2022-11-21)
6
+ # [0.125.0-core-styles.1](https://github.com/thebyte9/blaze/compare/v0.125.0-core-styles.0...v0.125.0-core-styles.1) (2022-11-24)
18
7
 
19
8
 
20
9
  ### Features
@@ -25,31 +14,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
25
14
 
26
15
 
27
16
 
28
- # [0.125.0-auth-updates.4](https://github.com/thebyte9/blaze/compare/v0.125.0-auth-updates.3...v0.125.0-auth-updates.4) (2022-11-17)
29
-
30
- **Note:** Version bump only for package @blaze-cms/plugin-data-ui
31
-
32
-
33
-
34
-
35
-
36
- # [0.125.0-auth-updates.3](https://github.com/thebyte9/blaze/compare/v0.125.0-auth-updates.2...v0.125.0-auth-updates.3) (2022-11-15)
37
-
38
- **Note:** Version bump only for package @blaze-cms/plugin-data-ui
39
-
40
-
41
-
42
-
43
-
44
- # [0.125.0-auth-updates.1](https://github.com/thebyte9/blaze/compare/v0.125.0-auth-updates.0...v0.125.0-auth-updates.1) (2022-11-07)
45
-
46
- **Note:** Version bump only for package @blaze-cms/plugin-data-ui
47
-
48
-
49
-
50
-
51
-
52
- # [0.125.0-auth-updates.0](https://github.com/thebyte9/blaze/compare/v0.124.1...v0.125.0-auth-updates.0) (2022-11-07)
17
+ # [0.125.0-core-styles.0](https://github.com/thebyte9/blaze/compare/v0.124.1...v0.125.0-core-styles.0) (2022-10-26)
53
18
 
54
19
 
55
20
  ### Bug Fixes
package/README.md CHANGED
@@ -5,36 +5,4 @@ Base files for a plugin
5
5
  ### Events emitted
6
6
  | key | Description | Argument |
7
7
  | ---------------------- | ------------------------------------------------- | ---------------------------------------------- |
8
- | load:custom:field:type | Add to the form builder lookup a new custom field | {type: 'text': component: unmountendComponent} |
9
-
10
-
11
-
12
- ## displayProperties
13
-
14
- The `displayProperties` property can be set on entity schema in the api to provide extra information for how to format the way an entity is display. For example the following could be set on an entity
15
- ```json
16
- "displayProperties": {
17
- "adminHeader": [
18
- "firstname",
19
- "lastname"
20
- ],
21
- "adminLabel": {
22
- "main": [
23
- "firstname",
24
- "lastname"
25
- ],
26
- "sub": [
27
- "group.name"
28
- ]
29
- },
30
- "adminDefaultListingFilter": {
31
- "firstname": {
32
- "_exists": false
33
- }
34
- }
35
- }
36
- ```
37
-
38
- - adminDefaultListingFilter: this is a where query that will be passed to the api to filter records from the admin listing
39
- - adminLabel: properties to build label when record is showing search listings
40
- - adminHeader: properties to build admin header
8
+ | load:custom:field:type | Add to the form builder lookup a new custom field | {type: 'text': component: unmountendComponent} |
@@ -16,7 +16,7 @@ function buildListingQuery(entitySchema) {
16
16
  throw new _coreErrors.BlazeError('Listing query requires getAll action and listingProperties from entity schema');
17
17
  }
18
18
  var sortType = entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);
19
- return (0, _client.gql)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n query ", "($where: JSON, $limit: Int, $offset:Int, $sort: [", "SortItem]) {\n listingData: ", "(where: $where, limit: $limit, offset:$offset, sort:$sort){\n id,\n ", "\n }\n }\n "])), entitySchema.actions.getAll, sortType, entitySchema.actions.getAll, entitySchema.listingProperties.join(',\n'));
19
+ return (0, _client.gql)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n query ", "($limit: Int, $offset:Int, $sort: [", "SortItem]) {\n listingData: ", "(limit: $limit, offset:$offset, sort:$sort){\n id,\n ", "\n }\n }\n "])), entitySchema.actions.getAll, sortType, entitySchema.actions.getAll, entitySchema.listingProperties.join(',\n'));
20
20
  }
21
21
  var _default = buildListingQuery;
22
22
  exports["default"] = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"build-listing-query.js","names":["buildListingQuery","entitySchema","actions","getAll","listingProperties","BlazeError","sortType","toUpperCase","substr","gql","join"],"sources":["../../src/utils/build-listing-query.js"],"sourcesContent":["import { gql } from '@apollo/client';\nimport { BlazeError } from '@blaze-cms/core-errors';\n\nfunction buildListingQuery(entitySchema) {\n if (!entitySchema.actions || !entitySchema.actions.getAll || !entitySchema.listingProperties) {\n throw new BlazeError(\n 'Listing query requires getAll action and listingProperties from entity schema'\n );\n }\n\n const sortType =\n entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);\n\n return gql`\n query ${\n entitySchema.actions.getAll\n }($where: JSON, $limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {\n listingData: ${\n entitySchema.actions.getAll\n }(where: $where, limit: $limit, offset:$offset, sort:$sort){\n id,\n ${entitySchema.listingProperties.join(',\\n')}\n }\n }\n `;\n}\n\nexport default buildListingQuery;\n"],"mappings":";;;;;;;;;;AAAA;AACA;AAAoD;AAEpD,SAASA,iBAAiB,CAACC,YAAY,EAAE;EACvC,IAAI,CAACA,YAAY,CAACC,OAAO,IAAI,CAACD,YAAY,CAACC,OAAO,CAACC,MAAM,IAAI,CAACF,YAAY,CAACG,iBAAiB,EAAE;IAC5F,MAAM,IAAIC,sBAAU,CAClB,+EAA+E,CAChF;EACH;EAEA,IAAMC,QAAQ,GACZL,YAAY,CAACC,OAAO,CAACC,MAAM,CAAC,CAAC,CAAC,CAACI,WAAW,EAAE,GAAGN,YAAY,CAACC,OAAO,CAACC,MAAM,CAACK,MAAM,CAAC,CAAC,CAAC;EAEtF,WAAOC,WAAG,4SAENR,YAAY,CAACC,OAAO,CAACC,MAAM,EACuBG,QAAQ,EAExDL,YAAY,CAACC,OAAO,CAACC,MAAM,EAGzBF,YAAY,CAACG,iBAAiB,CAACM,IAAI,CAAC,KAAK,CAAC;AAIpD;AAAC,eAEcV,iBAAiB;AAAA"}
1
+ {"version":3,"file":"build-listing-query.js","names":["buildListingQuery","entitySchema","actions","getAll","listingProperties","BlazeError","sortType","toUpperCase","substr","gql","join"],"sources":["../../src/utils/build-listing-query.js"],"sourcesContent":["import { gql } from '@apollo/client';\nimport { BlazeError } from '@blaze-cms/core-errors';\n\nfunction buildListingQuery(entitySchema) {\n if (!entitySchema.actions || !entitySchema.actions.getAll || !entitySchema.listingProperties) {\n throw new BlazeError(\n 'Listing query requires getAll action and listingProperties from entity schema'\n );\n }\n\n const sortType =\n entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);\n\n return gql`\n query ${entitySchema.actions.getAll}($limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {\n listingData: ${entitySchema.actions.getAll}(limit: $limit, offset:$offset, sort:$sort){\n id,\n ${entitySchema.listingProperties.join(',\\n')}\n }\n }\n `;\n}\n\nexport default buildListingQuery;\n"],"mappings":";;;;;;;;;;AAAA;AACA;AAAoD;AAEpD,SAASA,iBAAiB,CAACC,YAAY,EAAE;EACvC,IAAI,CAACA,YAAY,CAACC,OAAO,IAAI,CAACD,YAAY,CAACC,OAAO,CAACC,MAAM,IAAI,CAACF,YAAY,CAACG,iBAAiB,EAAE;IAC5F,MAAM,IAAIC,sBAAU,CAClB,+EAA+E,CAChF;EACH;EAEA,IAAMC,QAAQ,GACZL,YAAY,CAACC,OAAO,CAACC,MAAM,CAAC,CAAC,CAAC,CAACI,WAAW,EAAE,GAAGN,YAAY,CAACC,OAAO,CAACC,MAAM,CAACK,MAAM,CAAC,CAAC,CAAC;EAEtF,WAAOC,WAAG,+QACAR,YAAY,CAACC,OAAO,CAACC,MAAM,EAAsCG,QAAQ,EAChEL,YAAY,CAACC,OAAO,CAACC,MAAM,EAEtCF,YAAY,CAACG,iBAAiB,CAACM,IAAI,CAAC,KAAK,CAAC;AAIpD;AAAC,eAEcV,iBAAiB;AAAA"}
@@ -8,10 +8,7 @@ exports.getDefaultQueryParams = void 0;
8
8
  var getDefaultQueryParams = function getDefaultQueryParams(_ref) {
9
9
  var schema = _ref.schema;
10
10
  var updated = schema.properties && schema.properties.updated;
11
- var _ref2 = schema.displayProperties || {},
12
- where = _ref2.adminDefaultListingFilter;
13
11
  return {
14
- where: where,
15
12
  limit: 40,
16
13
  offset: 0,
17
14
  sort: updated ? [{
@@ -1 +1 @@
1
- {"version":3,"file":"get-default-query-params.js","names":["getDefaultQueryParams","schema","updated","properties","displayProperties","where","adminDefaultListingFilter","limit","offset","sort","property","direction"],"sources":["../../src/utils/get-default-query-params.js"],"sourcesContent":["const getDefaultQueryParams = ({ schema }) => {\n const updated = schema.properties && schema.properties.updated;\n const { adminDefaultListingFilter: where } = schema.displayProperties || {};\n\n return {\n where,\n limit: 40,\n offset: 0,\n sort: updated\n ? [\n {\n property: 'updated',\n direction: 'desc'\n }\n ]\n : []\n };\n};\n\nexport { getDefaultQueryParams };\n"],"mappings":";;;;;;;AAAA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqB,OAAmB;EAAA,IAAbC,MAAM,QAANA,MAAM;EACrC,IAAMC,OAAO,GAAGD,MAAM,CAACE,UAAU,IAAIF,MAAM,CAACE,UAAU,CAACD,OAAO;EAC9D,YAA6CD,MAAM,CAACG,iBAAiB,IAAI,CAAC,CAAC;IAAxCC,KAAK,SAAhCC,yBAAyB;EAEjC,OAAO;IACLD,KAAK,EAALA,KAAK;IACLE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAEP,OAAO,GACT,CACE;MACEQ,QAAQ,EAAE,SAAS;MACnBC,SAAS,EAAE;IACb,CAAC,CACF,GACD;EACN,CAAC;AACH,CAAC;AAAC"}
1
+ {"version":3,"file":"get-default-query-params.js","names":["getDefaultQueryParams","schema","updated","properties","limit","offset","sort","property","direction"],"sources":["../../src/utils/get-default-query-params.js"],"sourcesContent":["const getDefaultQueryParams = ({ schema }) => {\n const updated = schema.properties && schema.properties.updated;\n\n return {\n limit: 40,\n offset: 0,\n sort: updated\n ? [\n {\n property: 'updated',\n direction: 'desc'\n }\n ]\n : []\n };\n};\n\nexport { getDefaultQueryParams };\n"],"mappings":";;;;;;;AAAA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqB,OAAmB;EAAA,IAAbC,MAAM,QAANA,MAAM;EACrC,IAAMC,OAAO,GAAGD,MAAM,CAACE,UAAU,IAAIF,MAAM,CAACE,UAAU,CAACD,OAAO;EAE9D,OAAO;IACLE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAEJ,OAAO,GACT,CACE;MACEK,QAAQ,EAAE,SAAS;MACnBC,SAAS,EAAE;IACb,CAAC,CACF,GACD;EACN,CAAC;AACH,CAAC;AAAC"}
@@ -6,8 +6,8 @@ function buildListingQuery(entitySchema) {
6
6
  }
7
7
  const sortType = entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);
8
8
  return gql`
9
- query ${entitySchema.actions.getAll}($where: JSON, $limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {
10
- listingData: ${entitySchema.actions.getAll}(where: $where, limit: $limit, offset:$offset, sort:$sort){
9
+ query ${entitySchema.actions.getAll}($limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {
10
+ listingData: ${entitySchema.actions.getAll}(limit: $limit, offset:$offset, sort:$sort){
11
11
  id,
12
12
  ${entitySchema.listingProperties.join(',\n')}
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"build-listing-query.js","names":["gql","BlazeError","buildListingQuery","entitySchema","actions","getAll","listingProperties","sortType","toUpperCase","substr","join"],"sources":["../../src/utils/build-listing-query.js"],"sourcesContent":["import { gql } from '@apollo/client';\nimport { BlazeError } from '@blaze-cms/core-errors';\n\nfunction buildListingQuery(entitySchema) {\n if (!entitySchema.actions || !entitySchema.actions.getAll || !entitySchema.listingProperties) {\n throw new BlazeError(\n 'Listing query requires getAll action and listingProperties from entity schema'\n );\n }\n\n const sortType =\n entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);\n\n return gql`\n query ${\n entitySchema.actions.getAll\n }($where: JSON, $limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {\n listingData: ${\n entitySchema.actions.getAll\n }(where: $where, limit: $limit, offset:$offset, sort:$sort){\n id,\n ${entitySchema.listingProperties.join(',\\n')}\n }\n }\n `;\n}\n\nexport default buildListingQuery;\n"],"mappings":"AAAA,SAASA,GAAG,QAAQ,gBAAgB;AACpC,SAASC,UAAU,QAAQ,wBAAwB;AAEnD,SAASC,iBAAiB,CAACC,YAAY,EAAE;EACvC,IAAI,CAACA,YAAY,CAACC,OAAO,IAAI,CAACD,YAAY,CAACC,OAAO,CAACC,MAAM,IAAI,CAACF,YAAY,CAACG,iBAAiB,EAAE;IAC5F,MAAM,IAAIL,UAAU,CAClB,+EAA+E,CAChF;EACH;EAEA,MAAMM,QAAQ,GACZJ,YAAY,CAACC,OAAO,CAACC,MAAM,CAAC,CAAC,CAAC,CAACG,WAAW,EAAE,GAAGL,YAAY,CAACC,OAAO,CAACC,MAAM,CAACI,MAAM,CAAC,CAAC,CAAC;EAEtF,OAAOT,GAAI;AACb,YACMG,YAAY,CAACC,OAAO,CAACC,MACtB,oDAAmDE,QAAS;AACjE,qBACQJ,YAAY,CAACC,OAAO,CAACC,MACtB;AACP;AACA,UAAUF,YAAY,CAACG,iBAAiB,CAACI,IAAI,CAAC,KAAK,CAAE;AACrD;AACA;AACA,GAAG;AACH;AAEA,eAAeR,iBAAiB"}
1
+ {"version":3,"file":"build-listing-query.js","names":["gql","BlazeError","buildListingQuery","entitySchema","actions","getAll","listingProperties","sortType","toUpperCase","substr","join"],"sources":["../../src/utils/build-listing-query.js"],"sourcesContent":["import { gql } from '@apollo/client';\nimport { BlazeError } from '@blaze-cms/core-errors';\n\nfunction buildListingQuery(entitySchema) {\n if (!entitySchema.actions || !entitySchema.actions.getAll || !entitySchema.listingProperties) {\n throw new BlazeError(\n 'Listing query requires getAll action and listingProperties from entity schema'\n );\n }\n\n const sortType =\n entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);\n\n return gql`\n query ${entitySchema.actions.getAll}($limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {\n listingData: ${entitySchema.actions.getAll}(limit: $limit, offset:$offset, sort:$sort){\n id,\n ${entitySchema.listingProperties.join(',\\n')}\n }\n }\n `;\n}\n\nexport default buildListingQuery;\n"],"mappings":"AAAA,SAASA,GAAG,QAAQ,gBAAgB;AACpC,SAASC,UAAU,QAAQ,wBAAwB;AAEnD,SAASC,iBAAiB,CAACC,YAAY,EAAE;EACvC,IAAI,CAACA,YAAY,CAACC,OAAO,IAAI,CAACD,YAAY,CAACC,OAAO,CAACC,MAAM,IAAI,CAACF,YAAY,CAACG,iBAAiB,EAAE;IAC5F,MAAM,IAAIL,UAAU,CAClB,+EAA+E,CAChF;EACH;EAEA,MAAMM,QAAQ,GACZJ,YAAY,CAACC,OAAO,CAACC,MAAM,CAAC,CAAC,CAAC,CAACG,WAAW,EAAE,GAAGL,YAAY,CAACC,OAAO,CAACC,MAAM,CAACI,MAAM,CAAC,CAAC,CAAC;EAEtF,OAAOT,GAAI;AACb,YAAYG,YAAY,CAACC,OAAO,CAACC,MAAO,sCAAqCE,QAAS;AACtF,qBAAqBJ,YAAY,CAACC,OAAO,CAACC,MAAO;AACjD;AACA,UAAUF,YAAY,CAACG,iBAAiB,CAACI,IAAI,CAAC,KAAK,CAAE;AACrD;AACA;AACA,GAAG;AACH;AAEA,eAAeR,iBAAiB"}
@@ -2,11 +2,7 @@ const getDefaultQueryParams = ({
2
2
  schema
3
3
  }) => {
4
4
  const updated = schema.properties && schema.properties.updated;
5
- const {
6
- adminDefaultListingFilter: where
7
- } = schema.displayProperties || {};
8
5
  return {
9
- where,
10
6
  limit: 40,
11
7
  offset: 0,
12
8
  sort: updated ? [{
@@ -1 +1 @@
1
- {"version":3,"file":"get-default-query-params.js","names":["getDefaultQueryParams","schema","updated","properties","adminDefaultListingFilter","where","displayProperties","limit","offset","sort","property","direction"],"sources":["../../src/utils/get-default-query-params.js"],"sourcesContent":["const getDefaultQueryParams = ({ schema }) => {\n const updated = schema.properties && schema.properties.updated;\n const { adminDefaultListingFilter: where } = schema.displayProperties || {};\n\n return {\n where,\n limit: 40,\n offset: 0,\n sort: updated\n ? [\n {\n property: 'updated',\n direction: 'desc'\n }\n ]\n : []\n };\n};\n\nexport { getDefaultQueryParams };\n"],"mappings":"AAAA,MAAMA,qBAAqB,GAAG,CAAC;EAAEC;AAAO,CAAC,KAAK;EAC5C,MAAMC,OAAO,GAAGD,MAAM,CAACE,UAAU,IAAIF,MAAM,CAACE,UAAU,CAACD,OAAO;EAC9D,MAAM;IAAEE,yBAAyB,EAAEC;EAAM,CAAC,GAAGJ,MAAM,CAACK,iBAAiB,IAAI,CAAC,CAAC;EAE3E,OAAO;IACLD,KAAK;IACLE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAEP,OAAO,GACT,CACE;MACEQ,QAAQ,EAAE,SAAS;MACnBC,SAAS,EAAE;IACb,CAAC,CACF,GACD;EACN,CAAC;AACH,CAAC;AAED,SAASX,qBAAqB"}
1
+ {"version":3,"file":"get-default-query-params.js","names":["getDefaultQueryParams","schema","updated","properties","limit","offset","sort","property","direction"],"sources":["../../src/utils/get-default-query-params.js"],"sourcesContent":["const getDefaultQueryParams = ({ schema }) => {\n const updated = schema.properties && schema.properties.updated;\n\n return {\n limit: 40,\n offset: 0,\n sort: updated\n ? [\n {\n property: 'updated',\n direction: 'desc'\n }\n ]\n : []\n };\n};\n\nexport { getDefaultQueryParams };\n"],"mappings":"AAAA,MAAMA,qBAAqB,GAAG,CAAC;EAAEC;AAAO,CAAC,KAAK;EAC5C,MAAMC,OAAO,GAAGD,MAAM,CAACE,UAAU,IAAIF,MAAM,CAACE,UAAU,CAACD,OAAO;EAE9D,OAAO;IACLE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAEJ,OAAO,GACT,CACE;MACEK,QAAQ,EAAE,SAAS;MACnBC,SAAS,EAAE;IACb,CAAC,CACF,GACD;EACN,CAAC;AACH,CAAC;AAED,SAASR,qBAAqB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaze-cms/plugin-data-ui",
3
- "version": "0.125.0-auth-updates.8",
3
+ "version": "0.125.0-core-styles.1",
4
4
  "description": "Blaze plugin data ui",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-es/index.js",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "license": "GPL-3.0",
29
29
  "dependencies": {
30
- "@blaze-cms/admin-ui-utils": "0.125.0-auth-updates.1",
30
+ "@blaze-cms/admin-ui-utils": "^0.124.0",
31
31
  "@blaze-cms/core-errors": "^0.118.0",
32
- "@blaze-cms/react-form-builder": "0.125.0-auth-updates.5",
33
- "@blaze-cms/react-page-builder": "0.125.0-auth-updates.5",
32
+ "@blaze-cms/react-form-builder": "0.125.0-core-styles.1",
33
+ "@blaze-cms/react-page-builder": "0.125.0-core-styles.1",
34
34
  "@blaze-cms/setup-ui": "^0.92.0",
35
- "@blaze-cms/versioning-ui": "0.125.0-auth-updates.0",
35
+ "@blaze-cms/versioning-ui": "^0.124.0",
36
36
  "@blaze-react/button": "0.5.19",
37
37
  "@blaze-react/more": "0.5.19",
38
38
  "@blaze-react/multiselect": "0.6.6",
@@ -53,7 +53,7 @@
53
53
  "uuid": "^3.3.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@blaze-cms/core-ui": "0.125.0-auth-updates.1"
56
+ "@blaze-cms/core-ui": "^0.121.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@apollo/client": "3.x",
@@ -65,5 +65,5 @@
65
65
  "lib/*",
66
66
  "lib-es/*"
67
67
  ],
68
- "gitHead": "04692a8f04a17a71fab83742dcb760e1280d8ba6"
68
+ "gitHead": "e50a64b750d3f6d1868f31408abada89d32fac65"
69
69
  }
@@ -12,12 +12,8 @@ function buildListingQuery(entitySchema) {
12
12
  entitySchema.actions.getAll[0].toUpperCase() + entitySchema.actions.getAll.substr(1);
13
13
 
14
14
  return gql`
15
- query ${
16
- entitySchema.actions.getAll
17
- }($where: JSON, $limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {
18
- listingData: ${
19
- entitySchema.actions.getAll
20
- }(where: $where, limit: $limit, offset:$offset, sort:$sort){
15
+ query ${entitySchema.actions.getAll}($limit: Int, $offset:Int, $sort: [${sortType}SortItem]) {
16
+ listingData: ${entitySchema.actions.getAll}(limit: $limit, offset:$offset, sort:$sort){
21
17
  id,
22
18
  ${entitySchema.listingProperties.join(',\n')}
23
19
  }
@@ -1,9 +1,7 @@
1
1
  const getDefaultQueryParams = ({ schema }) => {
2
2
  const updated = schema.properties && schema.properties.updated;
3
- const { adminDefaultListingFilter: where } = schema.displayProperties || {};
4
3
 
5
4
  return {
6
- where,
7
5
  limit: 40,
8
6
  offset: 0,
9
7
  sort: updated