@adminide-stack/marketplace-module-server 12.0.4-alpha.467 → 12.0.4-alpha.469
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/lib/dataloaders/index.d.ts +1 -0
- package/lib/dataloaders/index.d.ts.map +1 -1
- package/lib/dataloaders/publisher-data-loader.d.ts +6 -0
- package/lib/dataloaders/publisher-data-loader.d.ts.map +1 -0
- package/lib/graphql/resolvers/publisher-resolver.d.ts.map +1 -1
- package/lib/graphql/resolvers/publisher-resolver.js +10 -0
- package/lib/graphql/resolvers/publisher-resolver.js.map +1 -1
- package/lib/graphql/schemas/publisher.graphql +9 -0
- package/lib/graphql/schemas/publisher.graphql.js +1 -1
- package/lib/services/publisher-service.d.ts +1 -0
- package/lib/services/publisher-service.d.ts.map +1 -1
- package/lib/services/publisher-service.js +1 -0
- package/lib/services/publisher-service.js.map +1 -1
- package/lib/store/models/publisher-model.d.ts.map +1 -1
- package/lib/store/models/publisher-model.js +15 -1
- package/lib/store/models/publisher-model.js.map +1 -1
- package/lib/templates/services/MarketplacePublisherService.ts.template +1 -0
- package/lib/templates/services/PublisherDataLoader.ts.template +3 -0
- package/package.json +6 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dataloaders/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dataloaders/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPublisherEventService, AsDomainType, IMarketplacePublisherModel } from 'common/server';
|
|
2
|
+
import { BulkDataLoader2 } from '@common-stack/store-mongo';
|
|
3
|
+
export declare class PublisherDataLoader extends BulkDataLoader2<AsDomainType<IMarketplacePublisherModel>> {
|
|
4
|
+
constructor(publisherService: IPublisherEventService);
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=publisher-data-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publisher-data-loader.d.ts","sourceRoot":"","sources":["../../src/dataloaders/publisher-data-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,sBAAsB,EAGtB,YAAY,EACZ,0BAA0B,EAC7B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,qBACa,mBAAoB,SAAQ,eAAe,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAAC;gBAG1F,gBAAgB,EAAE,sBAAsB;CAI/C"}
|
|
@@ -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,EACH,UAAU,
|
|
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,EAMb,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,EAAE,SAAS,SAAS,CAAC,OAAO,KAAG,UAuO7E,CAAC"}
|
|
@@ -142,6 +142,16 @@ import {PublisherOrderBy}from'common/server';const publisherResolver = (pubsub,
|
|
|
142
142
|
// Publisher-related queries are now in root Query section
|
|
143
143
|
},
|
|
144
144
|
MarketplacePublisher: {
|
|
145
|
+
tenant: (parent, args, {
|
|
146
|
+
tenantDataLoader
|
|
147
|
+
}) => {
|
|
148
|
+
// Implement tenant resolver logic here
|
|
149
|
+
const tenantId = String(parent.tenant || '');
|
|
150
|
+
if (!tenantId) {
|
|
151
|
+
return null;
|
|
152
|
+
}
|
|
153
|
+
return tenantDataLoader.load(tenantId);
|
|
154
|
+
},
|
|
145
155
|
extensionCount: root => root.extensionCount || 0,
|
|
146
156
|
totalDownloads: root => root.totalDownloads || 0,
|
|
147
157
|
viewerCanManage: () => false,
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAQJ,IAAA,MAAA,cAAa,CAAA,IAAA,EAAA,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,6 +5,9 @@ type MarketplacePublisher implements Node @entity {
|
|
|
5
5
|
"""The unique identifier of the publisher."""
|
|
6
6
|
id: ID! @id
|
|
7
7
|
|
|
8
|
+
"""The unique publisher ID (UUID)."""
|
|
9
|
+
publisherId: String! @column
|
|
10
|
+
|
|
8
11
|
"""The unique name/slug of the publisher (e.g., 'stackflow1', 'microsoft')."""
|
|
9
12
|
name: String! @column
|
|
10
13
|
|
|
@@ -26,6 +29,9 @@ type MarketplacePublisher implements Node @entity {
|
|
|
26
29
|
"""The publisher's email contact."""
|
|
27
30
|
email: String @column
|
|
28
31
|
|
|
32
|
+
"""The tenant ID associated with this publisher."""
|
|
33
|
+
tenant: Tenant @column(overrideType: "ObjectId")
|
|
34
|
+
|
|
29
35
|
"""Whether the publisher is verified."""
|
|
30
36
|
verified: Boolean! @column
|
|
31
37
|
|
|
@@ -246,6 +252,9 @@ input CreatePublisherInput {
|
|
|
246
252
|
|
|
247
253
|
"""The publisher's domain for verification."""
|
|
248
254
|
domain: String
|
|
255
|
+
|
|
256
|
+
"""The tenant ID associated with this publisher."""
|
|
257
|
+
tenant: ID
|
|
249
258
|
}
|
|
250
259
|
|
|
251
260
|
"""
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var publisherSchema = "\"\"\"\nA publisher represents an organization or individual who publishes extensions\n\"\"\"\ntype MarketplacePublisher implements Node @entity {\n \"\"\"The unique identifier of the publisher.\"\"\"\n id: ID! @id\n\n \"\"\"The unique name/slug of the publisher (e.g., 'stackflow1', 'microsoft').\"\"\"\n name: String! @column\n\n \"\"\"The display name of the publisher.\"\"\"\n displayName: String! @column\n\n \"\"\"The publisher's description.\"\"\"\n description: String @column\n\n \"\"\"The publisher's website URL.\"\"\"\n websiteUrl: String @column\n\n \"\"\"The publisher's logo/avatar URL.\"\"\"\n logoUrl: String @column\n\n \"\"\"The publisher's avatar URL (alias for logoUrl).\"\"\"\n avatar: String @column\n\n \"\"\"The publisher's email contact.\"\"\"\n email: String @column\n\n \"\"\"Whether the publisher is verified.\"\"\"\n verified: Boolean! @column\n\n \"\"\"The date when the publisher was created.\"\"\"\n createdAt: DateTime! @column(overrideType: \"Date\")\n\n \"\"\"The date when the publisher was last updated.\"\"\"\n updatedAt: DateTime! @column(overrideType: \"Date\")\n\n \"\"\"The number of extensions published by this publisher.\"\"\"\n extensionCount: Int! @column\n\n \"\"\"The total number of downloads across all extensions.\"\"\"\n totalDownloads: Int! @column\n\n \"\"\"The extensions published by this publisher.\"\"\"\n extensions: [RegistryExtension!]! @column(overrideType: \"[ObjectId]\")\n\n \"\"\"Whether the current user can manage this publisher.\"\"\"\n viewerCanManage: Boolean!\n\n \"\"\"Real-time analytics stats (computed from time series data).\"\"\"\n stats: MarketplacePublisherStats\n\n \"\"\"Historical analytics data (computed from time series data).\"\"\"\n analytics(\n startDate: DateTime!\n endDate: DateTime!\n granularity: AnalyticsGranularity!\n ): [MarketplacePublisherAnalytics!]!\n\n \"\"\"Trend analysis (computed from time series data).\"\"\"\n trends(days: Int = 30): MarketplacePublisherTrend\n}\n\n\"\"\"\nPublisher statistics and metrics\n\"\"\"\ntype PublisherStats {\n \"\"\"Total number of extensions.\"\"\"\n totalExtensions: Int!\n\n \"\"\"Total downloads across all extensions.\"\"\"\n totalDownloads: Int!\n\n \"\"\"Total active installations.\"\"\"\n totalInstallations: Int!\n\n \"\"\"Average rating across all extensions.\"\"\"\n averageRating: Float!\n\n \"\"\"Number of verified publishers.\"\"\"\n verifiedCount: Int!\n\n \"\"\"Most popular extension.\"\"\"\n topExtension: RegistryExtension\n}\n\n\"\"\"\nReal-time analytics stats for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherStats {\n \"\"\"Total number of downloads.\"\"\"\n totalDownloads: Int!\n\n \"\"\"Total number of installations.\"\"\"\n totalInstalls: Int!\n\n \"\"\"Total number of views.\"\"\"\n totalViews: Int!\n\n \"\"\"Average rating.\"\"\"\n averageRating: Float!\n\n \"\"\"Total number of ratings received.\"\"\"\n totalRatings: Int!\n\n \"\"\"Number of extensions published.\"\"\"\n extensionCount: Int!\n\n \"\"\"Last updated timestamp.\"\"\"\n lastUpdated: DateTime!\n}\n\n\"\"\"\nHistorical analytics data point for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherAnalytics {\n \"\"\"The date/time for this data point.\"\"\"\n date: DateTime!\n\n \"\"\"Number of downloads in this period.\"\"\"\n downloads: Int!\n\n \"\"\"Number of installations in this period.\"\"\"\n installs: Int!\n\n \"\"\"Number of views in this period.\"\"\"\n views: Int!\n\n \"\"\"Number of ratings in this period.\"\"\"\n ratings: Int!\n\n \"\"\"Average rating for this period.\"\"\"\n averageRating: Float!\n\n \"\"\"Unique users who interacted with publisher content.\"\"\"\n uniqueUsers: Int!\n}\n\n\"\"\"\nTrend analysis for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherTrend {\n \"\"\"Download trend direction.\"\"\"\n downloadTrend: TrendDirection!\n\n \"\"\"Download trend percentage change.\"\"\"\n downloadChange: Float!\n\n \"\"\"Installation trend direction.\"\"\"\n installTrend: TrendDirection!\n\n \"\"\"Installation trend percentage change.\"\"\"\n installChange: Float!\n\n \"\"\"View trend direction.\"\"\"\n viewTrend: TrendDirection!\n\n \"\"\"View trend percentage change.\"\"\"\n viewChange: Float!\n\n \"\"\"Rating trend direction.\"\"\"\n ratingTrend: TrendDirection!\n\n \"\"\"Rating trend percentage change.\"\"\"\n ratingChange: Float!\n\n \"\"\"Overall trend score (composite metric).\"\"\"\n trendScore: Float!\n}\n\n\"\"\"\nAnalytics granularity options\n\"\"\"\nenum AnalyticsGranularity {\n HOUR\n DAY\n WEEK\n MONTH\n YEAR\n}\n\n\"\"\"\nTrend direction enumeration\n\"\"\"\nenum TrendDirection {\n INCREASING\n DECREASING\n STABLE\n}\n\nextend type Query {\n \"\"\"Get a publisher by name.\"\"\"\n publisher(name: String!): MarketplacePublisher\n\n \"\"\"Get all publishers with optional filtering.\"\"\"\n publishers(\n \"\"\"Filter by verified status.\"\"\"\n verified: Boolean\n \n \"\"\"Search query for publisher name or description.\"\"\"\n search: String\n \n \"\"\"Number of results to return (default: 20, max: 100).\"\"\"\n first: Int\n \n \"\"\"Number of results to skip.\"\"\"\n skip: Int\n \n \"\"\"Sort order.\"\"\"\n orderBy: PublisherOrderBy\n ): PublisherConnection!\n\n \"\"\"Get publisher statistics.\"\"\"\n publisherStats: PublisherStats!\n}\n\nextend type Mutation {\n \"\"\"Create a new publisher.\"\"\"\n createPublisherMutation(input: CreatePublisherInput!): CreatePublisherPayload!\n\n \"\"\"Update an existing publisher.\"\"\"\n updatePublisherMutation(id: ID!, input: UpdatePublisherInput!): UpdatePublisherPayload!\n\n \"\"\"Verify a publisher.\"\"\"\n verifyPublisherMutation(id: ID!): VerifyPublisherPayload!\n}\n\n\"\"\"\nInput for creating a new publisher\n\"\"\"\ninput CreatePublisherInput {\n \"\"\"The display name of the publisher.\"\"\"\n displayName: String!\n\n \"\"\"The unique name/slug of the publisher.\"\"\"\n publisherName: String!\n\n \"\"\"The publisher's description.\"\"\"\n description: String\n\n \"\"\"The publisher's website URL.\"\"\"\n website: String\n\n \"\"\"The publisher's email contact.\"\"\"\n email: String\n\n \"\"\"The publisher's domain for verification.\"\"\"\n domain: String\n}\n\n\"\"\"\nInput for updating a publisher\n\"\"\"\ninput UpdatePublisherInput {\n \"\"\"The display name of the publisher.\"\"\"\n displayName: String\n\n \"\"\"The publisher's description.\"\"\"\n description: String\n\n \"\"\"The publisher's website URL.\"\"\"\n website: String\n\n \"\"\"The publisher's logo/avatar URL.\"\"\"\n avatarUrl: String\n}\n\n\"\"\"\nPayload for create publisher mutation\n\"\"\"\ntype CreatePublisherPayload {\n \"\"\"The created publisher.\"\"\"\n publisher: MarketplacePublisher!\n\n \"\"\"Success flag.\"\"\"\n success: Boolean!\n\n \"\"\"Error message if any.\"\"\"\n error: String\n}\n\n\"\"\"\nPayload for update publisher mutation\n\"\"\"\ntype UpdatePublisherPayload {\n \"\"\"The updated publisher.\"\"\"\n publisher: MarketplacePublisher\n\n \"\"\"Success flag.\"\"\"\n success: Boolean!\n\n \"\"\"Error message if any.\"\"\"\n error: String\n}\n\n\"\"\"\nPayload for verify publisher mutation\n\"\"\"\ntype VerifyPublisherPayload {\n \"\"\"The verified publisher.\"\"\"\n publisher: MarketplacePublisher\n\n \"\"\"Success flag.\"\"\"\n success: Boolean!\n\n \"\"\"Error message if any.\"\"\"\n error: String\n}\n\n\"\"\"\nPublisher connection for pagination\n\"\"\"\ntype PublisherConnection {\n \"\"\"List of publishers.\"\"\"\n nodes: [MarketplacePublisher!]!\n \n \"\"\"Total count of publishers.\"\"\"\n totalCount: Int!\n \n \"\"\"Whether there are more results.\"\"\"\n hasNextPage: Boolean!\n \n \"\"\"Whether there are previous results.\"\"\"\n hasPreviousPage: Boolean!\n}\n\n\"\"\"\nSort options for publishers\n\"\"\"\nenum PublisherOrderBy {\n \"\"\"Sort by name (A-Z).\"\"\"\n NAME_ASC\n \n \"\"\"Sort by name (Z-A).\"\"\"\n NAME_DESC\n \n \"\"\"Sort by creation date (newest first).\"\"\"\n CREATED_DESC\n \n \"\"\"Sort by creation date (oldest first).\"\"\"\n CREATED_ASC\n \n \"\"\"Sort by extension count (most first).\"\"\"\n EXTENSIONS_DESC\n \n \"\"\"Sort by extension count (least first).\"\"\"\n EXTENSIONS_ASC\n \n \"\"\"Sort by total downloads (most first).\"\"\"\n DOWNLOADS_DESC\n \n \"\"\"Sort by total downloads (least first).\"\"\"\n DOWNLOADS_ASC\n}\n\n\"\"\"\nExtension manifest author information\n\"\"\"\ntype ExtensionManifestAuthor @entity(embedded: true) {\n \"\"\"The author's name.\"\"\"\n name: String! @column\n \n \"\"\"The author's email.\"\"\"\n email: String @column\n \n \"\"\"The author's website URL.\"\"\"\n url: String @column\n \n \"\"\"Whether the author is verified.\"\"\"\n verified: Boolean @column\n}\n\nextend type ExtensionManifest {\n \"\"\"The publisher who published this extension.\"\"\"\n publisherDetails: MarketplacePublisher\n}\n";export{publisherSchema as default};//# sourceMappingURL=publisher.graphql.js.map
|
|
1
|
+
var publisherSchema = "\"\"\"\nA publisher represents an organization or individual who publishes extensions\n\"\"\"\ntype MarketplacePublisher implements Node @entity {\n \"\"\"The unique identifier of the publisher.\"\"\"\n id: ID! @id\n\n \"\"\"The unique publisher ID (UUID).\"\"\"\n publisherId: String! @column\n\n \"\"\"The unique name/slug of the publisher (e.g., 'stackflow1', 'microsoft').\"\"\"\n name: String! @column\n\n \"\"\"The display name of the publisher.\"\"\"\n displayName: String! @column\n\n \"\"\"The publisher's description.\"\"\"\n description: String @column\n\n \"\"\"The publisher's website URL.\"\"\"\n websiteUrl: String @column\n\n \"\"\"The publisher's logo/avatar URL.\"\"\"\n logoUrl: String @column\n\n \"\"\"The publisher's avatar URL (alias for logoUrl).\"\"\"\n avatar: String @column\n\n \"\"\"The publisher's email contact.\"\"\"\n email: String @column\n\n \"\"\"The tenant ID associated with this publisher.\"\"\"\n tenant: Tenant @column(overrideType: \"ObjectId\")\n\n \"\"\"Whether the publisher is verified.\"\"\"\n verified: Boolean! @column\n\n \"\"\"The date when the publisher was created.\"\"\"\n createdAt: DateTime! @column(overrideType: \"Date\")\n\n \"\"\"The date when the publisher was last updated.\"\"\"\n updatedAt: DateTime! @column(overrideType: \"Date\")\n\n \"\"\"The number of extensions published by this publisher.\"\"\"\n extensionCount: Int! @column\n\n \"\"\"The total number of downloads across all extensions.\"\"\"\n totalDownloads: Int! @column\n\n \"\"\"The extensions published by this publisher.\"\"\"\n extensions: [RegistryExtension!]! @column(overrideType: \"[ObjectId]\")\n\n \"\"\"Whether the current user can manage this publisher.\"\"\"\n viewerCanManage: Boolean!\n\n \"\"\"Real-time analytics stats (computed from time series data).\"\"\"\n stats: MarketplacePublisherStats\n\n \"\"\"Historical analytics data (computed from time series data).\"\"\"\n analytics(\n startDate: DateTime!\n endDate: DateTime!\n granularity: AnalyticsGranularity!\n ): [MarketplacePublisherAnalytics!]!\n\n \"\"\"Trend analysis (computed from time series data).\"\"\"\n trends(days: Int = 30): MarketplacePublisherTrend\n}\n\n\"\"\"\nPublisher statistics and metrics\n\"\"\"\ntype PublisherStats {\n \"\"\"Total number of extensions.\"\"\"\n totalExtensions: Int!\n\n \"\"\"Total downloads across all extensions.\"\"\"\n totalDownloads: Int!\n\n \"\"\"Total active installations.\"\"\"\n totalInstallations: Int!\n\n \"\"\"Average rating across all extensions.\"\"\"\n averageRating: Float!\n\n \"\"\"Number of verified publishers.\"\"\"\n verifiedCount: Int!\n\n \"\"\"Most popular extension.\"\"\"\n topExtension: RegistryExtension\n}\n\n\"\"\"\nReal-time analytics stats for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherStats {\n \"\"\"Total number of downloads.\"\"\"\n totalDownloads: Int!\n\n \"\"\"Total number of installations.\"\"\"\n totalInstalls: Int!\n\n \"\"\"Total number of views.\"\"\"\n totalViews: Int!\n\n \"\"\"Average rating.\"\"\"\n averageRating: Float!\n\n \"\"\"Total number of ratings received.\"\"\"\n totalRatings: Int!\n\n \"\"\"Number of extensions published.\"\"\"\n extensionCount: Int!\n\n \"\"\"Last updated timestamp.\"\"\"\n lastUpdated: DateTime!\n}\n\n\"\"\"\nHistorical analytics data point for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherAnalytics {\n \"\"\"The date/time for this data point.\"\"\"\n date: DateTime!\n\n \"\"\"Number of downloads in this period.\"\"\"\n downloads: Int!\n\n \"\"\"Number of installations in this period.\"\"\"\n installs: Int!\n\n \"\"\"Number of views in this period.\"\"\"\n views: Int!\n\n \"\"\"Number of ratings in this period.\"\"\"\n ratings: Int!\n\n \"\"\"Average rating for this period.\"\"\"\n averageRating: Float!\n\n \"\"\"Unique users who interacted with publisher content.\"\"\"\n uniqueUsers: Int!\n}\n\n\"\"\"\nTrend analysis for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherTrend {\n \"\"\"Download trend direction.\"\"\"\n downloadTrend: TrendDirection!\n\n \"\"\"Download trend percentage change.\"\"\"\n downloadChange: Float!\n\n \"\"\"Installation trend direction.\"\"\"\n installTrend: TrendDirection!\n\n \"\"\"Installation trend percentage change.\"\"\"\n installChange: Float!\n\n \"\"\"View trend direction.\"\"\"\n viewTrend: TrendDirection!\n\n \"\"\"View trend percentage change.\"\"\"\n viewChange: Float!\n\n \"\"\"Rating trend direction.\"\"\"\n ratingTrend: TrendDirection!\n\n \"\"\"Rating trend percentage change.\"\"\"\n ratingChange: Float!\n\n \"\"\"Overall trend score (composite metric).\"\"\"\n trendScore: Float!\n}\n\n\"\"\"\nAnalytics granularity options\n\"\"\"\nenum AnalyticsGranularity {\n HOUR\n DAY\n WEEK\n MONTH\n YEAR\n}\n\n\"\"\"\nTrend direction enumeration\n\"\"\"\nenum TrendDirection {\n INCREASING\n DECREASING\n STABLE\n}\n\nextend type Query {\n \"\"\"Get a publisher by name.\"\"\"\n publisher(name: String!): MarketplacePublisher\n\n \"\"\"Get all publishers with optional filtering.\"\"\"\n publishers(\n \"\"\"Filter by verified status.\"\"\"\n verified: Boolean\n \n \"\"\"Search query for publisher name or description.\"\"\"\n search: String\n \n \"\"\"Number of results to return (default: 20, max: 100).\"\"\"\n first: Int\n \n \"\"\"Number of results to skip.\"\"\"\n skip: Int\n \n \"\"\"Sort order.\"\"\"\n orderBy: PublisherOrderBy\n ): PublisherConnection!\n\n \"\"\"Get publisher statistics.\"\"\"\n publisherStats: PublisherStats!\n}\n\nextend type Mutation {\n \"\"\"Create a new publisher.\"\"\"\n createPublisherMutation(input: CreatePublisherInput!): CreatePublisherPayload!\n\n \"\"\"Update an existing publisher.\"\"\"\n updatePublisherMutation(id: ID!, input: UpdatePublisherInput!): UpdatePublisherPayload!\n\n \"\"\"Verify a publisher.\"\"\"\n verifyPublisherMutation(id: ID!): VerifyPublisherPayload!\n}\n\n\"\"\"\nInput for creating a new publisher\n\"\"\"\ninput CreatePublisherInput {\n \"\"\"The display name of the publisher.\"\"\"\n displayName: String!\n\n \"\"\"The unique name/slug of the publisher.\"\"\"\n publisherName: String!\n\n \"\"\"The publisher's description.\"\"\"\n description: String\n\n \"\"\"The publisher's website URL.\"\"\"\n website: String\n\n \"\"\"The publisher's email contact.\"\"\"\n email: String\n\n \"\"\"The publisher's domain for verification.\"\"\"\n domain: String\n\n \"\"\"The tenant ID associated with this publisher.\"\"\"\n tenant: ID\n}\n\n\"\"\"\nInput for updating a publisher\n\"\"\"\ninput UpdatePublisherInput {\n \"\"\"The display name of the publisher.\"\"\"\n displayName: String\n\n \"\"\"The publisher's description.\"\"\"\n description: String\n\n \"\"\"The publisher's website URL.\"\"\"\n website: String\n\n \"\"\"The publisher's logo/avatar URL.\"\"\"\n avatarUrl: String\n}\n\n\"\"\"\nPayload for create publisher mutation\n\"\"\"\ntype CreatePublisherPayload {\n \"\"\"The created publisher.\"\"\"\n publisher: MarketplacePublisher!\n\n \"\"\"Success flag.\"\"\"\n success: Boolean!\n\n \"\"\"Error message if any.\"\"\"\n error: String\n}\n\n\"\"\"\nPayload for update publisher mutation\n\"\"\"\ntype UpdatePublisherPayload {\n \"\"\"The updated publisher.\"\"\"\n publisher: MarketplacePublisher\n\n \"\"\"Success flag.\"\"\"\n success: Boolean!\n\n \"\"\"Error message if any.\"\"\"\n error: String\n}\n\n\"\"\"\nPayload for verify publisher mutation\n\"\"\"\ntype VerifyPublisherPayload {\n \"\"\"The verified publisher.\"\"\"\n publisher: MarketplacePublisher\n\n \"\"\"Success flag.\"\"\"\n success: Boolean!\n\n \"\"\"Error message if any.\"\"\"\n error: String\n}\n\n\"\"\"\nPublisher connection for pagination\n\"\"\"\ntype PublisherConnection {\n \"\"\"List of publishers.\"\"\"\n nodes: [MarketplacePublisher!]!\n \n \"\"\"Total count of publishers.\"\"\"\n totalCount: Int!\n \n \"\"\"Whether there are more results.\"\"\"\n hasNextPage: Boolean!\n \n \"\"\"Whether there are previous results.\"\"\"\n hasPreviousPage: Boolean!\n}\n\n\"\"\"\nSort options for publishers\n\"\"\"\nenum PublisherOrderBy {\n \"\"\"Sort by name (A-Z).\"\"\"\n NAME_ASC\n \n \"\"\"Sort by name (Z-A).\"\"\"\n NAME_DESC\n \n \"\"\"Sort by creation date (newest first).\"\"\"\n CREATED_DESC\n \n \"\"\"Sort by creation date (oldest first).\"\"\"\n CREATED_ASC\n \n \"\"\"Sort by extension count (most first).\"\"\"\n EXTENSIONS_DESC\n \n \"\"\"Sort by extension count (least first).\"\"\"\n EXTENSIONS_ASC\n \n \"\"\"Sort by total downloads (most first).\"\"\"\n DOWNLOADS_DESC\n \n \"\"\"Sort by total downloads (least first).\"\"\"\n DOWNLOADS_ASC\n}\n\n\"\"\"\nExtension manifest author information\n\"\"\"\ntype ExtensionManifestAuthor @entity(embedded: true) {\n \"\"\"The author's name.\"\"\"\n name: String! @column\n \n \"\"\"The author's email.\"\"\"\n email: String @column\n \n \"\"\"The author's website URL.\"\"\"\n url: String @column\n \n \"\"\"Whether the author is verified.\"\"\"\n verified: Boolean @column\n}\n\nextend type ExtensionManifest {\n \"\"\"The publisher who published this extension.\"\"\"\n publisherDetails: MarketplacePublisher\n}\n";export{publisherSchema as default};//# sourceMappingURL=publisher.graphql.js.map
|
|
@@ -35,6 +35,7 @@ export declare class MarketplacePublisherService extends BaseService2<IMarketpla
|
|
|
35
35
|
website?: string;
|
|
36
36
|
email?: string;
|
|
37
37
|
domain?: string;
|
|
38
|
+
tenant?: string;
|
|
38
39
|
}): Promise<AsDomainType<IMarketplacePublisherModel>>;
|
|
39
40
|
updatePublisher(publisherId: string, data: {
|
|
40
41
|
displayName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-service.d.ts","sourceRoot":"","sources":["../../src/services/publisher-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EACH,4BAA4B,EAC5B,+BAA+B,EAC/B,YAAY,EACZ,0BAA0B,EAE7B,MAAM,eAAe,CAAC;AAGvB,qBACa,2BACT,SAAQ,YAAY,CAAC,0BAA0B,CAC/C,YAAW,4BAA4B,EAAE,UAAU;IAEnD,SAAS,CAAC,QAAQ,CAAC,kBAAkB;qBACpB,MAAM;uBACJ,MAAM;qBACR,MAAM;mBACR,MAAM;OAChB;IAEL,SAAS,CAAC,QAAQ,CAAC,kBAAkB;qBACpB,MAAM;iBACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;mBACrB,MAAM;O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,CAAC,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC,YAAY,CAAC,0BAA0B,CAAC,CAAC;IAqDxC,eAAe,CACxB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE;QACF,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;KACtB,GACF,OAAO,CAAC,YAAY,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAqB9C,oBAAoB,CAC7B,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;KAC1B,GACF,OAAO,CAAC,YAAY,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAS9C,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAc9F,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;QACzD,eAAe,EAAE,MAAM,CAAC;QACxB,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;QACtB,YAAY,CAAC,EAAE,OAAO,CAAC;KAC1B,GAAG,IAAI,CAAC;CA0BZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-service.js","sources":["../../src/services/publisher-service.ts"],"sourcesContent":[null],"names":[],"mappings":"uVACA,IAAA;+BAoB2B,GAAA,6BAAA,GAAA,MAAA,2BA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,cAAA,CAAA,MAAA,EAAA,OAAA,EAAA,cAAA,EAAA,KAAA,EAAA,KAAA,CAAA;AACnB,IAAA;AAqDY,MAAA,UAAA,EAAA,MACT,CAAA,UAAa;gBAET,EAAA,MAAc,CAAA;;;QAGd,eAAY,CAAA,IAAO,EAAA;QAExB,CAAA,MAAO,CAAC,KAAA,CAAA,kCAAwC;AAqBtC;UAGL,UAAA,GAAe,qBAAS,CAAA;mBACxB,EAAa,IAAG,CAAA,aAAO;iBACvB,EAAA,IAAc,CAAE,WAAO;MAC1B,KACF,EAAA,IAAQ,CAAA,KAAA;AASE,MAAA,OAAA,EAAA,IAAe,CAAC,OAAA;AAchB,MAAA,WAAA,EAAA,IAAkB,CAAA;;QAE3B,CAAA,UAAA,CAAA;YACA,IAAA,KAAA,CAAA,gBAA2B,CAAA;;;UAG3B,QAAA,GAAa,MAAE,IAAQ,CAAA,UAAA,CAAA,mBAAA,CAAA,IAAA,CAAA,aAAA,CAAA;AAC1B,IAAA,IAAG,QAAK,EAAA;AA0BZ,MAAA,MAAA,IAAA,KAAA,CAAA,CAAA,qBAAA,EAAA,IAAA,CAAA,aAAA,CAAA,gBAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-model.d.ts","sourceRoot":"","sources":["../../../src/store/models/publisher-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,OAAO,EAAiB,0BAA0B,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"publisher-model.d.ts","sourceRoot":"","sources":["../../../src/store/models/publisher-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,OAAO,EAAiB,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAI1E,eAAO,MAAM,eAAe,wLA8F3B,CAAC;AAkBF,eAAO,MAAM,kBAAkB,GAAI,IAAI,QAAQ,CAAC,UAAU,gEACmC,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import*as mongoose from'mongoose';import {DB_COLL_NAMES}from'common/server';// Define the publisher model interface
|
|
1
|
+
import*as mongoose from'mongoose';import {DB_COLL_NAMES}from'common/server';import {v4}from'uuid';// Define the publisher model interface
|
|
2
2
|
const PublisherSchema = new mongoose.Schema({
|
|
3
|
+
publisherId: {
|
|
4
|
+
type: String,
|
|
5
|
+
required: true,
|
|
6
|
+
unique: true,
|
|
7
|
+
immutable: true,
|
|
8
|
+
default: () => v4()
|
|
9
|
+
},
|
|
3
10
|
displayName: {
|
|
4
11
|
type: String,
|
|
5
12
|
required: true,
|
|
@@ -17,6 +24,10 @@ const PublisherSchema = new mongoose.Schema({
|
|
|
17
24
|
email: String,
|
|
18
25
|
// profileUrl: String,
|
|
19
26
|
// avatarUrl: String,
|
|
27
|
+
tenant: {
|
|
28
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
29
|
+
ref: DB_COLL_NAMES.UserTenants
|
|
30
|
+
},
|
|
20
31
|
verified: {
|
|
21
32
|
type: Boolean,
|
|
22
33
|
default: false
|
|
@@ -80,6 +91,9 @@ const PublisherSchema = new mongoose.Schema({
|
|
|
80
91
|
}
|
|
81
92
|
}
|
|
82
93
|
});
|
|
94
|
+
PublisherSchema.virtual('id').get(function () {
|
|
95
|
+
return this.publisherId;
|
|
96
|
+
});
|
|
83
97
|
// Indexes
|
|
84
98
|
PublisherSchema.index({
|
|
85
99
|
publisherName: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-model.js","sources":["../../../src/store/models/publisher-model.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"publisher-model.js","sources":["../../../src/store/models/publisher-model.ts"],"sourcesContent":[null],"names":[],"mappings":"kGAqHA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -19,6 +19,7 @@ export interface IMarketplacePublisherService extends IBaseService<IMarketplaceP
|
|
|
19
19
|
description?: string;
|
|
20
20
|
website?: string;
|
|
21
21
|
domain?: string;
|
|
22
|
+
tenant?: string;
|
|
22
23
|
}): Promise<AsDomainType<IMarketplacePublisherModel>>;
|
|
23
24
|
updatePublisher(
|
|
24
25
|
publisherId: string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminide-stack/marketplace-module-server",
|
|
3
|
-
"version": "12.0.4-alpha.
|
|
3
|
+
"version": "12.0.4-alpha.469",
|
|
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.
|
|
24
|
+
"@adminide-stack/extension-api": "12.0.4-alpha.469",
|
|
25
25
|
"nanoid": "^5.1.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"common": "12.0.4-alpha.
|
|
28
|
+
"common": "12.0.4-alpha.469"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"graphql-tag": ">=2.0.0"
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"./${libDir}/templates/services/MarketplacePublisherService.ts.template",
|
|
46
46
|
"./${libDir}/templates/services/PublisherEventService.ts.template",
|
|
47
47
|
"./${libDir}/templates/services/ExtensionGalleryService.ts.template",
|
|
48
|
-
"./${libDir}/templates/services/ExtensionGalleryDataLoader.ts.template"
|
|
48
|
+
"./${libDir}/templates/services/ExtensionGalleryDataLoader.ts.template",
|
|
49
|
+
"./${libDir}/templates/services/PublisherDataLoader.ts.template"
|
|
49
50
|
],
|
|
50
51
|
"repositories": [
|
|
51
52
|
"./${libDir}/templates/repositories/InstalledExtensionRepository.ts.template",
|
|
@@ -57,5 +58,5 @@
|
|
|
57
58
|
"typescript": {
|
|
58
59
|
"definition": "lib/index.d.ts"
|
|
59
60
|
},
|
|
60
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "d480377e41301b9d21c5cabfd342b4bb3bb78d35"
|
|
61
62
|
}
|