@warp-drive-mirror/build-config 5.4.1-beta.1 → 5.4.1-beta.2

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.
@@ -5,9 +5,38 @@ declare module '@warp-drive-mirror/build-config/debugging' {
5
5
  /**
6
6
  * ## Debug Logging
7
7
  *
8
- * Many portions of the internals are helpfully instrumented with logging that can be activated
9
- * at build time. This instrumentation is always removed from production builds or any builds
10
- * that has not explicitly activated it. To activate it set the appropriate flag to `true`.
8
+ * Many portions of the internals are helpfully instrumented with logging.
9
+ * This instrumentation is always removed from production builds.
10
+ *
11
+ * Log instrumentation is "regionalized" to specific concepts and concerns
12
+ * to enable you to enable/disable just the areas you are interested in.
13
+ *
14
+ * To activate a particular group of logs set the appropriate flag to `true`
15
+ * either in your build config or via the runtime helper.
16
+ *
17
+ *
18
+ * ### Activation Via Runtime Helper
19
+ *
20
+ * A runtime helper is attached to `globalThis` to enable activation of the logs
21
+ * from anywhere in your application including from the devtools panel.
22
+ *
23
+ * The runtime helper overrides any build config settings for the given flag
24
+ * for the current browser tab. It stores the configuration you give it in
25
+ * `sessionStorage` so that it persists across page reloads of the current tab,
26
+ * but not across browser tabs or windows. Thus if you need to deactivate the
27
+ * logging, you can call the helper again with the same flag set to `false` or
28
+ * just open a new tab/window.
29
+ *
30
+ * Example Usage:
31
+ *
32
+ * ```ts
33
+ * setWarpDriveLogging({
34
+ * LOG_CACHE: true,
35
+ * LOG_REQUESTS: true,
36
+ * })
37
+ * ```
38
+ *
39
+ * ### Activation Via Build Config
11
40
  *
12
41
  * ```ts
13
42
  * setConfig(__dirname, app, {
@@ -30,23 +59,39 @@ declare module '@warp-drive-mirror/build-config/debugging' {
30
59
  */
31
60
  /**
32
61
  * log cache updates for both local
33
- * and remote state.
62
+ * and remote state. Note in some older versions
63
+ * this was called `LOG_PAYLOADS` and was one
64
+ * of three flags that controlled logging of
65
+ * cache updates. This is now the only flag.
66
+ *
67
+ * The others were `LOG_OPERATIONS` and `LOG_MUTATIONS`.
34
68
  *
35
- * @property {boolean} LOG_CACHE
69
+ * @property LOG_CACHE
70
+ * @type {Boolean}
36
71
  * @public
37
72
  */
38
73
  export const LOG_CACHE: boolean;
74
+ /**
75
+ * Log decisions made by the Basic CachePolicy
76
+ *
77
+ * @property LOG_CACHE_POLICY
78
+ * @type {Boolean}
79
+ * @public
80
+ */
81
+ export const LOG_CACHE_POLICY: boolean;
39
82
  /**
40
83
  * log notifications received by the NotificationManager
41
84
  *
42
- * @property {boolean} LOG_NOTIFICATIONS
85
+ * @property LOG_NOTIFICATIONS
86
+ * @type {Boolean}
43
87
  * @public
44
88
  */
45
89
  export const LOG_NOTIFICATIONS: boolean;
46
90
  /**
47
91
  * log requests issued by the RequestManager
48
92
  *
49
- * @property {boolean} LOG_REQUESTS
93
+ * @property LOG_REQUESTS
94
+ * @type {Boolean}
50
95
  * @public
51
96
  */
52
97
  export const LOG_REQUESTS: boolean;
@@ -54,7 +99,8 @@ declare module '@warp-drive-mirror/build-config/debugging' {
54
99
  * log updates to requests the store has issued to
55
100
  * the network (adapter) to fulfill.
56
101
  *
57
- * @property {boolean} LOG_REQUEST_STATUS
102
+ * @property LOG_REQUEST_STATUS
103
+ * @type {Boolean}
58
104
  * @public
59
105
  */
60
106
  export const LOG_REQUEST_STATUS: boolean;
@@ -62,14 +108,17 @@ declare module '@warp-drive-mirror/build-config/debugging' {
62
108
  * log peek, generation and updates to
63
109
  * Record Identifiers.
64
110
  *
65
- * @property {boolean} LOG_IDENTIFIERS
111
+ * @property LOG_IDENTIFIERS
112
+ * @type {Boolean}
113
+
66
114
  * @public
67
115
  */
68
116
  export const LOG_IDENTIFIERS: boolean;
69
117
  /**
70
118
  * log updates received by the graph (relationship pointer storage)
71
119
  *
72
- * @property {boolean} LOG_GRAPH
120
+ * @property LOG_GRAPH
121
+ * @type {Boolean}
73
122
  * @public
74
123
  */
75
124
  export const LOG_GRAPH: boolean;
@@ -77,7 +126,8 @@ declare module '@warp-drive-mirror/build-config/debugging' {
77
126
  * log creation/removal of RecordData and Record
78
127
  * instances.
79
128
  *
80
- * @property {boolean} LOG_INSTANCE_CACHE
129
+ * @property LOG_INSTANCE_CACHE
130
+ * @type {Boolean}
81
131
  * @public
82
132
  */
83
133
  export const LOG_INSTANCE_CACHE: boolean;
@@ -85,7 +135,8 @@ declare module '@warp-drive-mirror/build-config/debugging' {
85
135
  * Log key count metrics, useful for performance
86
136
  * debugging.
87
137
  *
88
- * @property {boolean} LOG_METRIC_COUNTS
138
+ * @property LOG_METRIC_COUNTS
139
+ * @type {Boolean}
89
140
  * @public
90
141
  */
91
142
  export const LOG_METRIC_COUNTS: boolean;
@@ -93,7 +144,8 @@ declare module '@warp-drive-mirror/build-config/debugging' {
93
144
  * Helps when debugging causes of a change notification
94
145
  * when processing an update to a hasMany relationship.
95
146
  *
96
- * @property {boolean} DEBUG_RELATIONSHIP_NOTIFICATIONS
147
+ * @property DEBUG_RELATIONSHIP_NOTIFICATIONS
148
+ * @type {Boolean}
97
149
  * @public
98
150
  */
99
151
  export const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../src/debugging.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AAExC;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,OAAe,CAAC;AAC3C;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,OAAe,CAAC;AAC9C;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AACxC;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAe,CAAC;AAE/D;;;;;;;;;GASG;AACH,eAAO,MAAM,oCAAoC,EAAE,OAAe,CAAC"}
1
+ {"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../src/debugging.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AACxC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAe,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,OAAe,CAAC;AAC3C;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,OAAe,CAAC;AAC9C;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AACxC;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAe,CAAC;AAE/D;;;;;;;;;GASG;AACH,eAAO,MAAM,oCAAoC,EAAE,OAAe,CAAC"}
@@ -74,6 +74,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
74
74
  * e.g. `app/models/foo/bar-bem.js` must have a type of `foo/bar-bem`
75
75
  *
76
76
  * @property DEPRECATE_NON_STRICT_TYPES
77
+ * @type {Boolean}
77
78
  * @since 5.3
78
79
  * @until 6.0
79
80
  * @public
@@ -97,6 +98,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
97
98
  * custom identifier configuration should provide a string ID.
98
99
  *
99
100
  * @property DEPRECATE_NON_STRICT_ID
101
+ * @type {Boolean}
100
102
  * @since 5.3
101
103
  * @until 6.0
102
104
  * @public
@@ -112,12 +114,20 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
112
114
  * Support for these chains is currently guarded by the deprecation flag
113
115
  * listed here, enabling removal of the behavior if desired.
114
116
  *
117
+ * The instrumentation was added in 5.0 but the version number
118
+ * is set to 7.0 as we do not want to strip support without
119
+ * adding a deprecation message.
120
+ *
121
+ * Once we've added the deprecation message, we will
122
+ * update this version number to the proper version.
123
+ *
115
124
  * @property DEPRECATE_COMPUTED_CHAINS
125
+ * @type {Boolean}
116
126
  * @since 5.0
117
- * @until 6.0
127
+ * @until 8.0
118
128
  * @public
119
129
  */
120
- export const DEPRECATE_COMPUTED_CHAINS = "5.0";
130
+ export const DEPRECATE_COMPUTED_CHAINS = "7.0";
121
131
  /**
122
132
  * **id: ember-data:deprecate-legacy-imports**
123
133
  *
@@ -131,6 +141,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
131
141
  * of defaults.
132
142
  *
133
143
  * @property DEPRECATE_LEGACY_IMPORTS
144
+ * @type {Boolean}
134
145
  * @since 5.3
135
146
  * @until 6.0
136
147
  * @public
@@ -173,6 +184,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
173
184
  * duplicate data from relationship payloads.
174
185
  *
175
186
  * @property DEPRECATE_NON_UNIQUE_PAYLOADS
187
+ * @type {Boolean}
176
188
  * @since 5.3
177
189
  * @until 6.0
178
190
  * @public
@@ -319,6 +331,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
319
331
  * a custom Cache with the relationship behaviors you need.
320
332
  *
321
333
  * @property DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE
334
+ * @type {Boolean}
322
335
  * @since 5.3
323
336
  * @until 6.0
324
337
  * @public
@@ -335,6 +348,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
335
348
  * When the flag is `false`, an error will be thrown when duplicates are added.
336
349
  *
337
350
  * @property DEPRECATE_MANY_ARRAY_DUPLICATES
351
+ * @type {Boolean}
338
352
  * @since 5.3
339
353
  * @until 6.0
340
354
  * @public
@@ -348,6 +362,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
348
362
  * from EmberObject.
349
363
  *
350
364
  * @property DEPRECATE_STORE_EXTENDS_EMBER_OBJECT
365
+ * @type {Boolean}
351
366
  * @since 5.4
352
367
  * @until 6.0
353
368
  * @public
@@ -371,6 +386,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
371
386
  * - `SchemaService.relationshipsDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method
372
387
  *
373
388
  * @property ENABLE_LEGACY_SCHEMA_SERVICE
389
+ * @type {Boolean}
374
390
  * @since 5.4
375
391
  * @until 6.0
376
392
  * @public
@@ -403,6 +419,7 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
403
419
  * ```
404
420
  *
405
421
  * @property DEPRECATE_EMBER_INFLECTOR
422
+ * @type {Boolean}
406
423
  * @since 5.3
407
424
  * @until 6.0
408
425
  * @public
@@ -419,10 +436,50 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
419
436
  * print and can be resolved.
420
437
  *
421
438
  * @property DISABLE_7X_DEPRECATIONS
439
+ * @type {Boolean}
422
440
  * @since 5.3
423
441
  * @until 7.0
424
442
  * @public
425
443
  */
426
444
  export const DISABLE_7X_DEPRECATIONS = "7.0";
445
+ /**
446
+ * **id: warp-drive:deprecate-tracking-package**
447
+ *
448
+ * Deprecates the use of the @ember-data-mirror/tracking package which
449
+ * historically provided bindings into Ember's reactivity system.
450
+ *
451
+ * This package is no longer needed as the configuration is now
452
+ * provided by the @warp-drive-mirror/ember package.
453
+ *
454
+ * This deprecation can be resolved by removing the
455
+ * @ember-data-mirror/tracking package from your project and ensuring
456
+ * that your app.js file has the following import:
457
+ *
458
+ * ```js
459
+ * import '@warp-drive-mirror/ember/install';
460
+ * ```
461
+ *
462
+ * Once this import is present, you can remove the deprecation
463
+ * by setting the deprecation to `false` in your build config:
464
+ *
465
+ * ```js
466
+ * // inside of ember-cli-build.js
467
+ *
468
+ * const { setConfig } = await import('@warp-drive-mirror/build-config');
469
+ *
470
+ * setConfig(app, __dirname, {
471
+ * deprecations: {
472
+ * DEPRECATE_TRACKING_PACKAGE: false
473
+ * }
474
+ * });
475
+ * ```
476
+ *
477
+ * @property DEPRECATE_TRACKING_PACKAGE
478
+ * @type {Boolean}
479
+ * @since 5.5
480
+ * @until 6.0
481
+ * @public
482
+ */
483
+ export const DEPRECATE_TRACKING_PACKAGE = "5.5";
427
484
  }
428
485
  //# sourceMappingURL=deprecation-versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation-versions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAmBH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiJG;AACH,eAAO,MAAM,yDAAyD,QAAQ,CAAC;AAE/E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,QAAQ,CAAC;AAErD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oCAAoC,QAAQ,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,4BAA4B,QAAQ,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,0BAA0B,QAAQ,CAAC"}
@@ -11,5 +11,6 @@ declare module '@warp-drive-mirror/build-config/deprecations' {
11
11
  export const ENABLE_LEGACY_SCHEMA_SERVICE: boolean;
12
12
  export const DEPRECATE_EMBER_INFLECTOR: boolean;
13
13
  export const DISABLE_7X_DEPRECATIONS: boolean;
14
+ export const DEPRECATE_TRACKING_PACKAGE: boolean;
14
15
  }
15
16
  //# sourceMappingURL=deprecations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../src/deprecations.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,EAAE,OAAc,CAAC;AACjD,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,0BAA0B,EAAE,OAAc,CAAC;AACxD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC;AACrD,eAAO,MAAM,wBAAwB,EAAE,OAAc,CAAC;AACtD,eAAO,MAAM,6BAA6B,EAAE,OAAc,CAAC;AAC3D,eAAO,MAAM,yDAAyD,EAAE,OAAc,CAAC;AACvF,eAAO,MAAM,+BAA+B,EAAE,OAAc,CAAC;AAC7D,eAAO,MAAM,oCAAoC,EAAE,OAAc,CAAC;AAClE,eAAO,MAAM,4BAA4B,EAAE,OAAc,CAAC;AAC1D,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC"}
1
+ {"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../src/deprecations.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,EAAE,OAAc,CAAC;AACjD,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,0BAA0B,EAAE,OAAc,CAAC;AACxD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC;AACrD,eAAO,MAAM,wBAAwB,EAAE,OAAc,CAAC;AACtD,eAAO,MAAM,6BAA6B,EAAE,OAAc,CAAC;AAC3D,eAAO,MAAM,yDAAyD,EAAE,OAAc,CAAC;AACvF,eAAO,MAAM,+BAA+B,EAAE,OAAc,CAAC;AAC7D,eAAO,MAAM,oCAAoC,EAAE,OAAc,CAAC;AAClE,eAAO,MAAM,4BAA4B,EAAE,OAAc,CAAC;AAC1D,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC;AACrD,eAAO,MAAM,0BAA0B,EAAE,OAAc,CAAC"}
@@ -1,16 +1,16 @@
1
1
  /// <reference path="./deprecations.d.ts" />
2
- /// <reference path="./debugging.d.ts" />
2
+ /// <reference path="./babel-macros.d.ts" />
3
+ /// <reference path="./canary-features.d.ts" />
4
+ /// <reference path="./env.d.ts" />
3
5
  /// <reference path="./cjs-set-config.d.ts" />
4
6
  /// <reference path="./deprecation-versions.d.ts" />
5
- /// <reference path="./babel-macros.d.ts" />
6
7
  /// <reference path="./validate-exports.type-test.d.ts" />
8
+ /// <reference path="./debugging.d.ts" />
7
9
  /// <reference path="./macros.d.ts" />
8
- /// <reference path="./canary-features.d.ts" />
9
- /// <reference path="./env.d.ts" />
10
10
  /// <reference path="./-private/utils/deprecations.d.ts" />
11
11
  /// <reference path="./-private/utils/get-env.d.ts" />
12
- /// <reference path="./-private/utils/logging.d.ts" />
13
12
  /// <reference path="./-private/utils/features.d.ts" />
13
+ /// <reference path="./-private/utils/logging.d.ts" />
14
14
  declare module '@warp-drive-mirror/build-config' {
15
15
  import { getDeprecations } from '@warp-drive-mirror/build-config/-private/utils/deprecations.ts';
16
16
  import { getFeatures } from '@warp-drive-mirror/build-config/-private/utils/features.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6DA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAM1C,KAAK,cAAc,GAAG,MAAM,OAAO,OAAO,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,UAAU,CAAC,EAAE,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC,CAAC;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;CACzD,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE;SAAG,GAAG,IAAI,cAAc,GAAG,OAAO;KAAE,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CA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ACzD,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE;SAAG,GAAG,IAAI,cAAc,GAAG,OAAO;KAAE,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,UAAU,EAAE,GAAG,MAAM,IAAI,MAAM,EAAE,GAAG,IAAI,CAAC;IACzC,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IACjD,QAAQ,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IACzC,aAAa,EAAE;SAAG,GAAG,IAAI,cAAc,GAAG,OAAO;KAAE,CAAC;IACpD,GAAG,EAAE;QACH,OAAO,EAAE,OAAO,CAAC;QACjB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,CAAC;KAChB,CAAC;CACH,CAAC;AAWF,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;AACzE,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"debugging-Dc--S1MJ.js","sources":["../src/debugging.ts"],"sourcesContent":["/**\n @module @warp-drive-mirror/build-config\n */\n/**\n * ## Debug Logging\n *\n * Many portions of the internals are helpfully instrumented with logging that can be activated\n * at build time. This instrumentation is always removed from production builds or any builds\n * that has not explicitly activated it. To activate it set the appropriate flag to `true`.\n *\n * ```ts\n * setConfig(__dirname, app, {\n * debug: {\n * LOG_CACHE: false, // data store received to update cache with\n * LOG_NOTIFICATIONS: false,\n * LOG_REQUESTS: false,\n * LOG_REQUEST_STATUS: false,\n * LOG_IDENTIFIERS: false,\n * LOG_GRAPH: false,\n * LOG_INSTANCE_CACHE: false,\n * LOG_METRIC_COUNTS: false,\n * DEBUG_RELATIONSHIP_NOTIFICATIONS: false,\n * }\n * });\n * ```\n *\n * @class DebugLogging\n * @public\n */\n/**\n * log cache updates for both local\n * and remote state.\n *\n * @property {boolean} LOG_CACHE\n * @public\n */\nexport const LOG_CACHE: boolean = false;\n\n/**\n * log notifications received by the NotificationManager\n *\n * @property {boolean} LOG_NOTIFICATIONS\n * @public\n */\nexport const LOG_NOTIFICATIONS: boolean = false;\n/**\n * log requests issued by the RequestManager\n *\n * @property {boolean} LOG_REQUESTS\n * @public\n */\nexport const LOG_REQUESTS: boolean = false;\n/**\n * log updates to requests the store has issued to\n * the network (adapter) to fulfill.\n *\n * @property {boolean} LOG_REQUEST_STATUS\n * @public\n */\nexport const LOG_REQUEST_STATUS: boolean = false;\n/**\n * log peek, generation and updates to\n * Record Identifiers.\n *\n * @property {boolean} LOG_IDENTIFIERS\n * @public\n */\nexport const LOG_IDENTIFIERS: boolean = false;\n/**\n * log updates received by the graph (relationship pointer storage)\n *\n * @property {boolean} LOG_GRAPH\n * @public\n */\nexport const LOG_GRAPH: boolean = false;\n/**\n * log creation/removal of RecordData and Record\n * instances.\n *\n * @property {boolean} LOG_INSTANCE_CACHE\n * @public\n */\nexport const LOG_INSTANCE_CACHE: boolean = false;\n/**\n * Log key count metrics, useful for performance\n * debugging.\n *\n * @property {boolean} LOG_METRIC_COUNTS\n * @public\n */\nexport const LOG_METRIC_COUNTS: boolean = false;\n/**\n * Helps when debugging causes of a change notification\n * when processing an update to a hasMany relationship.\n *\n * @property {boolean} DEBUG_RELATIONSHIP_NOTIFICATIONS\n * @public\n */\nexport const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean = false;\n\n/**\n * A private flag to enable logging of the native Map/Set\n * constructor and method calls.\n *\n * EXTREMELY MALPERFORMANT\n *\n * LOG_METRIC_COUNTS must also be enabled.\n *\n * @typedoc\n */\nexport const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS: boolean = false;\n"],"names":["LOG_CACHE","LOG_NOTIFICATIONS","LOG_REQUESTS","LOG_REQUEST_STATUS","LOG_IDENTIFIERS","LOG_GRAPH","LOG_INSTANCE_CACHE","LOG_METRIC_COUNTS","DEBUG_RELATIONSHIP_NOTIFICATIONS","__INTERNAL_LOG_NATIVE_MAP_SET_COUNTS"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,SAAkB,GAAG;;AAElC;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,iBAA0B,GAAG;AAC1C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,YAAqB,GAAG;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,kBAA2B,GAAG;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,eAAwB,GAAG;AACxC;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,SAAkB,GAAG;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,kBAA2B,GAAG;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,iBAA0B,GAAG;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,gCAAyC,GAAG;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,oCAA6C,GAAG;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"deprecations-ChFQtx-4.js","sources":["../src/deprecations.ts"],"sourcesContent":["// deprecations\nexport const DEPRECATE_CATCH_ALL: boolean = true;\nexport const DEPRECATE_COMPUTED_CHAINS: boolean = true;\nexport const DEPRECATE_NON_STRICT_TYPES: boolean = true;\nexport const DEPRECATE_NON_STRICT_ID: boolean = true;\nexport const DEPRECATE_LEGACY_IMPORTS: boolean = true;\nexport const DEPRECATE_NON_UNIQUE_PAYLOADS: boolean = true;\nexport const DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: boolean = true;\nexport const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean = true;\nexport const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: boolean = true;\nexport const ENABLE_LEGACY_SCHEMA_SERVICE: boolean = true;\nexport const DEPRECATE_EMBER_INFLECTOR: boolean = true;\nexport const DISABLE_7X_DEPRECATIONS: boolean = true;\n"],"names":["DEPRECATE_CATCH_ALL","DEPRECATE_COMPUTED_CHAINS","DEPRECATE_NON_STRICT_TYPES","DEPRECATE_NON_STRICT_ID","DEPRECATE_LEGACY_IMPORTS","DEPRECATE_NON_UNIQUE_PAYLOADS","DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE","DEPRECATE_MANY_ARRAY_DUPLICATES","DEPRECATE_STORE_EXTENDS_EMBER_OBJECT","ENABLE_LEGACY_SCHEMA_SERVICE","DEPRECATE_EMBER_INFLECTOR","DISABLE_7X_DEPRECATIONS"],"mappings":"AAAA;AACO,MAAMA,mBAA4B,GAAG;AACrC,MAAMC,yBAAkC,GAAG;AAC3C,MAAMC,0BAAmC,GAAG;AAC5C,MAAMC,uBAAgC,GAAG;AACzC,MAAMC,wBAAiC,GAAG;AAC1C,MAAMC,6BAAsC,GAAG;AAC/C,MAAMC,yDAAkE,GAAG;AAC3E,MAAMC,+BAAwC,GAAG;AACjD,MAAMC,oCAA6C,GAAG;AACtD,MAAMC,4BAAqC,GAAG;AAC9C,MAAMC,yBAAkC,GAAG;AAC3C,MAAMC,uBAAgC,GAAG;;;;;;;;;;;;;;;;;;;;"}