@adminide-stack/marketplace-module-server 12.0.4-alpha.475 → 12.0.4-alpha.482
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/containers/module.d.ts.map +1 -1
- package/lib/containers/module.js +2 -1
- package/lib/containers/module.js.map +1 -1
- package/lib/graphql/resolvers/publisher-resolver.d.ts.map +1 -1
- package/lib/graphql/resolvers/publisher-resolver.js +3 -6
- package/lib/graphql/resolvers/publisher-resolver.js.map +1 -1
- package/lib/graphql/schemas/publisher.graphql +314 -115
- package/lib/graphql/schemas/publisher.graphql.js +1 -1
- package/lib/migrations/dbMigrations/DropOldPublisherIndexMigration.d.ts +20 -0
- package/lib/migrations/dbMigrations/DropOldPublisherIndexMigration.d.ts.map +1 -0
- package/lib/migrations/dbMigrations/DropOldPublisherIndexMigration.js +61 -0
- package/lib/migrations/dbMigrations/DropOldPublisherIndexMigration.js.map +1 -0
- package/lib/migrations/index.d.ts +2 -0
- package/lib/migrations/index.d.ts.map +1 -0
- package/lib/services/installed-extension-service.d.ts.map +1 -1
- package/lib/services/installed-extension-service.js +23 -7
- package/lib/services/installed-extension-service.js.map +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.map +1 -1
- package/lib/store/models/publisher-model.js +1 -1
- package/lib/store/repositories/publisher-repository.js +1 -1
- package/lib/templates/services/MarketplacePublisherService.ts.template +1 -0
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/containers/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAEH,0BAA0B,EAG1B,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EAE3B,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/containers/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAEH,0BAA0B,EAG1B,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EAE3B,MAAM,eAAe,CAAC;AAWvB,eAAO,MAAM,eAAe,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,UAAU,CAAC,eAgDtD,CAAC;AAGP,QAAA,MAAM,iBAAiB,GAAI,WAAW,UAAU,CAAC,SAAS;;;;;CAKxD,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
package/lib/containers/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {ContainerModule}from'inversify';import {SERVER_TYPES}from'common/server';import'../services/installed-extension-service.js';import {InstalledExtensionServiceExt}from'../services/installed-extension-service-ext.js';import {MarketplacePublisherService}from'../services/publisher-service.js';import {PublisherEventService}from'../services/publisher-event-service.js';import {ExtensionGalleryService}from'../services/extension-gallery-service.js';import {ExtensionGalleryRepository}from'../services/extension-gallery-repository.js';import'../store/models/installed-extension-model.js';import'../store/models/publisher-model.js';import {InstalledExtensionRepository}from'../store/repositories/installed-extension-repository.js';import {MarketplacePublisherRepository}from'../store/repositories/publisher-repository.js';const extensionModule = settings => new ContainerModule(bind => {
|
|
1
|
+
import {ContainerModule}from'inversify';import {SERVER_TYPES}from'common/server';import'../services/installed-extension-service.js';import {InstalledExtensionServiceExt}from'../services/installed-extension-service-ext.js';import {MarketplacePublisherService}from'../services/publisher-service.js';import {PublisherEventService}from'../services/publisher-event-service.js';import {ExtensionGalleryService}from'../services/extension-gallery-service.js';import {ExtensionGalleryRepository}from'../services/extension-gallery-repository.js';import'../store/models/installed-extension-model.js';import'../store/models/publisher-model.js';import {InstalledExtensionRepository}from'../store/repositories/installed-extension-repository.js';import {MarketplacePublisherRepository}from'../store/repositories/publisher-repository.js';import {DropOldPublisherNameIndexMigration}from'../migrations/dbMigrations/DropOldPublisherIndexMigration.js';const extensionModule = settings => new ContainerModule(bind => {
|
|
2
2
|
bind(SERVER_TYPES.IExtensionMongoConnection).toConstantValue(settings.mongoConnection);
|
|
3
3
|
// Installed Extension Service
|
|
4
4
|
bind(SERVER_TYPES.IInstalledExtensionService).to(InstalledExtensionServiceExt).inSingletonScope().whenTargetIsDefault();
|
|
@@ -14,4 +14,5 @@ import {ContainerModule}from'inversify';import {SERVER_TYPES}from'common/server'
|
|
|
14
14
|
bind(SERVER_TYPES.IExtensionGalleryRepository).to(ExtensionGalleryRepository).inSingletonScope().whenTargetIsDefault();
|
|
15
15
|
// Extension Gallery Service
|
|
16
16
|
bind(SERVER_TYPES.IExtensionGalleryService).to(ExtensionGalleryService).inSingletonScope().whenTargetIsDefault();
|
|
17
|
+
bind('MongodbMigration').to(DropOldPublisherNameIndexMigration).whenTargetNamed(DropOldPublisherNameIndexMigration.name);
|
|
17
18
|
});export{extensionModule};//# sourceMappingURL=module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../src/containers/module.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../src/containers/module.ts"],"sourcesContent":[null],"names":[],"mappings":";;;EA6EG,IAAA,CAAA,YAAA,CAAA,0BAAA,CAAA,CAAA,EAAA,CAAA,4BAAA,CAAA,CAAA,gBAAA,EAAA,CAAA,mBAAA,EAAA;AAEH;;;;;;;;;;;;;"}
|
|
@@ -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,EAMb,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,EAAE,SAAS,SAAS,CAAC,OAAO,KAAG,
|
|
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,UAqO7E,CAAC"}
|
|
@@ -79,14 +79,11 @@ import {PublisherOrderBy}from'common/server';const publisherResolver = (pubsub,
|
|
|
79
79
|
error: null
|
|
80
80
|
};
|
|
81
81
|
} catch (error) {
|
|
82
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
82
83
|
if (logger) {
|
|
83
|
-
logger.error('createPublisherMutation error: %s',
|
|
84
|
+
logger.error('createPublisherMutation error: %s', errorMessage);
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
-
publisher: null,
|
|
87
|
-
success: false,
|
|
88
|
-
error: error.message
|
|
89
|
-
};
|
|
86
|
+
throw error;
|
|
90
87
|
}
|
|
91
88
|
},
|
|
92
89
|
async updatePublisherMutation(root, args, {
|
|
@@ -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;AAQJ,IAAA,MAAA,cAAa,CAAA,IAAA,EAAA,IAAA,EAAA
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,68 +2,108 @@
|
|
|
2
2
|
A publisher represents an organization or individual who publishes extensions
|
|
3
3
|
"""
|
|
4
4
|
type MarketplacePublisher implements Node @entity {
|
|
5
|
-
"""
|
|
5
|
+
"""
|
|
6
|
+
The unique identifier of the publisher.
|
|
7
|
+
"""
|
|
6
8
|
id: ID! @id
|
|
7
9
|
|
|
8
|
-
"""
|
|
10
|
+
"""
|
|
11
|
+
The unique publisher ID (UUID).
|
|
12
|
+
"""
|
|
9
13
|
publisherId: String! @column
|
|
10
14
|
|
|
11
|
-
"""
|
|
15
|
+
"""
|
|
16
|
+
The unique name/slug of the publisher (e.g., 'stackflow1', 'microsoft').
|
|
17
|
+
"""
|
|
12
18
|
name: String! @column
|
|
13
19
|
|
|
14
|
-
"""
|
|
20
|
+
"""
|
|
21
|
+
The display name of the publisher.
|
|
22
|
+
"""
|
|
15
23
|
displayName: String! @column
|
|
16
24
|
|
|
17
|
-
"""
|
|
25
|
+
"""
|
|
26
|
+
The publisher's description.
|
|
27
|
+
"""
|
|
18
28
|
description: String @column
|
|
19
29
|
|
|
20
|
-
"""
|
|
30
|
+
"""
|
|
31
|
+
The publisher's website URL.
|
|
32
|
+
"""
|
|
21
33
|
websiteUrl: String @column
|
|
22
34
|
|
|
23
|
-
"""
|
|
35
|
+
"""
|
|
36
|
+
The publisher's logo/avatar URL.
|
|
37
|
+
"""
|
|
24
38
|
logoUrl: String @column
|
|
25
39
|
|
|
26
|
-
"""
|
|
40
|
+
"""
|
|
41
|
+
The publisher's avatar URL (alias for logoUrl).
|
|
42
|
+
"""
|
|
27
43
|
avatar: String @column
|
|
28
44
|
|
|
29
|
-
"""
|
|
45
|
+
"""
|
|
46
|
+
The publisher's email contact.
|
|
47
|
+
"""
|
|
30
48
|
email: String @column
|
|
31
49
|
|
|
32
|
-
"""
|
|
50
|
+
"""
|
|
51
|
+
The tenant ID associated with this publisher.
|
|
52
|
+
"""
|
|
33
53
|
tenant: Tenant @column(overrideType: "ObjectId")
|
|
34
54
|
|
|
35
|
-
"""
|
|
55
|
+
"""
|
|
56
|
+
Whether the publisher is verified.
|
|
57
|
+
"""
|
|
36
58
|
verified: Boolean! @column
|
|
37
59
|
|
|
38
|
-
"""
|
|
60
|
+
"""
|
|
61
|
+
The date when the publisher was created.
|
|
62
|
+
"""
|
|
39
63
|
createdAt: DateTime! @column(overrideType: "Date")
|
|
40
64
|
|
|
41
|
-
"""
|
|
65
|
+
"""
|
|
66
|
+
The date when the publisher was last updated.
|
|
67
|
+
"""
|
|
42
68
|
updatedAt: DateTime! @column(overrideType: "Date")
|
|
43
69
|
|
|
44
|
-
"""
|
|
70
|
+
"""
|
|
71
|
+
The number of extensions published by this publisher.
|
|
72
|
+
"""
|
|
45
73
|
extensionCount: Int! @column
|
|
46
74
|
|
|
47
|
-
"""
|
|
75
|
+
"""
|
|
76
|
+
The total number of downloads across all extensions.
|
|
77
|
+
"""
|
|
48
78
|
totalDownloads: Int! @column
|
|
49
79
|
|
|
50
|
-
"""
|
|
80
|
+
"""
|
|
81
|
+
The extensions published by this publisher.
|
|
82
|
+
"""
|
|
51
83
|
extensions: [RegistryExtension!]! @column(overrideType: "[ObjectId]")
|
|
52
84
|
|
|
53
|
-
"""
|
|
85
|
+
"""
|
|
86
|
+
Whether the current user can manage this publisher.
|
|
87
|
+
"""
|
|
54
88
|
viewerCanManage: Boolean!
|
|
55
89
|
|
|
56
|
-
"""
|
|
90
|
+
"""
|
|
91
|
+
Real-time analytics stats (computed from time series data).
|
|
92
|
+
"""
|
|
57
93
|
stats: MarketplacePublisherStats
|
|
58
94
|
|
|
59
|
-
"""
|
|
95
|
+
"""
|
|
96
|
+
Historical analytics data (computed from time series data).
|
|
97
|
+
"""
|
|
60
98
|
analytics(
|
|
61
99
|
startDate: DateTime!
|
|
62
100
|
endDate: DateTime!
|
|
63
101
|
granularity: AnalyticsGranularity!
|
|
64
102
|
): [MarketplacePublisherAnalytics!]!
|
|
65
103
|
|
|
66
|
-
"""
|
|
104
|
+
"""
|
|
105
|
+
Trend analysis (computed from time series data).
|
|
106
|
+
"""
|
|
67
107
|
trends(days: Int = 30): MarketplacePublisherTrend
|
|
68
108
|
}
|
|
69
109
|
|
|
@@ -71,22 +111,34 @@ type MarketplacePublisher implements Node @entity {
|
|
|
71
111
|
Publisher statistics and metrics
|
|
72
112
|
"""
|
|
73
113
|
type PublisherStats {
|
|
74
|
-
"""
|
|
114
|
+
"""
|
|
115
|
+
Total number of extensions.
|
|
116
|
+
"""
|
|
75
117
|
totalExtensions: Int!
|
|
76
118
|
|
|
77
|
-
"""
|
|
119
|
+
"""
|
|
120
|
+
Total downloads across all extensions.
|
|
121
|
+
"""
|
|
78
122
|
totalDownloads: Int!
|
|
79
123
|
|
|
80
|
-
"""
|
|
124
|
+
"""
|
|
125
|
+
Total active installations.
|
|
126
|
+
"""
|
|
81
127
|
totalInstallations: Int!
|
|
82
128
|
|
|
83
|
-
"""
|
|
129
|
+
"""
|
|
130
|
+
Average rating across all extensions.
|
|
131
|
+
"""
|
|
84
132
|
averageRating: Float!
|
|
85
133
|
|
|
86
|
-
"""
|
|
134
|
+
"""
|
|
135
|
+
Number of verified publishers.
|
|
136
|
+
"""
|
|
87
137
|
verifiedCount: Int!
|
|
88
138
|
|
|
89
|
-
"""
|
|
139
|
+
"""
|
|
140
|
+
Most popular extension.
|
|
141
|
+
"""
|
|
90
142
|
topExtension: RegistryExtension
|
|
91
143
|
}
|
|
92
144
|
|
|
@@ -94,25 +146,39 @@ type PublisherStats {
|
|
|
94
146
|
Real-time analytics stats for a marketplace publisher (computed from time series)
|
|
95
147
|
"""
|
|
96
148
|
type MarketplacePublisherStats {
|
|
97
|
-
"""
|
|
149
|
+
"""
|
|
150
|
+
Total number of downloads.
|
|
151
|
+
"""
|
|
98
152
|
totalDownloads: Int!
|
|
99
153
|
|
|
100
|
-
"""
|
|
154
|
+
"""
|
|
155
|
+
Total number of installations.
|
|
156
|
+
"""
|
|
101
157
|
totalInstalls: Int!
|
|
102
158
|
|
|
103
|
-
"""
|
|
159
|
+
"""
|
|
160
|
+
Total number of views.
|
|
161
|
+
"""
|
|
104
162
|
totalViews: Int!
|
|
105
163
|
|
|
106
|
-
"""
|
|
164
|
+
"""
|
|
165
|
+
Average rating.
|
|
166
|
+
"""
|
|
107
167
|
averageRating: Float!
|
|
108
168
|
|
|
109
|
-
"""
|
|
169
|
+
"""
|
|
170
|
+
Total number of ratings received.
|
|
171
|
+
"""
|
|
110
172
|
totalRatings: Int!
|
|
111
173
|
|
|
112
|
-
"""
|
|
174
|
+
"""
|
|
175
|
+
Number of extensions published.
|
|
176
|
+
"""
|
|
113
177
|
extensionCount: Int!
|
|
114
178
|
|
|
115
|
-
"""
|
|
179
|
+
"""
|
|
180
|
+
Last updated timestamp.
|
|
181
|
+
"""
|
|
116
182
|
lastUpdated: DateTime!
|
|
117
183
|
}
|
|
118
184
|
|
|
@@ -120,25 +186,39 @@ type MarketplacePublisherStats {
|
|
|
120
186
|
Historical analytics data point for a marketplace publisher (computed from time series)
|
|
121
187
|
"""
|
|
122
188
|
type MarketplacePublisherAnalytics {
|
|
123
|
-
"""
|
|
189
|
+
"""
|
|
190
|
+
The date/time for this data point.
|
|
191
|
+
"""
|
|
124
192
|
date: DateTime!
|
|
125
193
|
|
|
126
|
-
"""
|
|
194
|
+
"""
|
|
195
|
+
Number of downloads in this period.
|
|
196
|
+
"""
|
|
127
197
|
downloads: Int!
|
|
128
198
|
|
|
129
|
-
"""
|
|
199
|
+
"""
|
|
200
|
+
Number of installations in this period.
|
|
201
|
+
"""
|
|
130
202
|
installs: Int!
|
|
131
203
|
|
|
132
|
-
"""
|
|
204
|
+
"""
|
|
205
|
+
Number of views in this period.
|
|
206
|
+
"""
|
|
133
207
|
views: Int!
|
|
134
208
|
|
|
135
|
-
"""
|
|
209
|
+
"""
|
|
210
|
+
Number of ratings in this period.
|
|
211
|
+
"""
|
|
136
212
|
ratings: Int!
|
|
137
213
|
|
|
138
|
-
"""
|
|
214
|
+
"""
|
|
215
|
+
Average rating for this period.
|
|
216
|
+
"""
|
|
139
217
|
averageRating: Float!
|
|
140
218
|
|
|
141
|
-
"""
|
|
219
|
+
"""
|
|
220
|
+
Unique users who interacted with publisher content.
|
|
221
|
+
"""
|
|
142
222
|
uniqueUsers: Int!
|
|
143
223
|
}
|
|
144
224
|
|
|
@@ -146,31 +226,49 @@ type MarketplacePublisherAnalytics {
|
|
|
146
226
|
Trend analysis for a marketplace publisher (computed from time series)
|
|
147
227
|
"""
|
|
148
228
|
type MarketplacePublisherTrend {
|
|
149
|
-
"""
|
|
229
|
+
"""
|
|
230
|
+
Download trend direction.
|
|
231
|
+
"""
|
|
150
232
|
downloadTrend: TrendDirection!
|
|
151
233
|
|
|
152
|
-
"""
|
|
234
|
+
"""
|
|
235
|
+
Download trend percentage change.
|
|
236
|
+
"""
|
|
153
237
|
downloadChange: Float!
|
|
154
238
|
|
|
155
|
-
"""
|
|
239
|
+
"""
|
|
240
|
+
Installation trend direction.
|
|
241
|
+
"""
|
|
156
242
|
installTrend: TrendDirection!
|
|
157
243
|
|
|
158
|
-
"""
|
|
244
|
+
"""
|
|
245
|
+
Installation trend percentage change.
|
|
246
|
+
"""
|
|
159
247
|
installChange: Float!
|
|
160
248
|
|
|
161
|
-
"""
|
|
249
|
+
"""
|
|
250
|
+
View trend direction.
|
|
251
|
+
"""
|
|
162
252
|
viewTrend: TrendDirection!
|
|
163
253
|
|
|
164
|
-
"""
|
|
254
|
+
"""
|
|
255
|
+
View trend percentage change.
|
|
256
|
+
"""
|
|
165
257
|
viewChange: Float!
|
|
166
258
|
|
|
167
|
-
"""
|
|
259
|
+
"""
|
|
260
|
+
Rating trend direction.
|
|
261
|
+
"""
|
|
168
262
|
ratingTrend: TrendDirection!
|
|
169
263
|
|
|
170
|
-
"""
|
|
264
|
+
"""
|
|
265
|
+
Rating trend percentage change.
|
|
266
|
+
"""
|
|
171
267
|
ratingChange: Float!
|
|
172
268
|
|
|
173
|
-
"""
|
|
269
|
+
"""
|
|
270
|
+
Overall trend score (composite metric).
|
|
271
|
+
"""
|
|
174
272
|
trendScore: Float!
|
|
175
273
|
}
|
|
176
274
|
|
|
@@ -195,39 +293,61 @@ enum TrendDirection {
|
|
|
195
293
|
}
|
|
196
294
|
|
|
197
295
|
extend type Query {
|
|
198
|
-
"""
|
|
296
|
+
"""
|
|
297
|
+
Get a publisher by name.
|
|
298
|
+
"""
|
|
199
299
|
publisher(name: String!): MarketplacePublisher
|
|
200
300
|
|
|
201
|
-
"""
|
|
301
|
+
"""
|
|
302
|
+
Get all publishers with optional filtering.
|
|
303
|
+
"""
|
|
202
304
|
publishers(
|
|
203
|
-
"""
|
|
305
|
+
"""
|
|
306
|
+
Filter by verified status.
|
|
307
|
+
"""
|
|
204
308
|
verified: Boolean
|
|
205
|
-
|
|
206
|
-
"""
|
|
309
|
+
|
|
310
|
+
"""
|
|
311
|
+
Search query for publisher name or description.
|
|
312
|
+
"""
|
|
207
313
|
search: String
|
|
208
|
-
|
|
209
|
-
"""
|
|
314
|
+
|
|
315
|
+
"""
|
|
316
|
+
Number of results to return (default: 20, max: 100).
|
|
317
|
+
"""
|
|
210
318
|
first: Int
|
|
211
|
-
|
|
212
|
-
"""
|
|
319
|
+
|
|
320
|
+
"""
|
|
321
|
+
Number of results to skip.
|
|
322
|
+
"""
|
|
213
323
|
skip: Int
|
|
214
|
-
|
|
215
|
-
"""
|
|
324
|
+
|
|
325
|
+
"""
|
|
326
|
+
Sort order.
|
|
327
|
+
"""
|
|
216
328
|
orderBy: PublisherOrderBy
|
|
217
329
|
): PublisherConnection!
|
|
218
330
|
|
|
219
|
-
"""
|
|
331
|
+
"""
|
|
332
|
+
Get publisher statistics.
|
|
333
|
+
"""
|
|
220
334
|
publisherStats: PublisherStats!
|
|
221
335
|
}
|
|
222
336
|
|
|
223
337
|
extend type Mutation {
|
|
224
|
-
"""
|
|
338
|
+
"""
|
|
339
|
+
Create a new publisher.
|
|
340
|
+
"""
|
|
225
341
|
createPublisherMutation(input: CreatePublisherInput!): CreatePublisherPayload!
|
|
226
342
|
|
|
227
|
-
"""
|
|
343
|
+
"""
|
|
344
|
+
Update an existing publisher.
|
|
345
|
+
"""
|
|
228
346
|
updatePublisherMutation(id: ID!, input: UpdatePublisherInput!): UpdatePublisherPayload!
|
|
229
347
|
|
|
230
|
-
"""
|
|
348
|
+
"""
|
|
349
|
+
Verify a publisher.
|
|
350
|
+
"""
|
|
231
351
|
verifyPublisherMutation(id: ID!): VerifyPublisherPayload!
|
|
232
352
|
}
|
|
233
353
|
|
|
@@ -235,25 +355,39 @@ extend type Mutation {
|
|
|
235
355
|
Input for creating a new publisher
|
|
236
356
|
"""
|
|
237
357
|
input CreatePublisherInput {
|
|
238
|
-
"""
|
|
358
|
+
"""
|
|
359
|
+
The display name of the publisher.
|
|
360
|
+
"""
|
|
239
361
|
displayName: String!
|
|
240
362
|
|
|
241
|
-
"""
|
|
363
|
+
"""
|
|
364
|
+
The unique name/slug of the publisher.
|
|
365
|
+
"""
|
|
242
366
|
publisherName: String!
|
|
243
367
|
|
|
244
|
-
"""
|
|
368
|
+
"""
|
|
369
|
+
The publisher's description.
|
|
370
|
+
"""
|
|
245
371
|
description: String
|
|
246
372
|
|
|
247
|
-
"""
|
|
373
|
+
"""
|
|
374
|
+
The publisher's website URL.
|
|
375
|
+
"""
|
|
248
376
|
website: String
|
|
249
377
|
|
|
250
|
-
"""
|
|
378
|
+
"""
|
|
379
|
+
The publisher's email contact.
|
|
380
|
+
"""
|
|
251
381
|
email: String
|
|
252
382
|
|
|
253
|
-
"""
|
|
383
|
+
"""
|
|
384
|
+
The publisher's domain for verification.
|
|
385
|
+
"""
|
|
254
386
|
domain: String
|
|
255
387
|
|
|
256
|
-
"""
|
|
388
|
+
"""
|
|
389
|
+
The tenant ID associated with this publisher.
|
|
390
|
+
"""
|
|
257
391
|
tenant: ID
|
|
258
392
|
}
|
|
259
393
|
|
|
@@ -261,30 +395,49 @@ input CreatePublisherInput {
|
|
|
261
395
|
Input for updating a publisher
|
|
262
396
|
"""
|
|
263
397
|
input UpdatePublisherInput {
|
|
264
|
-
"""
|
|
265
|
-
|
|
398
|
+
"""
|
|
399
|
+
The display name of the publisher.
|
|
400
|
+
"""
|
|
401
|
+
displayName: String!
|
|
266
402
|
|
|
267
|
-
"""
|
|
403
|
+
"""
|
|
404
|
+
The publisher's description.
|
|
405
|
+
"""
|
|
268
406
|
description: String
|
|
269
407
|
|
|
270
|
-
"""
|
|
408
|
+
"""
|
|
409
|
+
The publisher's website URL.
|
|
410
|
+
"""
|
|
271
411
|
website: String
|
|
272
412
|
|
|
273
|
-
"""
|
|
413
|
+
"""
|
|
414
|
+
The publisher's logo/avatar URL.
|
|
415
|
+
"""
|
|
274
416
|
avatarUrl: String
|
|
417
|
+
|
|
418
|
+
"""
|
|
419
|
+
The tenant ID associated with this publisher.
|
|
420
|
+
"""
|
|
421
|
+
tenant: ID
|
|
275
422
|
}
|
|
276
423
|
|
|
277
424
|
"""
|
|
278
425
|
Payload for create publisher mutation
|
|
279
426
|
"""
|
|
280
427
|
type CreatePublisherPayload {
|
|
281
|
-
"""
|
|
428
|
+
"""
|
|
429
|
+
The created publisher.
|
|
430
|
+
"""
|
|
282
431
|
publisher: MarketplacePublisher!
|
|
283
432
|
|
|
284
|
-
"""
|
|
433
|
+
"""
|
|
434
|
+
Success flag.
|
|
435
|
+
"""
|
|
285
436
|
success: Boolean!
|
|
286
437
|
|
|
287
|
-
"""
|
|
438
|
+
"""
|
|
439
|
+
Error message if any.
|
|
440
|
+
"""
|
|
288
441
|
error: String
|
|
289
442
|
}
|
|
290
443
|
|
|
@@ -292,13 +445,19 @@ type CreatePublisherPayload {
|
|
|
292
445
|
Payload for update publisher mutation
|
|
293
446
|
"""
|
|
294
447
|
type UpdatePublisherPayload {
|
|
295
|
-
"""
|
|
448
|
+
"""
|
|
449
|
+
The updated publisher.
|
|
450
|
+
"""
|
|
296
451
|
publisher: MarketplacePublisher
|
|
297
452
|
|
|
298
|
-
"""
|
|
453
|
+
"""
|
|
454
|
+
Success flag.
|
|
455
|
+
"""
|
|
299
456
|
success: Boolean!
|
|
300
457
|
|
|
301
|
-
"""
|
|
458
|
+
"""
|
|
459
|
+
Error message if any.
|
|
460
|
+
"""
|
|
302
461
|
error: String
|
|
303
462
|
}
|
|
304
463
|
|
|
@@ -306,13 +465,19 @@ type UpdatePublisherPayload {
|
|
|
306
465
|
Payload for verify publisher mutation
|
|
307
466
|
"""
|
|
308
467
|
type VerifyPublisherPayload {
|
|
309
|
-
"""
|
|
468
|
+
"""
|
|
469
|
+
The verified publisher.
|
|
470
|
+
"""
|
|
310
471
|
publisher: MarketplacePublisher
|
|
311
472
|
|
|
312
|
-
"""
|
|
473
|
+
"""
|
|
474
|
+
Success flag.
|
|
475
|
+
"""
|
|
313
476
|
success: Boolean!
|
|
314
477
|
|
|
315
|
-
"""
|
|
478
|
+
"""
|
|
479
|
+
Error message if any.
|
|
480
|
+
"""
|
|
316
481
|
error: String
|
|
317
482
|
}
|
|
318
483
|
|
|
@@ -320,16 +485,24 @@ type VerifyPublisherPayload {
|
|
|
320
485
|
Publisher connection for pagination
|
|
321
486
|
"""
|
|
322
487
|
type PublisherConnection {
|
|
323
|
-
"""
|
|
488
|
+
"""
|
|
489
|
+
List of publishers.
|
|
490
|
+
"""
|
|
324
491
|
nodes: [MarketplacePublisher!]!
|
|
325
|
-
|
|
326
|
-
"""
|
|
492
|
+
|
|
493
|
+
"""
|
|
494
|
+
Total count of publishers.
|
|
495
|
+
"""
|
|
327
496
|
totalCount: Int!
|
|
328
|
-
|
|
329
|
-
"""
|
|
497
|
+
|
|
498
|
+
"""
|
|
499
|
+
Whether there are more results.
|
|
500
|
+
"""
|
|
330
501
|
hasNextPage: Boolean!
|
|
331
|
-
|
|
332
|
-
"""
|
|
502
|
+
|
|
503
|
+
"""
|
|
504
|
+
Whether there are previous results.
|
|
505
|
+
"""
|
|
333
506
|
hasPreviousPage: Boolean!
|
|
334
507
|
}
|
|
335
508
|
|
|
@@ -337,28 +510,44 @@ type PublisherConnection {
|
|
|
337
510
|
Sort options for publishers
|
|
338
511
|
"""
|
|
339
512
|
enum PublisherOrderBy {
|
|
340
|
-
"""
|
|
513
|
+
"""
|
|
514
|
+
Sort by name (A-Z).
|
|
515
|
+
"""
|
|
341
516
|
NAME_ASC
|
|
342
|
-
|
|
343
|
-
"""
|
|
517
|
+
|
|
518
|
+
"""
|
|
519
|
+
Sort by name (Z-A).
|
|
520
|
+
"""
|
|
344
521
|
NAME_DESC
|
|
345
|
-
|
|
346
|
-
"""
|
|
522
|
+
|
|
523
|
+
"""
|
|
524
|
+
Sort by creation date (newest first).
|
|
525
|
+
"""
|
|
347
526
|
CREATED_DESC
|
|
348
|
-
|
|
349
|
-
"""
|
|
527
|
+
|
|
528
|
+
"""
|
|
529
|
+
Sort by creation date (oldest first).
|
|
530
|
+
"""
|
|
350
531
|
CREATED_ASC
|
|
351
|
-
|
|
352
|
-
"""
|
|
532
|
+
|
|
533
|
+
"""
|
|
534
|
+
Sort by extension count (most first).
|
|
535
|
+
"""
|
|
353
536
|
EXTENSIONS_DESC
|
|
354
|
-
|
|
355
|
-
"""
|
|
537
|
+
|
|
538
|
+
"""
|
|
539
|
+
Sort by extension count (least first).
|
|
540
|
+
"""
|
|
356
541
|
EXTENSIONS_ASC
|
|
357
|
-
|
|
358
|
-
"""
|
|
542
|
+
|
|
543
|
+
"""
|
|
544
|
+
Sort by total downloads (most first).
|
|
545
|
+
"""
|
|
359
546
|
DOWNLOADS_DESC
|
|
360
|
-
|
|
361
|
-
"""
|
|
547
|
+
|
|
548
|
+
"""
|
|
549
|
+
Sort by total downloads (least first).
|
|
550
|
+
"""
|
|
362
551
|
DOWNLOADS_ASC
|
|
363
552
|
}
|
|
364
553
|
|
|
@@ -366,20 +555,30 @@ enum PublisherOrderBy {
|
|
|
366
555
|
Extension manifest author information
|
|
367
556
|
"""
|
|
368
557
|
type ExtensionManifestAuthor @entity(embedded: true) {
|
|
369
|
-
"""
|
|
558
|
+
"""
|
|
559
|
+
The author's name.
|
|
560
|
+
"""
|
|
370
561
|
name: String! @column
|
|
371
|
-
|
|
372
|
-
"""
|
|
562
|
+
|
|
563
|
+
"""
|
|
564
|
+
The author's email.
|
|
565
|
+
"""
|
|
373
566
|
email: String @column
|
|
374
|
-
|
|
375
|
-
"""
|
|
567
|
+
|
|
568
|
+
"""
|
|
569
|
+
The author's website URL.
|
|
570
|
+
"""
|
|
376
571
|
url: String @column
|
|
377
|
-
|
|
378
|
-
"""
|
|
572
|
+
|
|
573
|
+
"""
|
|
574
|
+
Whether the author is verified.
|
|
575
|
+
"""
|
|
379
576
|
verified: Boolean @column
|
|
380
577
|
}
|
|
381
578
|
|
|
382
579
|
extend type ExtensionManifest {
|
|
383
|
-
"""
|
|
580
|
+
"""
|
|
581
|
+
The publisher who published this extension.
|
|
582
|
+
"""
|
|
384
583
|
publisherDetails: MarketplacePublisher
|
|
385
584
|
}
|
|
@@ -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 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
|
|
1
|
+
var publisherSchema = "\"\"\"\nA publisher represents an organization or individual who publishes extensions\n\"\"\"\ntype MarketplacePublisher implements Node @entity {\n \"\"\"\n The unique identifier of the publisher.\n \"\"\"\n id: ID! @id\n\n \"\"\"\n The unique publisher ID (UUID).\n \"\"\"\n publisherId: String! @column\n\n \"\"\"\n The unique name/slug of the publisher (e.g., 'stackflow1', 'microsoft').\n \"\"\"\n name: String! @column\n\n \"\"\"\n The display name of the publisher.\n \"\"\"\n displayName: String! @column\n\n \"\"\"\n The publisher's description.\n \"\"\"\n description: String @column\n\n \"\"\"\n The publisher's website URL.\n \"\"\"\n websiteUrl: String @column\n\n \"\"\"\n The publisher's logo/avatar URL.\n \"\"\"\n logoUrl: String @column\n\n \"\"\"\n The publisher's avatar URL (alias for logoUrl).\n \"\"\"\n avatar: String @column\n\n \"\"\"\n The publisher's email contact.\n \"\"\"\n email: String @column\n\n \"\"\"\n The tenant ID associated with this publisher.\n \"\"\"\n tenant: Tenant @column(overrideType: \"ObjectId\")\n\n \"\"\"\n Whether the publisher is verified.\n \"\"\"\n verified: Boolean! @column\n\n \"\"\"\n The date when the publisher was created.\n \"\"\"\n createdAt: DateTime! @column(overrideType: \"Date\")\n\n \"\"\"\n The date when the publisher was last updated.\n \"\"\"\n updatedAt: DateTime! @column(overrideType: \"Date\")\n\n \"\"\"\n The number of extensions published by this publisher.\n \"\"\"\n extensionCount: Int! @column\n\n \"\"\"\n The total number of downloads across all extensions.\n \"\"\"\n totalDownloads: Int! @column\n\n \"\"\"\n The extensions published by this publisher.\n \"\"\"\n extensions: [RegistryExtension!]! @column(overrideType: \"[ObjectId]\")\n\n \"\"\"\n Whether the current user can manage this publisher.\n \"\"\"\n viewerCanManage: Boolean!\n\n \"\"\"\n Real-time analytics stats (computed from time series data).\n \"\"\"\n stats: MarketplacePublisherStats\n\n \"\"\"\n Historical analytics data (computed from time series data).\n \"\"\"\n analytics(\n startDate: DateTime!\n endDate: DateTime!\n granularity: AnalyticsGranularity!\n ): [MarketplacePublisherAnalytics!]!\n\n \"\"\"\n Trend analysis (computed from time series data).\n \"\"\"\n trends(days: Int = 30): MarketplacePublisherTrend\n}\n\n\"\"\"\nPublisher statistics and metrics\n\"\"\"\ntype PublisherStats {\n \"\"\"\n Total number of extensions.\n \"\"\"\n totalExtensions: Int!\n\n \"\"\"\n Total downloads across all extensions.\n \"\"\"\n totalDownloads: Int!\n\n \"\"\"\n Total active installations.\n \"\"\"\n totalInstallations: Int!\n\n \"\"\"\n Average rating across all extensions.\n \"\"\"\n averageRating: Float!\n\n \"\"\"\n Number of verified publishers.\n \"\"\"\n verifiedCount: Int!\n\n \"\"\"\n Most popular extension.\n \"\"\"\n topExtension: RegistryExtension\n}\n\n\"\"\"\nReal-time analytics stats for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherStats {\n \"\"\"\n Total number of downloads.\n \"\"\"\n totalDownloads: Int!\n\n \"\"\"\n Total number of installations.\n \"\"\"\n totalInstalls: Int!\n\n \"\"\"\n Total number of views.\n \"\"\"\n totalViews: Int!\n\n \"\"\"\n Average rating.\n \"\"\"\n averageRating: Float!\n\n \"\"\"\n Total number of ratings received.\n \"\"\"\n totalRatings: Int!\n\n \"\"\"\n Number of extensions published.\n \"\"\"\n extensionCount: Int!\n\n \"\"\"\n Last updated timestamp.\n \"\"\"\n lastUpdated: DateTime!\n}\n\n\"\"\"\nHistorical analytics data point for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherAnalytics {\n \"\"\"\n The date/time for this data point.\n \"\"\"\n date: DateTime!\n\n \"\"\"\n Number of downloads in this period.\n \"\"\"\n downloads: Int!\n\n \"\"\"\n Number of installations in this period.\n \"\"\"\n installs: Int!\n\n \"\"\"\n Number of views in this period.\n \"\"\"\n views: Int!\n\n \"\"\"\n Number of ratings in this period.\n \"\"\"\n ratings: Int!\n\n \"\"\"\n Average rating for this period.\n \"\"\"\n averageRating: Float!\n\n \"\"\"\n Unique users who interacted with publisher content.\n \"\"\"\n uniqueUsers: Int!\n}\n\n\"\"\"\nTrend analysis for a marketplace publisher (computed from time series)\n\"\"\"\ntype MarketplacePublisherTrend {\n \"\"\"\n Download trend direction.\n \"\"\"\n downloadTrend: TrendDirection!\n\n \"\"\"\n Download trend percentage change.\n \"\"\"\n downloadChange: Float!\n\n \"\"\"\n Installation trend direction.\n \"\"\"\n installTrend: TrendDirection!\n\n \"\"\"\n Installation trend percentage change.\n \"\"\"\n installChange: Float!\n\n \"\"\"\n View trend direction.\n \"\"\"\n viewTrend: TrendDirection!\n\n \"\"\"\n View trend percentage change.\n \"\"\"\n viewChange: Float!\n\n \"\"\"\n Rating trend direction.\n \"\"\"\n ratingTrend: TrendDirection!\n\n \"\"\"\n Rating trend percentage change.\n \"\"\"\n ratingChange: Float!\n\n \"\"\"\n Overall trend score (composite metric).\n \"\"\"\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 \"\"\"\n Get a publisher by name.\n \"\"\"\n publisher(name: String!): MarketplacePublisher\n\n \"\"\"\n Get all publishers with optional filtering.\n \"\"\"\n publishers(\n \"\"\"\n Filter by verified status.\n \"\"\"\n verified: Boolean\n\n \"\"\"\n Search query for publisher name or description.\n \"\"\"\n search: String\n\n \"\"\"\n Number of results to return (default: 20, max: 100).\n \"\"\"\n first: Int\n\n \"\"\"\n Number of results to skip.\n \"\"\"\n skip: Int\n\n \"\"\"\n Sort order.\n \"\"\"\n orderBy: PublisherOrderBy\n ): PublisherConnection!\n\n \"\"\"\n Get publisher statistics.\n \"\"\"\n publisherStats: PublisherStats!\n}\n\nextend type Mutation {\n \"\"\"\n Create a new publisher.\n \"\"\"\n createPublisherMutation(input: CreatePublisherInput!): CreatePublisherPayload!\n\n \"\"\"\n Update an existing publisher.\n \"\"\"\n updatePublisherMutation(id: ID!, input: UpdatePublisherInput!): UpdatePublisherPayload!\n\n \"\"\"\n Verify a publisher.\n \"\"\"\n verifyPublisherMutation(id: ID!): VerifyPublisherPayload!\n}\n\n\"\"\"\nInput for creating a new publisher\n\"\"\"\ninput CreatePublisherInput {\n \"\"\"\n The display name of the publisher.\n \"\"\"\n displayName: String!\n\n \"\"\"\n The unique name/slug of the publisher.\n \"\"\"\n publisherName: String!\n\n \"\"\"\n The publisher's description.\n \"\"\"\n description: String\n\n \"\"\"\n The publisher's website URL.\n \"\"\"\n website: String\n\n \"\"\"\n The publisher's email contact.\n \"\"\"\n email: String\n\n \"\"\"\n The publisher's domain for verification.\n \"\"\"\n domain: String\n\n \"\"\"\n The tenant ID associated with this publisher.\n \"\"\"\n tenant: ID\n}\n\n\"\"\"\nInput for updating a publisher\n\"\"\"\ninput UpdatePublisherInput {\n \"\"\"\n The display name of the publisher.\n \"\"\"\n displayName: String!\n\n \"\"\"\n The publisher's description.\n \"\"\"\n description: String\n\n \"\"\"\n The publisher's website URL.\n \"\"\"\n website: String\n\n \"\"\"\n The publisher's logo/avatar URL.\n \"\"\"\n avatarUrl: String\n\n \"\"\"\n The tenant ID associated with this publisher.\n \"\"\"\n tenant: ID\n}\n\n\"\"\"\nPayload for create publisher mutation\n\"\"\"\ntype CreatePublisherPayload {\n \"\"\"\n The created publisher.\n \"\"\"\n publisher: MarketplacePublisher!\n\n \"\"\"\n Success flag.\n \"\"\"\n success: Boolean!\n\n \"\"\"\n Error message if any.\n \"\"\"\n error: String\n}\n\n\"\"\"\nPayload for update publisher mutation\n\"\"\"\ntype UpdatePublisherPayload {\n \"\"\"\n The updated publisher.\n \"\"\"\n publisher: MarketplacePublisher\n\n \"\"\"\n Success flag.\n \"\"\"\n success: Boolean!\n\n \"\"\"\n Error message if any.\n \"\"\"\n error: String\n}\n\n\"\"\"\nPayload for verify publisher mutation\n\"\"\"\ntype VerifyPublisherPayload {\n \"\"\"\n The verified publisher.\n \"\"\"\n publisher: MarketplacePublisher\n\n \"\"\"\n Success flag.\n \"\"\"\n success: Boolean!\n\n \"\"\"\n Error message if any.\n \"\"\"\n error: String\n}\n\n\"\"\"\nPublisher connection for pagination\n\"\"\"\ntype PublisherConnection {\n \"\"\"\n List of publishers.\n \"\"\"\n nodes: [MarketplacePublisher!]!\n\n \"\"\"\n Total count of publishers.\n \"\"\"\n totalCount: Int!\n\n \"\"\"\n Whether there are more results.\n \"\"\"\n hasNextPage: Boolean!\n\n \"\"\"\n Whether there are previous results.\n \"\"\"\n hasPreviousPage: Boolean!\n}\n\n\"\"\"\nSort options for publishers\n\"\"\"\nenum PublisherOrderBy {\n \"\"\"\n Sort by name (A-Z).\n \"\"\"\n NAME_ASC\n\n \"\"\"\n Sort by name (Z-A).\n \"\"\"\n NAME_DESC\n\n \"\"\"\n Sort by creation date (newest first).\n \"\"\"\n CREATED_DESC\n\n \"\"\"\n Sort by creation date (oldest first).\n \"\"\"\n CREATED_ASC\n\n \"\"\"\n Sort by extension count (most first).\n \"\"\"\n EXTENSIONS_DESC\n\n \"\"\"\n Sort by extension count (least first).\n \"\"\"\n EXTENSIONS_ASC\n\n \"\"\"\n Sort by total downloads (most first).\n \"\"\"\n DOWNLOADS_DESC\n\n \"\"\"\n Sort by total downloads (least first).\n \"\"\"\n DOWNLOADS_ASC\n}\n\n\"\"\"\nExtension manifest author information\n\"\"\"\ntype ExtensionManifestAuthor @entity(embedded: true) {\n \"\"\"\n The author's name.\n \"\"\"\n name: String! @column\n\n \"\"\"\n The author's email.\n \"\"\"\n email: String @column\n\n \"\"\"\n The author's website URL.\n \"\"\"\n url: String @column\n\n \"\"\"\n Whether the author is verified.\n \"\"\"\n verified: Boolean @column\n}\n\nextend type ExtensionManifest {\n \"\"\"\n The publisher who published this extension.\n \"\"\"\n publisherDetails: MarketplacePublisher\n}\n";export{publisherSchema as default};//# sourceMappingURL=publisher.graphql.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IDatabaseMigration } from '@adminide-stack/core';
|
|
2
|
+
import type { Connection } from 'mongoose';
|
|
3
|
+
import { CdmLogger } from '@cdm-logger/core';
|
|
4
|
+
/**
|
|
5
|
+
* Migration to drop the old publisherName_1 index from MarketplacePublisher collection.
|
|
6
|
+
*
|
|
7
|
+
* Ensures:
|
|
8
|
+
* - No duplicate index issues
|
|
9
|
+
* - Safe to run multiple times
|
|
10
|
+
* - Works across all tenant databases
|
|
11
|
+
*/
|
|
12
|
+
export declare class DropOldPublisherNameIndexMigration implements IDatabaseMigration {
|
|
13
|
+
private readonly db;
|
|
14
|
+
id: string;
|
|
15
|
+
private readonly logger;
|
|
16
|
+
constructor(db: Connection, logger: CdmLogger.ILogger);
|
|
17
|
+
up(): Promise<void>;
|
|
18
|
+
down(): Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=DropOldPublisherIndexMigration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropOldPublisherIndexMigration.d.ts","sourceRoot":"","sources":["../../../src/migrations/dbMigrations/DropOldPublisherIndexMigration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C;;;;;;;GAOG;AACH,qBACa,kCAAmC,YAAW,kBAAkB;IAQrE,OAAO,CAAC,QAAQ,CAAC,EAAE;IANvB,EAAE,SAAyD;IAE3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;gBAItB,EAAE,EAAE,UAAU,EAE/B,MAAM,EAAE,SAAS,CAAC,OAAO;IAKhB,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IA4BnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAyBrC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {__decorate,__param,__metadata}from'tslib';import {injectable,inject}from'inversify';import'@cdm-logger/core';import {DB_COLL_NAMES}from'common/server';var DropOldPublisherNameIndexMigration_1;
|
|
2
|
+
/**
|
|
3
|
+
* Migration to drop the old publisherName_1 index from MarketplacePublisher collection.
|
|
4
|
+
*
|
|
5
|
+
* Ensures:
|
|
6
|
+
* - No duplicate index issues
|
|
7
|
+
* - Safe to run multiple times
|
|
8
|
+
* - Works across all tenant databases
|
|
9
|
+
*/
|
|
10
|
+
let DropOldPublisherNameIndexMigration = DropOldPublisherNameIndexMigration_1 = class DropOldPublisherNameIndexMigration {
|
|
11
|
+
db;
|
|
12
|
+
// Unique migration ID (important: DO NOT change once deployed)
|
|
13
|
+
id = `${DropOldPublisherNameIndexMigration_1.name}_20251117`;
|
|
14
|
+
logger;
|
|
15
|
+
constructor(db, logger) {
|
|
16
|
+
this.db = db;
|
|
17
|
+
this.logger = logger.child({
|
|
18
|
+
className: DropOldPublisherNameIndexMigration_1.name
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
async up() {
|
|
22
|
+
this.logger.info('Starting DropOldPublisherNameIndexMigration...');
|
|
23
|
+
try {
|
|
24
|
+
const collection = this.db.collection(DB_COLL_NAMES.MarketplacePublisher);
|
|
25
|
+
// Fetch all indexes
|
|
26
|
+
const indexes = await collection.listIndexes().toArray();
|
|
27
|
+
const oldIndex = indexes.find(idx => idx.name === 'publisherName_1');
|
|
28
|
+
if (oldIndex) {
|
|
29
|
+
this.logger.info('Found old index publisherName_1. Dropping...');
|
|
30
|
+
await collection.dropIndex('publisherName_1');
|
|
31
|
+
this.logger.info('Successfully dropped publisherName_1 index.');
|
|
32
|
+
} else {
|
|
33
|
+
this.logger.info('No old index publisherName_1 found. Nothing to remove.');
|
|
34
|
+
}
|
|
35
|
+
} catch (error) {
|
|
36
|
+
this.logger.error('Failed to drop publisherName_1 index:', error);
|
|
37
|
+
throw error;
|
|
38
|
+
}
|
|
39
|
+
this.logger.info('DropOldPublisherNameIndexMigration completed successfully.');
|
|
40
|
+
}
|
|
41
|
+
async down() {
|
|
42
|
+
this.logger.info('Rollback for DropOldPublisherNameIndexMigration...');
|
|
43
|
+
try {
|
|
44
|
+
const collection = this.db.collection(DB_COLL_NAMES.MarketplacePublisher);
|
|
45
|
+
// Restore the old index (optional)
|
|
46
|
+
this.logger.info('Recreating publisherName_1 index...');
|
|
47
|
+
await collection.createIndex({
|
|
48
|
+
publisherName: 1
|
|
49
|
+
}, {
|
|
50
|
+
name: 'publisherName_1',
|
|
51
|
+
background: false
|
|
52
|
+
});
|
|
53
|
+
this.logger.info('publisherName_1 index recreated successfully.');
|
|
54
|
+
} catch (error) {
|
|
55
|
+
this.logger.error('Failed to recreate publisherName_1 index:', error);
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
this.logger.info('Rollback completed.');
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
DropOldPublisherNameIndexMigration = DropOldPublisherNameIndexMigration_1 = __decorate([injectable(), __param(0, inject('MongoDBConnection')), __param(1, inject('Logger')), __metadata("design:paramtypes", [Function, Object])], DropOldPublisherNameIndexMigration);export{DropOldPublisherNameIndexMigration};//# sourceMappingURL=DropOldPublisherIndexMigration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropOldPublisherIndexMigration.js","sources":["../../../src/migrations/dbMigrations/DropOldPublisherIndexMigration.ts"],"sourcesContent":[null],"names":[],"mappings":"+JAAA,IAAA;;;;;;AAaG;AACH;;AAGI,IAAA,kCAA2D,GAAA,oCAAA,GAAA,MAAA,kCAAA,CAAA;AAE3D,EAAA,EAAA;AAIqB;AAOR,EAAA,EAAA,GAAE,CAAA,EAAI,oCAAa,CAAA,IAAA,CAAA,SAAA,CAAA;AA4BnB,EAAA,MAAI;AAyBpB,EAAA,WAAA,CAAA,EAAA,EAAA,MAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installed-extension-service.d.ts","sourceRoot":"","sources":["../../src/services/installed-extension-service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EACH,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,EAE9B,yBAAyB,EAEzB,yBAAyB,EAEzB,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,6BAA6B,EAC7B,4BAA4B,EAC5B,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,EACvB,mCAAmC,EACnC,4BAA4B,EAC5B,+BAA+B,EAC/B,YAAY,EACZ,YAAY,EAGf,MAAM,eAAe,CAAC;AAEvB,qBACa,yBACT,SAAQ,YAAY,CAAC,wBAAwB,CAC7C,YAAW,0BAA0B,EAAE,UAAU;IAgD7C,OAAO,CAAC,4BAA4B;IAGpC,SAAS,CAAC,wBAAw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AE,MAAM,CAAC;QACvB,gBAAgB,EAAE,MAAM,CAAC;QACzB,gBAAgB,EAAE,OAAO,CAAC;KAC7B,CAAC,CACL;IAmCD;;OAEG;IACU,sBAAsB,CAC/B,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,EACrB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,QAAQ,KAAA,GACT,OAAO,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC;IAuClD;;OAEG;IACU,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAsE7E;;OAEG;IACU,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,wBAAwB,CAAC,EAAE,CAAC;IAe5G;;OAEG;IACU,iBAAiB,CAC1B,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,OAAO,GACjB,OAAO,CAAC;QACP,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,UAAU,EAAE,MAAM,EAAE,CAAC;QACrB,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;IA0DF;;;;OAIG;IACU,yBAAyB,CAClC,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,OAAO,GACjB,OAAO,CAAC;QACP,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"installed-extension-service.d.ts","sourceRoot":"","sources":["../../src/services/installed-extension-service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC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E,MAAM,EAAE,CAAC;QACrB,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;IA0DF;;;;OAIG;IACU,yBAAyB,CAClC,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,OAAO,GACjB,OAAO,CAAC;QACP,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;IA2GF;;OAEG;IACH,OAAO,CAAC,gBAAgB;CAK3B"}
|
|
@@ -553,8 +553,10 @@ let InstalledExtensionService = InstalledExtensionService_1 = class InstalledExt
|
|
|
553
553
|
});
|
|
554
554
|
// Get list of extensions in system_extension
|
|
555
555
|
const systemExtensionSlugs = new Set();
|
|
556
|
-
if (systemExtensionDoc && systemExtensionDoc
|
|
556
|
+
if (systemExtensionDoc && typeof systemExtensionDoc === 'object' && 'configurationNodes' in systemExtensionDoc) {
|
|
557
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
557
558
|
const configNodes = systemExtensionDoc.configurationNodes || [];
|
|
559
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
558
560
|
const settingsNode = configNodes.find(node => node.id === 'settings');
|
|
559
561
|
if (settingsNode?.properties) {
|
|
560
562
|
Object.keys(settingsNode.properties).forEach(key => {
|
|
@@ -569,14 +571,26 @@ let InstalledExtensionService = InstalledExtensionService_1 = class InstalledExt
|
|
|
569
571
|
console.log(` System extensions:`, Array.from(systemExtensionSlugs));
|
|
570
572
|
// Check each installed extension
|
|
571
573
|
for (const extension of extensions) {
|
|
572
|
-
const
|
|
573
|
-
//
|
|
574
|
-
|
|
575
|
-
|
|
574
|
+
const extensionId = String(extension.extension);
|
|
575
|
+
// Get the registry extension to find its slug
|
|
576
|
+
let extensionSlug = null;
|
|
577
|
+
try {
|
|
578
|
+
const registryExtension = await this.registryExtensionService.get(extensionId);
|
|
579
|
+
if (registryExtension) {
|
|
580
|
+
extensionSlug = registryExtension.extensionSlug || extensionId;
|
|
581
|
+
}
|
|
582
|
+
} catch (error) {
|
|
583
|
+
this.logger.warn(`Failed to fetch registry extension ${extensionId}:`, error);
|
|
584
|
+
}
|
|
585
|
+
if (!extensionSlug) {
|
|
586
|
+
console.log(`⚠️ Could not determine slug for extension ID: ${extensionId}`);
|
|
587
|
+
result.warnings.push(`Could not determine slug for extension ID: ${extensionId}`);
|
|
588
|
+
} else if (!systemExtensionSlugs.has(extensionSlug)) {
|
|
589
|
+
// If extension is in installed_extensions but NOT in system_extension, it's orphaned
|
|
590
|
+
const orphanMsg = `⚠️ Found orphaned installed_extension: ${extensionSlug} (ID: ${extensionId}) (not in system_extension)`;
|
|
591
|
+
console.log(orphanMsg);
|
|
576
592
|
if (!dryRun) {
|
|
577
593
|
try {
|
|
578
|
-
// Get the extension ID (registry reference) for deletion
|
|
579
|
-
const extensionId = String(extension.extension);
|
|
580
594
|
// Remove from installed_extensions
|
|
581
595
|
await this.installedExtensionRepository.deleteExtension(orgId, extensionId);
|
|
582
596
|
console.log(` ✅ Deleted from installed_extensions: ${extensionSlug}`);
|
|
@@ -598,6 +612,8 @@ let InstalledExtensionService = InstalledExtensionService_1 = class InstalledExt
|
|
|
598
612
|
console.log(` [DRY RUN] Would remove: ${extensionSlug}`);
|
|
599
613
|
result.removed.push(extensionSlug);
|
|
600
614
|
}
|
|
615
|
+
} else {
|
|
616
|
+
console.log(`✅ Extension ${extensionSlug} is registered in system_extension`);
|
|
601
617
|
}
|
|
602
618
|
}
|
|
603
619
|
console.log('\n✅ SYNC COMPLETE');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installed-extension-service.js","sources":["../../src/services/installed-extension-service.ts"],"sourcesContent":[null],"names":[],"mappings":"4YAEA,IAAA;AAwCI,IAAA,yBAAmB,GAAA,2BAAoB,GAAA,MAAA,yBAA2C,SAAA,YAAA,CAAA;AAElF,EAAA,4BAAmB;AAEnB,EAAA,wBAAmB;AAEnB,EAAA,WA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,iBACF,CAAA,OACP;iBAGS,EAAA,KAAM,CAAE,WAAC;cAClB,EAAQ;QACV,sBAAA,EAAA,KAAA;
|
|
1
|
+
{"version":3,"file":"installed-extension-service.js","sources":["../../src/services/installed-extension-service.ts"],"sourcesContent":[null],"names":[],"mappings":"4YAEA,IAAA;AAwCI,IAAA,yBAAmB,GAAA,2BAAoB,GAAA,MAAA,yBAA2C,SAAA,YAAA,CAAA;AAElF,EAAA,4BAAmB;AAEnB,EAAA,wBAAmB;AAEnB,EAAA,WAAS;AAET,EAAA,MAAA;AAEA,EAAA,oBAAkB,GAAC,IAAA,OAAA,EAAA;AAEnB,EAAA,sBAAmB,GAAA,IAAA,OAAA,EAAA;AAEnB,EAAA,kBAAU,GAAS,IAAA,OAAA,EAAA;AAEnB,EAAA,mBAAU,GAAS,IAAA,OAAA,EAAA;AAEnB,EAAA,kBAAU,GAAS,IAAA,OAAA,EAAA;AAEnB,EAAA,yBAAmB,GAAA,IAAA,OAAA,EAAA;AAEnB,EAAA,+BAAmB,GAAA,IAAA,OAAqB,EAAA;AAExC,EAAA,wBAAmB,GAAA,IAAA,OAAA,EAAmB;AAEtC,EAAA,2BAAmB,GAAS,IAAA,OAAA,EAAA;0BAgBM,GAAA,IAAA,OAAA,EAAA;AAItB,EAAA,2BAAA,GAAA,IAAA,OAAA;AAkBL,EAAA,qBAAe,GAAA,IAAA,OAAA,EAAA;AAItB,EAAA,mBAAQ,GAAA,IAAA,OAAoB,EAAA;AAQ5B,EAAA,SAAA,GAAA,IAAA,oBAAA,CAAA,IAAA,CAAA,oBAAA,EAAA,IAAA,CAAA,sBAAA,EAAA,IAAA,CAAA,kBAAA,EAAA,IAAA,CAAA,mBAAA,EAAA,IAAA,CAAA,kBAAA,EAAA,IAAA,CAAA,yBAAA,EAAA,IAAA,CAAA,+BAAA,EAAA,IAAA,CAAA,wBAAA,EAAA,IAAA,CAAA,2BAAA,EAAA,IAAA,CAAA,wBAAA,EAAA,IAAA,CAAA,2BAAA,EAA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description?: string;
|
|
43
43
|
website?: string;
|
|
44
44
|
avatarUrl?: string;
|
|
45
|
+
tenant?: string;
|
|
45
46
|
}): Promise<AsDomainType<IMarketplacePublisherModel> | null>;
|
|
46
47
|
updatePublisherStats(publisherId: string, stats: {
|
|
47
48
|
extensionCount?: number;
|
|
@@ -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;OAChB;IAEL,SAAS,CAAC,QAAQ,CAAC,mBAAmB;qBACrB,MAAM;oBACP,MAAM;OACjB;IAEL,SAAS,CAAC,QAAQ,CAAC,SAAS,uBAI1B;IAEF,OAAO,CAAC,MAAM,CAAoB;gBAGwB,UAAU,EAAE,+BAA+B,EAC/E,MAAM,EAAE,SAAS,CAAC,OAAO;IAMxC,OAAO,IAAI,IAAI;IAIhB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAQvE,mBAAmB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAMpG,cAAc,CACvB,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,SAAc,EACrB,cAAc,GAAE,KAAK,GAAG,MAAe,EACvC,KAAK,SAAK,EACV,KAAK,SAAI,GACV,OAAO,CAAC;QACP,UAAU,EAAE,YAAY,CAAC,0BAA0B,CAAC,EAAE,CAAC;QACvD,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IAsBW,eAAe,CAAC,IAAI,EAAE;QAC/B,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,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;
|
|
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,C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AAO,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;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,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,2BAAA,SAAA,YAAA,CAAA;oBACR,GAAA,IAAM,OAAA,EAAA;AAChB,EAAA,kBAAA,GAAA,IAAA,OAAA,EAAA;qBAEK,GAAS,I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,4FAAO,EAAA,MAAA,EAAA,OAAA,EAAA,cAAA,EAAA,KAAA,EAAA,KAAA,CAAA;UAChB,MAAO,GAAE,MAAO,IAAA,CAAA,UAAA,CAAA,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;QACnB,CAAA,MAAO,CAAA,KAAE,CAAA,gCAAO,EAAA,IAAA,CAAA;;AAuBX,IAAA,MAAA,UAAA,GAAA,qBACU,CAAA;mBAEf,EAAA,IAAiB,CAAA,aAAO;iBACxB,EAAA,IAAc,CAAE,WAAO;WACvB,EAAA,IAAA,CAAA,KAAc;MACjB,OACF,EAAO,IAAC,CAAA,OAAA;AASE,MAAA,WAAA,EAAe,IAAC,CAAA;AAchB,KAAA,CAAA;QACT,CAAA,UAAA,CAAA,KAAiB;YACjB,IAAA,KAAA,CAAc,UAAS,CAAA,KAAA,CAAA;;;UAGvB,QAAA,GAAa,UAAS,CAAA,UAAA,CAAA,mBAAA,CAAA,IAAA,CAAA,aAAA,CAAA;QACtB,QAAA,EAAA;AACH,MAAA,MAAO,IAAC,KAAA,CAAA,CAAA,qBAAA,EAAA,IAAA,CAAA,aAAA,CAAA,gBAAA,CAAA,CAAA;AA0BZ,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -12,7 +12,7 @@ let MarketplacePublisherRepository = MarketplacePublisherRepository_1 = class Ma
|
|
|
12
12
|
async findByPublisherName(publisherName) {
|
|
13
13
|
this.logger.trace('findByPublisherName with publisherName [%s]', publisherName);
|
|
14
14
|
return this.model.findOne({
|
|
15
|
-
|
|
15
|
+
name: publisherName.toLowerCase()
|
|
16
16
|
}).exec();
|
|
17
17
|
}
|
|
18
18
|
async findPublishers(search, orderBy = 'createdAt', orderDirection = 'DESC', limit = 20, offset = 0) {
|
|
@@ -28,6 +28,7 @@ export interface IMarketplacePublisherService extends IBaseService<IMarketplaceP
|
|
|
28
28
|
description?: string;
|
|
29
29
|
website?: string;
|
|
30
30
|
avatarUrl?: string;
|
|
31
|
+
tenant?: string;
|
|
31
32
|
},
|
|
32
33
|
): Promise<AsDomainType<IMarketplacePublisherModel> | null>;
|
|
33
34
|
updatePublisherStats(
|
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.482",
|
|
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.482",
|
|
25
25
|
"nanoid": "^5.1.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"common": "12.0.4-alpha.
|
|
28
|
+
"common": "12.0.4-alpha.476"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"graphql-tag": ">=2.0.0"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"typescript": {
|
|
59
59
|
"definition": "lib/index.d.ts"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "668287f2a11cecfa11bad89dd276866f4cdc7ff8"
|
|
62
62
|
}
|