@ember-data-types/active-record 5.6.0-alpha.5 → 5.6.0-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-data-types/active-record",
3
- "version": "5.6.0-alpha.5",
3
+ "version": "5.6.0-beta.1",
4
4
  "files": [
5
5
  "README.md",
6
6
  "LICENSE.md",
@@ -1,5 +1 @@
1
- /// <reference path="./request.d.ts" />
2
- /// <reference path="./-private/builders/-utils.d.ts" />
3
- /// <reference path="./-private/builders/find-record.d.ts" />
4
- /// <reference path="./-private/builders/save-record.d.ts" />
5
- /// <reference path="./-private/builders/query.d.ts" />
1
+ /// <reference path="./request.d.ts" />
@@ -1,73 +1,71 @@
1
1
  declare module '@ember-data/active-record/request' {
2
2
  /**
3
- *
4
- *
5
- *This package provides utilities for working with [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.html#convention-over-configuration-in-active-record) APIs.
6
- *
7
- * ## Installation
8
- *
9
- * Install using your javascript package manager of choice. For instance with [pnpm](https://pnpm.io/)
10
- *
11
- * ::: code-group
12
- *
13
- * ```sh [pnpm]
14
- * pnpm add -E @ember-data/active-record
15
- * ```
16
- *
17
- * ```sh [npm]
18
- * npm add -E @ember-data/active-record
19
- * ```
20
- *
21
- * ```sh [yarn]
22
- * yarn add -E @ember-data/active-record
23
- * ```
24
- *
25
- * ```sh [bun]
26
- * bun add --exact @ember-data/active-record
27
- * ```
28
- *
29
- * :::
30
- *
31
- * ## Usage
32
- *
33
- * Request builders are functions that produce [Fetch Options](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
34
- * They take a few contextual inputs about the request you want to make, abstracting away the gnarlier details.
35
- *
36
- * For instance, to construct a request that would fetch a resource from your API:
37
- *
38
- * ```ts
39
- * import { findRecord } from '@ember-data/active-record/request';
40
- *
41
- * const options = findRecord('ember-developer', '1', { include: ['pets', 'friends'] });
42
- * ```
43
- *
44
- * This would produce the following request object:
45
- *
46
- * ```js
47
- * {
48
- * url: 'https://api.example.com/v1/ember_developers/1?include=friends,pets',
49
- * method: 'GET',
50
- * headers: <Headers>, // 'Accept': 'application/json;charset=utf-8'
51
- * op: 'findRecord';
52
- * records: [{ type: 'ember-developer', id: '1' }]
53
- * }
54
- * ```
55
- *
56
- * Request builder output may be used with either `requestManager.request` or `store.request`.
57
- *
58
- * ```ts
59
- * const data = await store.request(options);
60
- * ```
61
- *
62
- * URLs are stable. The same query will produce the same URL every time, even if the order of keys in
63
- * the query or values in an array changes.
64
- *
65
- * URLs follow the most common ActiveRecord format (underscored pluralized resource types).
66
- *
67
- * @module
68
- */
69
- export { findRecord } from '@ember-data/active-record/-private/builders/find-record';
70
- export { query } from '@ember-data/active-record/-private/builders/query';
71
- export { deleteRecord, createRecord, updateRecord } from '@ember-data/active-record/-private/builders/save-record';
72
- }
73
- //# sourceMappingURL=request.d.ts.map
3
+ *
4
+ *
5
+ *This package provides utilities for working with [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.html#convention-over-configuration-in-active-record) APIs.
6
+ *
7
+ * ## Installation
8
+ *
9
+ * Install using your javascript package manager of choice. For instance with [pnpm](https://pnpm.io/)
10
+ *
11
+ * ::: code-group
12
+ *
13
+ * ```sh [pnpm]
14
+ * pnpm add -E @ember-data/active-record
15
+ * ```
16
+ *
17
+ * ```sh [npm]
18
+ * npm add -E @ember-data/active-record
19
+ * ```
20
+ *
21
+ * ```sh [yarn]
22
+ * yarn add -E @ember-data/active-record
23
+ * ```
24
+ *
25
+ * ```sh [bun]
26
+ * bun add --exact @ember-data/active-record
27
+ * ```
28
+ *
29
+ * :::
30
+ *
31
+ * ## Usage
32
+ *
33
+ * Request builders are functions that produce [Fetch Options](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
34
+ * They take a few contextual inputs about the request you want to make, abstracting away the gnarlier details.
35
+ *
36
+ * For instance, to construct a request that would fetch a resource from your API:
37
+ *
38
+ * ```ts
39
+ * import { findRecord } from '@ember-data/active-record/request';
40
+ *
41
+ * const options = findRecord('ember-developer', '1', { include: ['pets', 'friends'] });
42
+ * ```
43
+ *
44
+ * This would produce the following request object:
45
+ *
46
+ * ```js
47
+ * {
48
+ * url: 'https://api.example.com/v1/ember_developers/1?include=friends,pets',
49
+ * method: 'GET',
50
+ * headers: <Headers>, // 'Accept': 'application/json;charset=utf-8'
51
+ * op: 'findRecord';
52
+ * records: [{ type: 'ember-developer', id: '1' }]
53
+ * }
54
+ * ```
55
+ *
56
+ * Request builder output may be used with either `requestManager.request` or `store.request`.
57
+ *
58
+ * ```ts
59
+ * const data = await store.request(options);
60
+ * ```
61
+ *
62
+ * URLs are stable. The same query will produce the same URL every time, even if the order of keys in
63
+ * the query or values in an array changes.
64
+ *
65
+ * URLs follow the most common ActiveRecord format (underscored pluralized resource types).
66
+ *
67
+ * @module
68
+ */
69
+ export { findRecord, query, deleteRecord, createRecord, updateRecord } from "@warp-drive/utilities/active-record";
70
+
71
+ }
@@ -1,7 +0,0 @@
1
- declare module '@ember-data/active-record/-private/builders/-utils' {
2
- import type { UrlOptions } from '@ember-data/request-utils';
3
- import type { CacheOptions, ConstrainedRequestOptions } from '@warp-drive/core-types/request';
4
- export function copyForwardUrlOptions(urlOptions: UrlOptions, options: ConstrainedRequestOptions): void;
5
- export function extractCacheOptions(options: ConstrainedRequestOptions): CacheOptions;
6
- }
7
- //# sourceMappingURL=-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"-utils.d.ts","sourceRoot":"","sources":["../../../src/-private/builders/-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE9F,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,yBAAyB,GAAG,IAAI,CAUtG;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,yBAAyB,GAAG,YAAY,CASpF"}
@@ -1,68 +0,0 @@
1
- declare module '@ember-data/active-record/-private/builders/find-record' {
2
- import type { TypeFromInstance } from '@warp-drive/core-types/record';
3
- import type { FindRecordOptions, FindRecordRequestOptions, RemotelyAccessibleIdentifier } from '@warp-drive/core-types/request';
4
- import type { SingleResourceDataDocument } from '@warp-drive/core-types/spec/document';
5
- export type FindRecordResultDocument<T> = Omit<SingleResourceDataDocument<T>, 'data'> & {
6
- data: T;
7
- };
8
- /**
9
- * Builds request options to fetch a single resource by a known id or identifier
10
- * configured for the url and header expectations of most ActiveRecord APIs.
11
- *
12
- * **Basic Usage**
13
- *
14
- * ```ts
15
- * import { findRecord } from '@ember-data/active-record/request';
16
- *
17
- * const data = await store.request(findRecord('person', '1'));
18
- * ```
19
- *
20
- * **With Options**
21
- *
22
- * ```ts
23
- * import { findRecord } from '@ember-data/active-record/request';
24
- *
25
- * const options = findRecord('person', '1', { include: ['pets', 'friends'] });
26
- * const data = await store.request(options);
27
- * ```
28
- *
29
- * **With an Identifier**
30
- *
31
- * ```ts
32
- * import { findRecord } from '@ember-data/active-record/request';
33
- *
34
- * const options = findRecord({ type: 'person', id: '1' }, { include: ['pets', 'friends'] });
35
- * const data = await store.request(options);
36
- * ```
37
- *
38
- * **Supplying Options to Modify the Request Behavior**
39
- *
40
- * The following options are supported:
41
- *
42
- * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
43
- * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
44
- * - `resourcePath` - The resource path to use for the request, defaults to pluralizing and underscoring the supplied type
45
- * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
46
- * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
47
- * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
48
- * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
49
- * defaulting to `false` if none is configured.
50
- * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
51
- *
52
- * ```ts
53
- * import { findRecord } from '@ember-data/active-record/request';
54
- *
55
- * const options = findRecord('person', '1', { include: ['pets', 'friends'] }, { namespace: 'api/v2' });
56
- * const data = await store.request(options);
57
- * ```
58
- *
59
- * @public
60
- * @param identifier
61
- * @param options
62
- */
63
- export function findRecord<T>(identifier: RemotelyAccessibleIdentifier<TypeFromInstance<T>>, options?: FindRecordOptions<T>): FindRecordRequestOptions<FindRecordResultDocument<T>, T>;
64
- export function findRecord(identifier: RemotelyAccessibleIdentifier, options?: FindRecordOptions): FindRecordRequestOptions;
65
- export function findRecord<T>(type: TypeFromInstance<T>, id: string, options?: FindRecordOptions<T>): FindRecordRequestOptions<FindRecordResultDocument<T>, T>;
66
- export function findRecord(type: string, id: string, options?: FindRecordOptions): FindRecordRequestOptions;
67
- }
68
- //# sourceMappingURL=find-record.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-record.d.ts","sourceRoot":"","sources":["../../../src/-private/builders/find-record.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EACV,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIvF,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC;AAEpG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAC1B,UAAU,EAAE,4BAA4B,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAC7D,OAAO,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAC7B,wBAAwB,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5D,wBAAgB,UAAU,CACxB,UAAU,EAAE,4BAA4B,EACxC,OAAO,CAAC,EAAE,iBAAiB,GAC1B,wBAAwB,CAAC;AAC5B,wBAAgB,UAAU,CAAC,CAAC,EAC1B,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,EACzB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAC7B,wBAAwB,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5D,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,wBAAwB,CAAC"}
@@ -1,56 +0,0 @@
1
- declare module '@ember-data/active-record/-private/builders/query' {
2
- import type { QueryParamsSource } from '@warp-drive/core-types/params';
3
- import type { TypeFromInstance } from '@warp-drive/core-types/record';
4
- import type { ConstrainedRequestOptions, QueryRequestOptions } from '@warp-drive/core-types/request';
5
- import type { CollectionResourceDataDocument } from '@warp-drive/core-types/spec/document';
6
- /**
7
- * Builds request options to query for resources, usually by a primary
8
- * type, configured for the url and header expectations of most ActiveRecord APIs.
9
- *
10
- * **Basic Usage**
11
- *
12
- * ```ts
13
- * import { query } from '@ember-data/active-record/request';
14
- *
15
- * const data = await store.request(query('person'));
16
- * ```
17
- *
18
- * **With Query Params**
19
- *
20
- * ```ts
21
- * import { query } from '@ember-data/active-record/request';
22
- *
23
- * const options = query('person', { include: ['pets', 'friends'] });
24
- * const data = await store.request(options);
25
- * ```
26
- *
27
- * **Supplying Options to Modify the Request Behavior**
28
- *
29
- * The following options are supported:
30
- *
31
- * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
32
- * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
33
- * - `resourcePath` - The resource path to use for the request, defaults to pluralizing and underscoring the supplied type
34
- * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
35
- * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
36
- * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
37
- * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
38
- * defaulting to `false` if none is configured.
39
- * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
40
- *
41
- * ```ts
42
- * import { query } from '@ember-data/active-record/request';
43
- *
44
- * const options = query('person', { include: ['pets', 'friends'] }, { reload: true });
45
- * const data = await store.request(options);
46
- * ```
47
- *
48
- * @public
49
- * @param identifier
50
- * @param query
51
- * @param options
52
- */
53
- export function query<T>(type: TypeFromInstance<T>, query?: QueryParamsSource, options?: ConstrainedRequestOptions): QueryRequestOptions<CollectionResourceDataDocument<T>, T>;
54
- export function query(type: string, query?: QueryParamsSource, options?: ConstrainedRequestOptions): QueryRequestOptions;
55
- }
56
- //# sourceMappingURL=query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/-private/builders/query.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAI3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAgB,KAAK,CAAC,CAAC,EACrB,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,EACzB,KAAK,CAAC,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,yBAAyB,GAClC,mBAAmB,CAAC,8BAA8B,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC7D,wBAAgB,KAAK,CACnB,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,yBAAyB,GAClC,mBAAmB,CAAC"}
@@ -1,146 +0,0 @@
1
- declare module '@ember-data/active-record/-private/builders/save-record' {
2
- import type { TypedRecordInstance } from '@warp-drive/core-types/record';
3
- import type { ConstrainedRequestOptions, CreateRequestOptions, DeleteRequestOptions, UpdateRequestOptions } from '@warp-drive/core-types/request';
4
- import type { SingleResourceDataDocument } from '@warp-drive/core-types/spec/document';
5
- /**
6
- * Builds request options to delete record for resources,
7
- * configured for the url, method and header expectations of ActiveRecord APIs.
8
- *
9
- * **Basic Usage**
10
- *
11
- * ```ts
12
- * import { deleteRecord } from '@ember-data/active-record/request';
13
- *
14
- * const person = store.peekRecord('person', '1');
15
- *
16
- * // mark record as deleted
17
- * store.deleteRecord(person);
18
- *
19
- * // persist deletion
20
- * const data = await store.request(deleteRecord(person));
21
- * ```
22
- *
23
- * **Supplying Options to Modify the Request Behavior**
24
- *
25
- * The following options are supported:
26
- *
27
- * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
28
- * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
29
- * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type
30
- * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
31
- * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
32
- * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
33
- * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
34
- * defaulting to `false` if none is configured.
35
- * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
36
- *
37
- * ```ts
38
- * import { deleteRecord } from '@ember-data/active-record/request';
39
- *
40
- * const person = store.peekRecord('person', '1');
41
- *
42
- * // mark record as deleted
43
- * store.deleteRecord(person);
44
- *
45
- * // persist deletion
46
- * const options = deleteRecord(person, { namespace: 'api/v1' });
47
- * const data = await store.request(options);
48
- * ```
49
- *
50
- * @public
51
- * @param record
52
- * @param options
53
- */
54
- export function deleteRecord<T>(record: T, options?: ConstrainedRequestOptions): DeleteRequestOptions<T>;
55
- export function deleteRecord(record: unknown, options?: ConstrainedRequestOptions): DeleteRequestOptions;
56
- /**
57
- * Builds request options to create new record for resources,
58
- * configured for the url, method and header expectations of most ActiveRecord APIs.
59
- *
60
- * **Basic Usage**
61
- *
62
- * ```ts
63
- * import { createRecord } from '@ember-data/active-record/request';
64
- *
65
- * const person = store.createRecord('person', { name: 'Ted' });
66
- * const data = await store.request(createRecord(person));
67
- * ```
68
- *
69
- * **Supplying Options to Modify the Request Behavior**
70
- *
71
- * The following options are supported:
72
- *
73
- * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
74
- * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
75
- * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type
76
- * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
77
- * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
78
- * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
79
- * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
80
- * defaulting to `false` if none is configured.
81
- * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
82
- *
83
- * ```ts
84
- * import { createRecord } from '@ember-data/active-record/request';
85
- *
86
- * const person = store.createRecord('person', { name: 'Ted' });
87
- * const options = createRecord(person, { namespace: 'api/v1' });
88
- * const data = await store.request(options);
89
- * ```
90
- *
91
- * @public
92
- * @param record
93
- * @param options
94
- */
95
- export function createRecord<T>(record: T, options?: ConstrainedRequestOptions): CreateRequestOptions<T>;
96
- export function createRecord(record: unknown, options?: ConstrainedRequestOptions): CreateRequestOptions;
97
- /**
98
- * Builds request options to update existing record for resources,
99
- * configured for the url, method and header expectations of most ActiveRecord APIs.
100
- *
101
- * **Basic Usage**
102
- *
103
- * ```ts
104
- * import { updateRecord } from '@ember-data/active-record/request';
105
- *
106
- * const person = store.peekRecord('person', '1');
107
- * person.name = 'Chris';
108
- * const data = await store.request(updateRecord(person));
109
- * ```
110
- *
111
- * **Supplying Options to Modify the Request Behavior**
112
- *
113
- * The following options are supported:
114
- *
115
- * - `patch` - Allows caller to specify whether to use a PATCH request instead of a PUT request, defaults to `false`.
116
- * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.
117
- * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.
118
- * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type
119
- * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this
120
- * option will delegate to the store's CachePolicy, defaulting to `false` if none is configured.
121
- * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the
122
- * promise with the cached value, not supplying this option will delegate to the store's CachePolicy,
123
- * defaulting to `false` if none is configured.
124
- * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)
125
- *
126
- * ```ts
127
- * import { updateRecord } from '@ember-data/active-record/request';
128
- *
129
- * const person = store.peekRecord('person', '1');
130
- * person.name = 'Chris';
131
- * const options = updateRecord(person, { patch: true });
132
- * const data = await store.request(options);
133
- * ```
134
- *
135
- * @public
136
- * @param record
137
- * @param options
138
- */
139
- export function updateRecord<T extends TypedRecordInstance, RT extends TypedRecordInstance = T>(record: T, options?: ConstrainedRequestOptions & {
140
- patch?: boolean;
141
- }): UpdateRequestOptions<SingleResourceDataDocument<RT>, T>;
142
- export function updateRecord(record: unknown, options?: ConstrainedRequestOptions & {
143
- patch?: boolean;
144
- }): UpdateRequestOptions;
145
- }
146
- //# sourceMappingURL=save-record.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"save-record.d.ts","sourceRoot":"","sources":["../../../src/-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