@bernierllc/contentful-suite 1.3.3 → 1.3.5

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.
Files changed (45) hide show
  1. package/package.json +15 -15
  2. package/dist/ContentfulSuite.d.ts +0 -85
  3. package/dist/ContentfulSuite.d.ts.map +0 -1
  4. package/dist/ContentfulSuite.js +0 -358
  5. package/dist/ContentfulSuite.js.map +0 -1
  6. package/dist/__tests__/ContentfulSuite.test.d.ts +0 -2
  7. package/dist/__tests__/ContentfulSuite.test.d.ts.map +0 -1
  8. package/dist/__tests__/ContentfulSuite.test.js +0 -347
  9. package/dist/__tests__/ContentfulSuite.test.js.map +0 -1
  10. package/dist/__tests__/errors.test.d.ts +0 -2
  11. package/dist/__tests__/errors.test.d.ts.map +0 -1
  12. package/dist/__tests__/errors.test.js +0 -34
  13. package/dist/__tests__/errors.test.js.map +0 -1
  14. package/dist/__tests__/storage.test.d.ts +0 -2
  15. package/dist/__tests__/storage.test.d.ts.map +0 -1
  16. package/dist/__tests__/storage.test.js +0 -343
  17. package/dist/__tests__/storage.test.js.map +0 -1
  18. package/dist/errors.d.ts +0 -12
  19. package/dist/errors.d.ts.map +0 -1
  20. package/dist/errors.js +0 -25
  21. package/dist/errors.js.map +0 -1
  22. package/dist/index.d.ts +0 -21
  23. package/dist/index.d.ts.map +0 -1
  24. package/dist/index.js +0 -48
  25. package/dist/index.js.map +0 -1
  26. package/dist/storage/InMemoryContentStorage.d.ts +0 -41
  27. package/dist/storage/InMemoryContentStorage.d.ts.map +0 -1
  28. package/dist/storage/InMemoryContentStorage.js +0 -86
  29. package/dist/storage/InMemoryContentStorage.js.map +0 -1
  30. package/dist/storage/InMemoryMigrationStorage.d.ts +0 -21
  31. package/dist/storage/InMemoryMigrationStorage.d.ts.map +0 -1
  32. package/dist/storage/InMemoryMigrationStorage.js +0 -59
  33. package/dist/storage/InMemoryMigrationStorage.js.map +0 -1
  34. package/dist/storage/InMemorySyncStateStorage.d.ts +0 -19
  35. package/dist/storage/InMemorySyncStateStorage.d.ts.map +0 -1
  36. package/dist/storage/InMemorySyncStateStorage.js +0 -39
  37. package/dist/storage/InMemorySyncStateStorage.js.map +0 -1
  38. package/dist/storage/index.d.ts +0 -4
  39. package/dist/storage/index.d.ts.map +0 -1
  40. package/dist/storage/index.js +0 -17
  41. package/dist/storage/index.js.map +0 -1
  42. package/dist/types.d.ts +0 -131
  43. package/dist/types.d.ts.map +0 -1
  44. package/dist/types.js +0 -10
  45. package/dist/types.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bernierllc/contentful-suite",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Complete Contentful integration suite with ML training pipeline, headless CMS proxy, and content syndication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,23 +22,23 @@
22
22
  "author": "Bernier LLC",
23
23
  "license": "SEE LICENSE IN LICENSE",
