@warp-drive-mirror/build-config 5.6.0-alpha.15 → 5.6.0-alpha.18
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/declarations/-private/utils/deprecations.d.ts +2 -7
- package/declarations/-private/utils/features.d.ts +2 -5
- package/declarations/-private/utils/get-env.d.ts +7 -8
- package/declarations/-private/utils/logging.d.ts +5 -8
- package/declarations/babel-macros.d.ts +9 -10
- package/declarations/canary-features.d.ts +131 -132
- package/declarations/debugging.d.ts +142 -143
- package/declarations/deprecation-versions.d.ts +17 -1
- package/declarations/deprecations.d.ts +488 -489
- package/declarations/env.d.ts +116 -117
- package/declarations/index.d.ts +94 -95
- package/declarations/macros.d.ts +14 -15
- package/dist/addon-shim.cjs +0 -1
- package/dist/babel-macros.js +0 -1
- package/dist/babel-plugin-transform-asserts.cjs +3 -5
- package/dist/babel-plugin-transform-deprecations.cjs +0 -1
- package/dist/babel-plugin-transform-features.cjs +0 -1
- package/dist/babel-plugin-transform-logging.cjs +0 -1
- package/dist/canary-features-CuKgaVtX.js +0 -1
- package/dist/canary-features.js +0 -1
- package/dist/cjs-set-config.cjs +0 -1
- package/dist/debugging-VdsvkNjX.js +0 -1
- package/dist/debugging.js +0 -1
- package/dist/deprecations-BNNGFAiG.js +0 -1
- package/dist/deprecations.js +0 -1
- package/dist/env.js +0 -1
- package/dist/index.js +0 -1
- package/dist/macros.js +0 -1
- package/package.json +3 -3
- package/declarations/-private/utils/deprecations.d.ts.map +0 -1
- package/declarations/-private/utils/features.d.ts.map +0 -1
- package/declarations/-private/utils/get-env.d.ts.map +0 -1
- package/declarations/-private/utils/logging.d.ts.map +0 -1
- package/declarations/babel-macros.d.ts.map +0 -1
- package/declarations/canary-features.d.ts.map +0 -1
- package/declarations/cjs-set-config.d.ts +0 -2
- package/declarations/cjs-set-config.d.ts.map +0 -1
- package/declarations/debugging.d.ts.map +0 -1
- package/declarations/deprecation-versions.d.ts.map +0 -1
- package/declarations/deprecations.d.ts.map +0 -1
- package/declarations/env.d.ts.map +0 -1
- package/declarations/index.d.ts.map +0 -1
- package/declarations/macros.d.ts.map +0 -1
- package/declarations/validate-exports.type-test.d.ts +0 -2
- package/declarations/validate-exports.type-test.d.ts.map +0 -1
- package/dist/addon-shim.cjs.map +0 -1
- package/dist/babel-macros.js.map +0 -1
- package/dist/babel-plugin-transform-asserts.cjs.map +0 -1
- package/dist/babel-plugin-transform-deprecations.cjs.map +0 -1
- package/dist/babel-plugin-transform-features.cjs.map +0 -1
- package/dist/babel-plugin-transform-logging.cjs.map +0 -1
- package/dist/canary-features-CuKgaVtX.js.map +0 -1
- package/dist/canary-features.js.map +0 -1
- package/dist/cjs-set-config.cjs.map +0 -1
- package/dist/debugging-VdsvkNjX.js.map +0 -1
- package/dist/debugging.js.map +0 -1
- package/dist/deprecations-BNNGFAiG.js.map +0 -1
- package/dist/deprecations.js.map +0 -1
- package/dist/env.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/macros.js.map +0 -1
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import * as CURRENT_DEPRECATIONS from
|
|
1
|
+
import * as CURRENT_DEPRECATIONS from "../../deprecation-versions.js";
|
|
2
2
|
type MajorMinor = `${number}.${number}`;
|
|
3
3
|
type DeprecationFlag = keyof typeof CURRENT_DEPRECATIONS;
|
|
4
|
-
export declare function getDeprecations(compatVersion: MajorMinor | null | undefined, deprecations?: {
|
|
5
|
-
[key in DeprecationFlag]?: boolean;
|
|
6
|
-
}): {
|
|
7
|
-
[key in DeprecationFlag]: boolean;
|
|
8
|
-
};
|
|
4
|
+
export declare function getDeprecations(compatVersion: MajorMinor | null | undefined, deprecations?: { [key in DeprecationFlag]? : boolean }): { [key in DeprecationFlag] : boolean };
|
|
9
5
|
export {};
|
|
10
|
-
//# sourceMappingURL=deprecations.d.ts.map
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import * as CURRENT_FEATURES from
|
|
1
|
+
import * as CURRENT_FEATURES from "../../canary-features.js";
|
|
2
2
|
type FEATURE = keyof typeof CURRENT_FEATURES;
|
|
3
|
-
export declare function getFeatures(isProd: boolean): {
|
|
4
|
-
[key in FEATURE]: boolean;
|
|
5
|
-
};
|
|
3
|
+
export declare function getFeatures(isProd: boolean): { [key in FEATURE] : boolean };
|
|
6
4
|
export {};
|
|
7
|
-
//# sourceMappingURL=features.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export declare function getEnv(forceMode?:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export declare function getEnv(forceMode?: "testing" | "production" | "development" | "debug"): {
|
|
2
|
+
TESTING: boolean;
|
|
3
|
+
PRODUCTION: boolean;
|
|
4
|
+
DEBUG: boolean;
|
|
5
|
+
IS_RECORDING: boolean;
|
|
6
|
+
IS_CI: boolean;
|
|
7
|
+
SHOULD_RECORD: boolean;
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=get-env.d.ts.map
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import * as LOGGING from
|
|
1
|
+
import * as LOGGING from "../../debugging.js";
|
|
2
2
|
type LOG_CONFIG_KEY = keyof typeof LOGGING;
|
|
3
|
-
export type LOG_CONFIG = {
|
|
4
|
-
[key in LOG_CONFIG_KEY]: boolean;
|
|
5
|
-
};
|
|
3
|
+
export type LOG_CONFIG = { [key in LOG_CONFIG_KEY] : boolean };
|
|
6
4
|
export declare function createLoggingConfig(env: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
DEBUG: boolean;
|
|
6
|
+
TESTING: boolean;
|
|
7
|
+
PRODUCTION: boolean;
|
|
10
8
|
}, debug: LOG_CONFIG): LOG_CONFIG;
|
|
11
9
|
export {};
|
|
12
|
-
//# sourceMappingURL=logging.d.ts.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
type BabelPlugin = [string, Record<string, unknown>, string];
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
* @returns an array of Babel plugins that can be used for code-stripping
|
|
4
|
+
* based on the configuration supplied to `setConfig` and the current ENV.
|
|
5
|
+
*
|
|
6
|
+
* - deprecation constants imported from `@warp-drive-mirror/build-config/deprecations`
|
|
7
|
+
* - feature flags imported from `@warp-drive-mirror/build-config/canary-features`
|
|
8
|
+
* - debug logging constants imported from `@warp-drive-mirror/build-config/debugging`
|
|
9
|
+
* - environment constants imported from `@warp-drive-mirror/build-config/env`
|
|
10
|
+
* - expressionts imported from `@warp-drive-mirror/build-config/macros`
|
|
11
|
+
*/
|
|
12
12
|
export declare function macros(): BabelPlugin[];
|
|
13
13
|
export {};
|
|
14
|
-
//# sourceMappingURL=babel-macros.d.ts.map
|
|
@@ -1,137 +1,136 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
2
|
+
*
|
|
3
|
+
* # Canary Features <Badge type="warning" text="requires canary" />
|
|
4
|
+
*
|
|
5
|
+
* ***Warp*Drive** allows users to test upcoming features that are implemented
|
|
6
|
+
* but not yet activated in canary builds.
|
|
7
|
+
*
|
|
8
|
+
* Typically these features represent work that carries higher risk of breaking
|
|
9
|
+
* changes, or are not yet fully ready for production use.
|
|
10
|
+
*
|
|
11
|
+
* Such features have their implementations guarded by a "feature flag", and the
|
|
12
|
+
* flag is only activated once the core-data team is prepared to ship the work
|
|
13
|
+
* in a canary release, beginning the process of it landing in a stable release.
|
|
14
|
+
*
|
|
15
|
+
* ### Installing Canary
|
|
16
|
+
*
|
|
17
|
+
* ::: warning To test a feature guarded behind a flag, you MUST be using a canary build.
|
|
18
|
+
* :::
|
|
19
|
+
*
|
|
20
|
+
* Canary builds are published to `npm` and can be installed using a precise tag
|
|
21
|
+
* (such as `@warp-drive-mirror/core@5.6.0-alpha.1`) or by installing the latest dist-tag
|
|
22
|
+
* published to the `canary` channel.
|
|
23
|
+
*
|
|
24
|
+
* Because ***Warp*Drive** packages operate on a strict lockstep policy with each other,
|
|
25
|
+
* you must install the matching canary version of all ***Warp*Drive** packages.
|
|
26
|
+
*
|
|
27
|
+
* Below is an example of installing the latest canary version of all the core
|
|
28
|
+
* packages that are part of the ***Warp*Drive** project when using EmberJS.
|
|
29
|
+
*
|
|
30
|
+
* Add/remove packages from this list to match your project.
|
|
31
|
+
*
|
|
32
|
+
* ::: code-group
|
|
33
|
+
*
|
|
34
|
+
* ```sh [pnpm]
|
|
35
|
+
* pnpm add -E @warp-drive-mirror/core@canary \
|
|
36
|
+
* @warp-drive-mirror/json-api@canary \
|
|
37
|
+
* @warp-drive-mirror/ember@canary;
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ```sh [npm]
|
|
41
|
+
* npm add -E @warp-drive-mirror/core@canary \
|
|
42
|
+
* @warp-drive-mirror/json-api@canary \
|
|
43
|
+
* @warp-drive-mirror/ember@canary;
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ```sh [yarn]
|
|
47
|
+
* yarn add -E @warp-drive-mirror/core@canary \
|
|
48
|
+
* @warp-drive-mirror/json-api@canary \
|
|
49
|
+
* @warp-drive-mirror/ember@canary;
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ```sh [bun]
|
|
53
|
+
* bun add --exact @warp-drive-mirror/core@canary \
|
|
54
|
+
* @warp-drive-mirror/json-api@canary \
|
|
55
|
+
* @warp-drive-mirror/ember@canary;
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* :::
|
|
59
|
+
*
|
|
60
|
+
* ### Activating a Feature
|
|
61
|
+
*
|
|
62
|
+
* Once you have installed canary, feature-flags can be activated at build-time
|
|
63
|
+
*
|
|
64
|
+
* ```ts
|
|
65
|
+
* setConfig(app, __dirname, {
|
|
66
|
+
* features: {
|
|
67
|
+
* FEATURE_A: false, // utilize existing behavior
|
|
68
|
+
* FEATURE_B: true // utilize the new behavior
|
|
69
|
+
* }
|
|
70
|
+
* })
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* by setting an environment variable:
|
|
74
|
+
*
|
|
75
|
+
* ```sh
|
|
76
|
+
* # Activate a single flag
|
|
77
|
+
* export WARP_DRIVE_FEATURE_OVERRIDE=SOME_FLAG;
|
|
78
|
+
*
|
|
79
|
+
* # Activate multiple flags by separating with commas
|
|
80
|
+
* export WARP_DRIVE_FEATURE_OVERRIDE=SOME_FLAG,OTHER_FLAG;
|
|
81
|
+
*
|
|
82
|
+
* # Activate all flags
|
|
83
|
+
* export WARP_DRIVE_FEATURE_OVERRIDE=ENABLE_ALL_OPTIONAL;
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* ::: warning To test a feature guarded behind a flag, you MUST be running a development build.
|
|
87
|
+
* :::
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* ### Preparing a Project to use a Canary Feature
|
|
91
|
+
*
|
|
92
|
+
* For most projects and features, simple version detection should be enough.
|
|
93
|
+
*
|
|
94
|
+
* Using the provided version compatibility helpers from [embroider-macros](https://github.com/embroider-build/embroider/tree/main/packages/macros#readme)
|
|
95
|
+
* the following can be done:
|
|
96
|
+
*
|
|
97
|
+
* ```js
|
|
98
|
+
* if (macroCondition(dependencySatisfies('@warp-drive-mirror/core', '5.6'))) {
|
|
99
|
+
* // do thing
|
|
100
|
+
* }
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* For more complex projects and migrations, configure [@warp-drive-mirror/build-config/babel-macros](./babel-macros)
|
|
104
|
+
*
|
|
105
|
+
* The current list of features used at build time for canary releases is defined below.
|
|
106
|
+
*
|
|
107
|
+
* ::: tip 💡 If empty there are no features currently gated by feature flags.
|
|
108
|
+
* :::
|
|
109
|
+
*
|
|
110
|
+
* The valid values are:
|
|
111
|
+
*
|
|
112
|
+
* - `true` | The feature is **enabled** at all times, and cannot be disabled.
|
|
113
|
+
* - `false` | The feature is **disabled** at all times, and cannot be enabled.
|
|
114
|
+
* - `null` | The feature is **disabled by default**, but can be enabled via configuration.
|
|
115
|
+
*
|
|
116
|
+
* @module
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
119
|
/**
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
* We use this for some tests etc.
|
|
121
|
+
*
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
124
|
export declare const SAMPLE_FEATURE_FLAG: boolean | null;
|
|
125
125
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
126
|
+
* This upcoming feature adds a validation step to payloads received
|
|
127
|
+
* by the JSONAPICache implementation.
|
|
128
|
+
*
|
|
129
|
+
* When a request completes and the result is given to the cache via
|
|
130
|
+
* `cache.put`, the cache will validate the payload against registered
|
|
131
|
+
* schemas as well as the JSON:API spec.
|
|
132
|
+
*
|
|
133
|
+
* @since 5.4
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
136
|
export declare const JSON_API_CACHE_VALIDATION_ERRORS: boolean | null;
|
|
137
|
-
//# sourceMappingURL=canary-features.d.ts.map
|
|
@@ -1,173 +1,172 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
2
|
+
* # Log Instrumentation <Badge type="tip" text="debug only" />
|
|
3
|
+
*
|
|
4
|
+
* Many portions of the internals are helpfully instrumented with logging.
|
|
5
|
+
* This instrumentation is always removed from production builds.
|
|
6
|
+
*
|
|
7
|
+
* Log instrumentation is "regionalized" to specific concepts and concerns
|
|
8
|
+
* to enable you to enable/disable just the areas you are interested in.
|
|
9
|
+
*
|
|
10
|
+
* To activate a particular group of logs set the appropriate flag to `true`
|
|
11
|
+
* either in your build config or via the runtime helper.
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* ## Runtime Activation
|
|
15
|
+
*
|
|
16
|
+
* ::: tip 💡 Just Works in browser Dev Tools!
|
|
17
|
+
* No import is needed, and the logging config is preserved when the page is refreshed
|
|
18
|
+
* :::
|
|
19
|
+
*
|
|
20
|
+
* ```ts
|
|
21
|
+
* setWarpDriveLogging({
|
|
22
|
+
* LOG_CACHE: true,
|
|
23
|
+
* LOG_REQUESTS: true,
|
|
24
|
+
* })
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* A runtime helper is attached to `globalThis` to enable activation of the logs
|
|
28
|
+
* from anywhere in your application including from the devtools panel.
|
|
29
|
+
*
|
|
30
|
+
* The runtime helper overrides any build config settings for the given flag
|
|
31
|
+
* for the current browser tab. It stores the configuration you give it in
|
|
32
|
+
* `sessionStorage` so that it persists across page reloads of the current tab,
|
|
33
|
+
* but not across browser tabs or windows.
|
|
34
|
+
*
|
|
35
|
+
* If you need to deactivate the logging, you can call the helper again with the
|
|
36
|
+
* same flag set to `false` or just open a new tab/window.
|
|
37
|
+
*
|
|
38
|
+
* ## Buildtime Activation
|
|
39
|
+
*
|
|
40
|
+
* ```ts
|
|
41
|
+
* setConfig(__dirname, app, {
|
|
42
|
+
* debug: {
|
|
43
|
+
* LOG_CACHE: true,
|
|
44
|
+
* LOG_REQUESTS: false,
|
|
45
|
+
* LOG_NOTIFICATIONS: true,
|
|
46
|
+
* }
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* The build config settings are used to set the default values for the
|
|
51
|
+
* logging flags. Any logging flag that is not set in the build config
|
|
52
|
+
* will default to `false`.
|
|
53
|
+
*
|
|
54
|
+
* @module
|
|
55
|
+
*/
|
|
56
56
|
/**
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
* log cache updates for both local
|
|
58
|
+
* and remote state. Note in some older versions
|
|
59
|
+
* this was called `LOG_PAYLOADS` and was one
|
|
60
|
+
* of three flags that controlled logging of
|
|
61
|
+
* cache updates. This is now the only flag.
|
|
62
|
+
*
|
|
63
|
+
* The others were `LOG_OPERATIONS` and `LOG_MUTATIONS`.
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
* @since 5.5
|
|
67
|
+
*/
|
|
68
68
|
export declare const LOG_CACHE: boolean;
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
* <Badge type="danger" text="removed" />
|
|
71
|
+
*
|
|
72
|
+
* This flag no longer has any effect.
|
|
73
|
+
*
|
|
74
|
+
* Use {@link LOG_CACHE} instead.
|
|
75
|
+
*
|
|
76
|
+
* @deprecated removed in version 5.5
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
79
|
export declare const LOG_PAYLOADS: boolean;
|
|
80
80
|
/**
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
* <Badge type="danger" text="removed" />
|
|
82
|
+
*
|
|
83
|
+
* This flag no longer has any effect.
|
|
84
|
+
*
|
|
85
|
+
* Use {@link LOG_CACHE} instead.
|
|
86
|
+
*
|
|
87
|
+
* @deprecated removed in version 5.5
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
90
|
export declare const LOG_OPERATIONS: boolean;
|
|
91
91
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
92
|
+
* <Badge type="danger" text="removed" />
|
|
93
|
+
*
|
|
94
|
+
* This flag no longer has any effect.
|
|
95
|
+
*
|
|
96
|
+
* Use {@link LOG_CACHE} instead.
|
|
97
|
+
*
|
|
98
|
+
* @deprecated removed in version 5.5
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
101
|
export declare const LOG_MUTATIONS: boolean;
|
|
102
102
|
/**
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
* Log decisions made by the Basic CachePolicy
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
107
|
export declare const LOG_CACHE_POLICY: boolean;
|
|
108
108
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
* log notifications received by the NotificationManager
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
113
|
export declare const LOG_NOTIFICATIONS: boolean;
|
|
114
114
|
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
* log requests issued by the RequestManager
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
119
|
export declare const LOG_REQUESTS: boolean;
|
|
120
120
|
/**
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
* log updates to requests the store has issued to
|
|
122
|
+
* the network (adapter) to fulfill.
|
|
123
|
+
*
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
126
|
export declare const LOG_REQUEST_STATUS: boolean;
|
|
127
127
|
/**
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
* log peek, generation and updates to
|
|
129
|
+
* Record Identifiers.
|
|
130
|
+
*
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
134
|
export declare const LOG_IDENTIFIERS: boolean;
|
|
135
135
|
/**
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
* log updates received by the graph (relationship pointer storage)
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
140
|
export declare const LOG_GRAPH: boolean;
|
|
141
141
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
* log creation/removal of RecordData and Record
|
|
143
|
+
* instances.
|
|
144
|
+
*
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
147
|
export declare const LOG_INSTANCE_CACHE: boolean;
|
|
148
148
|
/**
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
* Log key count metrics, useful for performance
|
|
150
|
+
* debugging.
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
154
|
export declare const LOG_METRIC_COUNTS: boolean;
|
|
155
155
|
/**
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
* Helps when debugging causes of a change notification
|
|
157
|
+
* when processing an update to a hasMany relationship.
|
|
158
|
+
*
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
161
|
export declare const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean;
|
|
162
162
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
163
|
+
* A private flag to enable logging of the native Map/Set
|
|
164
|
+
* constructor and method calls.
|
|
165
|
+
*
|
|
166
|
+
* EXTREMELY MALPERFORMANT
|
|
167
|
+
*
|
|
168
|
+
* LOG_METRIC_COUNTS must also be enabled.
|
|
169
|
+
*
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
172
|
export declare const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS: boolean;
|
|
173
|
-
//# sourceMappingURL=debugging.d.ts.map
|