@warp-drive/build-config 5.5.0-alpha.23 → 5.5.0-alpha.25

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/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/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/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/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/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/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/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/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/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
@@ -120,6 +122,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
120
122
  * update this version number to the proper version.
121
123
  *
122
124
  * @property DEPRECATE_COMPUTED_CHAINS
125
+ * @type {Boolean}
123
126
  * @since 5.0
124
127
  * @until 8.0
125
128
  * @public
@@ -138,6 +141,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
138
141
  * of defaults.
139
142
  *
140
143
  * @property DEPRECATE_LEGACY_IMPORTS
144
+ * @type {Boolean}
141
145
  * @since 5.3
142
146
  * @until 6.0
143
147
  * @public
@@ -180,6 +184,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
180
184
  * duplicate data from relationship payloads.
181
185
  *
182
186
  * @property DEPRECATE_NON_UNIQUE_PAYLOADS
187
+ * @type {Boolean}
183
188
  * @since 5.3
184
189
  * @until 6.0
185
190
  * @public
@@ -326,6 +331,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
326
331
  * a custom Cache with the relationship behaviors you need.
327
332
  *
328
333
  * @property DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE
334
+ * @type {Boolean}
329
335
  * @since 5.3
330
336
  * @until 6.0
331
337
  * @public
@@ -342,6 +348,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
342
348
  * When the flag is `false`, an error will be thrown when duplicates are added.
343
349
  *
344
350
  * @property DEPRECATE_MANY_ARRAY_DUPLICATES
351
+ * @type {Boolean}
345
352
  * @since 5.3
346
353
  * @until 6.0
347
354
  * @public
@@ -355,6 +362,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
355
362
  * from EmberObject.
356
363
  *
357
364
  * @property DEPRECATE_STORE_EXTENDS_EMBER_OBJECT
365
+ * @type {Boolean}
358
366
  * @since 5.4
359
367
  * @until 6.0
360
368
  * @public
@@ -378,6 +386,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
378
386
  * - `SchemaService.relationshipsDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method
379
387
  *
380
388
  * @property ENABLE_LEGACY_SCHEMA_SERVICE
389
+ * @type {Boolean}
381
390
  * @since 5.4
382
391
  * @until 6.0
383
392
  * @public
@@ -410,6 +419,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
410
419
  * ```
411
420
  *
412
421
  * @property DEPRECATE_EMBER_INFLECTOR
422
+ * @type {Boolean}
413
423
  * @since 5.3
414
424
  * @until 6.0
415
425
  * @public
@@ -426,6 +436,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
426
436
  * print and can be resolved.
427
437
  *
428
438
  * @property DISABLE_7X_DEPRECATIONS
439
+ * @type {Boolean}
429
440
  * @since 5.3
430
441
  * @until 7.0
431
442
  * @public
@@ -464,6 +475,7 @@ declare module '@warp-drive/build-config/deprecation-versions' {
464
475
  * ```
465
476
  *
466
477
  * @property DEPRECATE_TRACKING_PACKAGE
478
+ * @type {Boolean}
467
479
  * @since 5.5
468
480
  * @until 6.0
469
481
  * @public
@@ -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;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;;;GA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,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -1,16 +1,16 @@
1
- /// <reference path="./cjs-set-config.d.ts" />
1
+ /// <reference path="./deprecations.d.ts" />
2
2
  /// <reference path="./babel-macros.d.ts" />
3
- /// <reference path="./env.d.ts" />
4
3
  /// <reference path="./canary-features.d.ts" />
4
+ /// <reference path="./env.d.ts" />
5
+ /// <reference path="./cjs-set-config.d.ts" />
6
+ /// <reference path="./deprecation-versions.d.ts" />
5
7
  /// <reference path="./validate-exports.type-test.d.ts" />
6
8
  /// <reference path="./debugging.d.ts" />
7
- /// <reference path="./deprecations.d.ts" />
8
- /// <reference path="./deprecation-versions.d.ts" />
9
9
  /// <reference path="./macros.d.ts" />
10
- /// <reference path="./-private/utils/logging.d.ts" />
11
- /// <reference path="./-private/utils/features.d.ts" />
12
- /// <reference path="./-private/utils/get-env.d.ts" />
13
10
  /// <reference path="./-private/utils/deprecations.d.ts" />
11
+ /// <reference path="./-private/utils/get-env.d.ts" />
12
+ /// <reference path="./-private/utils/features.d.ts" />
13
+ /// <reference path="./-private/utils/logging.d.ts" />
14
14
  declare module '@warp-drive/build-config' {
15
15
  import { getDeprecations } from '@warp-drive/build-config/-private/utils/deprecations.ts';
16
16
  import { getFeatures } from '@warp-drive/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,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uB,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,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/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;;;;;;;;;;;;;;;;;;"}