24
24
  "dependencies": {
25
- "@bernierllc/contentful-cache-service": "^1.4.1",
26
25
  "@bernierllc/config-manager": "^1.4.0",
27
- "@bernierllc/contentful-cda-client": "^1.5.1",
28
- "@bernierllc/contentful-cma-client": "^1.3.1",
29
- "@bernierllc/contentful-client-core": "^1.5.1",
30
- "@bernierllc/contentful-auth": "^1.3.1",
31
- "@bernierllc/contentful-export-adapter": "^1.5.1",
32
- "@bernierllc/contentful-gateway-service": "^1.6.1",
33
- "@bernierllc/contentful-migration-service": "^1.6.1",
26
+ "@bernierllc/contentful-cache-service": "^1.4.3",
27
+ "@bernierllc/contentful-auth": "^1.3.2",
28
+ "@bernierllc/contentful-cda-client": "^1.5.2",
29
+ "@bernierllc/contentful-cma-client": "^1.3.2",
30
+ "@bernierllc/contentful-client-core": "^1.5.2",
31
+ "@bernierllc/contentful-export-adapter": "^1.5.2",
32
+ "@bernierllc/contentful-gateway-service": "^1.6.3",
33
+ "@bernierllc/contentful-graphql-client": "^1.5.2",
34
34
  "@bernierllc/contentful-rich-text": "^1.3.0",
35
- "@bernierllc/contentful-sync-service": "^1.4.2",
35
+ "@bernierllc/contentful-sync-service": "^1.4.4",
36
+ "@bernierllc/contentful-webhook-handler": "^1.3.2",
36
37
  "@bernierllc/contentful-types": "^1.5.0",
37
- "@bernierllc/contentful-webhook-handler": "^1.3.1",
38
- "@bernierllc/contentful-graphql-client": "^1.5.1",
39
- "@bernierllc/contentful-webhook-service": "^1.4.2",
40
- "@bernierllc/logger": "^1.7.1",
41
- "@bernierllc/neverhub-adapter": "^0.4.1"
38
+ "@bernierllc/contentful-webhook-service": "^1.4.4",
39
+ "@bernierllc/logger": "^2.0.0",
40
+ "@bernierllc/neverhub-adapter": "^0.4.1",
41
+ "@bernierllc/contentful-migration-service": "^1.6.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/jest": "^29.5.0",
@@ -1,85 +0,0 @@
1
- import { ContentfulGatewayService } from '@bernierllc/contentful-gateway-service';
2
- import { ContentfulSyncService } from '@bernierllc/contentful-sync-service';
3
- import { ContentfulWebhookService } from '@bernierllc/contentful-webhook-service';
4
- import { ContentfulCacheService } from '@bernierllc/contentful-cache-service';
5
- import { ContentfulMigrationService } from '@bernierllc/contentful-migration-service';
6
- import type { ContentfulSuiteConfig, SuiteHealth } from './types';
7
- /**
8
- * ContentfulSuite - Complete Contentful integration orchestrator
9
- *
10
- * Provides unified interface for:
11
- * - ML training pipeline (full content export + sync)
12
- * - Headless CMS proxy (API gateway + caching)
13
- * - Content syndication (real-time webhooks)
14
- * - Multi-space/organization management
15
- */
16
- export declare class ContentfulSuite {
17
- private gateway?;
18
- private syncServices;
19
- private webhooks?;
20
- private cache?;
21
- private migrationServices;
22
- private config;
23
- private logger;
24
- private neverhub?;
25
- private syncIntervals;
26
- constructor(config: ContentfulSuiteConfig);
27
- /**
28
- * Initialize all suite services
29
- */
30
- initialize(): Promise<void>;
31
- /**
32
- * Start all services
33
- */
34
- start(): Promise<void>;
35
- /**
36
- * Stop all services gracefully
37
- */
38
- stop(): Promise<void>;
39
- /**
40
- * Get content for ML training
41
- * Queries local storage for all synced content
42
- */
43
- getMLTrainingData(spaceId: string, contentType?: string): Promise<unknown[]>;
44
- /**
45
- * Run migration on a specific space
46
- */
47
- runMigration(spaceId: string, migrationFunction: (_migration: unknown) => void, options: {
48
- dryRun?: boolean;
49
- id: string;
50
- name: string;
51
- }): Promise<void>;
52
- /**
53
- * Get health status of all services
54
- */
55
- getHealth(): SuiteHealth;
56
- /**
57
- * Get service status
58
- */
59
- private getServiceStatus;
60
- /**
61
- * Check if a space needs initial sync
62
- */
63
- private checkNeedsInitialSync;
64
- /**
65
- * Get gateway service (for advanced use)
66
- */
67
- getGateway(): ContentfulGatewayService | undefined;
68
- /**
69
- * Get sync service for a space (for advanced use)
70
- */
71
- getSyncService(spaceId: string): ContentfulSyncService | undefined;
72
- /**
73
- * Get webhook service (for advanced use)
74
- */
75
- getWebhookService(): ContentfulWebhookService | undefined;
76
- /**
77
- * Get cache service (for advanced use)
78
- */
79
- getCacheService(): ContentfulCacheService | undefined;
80
- /**
81
- * Get migration service for a space (for advanced use)
82
- */
83
- getMigrationService(spaceId: string): ContentfulMigrationService | undefined;
84
- }
85
- //# sourceMappingURL=ContentfulSuite.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentfulSuite.d.ts","sourceRoot":"","sources":["../src/ContentfulSuite.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAElF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAGtF,OAAO,KAAK,EACV,qBAAqB,EAErB,WAAW,EAEZ,MAAM,SAAS,CAAC;AAEjB;;;;;;;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sB,GAAG,SAAS;IAIrD;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS;CAG7E"}
@@ -1,358 +0,0 @@
1
- "use strict";
2
- /*
3
- Copyright (c) 2025 Bernier LLC
4
-
5
- This file is licensed to the client under a limited-use license.
6
- The client may use and modify this code *only within the scope of the project it was delivered for*.
7
- Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.ContentfulSuite = void 0;
11
- const contentful_gateway_service_1 = require("@bernierllc/contentful-gateway-service");
12
- const contentful_gateway_service_2 = require("@bernierllc/contentful-gateway-service");
13
- const contentful_sync_service_1 = require("@bernierllc/contentful-sync-service");
14
- const contentful_webhook_service_1 = require("@bernierllc/contentful-webhook-service");
15
- const contentful_cache_service_1 = require("@bernierllc/contentful-cache-service");
16
- const contentful_migration_service_1 = require("@bernierllc/contentful-migration-service");
17
- const logger_1 = require("@bernierllc/logger");
18
- const neverhub_adapter_1 = require("@bernierllc/neverhub-adapter");
19
- /**
20
- * ContentfulSuite - Complete Contentful integration orchestrator
21
- *
22
- * Provides unified interface for:
23
- * - ML training pipeline (full content export + sync)
24
- * - Headless CMS proxy (API gateway + caching)
25
- * - Content syndication (real-time webhooks)
26
- * - Multi-space/organization management
27
- */
28
- class ContentfulSuite {
29
- gateway;
30
- syncServices = new Map();
31
- webhooks;
32
- cache;
33
- migrationServices = new Map();
34
- config;
35
- logger;
36
- neverhub;
37
- syncIntervals = [];
38
- constructor(config) {
39
- this.config = config;
40
- this.logger = new logger_1.Logger({
41
- level: logger_1.LogLevel.INFO,
42
- transports: [],
43
- context: { service: 'ContentfulSuite' }
44
- });
45
- }
46
- /**
47
- * Initialize all suite services
48
- */
49
- async initialize() {
50
- this.logger.info('Initializing Contentful suite', {
51
- gateway: this.config.gateway.enabled,
52
- sync: this.config.sync.enabled,
53
- webhooks: this.config.webhooks.enabled,
54
- cache: this.config.cache.enabled,
55
- migration: this.config.migration.enabled
56
- });
57
- // Initialize NeverHub integration
58
- if (await neverhub_adapter_1.NeverHubAdapter.detect()) {
59
- this.neverhub = new neverhub_adapter_1.NeverHubAdapter();
60
- await this.neverhub.register({
61
- type: 'contentful-suite',
62
- name: '@bernierllc/contentful-suite',
63
- version: '1.0.0',
64
- dependencies: ['storage', 'cache', 'queue'],
65
- capabilities: [
66
- {
67
- type: 'cms',
68
- name: 'contentful-integration',
69
- version: '1.0.0',
70
- metadata: {
71
- apis: ['CMA', 'CDA', 'GraphQL'],
72
- features: ['sync', 'webhooks', 'caching', 'migrations']
73
- }
74
- }
75
- ],
76
- discoveryEnabled: true
77
- });
78
- this.logger.info('NeverHub integration initialized');
79
- }
80
- // Initialize gateway service
81
- if (this.config.gateway.enabled) {
82
- const tokenStorage = this.config.storage.tokenStorage || new contentful_gateway_service_2.InMemoryTokenStorage();
83
- this.gateway = new contentful_gateway_service_1.ContentfulGatewayService({
84
- port: this.config.gateway.port,
85
- apiKeys: this.config.gateway.apiKeys,
86
- oauthConfig: this.config.oauth
87
- }, tokenStorage);
88
- this.logger.info('Gateway service initialized', { port: this.config.gateway.port });
89
- }
90
- // Initialize sync services (one per space)
91
- if (this.config.sync.enabled) {
92
- if (!this.config.storage.contentStorage || !this.config.storage.syncStateStorage) {
93
- throw new Error('Content storage and sync state storage required for sync service');
94
- }
95
- for (const space of this.config.sync.spaces) {
96
- const syncService = new contentful_sync_service_1.ContentfulSyncService({
97
- spaceId: space.spaceId,
98
- environmentId: space.environmentId,
99
- accessToken: space.accessToken,
100
- contentStorage: this.config.storage.contentStorage,
101
- syncStateStorage: this.config.storage.syncStateStorage,
102
- webhookSecret: this.config.webhooks.secret,
103
- syncInterval: this.config.sync.interval
104
- });
105
- this.syncServices.set(space.spaceId, syncService);
106
- // Perform initial sync if needed
107
- const needsSync = await this.checkNeedsInitialSync(space);
108
- if (needsSync) {
109
- this.logger.info('Performing initial sync', { spaceId: space.spaceId });
110
- // Initial sync requires CMA token - user must call it manually with their CMA token
111
- this.logger.info('Initial sync required - call getSyncService(spaceId).initialSync(cmaToken)');
112
- }
113
- this.logger.info('Sync service initialized', { spaceId: space.spaceId });
114
- }
115
- }
116
- // Initialize webhook service
117
- if (this.config.webhooks.enabled) {
118
- this.webhooks = new contentful_webhook_service_1.ContentfulWebhookService({
119
- webhookSecret: this.config.webhooks.secret
120
- });
121
- // Connect webhooks to sync services
122
- if (this.syncServices.size > 0) {
123
- this.webhooks.on('webhook.received', async (data) => {
124
- // Route webhook to appropriate sync service based on space
125
- const syncServicesArray = Array.from(this.syncServices.values());
126
- for (const syncService of syncServicesArray) {
127
- try {
128
- await syncService.processWebhook(data.body, data.headers);
129
- }
130
- catch (error) {
131
- const err = error;
132
- this.logger.error('Error processing webhook in sync service', err);
133
- }
134
- }
135
- });
136
- }
137
- // Connect webhooks to cache service for invalidation
138
- if (this.cache) {
139
- this.webhooks.on('webhook.received', async (data) => {
140
- try {
141
- // Cache service handles webhook internally via sync service
142
- this.logger.debug('Webhook received for cache invalidation', { topic: data.topic });
143
- }
144
- catch (error) {
145
- const err = error;
146
- this.logger.error('Error processing webhook in cache service', err);
147
- }
148
- });
149
- }
150
- this.logger.info('Webhook service initialized', { port: this.config.webhooks.port });
151
- }
152
- // Initialize cache service
153
- if (this.config.cache.enabled && this.config.sync.spaces.length > 0) {
154
- const firstSpace = this.config.sync.spaces[0];
155
- this.cache = new contentful_cache_service_1.ContentfulCacheService({
156
- contentful: {
157
- space: firstSpace.spaceId,
158
- accessToken: firstSpace.accessToken,
159
- environment: firstSpace.environmentId
160
- },
161
- cache: {
162
- ttl: this.config.cache.ttl,
163
- maxSize: 1000
164
- }
165
- });
166
- this.logger.info('Cache service initialized', { ttl: this.config.cache.ttl });
167
- }
168
- // Initialize migration services (one per space)
169
- if (this.config.migration.enabled) {
170
- if (!this.config.storage.migrationStorage) {
171
- throw new Error('Migration storage required for migration service');
172
- }
173
- for (const space of this.config.sync.spaces) {
174
- const migrationService = new contentful_migration_service_1.ContentfulMigrationService({
175
- spaceId: space.spaceId,
176
- environmentId: space.environmentId,
177
- accessToken: space.accessToken,
178
- storage: this.config.storage.migrationStorage
179
- });
180
- this.migrationServices.set(space.spaceId, migrationService);
181
- this.logger.info('Migration service initialized', { spaceId: space.spaceId });
182
- }
183
- }
184
- this.logger.info('Contentful suite initialized successfully', this.getServiceStatus());
185
- }
186
- /**
187
- * Start all services
188
- */
189
- async start() {
190
- this.logger.info('Starting Contentful suite');
191
- // Start gateway
192
- if (this.gateway) {
193
- await this.gateway.start();
194
- this.logger.info('Gateway service started');
195
- }
196
- // Start webhook server
197
- if (this.webhooks) {
198
- await this.webhooks.start(this.config.webhooks.port);
199
- this.logger.info('Webhook service started', { port: this.config.webhooks.port });
200
- }
201
- // Start incremental sync polling for each space
202
- if (this.config.sync.enabled && this.config.sync.interval) {
203
- const syncServicesEntries = Array.from(this.syncServices.entries());
204
- for (const [spaceId, syncService] of syncServicesEntries) {
205
- const interval = setInterval(async () => {
206
- try {
207
- this.logger.debug('Running incremental sync', { spaceId });
208
- await syncService.incrementalSync();
209
- }
210
- catch (error) {
211
- const err = error;
212
- this.logger.error('Incremental sync error', err);
213
- }
214
- }, this.config.sync.interval);
215
- this.syncIntervals.push(interval);
216
- }
217
- this.logger.info('Sync polling started', {
218
- interval: this.config.sync.interval,
219
- spaces: this.config.sync.spaces.length
220
- });
221
- }
222
- // Publish started event to NeverHub
223
- if (this.neverhub) {
224
- await this.neverhub.publishEvent({
225
- type: 'contentful.suite.started',
226
- data: {
227
- timestamp: new Date().toISOString(),
228
- services: this.getServiceStatus()
229
- }
230
- });
231
- }
232
- this.logger.info('Contentful suite started successfully');
233
- }
234
- /**
235
- * Stop all services gracefully
236
- */
237
- async stop() {
238
- this.logger.info('Stopping Contentful suite');
239
- // Clear sync intervals
240
- for (const interval of this.syncIntervals) {
241
- clearInterval(interval);
242
- }
243
- this.syncIntervals = [];
244
- // Stop webhook service
245
- if (this.webhooks) {
246
- await this.webhooks.stop();
247
- this.logger.info('Webhook service stopped');
248
- }
249
- // Gateway doesn't have explicit stop in current implementation
250
- // Future: Add graceful shutdown for gateway
251
- // Publish stopped event to NeverHub
252
- if (this.neverhub) {
253
- await this.neverhub.publishEvent({
254
- type: 'contentful.suite.stopped',
255
- data: {
256
- timestamp: new Date().toISOString()
257
- }
258
- });
259
- }
260
- this.logger.info('Contentful suite stopped');
261
- }
262
- /**
263
- * Get content for ML training
264
- * Queries local storage for all synced content
265
- */
266
- async getMLTrainingData(spaceId, contentType) {
267
- if (!this.config.storage.contentStorage) {
268
- throw new Error('Content storage not configured');
269
- }
270
- const storage = this.config.storage.contentStorage;
271
- // In a real implementation, we'd query by space and content type
272
- // For now, assume InMemoryContentStorage with getAllEntries method
273
- if ('getAllEntries' in storage && typeof storage.getAllEntries === 'function') {
274
- const entries = storage.getAllEntries();
275
- if (contentType) {
276
- return entries.filter((e) => e.sys.contentType.sys.id === contentType);
277
- }
278
- return entries;
279
- }
280
- this.logger.warn('Content storage does not support getAllEntries method');
281
- return [];
282
- }
283
- /**
284
- * Run migration on a specific space
285
- */
286
- async runMigration(spaceId, migrationFunction, options) {
287
- const migrationService = this.migrationServices.get(spaceId);
288
- if (!migrationService) {
289
- throw new Error(`No migration service for space ${spaceId}`);
290
- }
291
- await migrationService.runMigration(migrationFunction, options);
292
- }
293
- /**
294
- * Get health status of all services
295
- */
296
- getHealth() {
297
- return {
298
- status: 'ok',
299
- timestamp: new Date().toISOString(),
300
- services: this.getServiceStatus()
301
- };
302
- }
303
- /**
304
- * Get service status
305
- */
306
- getServiceStatus() {
307
- return {
308
- gateway: !!this.gateway,
309
- sync: this.syncServices.size > 0,
310
- webhooks: !!this.webhooks,
311
- cache: !!this.cache,
312
- migration: this.migrationServices.size > 0,
313
- neverhub: !!this.neverhub
314
- };
315
- }
316
- /**
317
- * Check if a space needs initial sync
318
- */
319
- async checkNeedsInitialSync(space) {
320
- if (!this.config.storage.syncStateStorage) {
321
- return true;
322
- }
323
- const token = await this.config.storage.syncStateStorage.getSyncToken(space.spaceId);
324
- return token === null;
325
- }
326
- /**
327
- * Get gateway service (for advanced use)
328
- */
329
- getGateway() {
330
- return this.gateway;
331
- }
332
- /**
333
- * Get sync service for a space (for advanced use)
334
- */
335
- getSyncService(spaceId) {
336
- return this.syncServices.get(spaceId);
337
- }
338
- /**
339
- * Get webhook service (for advanced use)
340
- */
341
- getWebhookService() {
342
- return this.webhooks;
343
- }
344
- /**
345
- * Get cache service (for advanced use)
346
- */
347
- getCacheService() {
348
- return this.cache;
349
- }
350
- /**
351
- * Get migration service for a space (for advanced use)
352
- */
353
- getMigrationService(spaceId) {
354
- return this.migrationServices.get(spaceId);
355
- }
356
- }
357
- exports.ContentfulSuite = ContentfulSuite;
358
- //# sourceMappingURL=ContentfulSuite.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentfulSuite.js","sourceRoot":"","sources":["../src/ContentfulSuite.ts"],"names":[],"mappings":";AAAA;;;;;;EAME;;;AAEF,uFAAkF;AAClF,uFAA8E;AAC9E,iFAA4E;AAC5E,uFAAkF;AAClF,mFAA8E;AAC9E,2FAAsF;AACtF,+CAAsD;AACtD,mEAA+D;AAQ/D;;;;;;;;GAQG;AACH,MAAa,eAAe;IAClB,OAAO,CAA4B;IACnC,YAAY,GAAuC,IAAI,GAAG,EAAE,CAAC;IAC7D,QAAQ,CAA4B;IACpC,KAAK,CAA0B;IAC/B,iBAAiB,GAA4C,IAAI,GAAG,EAAE,CAAC;IACvE,MAAM,CAAwB;IAC9B,MAAM,CAAS;IACf,QAAQ,CAAmB;IAC3B,aAAa,GAAqC,EAAE,CAAC;IAE7D,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC;YACvB,KAAK,EAAE,iBAAQ,CAAC,IAAI;YACpB,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,iBAA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;IACtB,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,OAAe;QAC5B,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,mBAAmB,CAAC,OAAe;QACjC,OAAO,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF;AA9XD,0CA8XC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ContentfulSuite.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentfulSuite.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/ContentfulSuite.test.ts"],"names":[],"mappings":""}