@warp-drive/build-config 0.0.0-alpha.7
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/CHANGELOG.md +2 -0
- package/LICENSE.md +9 -0
- package/NCC-1701-a-blue.svg +4 -0
- package/NCC-1701-a.svg +4 -0
- package/README.md +101 -0
- package/dist/addon-shim.cjs +30 -0
- package/dist/addon-shim.cjs.map +1 -0
- package/dist/babel-macros.js +46 -0
- package/dist/babel-macros.js.map +1 -0
- package/dist/babel-plugin-transform-asserts.cjs +99 -0
- package/dist/babel-plugin-transform-asserts.cjs.map +1 -0
- package/dist/babel-plugin-transform-deprecations.cjs +59 -0
- package/dist/babel-plugin-transform-deprecations.cjs.map +1 -0
- package/dist/babel-plugin-transform-features.cjs +69 -0
- package/dist/babel-plugin-transform-features.cjs.map +1 -0
- package/dist/babel-plugin-transform-logging.cjs +60 -0
- package/dist/babel-plugin-transform-logging.cjs.map +1 -0
- package/dist/canary-features-BzGSGY5j.js +97 -0
- package/dist/canary-features-BzGSGY5j.js.map +1 -0
- package/dist/canary-features.js +2 -0
- package/dist/canary-features.js.map +1 -0
- package/dist/debugging-BzogyWJo.js +121 -0
- package/dist/debugging-BzogyWJo.js.map +1 -0
- package/dist/debugging.js +2 -0
- package/dist/debugging.js.map +1 -0
- package/dist/deprecations-BXAnWRDO.js +28 -0
- package/dist/deprecations-BXAnWRDO.js.map +1 -0
- package/dist/deprecations.js +2 -0
- package/dist/deprecations.js.map +1 -0
- package/dist/env.js +6 -0
- package/dist/env.js.map +1 -0
- package/dist/index.js +578 -0
- package/dist/index.js.map +1 -0
- package/dist/macros.js +8 -0
- package/dist/macros.js.map +1 -0
- package/package.json +66 -0
- package/unstable-preview-types/-private/utils/deprecations.d.ts +10 -0
- package/unstable-preview-types/-private/utils/deprecations.d.ts.map +1 -0
- package/unstable-preview-types/-private/utils/features.d.ts +9 -0
- package/unstable-preview-types/-private/utils/features.d.ts.map +1 -0
- package/unstable-preview-types/-private/utils/get-env.d.ts +8 -0
- package/unstable-preview-types/-private/utils/get-env.d.ts.map +1 -0
- package/unstable-preview-types/babel-macros.d.ts +24 -0
- package/unstable-preview-types/babel-macros.d.ts.map +1 -0
- package/unstable-preview-types/canary-features.d.ts +92 -0
- package/unstable-preview-types/canary-features.d.ts.map +1 -0
- package/unstable-preview-types/debugging.d.ts +108 -0
- package/unstable-preview-types/debugging.d.ts.map +1 -0
- package/unstable-preview-types/deprecation-versions.d.ts +400 -0
- package/unstable-preview-types/deprecation-versions.d.ts.map +1 -0
- package/unstable-preview-types/deprecations.d.ts +13 -0
- package/unstable-preview-types/deprecations.d.ts.map +1 -0
- package/unstable-preview-types/env.d.ts +6 -0
- package/unstable-preview-types/env.d.ts.map +1 -0
- package/unstable-preview-types/index.d.ts +43 -0
- package/unstable-preview-types/index.d.ts.map +1 -0
- package/unstable-preview-types/macros.d.ts +5 -0
- package/unstable-preview-types/macros.d.ts.map +1 -0
- package/unstable-preview-types/validate-exports.type-test.d.ts +4 -0
- package/unstable-preview-types/validate-exports.type-test.d.ts.map +1 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ## Canary Features
|
|
3
|
+
*
|
|
4
|
+
* EmberData allows users to test features that are implemented but not yet
|
|
5
|
+
* available even in canary.
|
|
6
|
+
*
|
|
7
|
+
* Typically these features represent work that might introduce a new concept,
|
|
8
|
+
* new API, change an API, or risk an unintended change in behavior to consuming
|
|
9
|
+
* applications.
|
|
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.
|
|
14
|
+
*
|
|
15
|
+
* ### Installing Canary
|
|
16
|
+
*
|
|
17
|
+
* To test a feature you MUST be using a canary build. Canary builds are published
|
|
18
|
+
* to `npm` and can be installed using a precise tag (such as `ember-data@3.16.0-alpha.1`)
|
|
19
|
+
* or by installing the latest dist-tag published to the `canary` channel using your javascript
|
|
20
|
+
* package manager of choice. For instance with [pnpm](https://pnpm.io/)
|
|
21
|
+
|
|
22
|
+
```cli
|
|
23
|
+
pnpm add ember-data@canary
|
|
24
|
+
```
|
|
25
|
+
*
|
|
26
|
+
* ### Activating a Canary Feature
|
|
27
|
+
*
|
|
28
|
+
* Once you have installed canary, feature-flags can be activated at build-time
|
|
29
|
+
*
|
|
30
|
+
* by setting an environment variable:
|
|
31
|
+
*
|
|
32
|
+
* ```cli
|
|
33
|
+
* # Activate a single flag
|
|
34
|
+
* EMBER_DATA_FEATURE_OVERRIDE=SOME_FLAG ember build
|
|
35
|
+
*
|
|
36
|
+
* # Activate multiple flags by separating with commas
|
|
37
|
+
* EMBER_DATA_FEATURE_OVERRIDE=SOME_FLAG,OTHER_FLAG ember build
|
|
38
|
+
*
|
|
39
|
+
* # Activate all flags
|
|
40
|
+
* EMBER_DATA_FEATURE_OVERRIDE=ENABLE_ALL_OPTIONAL ember build
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* or by setting the appropriate flag in your `ember-cli-build` file:
|
|
44
|
+
*
|
|
45
|
+
* ```ts
|
|
46
|
+
* let app = new EmberApp(defaults, {
|
|
47
|
+
* emberData: {
|
|
48
|
+
* features: {
|
|
49
|
+
* SAMPLE_FEATURE_FLAG: false // utliize existing behavior, strip code for the new feature
|
|
50
|
+
* OTHER_FEATURE_FLAG: true // utilize this new feature, strip code for the older behavior
|
|
51
|
+
* }
|
|
52
|
+
* }
|
|
53
|
+
* })
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* **The "off" branch of feature-flagged code is always stripped from production builds.**
|
|
57
|
+
*
|
|
58
|
+
* The list of available feature-flags is located [here](https://github.com/emberjs/data/tree/main/packages/build-config/src/virtual/canary-features.ts "List of EmberData FeatureFlags")
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* ### Preparing a Project to use a Canary Feature
|
|
62
|
+
*
|
|
63
|
+
* For most projects, simple version detection should be enough.
|
|
64
|
+
* Using the provided version compatibility helpers from [embroider-macros](https://github.com/embroider-build/embroider/tree/main/packages/macros#readme)
|
|
65
|
+
* the following can be done:
|
|
66
|
+
*
|
|
67
|
+
* ```js
|
|
68
|
+
* if (macroCondition(dependencySatisfies('@ember-data/store', '5.0'))) {
|
|
69
|
+
* // do thing
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
@module @warp-drive/build-config/canary-features
|
|
74
|
+
@main @warp-drive/build-config/canary-features
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
This is the current list of features used at build time for canary releases.
|
|
78
|
+
If empty there are no features currently gated by feature flags.
|
|
79
|
+
|
|
80
|
+
The valid values are:
|
|
81
|
+
|
|
82
|
+
- `true` | The feature is **enabled** at all times, and cannot be disabled.
|
|
83
|
+
- `false` | The feature is **disabled** at all times, and cannot be enabled.
|
|
84
|
+
- `null` | The feature is **disabled by default**, but can be enabled via configuration.
|
|
85
|
+
|
|
86
|
+
@class CanaryFeatureFlags
|
|
87
|
+
@public
|
|
88
|
+
*/
|
|
89
|
+
const SAMPLE_FEATURE_FLAG = null;
|
|
90
|
+
|
|
91
|
+
const CURRENT_FEATURES = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
92
|
+
__proto__: null,
|
|
93
|
+
SAMPLE_FEATURE_FLAG
|
|
94
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
95
|
+
|
|
96
|
+
export { CURRENT_FEATURES as C, SAMPLE_FEATURE_FLAG as S };
|
|
97
|
+
//# sourceMappingURL=canary-features-BzGSGY5j.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canary-features-BzGSGY5j.js","sources":["../src/canary-features.ts"],"sourcesContent":["/**\n * ## Canary Features\n *\n * EmberData allows users to test features that are implemented but not yet\n * available even in canary.\n *\n * Typically these features represent work that might introduce a new concept,\n * new API, change an API, or risk an unintended change in behavior to consuming\n * applications.\n *\n * Such features have their implementations guarded by a \"feature flag\", and the\n * flag is only activated once the core-data team is prepared to ship the work\n * in a canary release.\n *\n * ### Installing Canary\n *\n * To test a feature you MUST be using a canary build. Canary builds are published\n * to `npm` and can be installed using a precise tag (such as `ember-data@3.16.0-alpha.1`)\n * or by installing the latest dist-tag published to the `canary` channel using your javascript\n * package manager of choice. For instance with [pnpm](https://pnpm.io/)\n\n ```cli\n pnpm add ember-data@canary\n ```\n *\n * ### Activating a Canary Feature\n *\n * Once you have installed canary, feature-flags can be activated at build-time\n *\n * by setting an environment variable:\n *\n * ```cli\n * # Activate a single flag\n * EMBER_DATA_FEATURE_OVERRIDE=SOME_FLAG ember build\n *\n * # Activate multiple flags by separating with commas\n * EMBER_DATA_FEATURE_OVERRIDE=SOME_FLAG,OTHER_FLAG ember build\n *\n * # Activate all flags\n * EMBER_DATA_FEATURE_OVERRIDE=ENABLE_ALL_OPTIONAL ember build\n * ```\n *\n * or by setting the appropriate flag in your `ember-cli-build` file:\n *\n * ```ts\n * let app = new EmberApp(defaults, {\n * emberData: {\n * features: {\n * SAMPLE_FEATURE_FLAG: false // utliize existing behavior, strip code for the new feature\n * OTHER_FEATURE_FLAG: true // utilize this new feature, strip code for the older behavior\n * }\n * }\n * })\n * ```\n *\n * **The \"off\" branch of feature-flagged code is always stripped from production builds.**\n *\n * The list of available feature-flags is located [here](https://github.com/emberjs/data/tree/main/packages/build-config/src/virtual/canary-features.ts \"List of EmberData FeatureFlags\")\n *\n *\n * ### Preparing a Project to use a Canary Feature\n *\n * For most projects, simple version detection should be enough.\n * Using the provided version compatibility helpers from [embroider-macros](https://github.com/embroider-build/embroider/tree/main/packages/macros#readme)\n * the following can be done:\n *\n * ```js\n * if (macroCondition(dependencySatisfies('@ember-data/store', '5.0'))) {\n * // do thing\n * }\n * ```\n *\n @module @warp-drive/build-config/canary-features\n @main @warp-drive/build-config/canary-features\n */\n/**\n This is the current list of features used at build time for canary releases.\n If empty there are no features currently gated by feature flags.\n\n The valid values are:\n\n - `true` | The feature is **enabled** at all times, and cannot be disabled.\n - `false` | The feature is **disabled** at all times, and cannot be enabled.\n - `null` | The feature is **disabled by default**, but can be enabled via configuration.\n\n @class CanaryFeatureFlags\n @public\n*/\nexport const SAMPLE_FEATURE_FLAG: boolean | null = null;\n"],"names":["SAMPLE_FEATURE_FLAG"],"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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,mBAAmC,GAAG;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canary-features.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ## Debugging
|
|
3
|
+
*
|
|
4
|
+
* Many portions of the internals are helpfully instrumented with logging that can be activated
|
|
5
|
+
* at build time. This instrumentation is always removed from production builds or any builds
|
|
6
|
+
* that has not explicitly activated it. To activate it set the appropriate flag to `true`.
|
|
7
|
+
*
|
|
8
|
+
@module @warp-drive/build-config/debugging
|
|
9
|
+
@main @warp-drive/build-config/debugging
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Many portions of the internals are helpfully instrumented with logging that can be activated
|
|
14
|
+
at build time. This instrumentation is always removed from production builds or any builds
|
|
15
|
+
that has not explicitly activated it. To activate it set the appropriate flag to `true`.
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
let app = new EmberApp(defaults, {
|
|
19
|
+
emberData: {
|
|
20
|
+
debug: {
|
|
21
|
+
LOG_PAYLOADS: false, // data store received to update cache with
|
|
22
|
+
LOG_OPERATIONS: false, // updates to cache remote state
|
|
23
|
+
LOG_MUTATIONS: false, // updates to cache local state
|
|
24
|
+
LOG_NOTIFICATIONS: false,
|
|
25
|
+
LOG_REQUESTS: false,
|
|
26
|
+
LOG_REQUEST_STATUS: false,
|
|
27
|
+
LOG_IDENTIFIERS: false,
|
|
28
|
+
LOG_GRAPH: false,
|
|
29
|
+
LOG_INSTANCE_CACHE: false,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
@class DebugLogging
|
|
36
|
+
@public
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* log payloads received by the store
|
|
40
|
+
* via `push` or returned from a delete/update/create
|
|
41
|
+
* operation.
|
|
42
|
+
*
|
|
43
|
+
* @property {boolean} LOG_PAYLOADS
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
const LOG_PAYLOADS = false;
|
|
47
|
+
/**
|
|
48
|
+
* log remote-state updates to the cache
|
|
49
|
+
*
|
|
50
|
+
* @property {boolean} LOG_OPERATIONS
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
const LOG_OPERATIONS = false;
|
|
54
|
+
/**
|
|
55
|
+
* log local-state updates to the cache
|
|
56
|
+
*
|
|
57
|
+
* @property {boolean} LOG_MUTATIONS
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
const LOG_MUTATIONS = false;
|
|
61
|
+
/**
|
|
62
|
+
* log notifications received by the NotificationManager
|
|
63
|
+
*
|
|
64
|
+
* @property {boolean} LOG_NOTIFICATIONS
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
const LOG_NOTIFICATIONS = false;
|
|
68
|
+
/**
|
|
69
|
+
* log requests issued by the RequestManager
|
|
70
|
+
*
|
|
71
|
+
* @property {boolean} LOG_REQUESTS
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
const LOG_REQUESTS = false;
|
|
75
|
+
/**
|
|
76
|
+
* log updates to requests the store has issued to
|
|
77
|
+
* the network (adapter) to fulfill.
|
|
78
|
+
*
|
|
79
|
+
* @property {boolean} LOG_REQUEST_STATUS
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
const LOG_REQUEST_STATUS = false;
|
|
83
|
+
/**
|
|
84
|
+
* log peek, generation and updates to
|
|
85
|
+
* Record Identifiers.
|
|
86
|
+
*
|
|
87
|
+
* @property {boolean} LOG_IDENTIFIERS
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
const LOG_IDENTIFIERS = false;
|
|
91
|
+
/**
|
|
92
|
+
* log updates received by the graph (relationship pointer storage)
|
|
93
|
+
*
|
|
94
|
+
* @property {boolean} LOG_GRAPH
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
const LOG_GRAPH = false;
|
|
98
|
+
/**
|
|
99
|
+
* log creation/removal of RecordData and Record
|
|
100
|
+
* instances.
|
|
101
|
+
*
|
|
102
|
+
* @property {boolean} LOG_INSTANCE_CACHE
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
const LOG_INSTANCE_CACHE = false;
|
|
106
|
+
|
|
107
|
+
const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
108
|
+
__proto__: null,
|
|
109
|
+
LOG_GRAPH,
|
|
110
|
+
LOG_IDENTIFIERS,
|
|
111
|
+
LOG_INSTANCE_CACHE,
|
|
112
|
+
LOG_MUTATIONS,
|
|
113
|
+
LOG_NOTIFICATIONS,
|
|
114
|
+
LOG_OPERATIONS,
|
|
115
|
+
LOG_PAYLOADS,
|
|
116
|
+
LOG_REQUESTS,
|
|
117
|
+
LOG_REQUEST_STATUS
|
|
118
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
119
|
+
|
|
120
|
+
export { LOGGING as L, LOG_PAYLOADS as a, LOG_OPERATIONS as b, LOG_MUTATIONS as c, LOG_NOTIFICATIONS as d, LOG_REQUESTS as e, LOG_REQUEST_STATUS as f, LOG_IDENTIFIERS as g, LOG_GRAPH as h, LOG_INSTANCE_CACHE as i };
|
|
121
|
+
//# sourceMappingURL=debugging-BzogyWJo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debugging-BzogyWJo.js","sources":["../src/debugging.ts"],"sourcesContent":["/**\n * ## Debugging\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 @module @warp-drive/build-config/debugging\n @main @warp-drive/build-config/debugging\n */\n/**\n *\n * Many portions of the internals are helpfully instrumented with logging that can be activated\nat build time. This instrumentation is always removed from production builds or any builds\nthat has not explicitly activated it. To activate it set the appropriate flag to `true`.\n\n```ts\n let app = new EmberApp(defaults, {\n emberData: {\n debug: {\n LOG_PAYLOADS: false, // data store received to update cache with\n LOG_OPERATIONS: false, // updates to cache remote state\n LOG_MUTATIONS: false, // updates to cache local state\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 }\n }\n });\n ```\n\n @class DebugLogging\n @public\n */\n/**\n * log payloads received by the store\n * via `push` or returned from a delete/update/create\n * operation.\n *\n * @property {boolean} LOG_PAYLOADS\n * @public\n */\nexport const LOG_PAYLOADS: boolean = false;\n/**\n * log remote-state updates to the cache\n *\n * @property {boolean} LOG_OPERATIONS\n * @public\n */\nexport const LOG_OPERATIONS: boolean = false;\n/**\n * log local-state updates to the cache\n *\n * @property {boolean} LOG_MUTATIONS\n * @public\n */\nexport const LOG_MUTATIONS: boolean = false;\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"],"names":["LOG_PAYLOADS","LOG_OPERATIONS","LOG_MUTATIONS","LOG_NOTIFICATIONS","LOG_REQUESTS","LOG_REQUEST_STATUS","LOG_IDENTIFIERS","LOG_GRAPH","LOG_INSTANCE_CACHE"],"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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,YAAqB,GAAG,MAAK;AAC1C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,cAAuB,GAAG,MAAK;AAC5C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,aAAsB,GAAG,MAAK;AAC3C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,iBAA0B,GAAG,MAAK;AAC/C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,YAAqB,GAAG,MAAK;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,kBAA2B,GAAG,MAAK;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,eAAwB,GAAG,MAAK;AAC7C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,SAAkB,GAAG,MAAK;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,kBAA2B,GAAG;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debugging.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// deprecations
|
|
2
|
+
const DEPRECATE_CATCH_ALL = true;
|
|
3
|
+
const DEPRECATE_COMPUTED_CHAINS = true;
|
|
4
|
+
const DEPRECATE_NON_STRICT_TYPES = true;
|
|
5
|
+
const DEPRECATE_NON_STRICT_ID = true;
|
|
6
|
+
const DEPRECATE_LEGACY_IMPORTS = true;
|
|
7
|
+
const DEPRECATE_NON_UNIQUE_PAYLOADS = true;
|
|
8
|
+
const DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE = true;
|
|
9
|
+
const DEPRECATE_MANY_ARRAY_DUPLICATES = true;
|
|
10
|
+
const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT = true;
|
|
11
|
+
const ENABLE_LEGACY_SCHEMA_SERVICE = true;
|
|
12
|
+
|
|
13
|
+
const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
14
|
+
__proto__: null,
|
|
15
|
+
DEPRECATE_CATCH_ALL,
|
|
16
|
+
DEPRECATE_COMPUTED_CHAINS,
|
|
17
|
+
DEPRECATE_LEGACY_IMPORTS,
|
|
18
|
+
DEPRECATE_MANY_ARRAY_DUPLICATES,
|
|
19
|
+
DEPRECATE_NON_STRICT_ID,
|
|
20
|
+
DEPRECATE_NON_STRICT_TYPES,
|
|
21
|
+
DEPRECATE_NON_UNIQUE_PAYLOADS,
|
|
22
|
+
DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE,
|
|
23
|
+
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT,
|
|
24
|
+
ENABLE_LEGACY_SCHEMA_SERVICE
|
|
25
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
26
|
+
|
|
27
|
+
export { CURRENT_DEPRECATIONS as C, DEPRECATE_CATCH_ALL as D, ENABLE_LEGACY_SCHEMA_SERVICE as E, DEPRECATE_COMPUTED_CHAINS as a, DEPRECATE_NON_STRICT_TYPES as b, DEPRECATE_NON_STRICT_ID as c, DEPRECATE_LEGACY_IMPORTS as d, DEPRECATE_NON_UNIQUE_PAYLOADS as e, DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE as f, DEPRECATE_MANY_ARRAY_DUPLICATES as g, DEPRECATE_STORE_EXTENDS_EMBER_OBJECT as h };
|
|
28
|
+
//# sourceMappingURL=deprecations-BXAnWRDO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecations-BXAnWRDO.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;\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"],"mappings":"AAAA;AACO,MAAMA,mBAA4B,GAAG,KAAI;AACzC,MAAMC,yBAAkC,GAAG,KAAI;AAC/C,MAAMC,0BAAmC,GAAG,KAAI;AAChD,MAAMC,uBAAgC,GAAG,KAAI;AAC7C,MAAMC,wBAAiC,GAAG,KAAI;AAC9C,MAAMC,6BAAsC,GAAG,KAAI;AACnD,MAAMC,yDAAkE,GAAG,KAAI;AAC/E,MAAMC,+BAAwC,GAAG,KAAI;AACrD,MAAMC,oCAA6C,GAAG,KAAI;AAC1D,MAAMC,4BAAqC,GAAG;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, E as ENABLE_LEGACY_SCHEMA_SERVICE } from './deprecations-BXAnWRDO.js';
|
|
2
|
+
//# sourceMappingURL=deprecations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecations.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/env.js
ADDED
package/dist/env.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.js","sources":["../src/env.ts"],"sourcesContent":["export const DEBUG: boolean = true;\nexport const PRODUCTION: boolean = true;\nexport const TESTING: boolean = true;\n"],"names":["DEBUG","PRODUCTION","TESTING"],"mappings":"AAAO,MAAMA,KAAc,GAAG,KAAI;AAC3B,MAAMC,UAAmB,GAAG,KAAI;AAChC,MAAMC,OAAgB,GAAG;;;;"}
|