@adminide-stack/marketplace-module-server 12.0.4-alpha.271 → 12.0.4-alpha.276

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.
@@ -1 +1 @@
1
- {"version":3,"file":"publisher-resolver.d.ts","sourceRoot":"","sources":["../../../src/graphql/resolvers/publisher-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAsE,MAAM,eAAe,CAAC;AAE/G,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,EAAE,SAAS,SAAS,CAAC,OAAO,KAAG,UA6N7E,CAAC"}
1
+ {"version":3,"file":"publisher-resolver.d.ts","sourceRoot":"","sources":["../../../src/graphql/resolvers/publisher-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACH,UAAU,EAKb,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,EAAE,SAAS,SAAS,CAAC,OAAO,KAAG,UA6N7E,CAAC"}
@@ -1,4 +1,4 @@
1
- const publisherResolver = (pubsub, logger) => ({
1
+ import {PublisherOrderBy}from'common/server';const publisherResolver = (pubsub, logger) => ({
2
2
  Query: {
3
3
  async publisherStats(root, args, {
4
4
  marketplacePublisherService
@@ -20,12 +20,12 @@ const publisherResolver = (pubsub, logger) => ({
20
20
  first = 20,
21
21
  skip = 0,
22
22
  search,
23
- orderBy = 'CREATED_DESC'
23
+ orderBy = PublisherOrderBy.CreatedDesc
24
24
  } = args;
25
25
  // Note: verified filtering not implemented yet in service layer
26
26
  // Convert GraphQL orderBy enum to service format
27
- const serviceOrderBy = orderBy === 'CREATED_DESC' ? 'createdAt' : 'createdAt';
28
- const serviceOrderDirection = orderBy === 'CREATED_DESC' ? 'DESC' : 'ASC';
27
+ const serviceOrderBy = orderBy === PublisherOrderBy.CreatedDesc ? 'createdAt' : 'createdAt';
28
+ const serviceOrderDirection = orderBy === PublisherOrderBy.CreatedDesc ? 'DESC' : 'ASC';
29
29
  try {
30
30
  const result = await marketplacePublisherService.findPublishers(search, serviceOrderBy, serviceOrderDirection, first, skip);
31
31
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"publisher-resolver.js","sources":["../../../src/graphql/resolvers/publisher-resolver.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,mCAAsC,MAAA;AAC/C,EAAA,KAAO,EAAE;AACT,IAAA,MAAS,cAAgF,CAAA;AAEzF,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"publisher-resolver.js","sources":["../../../src/graphql/resolvers/publisher-resolver.ts"],"sourcesContent":[null],"names":[],"mappings":"6CACS,MAAA,mCAAoC,MAAA;AAC7C,EAAA,KAAO,EACH;AAOJ,IAAA,MAAA,cAAa,CAAA,IAAA,EAAA,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/marketplace-module-server",
3
- "version": "12.0.4-alpha.271",
3
+ "version": "12.0.4-alpha.276",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
@@ -21,11 +21,11 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "dependencies": {
24
- "@adminide-stack/extension-api": "12.0.4-alpha.271",
24
+ "@adminide-stack/extension-api": "12.0.4-alpha.276",
25
25
  "nanoid": "^5.1.5"
26
26
  },
27
27
  "devDependencies": {
28
- "common": "12.0.4-alpha.271"
28
+ "common": "12.0.4-alpha.228"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "graphql-tag": ">=2.0.0"
@@ -57,5 +57,5 @@
57
57
  "typescript": {
58
58
  "definition": "lib/index.d.ts"
59
59
  },
60
- "gitHead": "77720a3b072c93a7196bc9b00e9b40bf0b5a235e"
60
+ "gitHead": "ed9ab913b9fbc55b71912539e762553a909c94b0"
61
61
  }