@warp-drive-mirror/schema-record 5.10.0-alpha.12 → 5.10.0-alpha.14
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/README.md +14 -9
- package/dist/index.d.ts +6 -0
- package/logos/README.md +1 -1
- package/package.json +5 -5
- package/unstable-preview-types/index.d.ts +6 -0
package/README.md
CHANGED
|
@@ -295,21 +295,26 @@ store.schema.registerResources([
|
|
|
295
295
|
]);
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
Additionally, `@warp-drive-mirror/core
|
|
298
|
+
Additionally, `@warp-drive-mirror/core/types/schema/fields` provides several utilities for type-checking and narrowing schemas.
|
|
299
299
|
|
|
300
|
-
- (type)
|
|
301
|
-
- (type)
|
|
302
|
-
- (type)
|
|
303
|
-
- [resourceSchema]()
|
|
304
|
-
- [objectSchema]()
|
|
305
|
-
- [isResourceSchema]()
|
|
306
|
-
- [isLegacyResourceSchema]()
|
|
300
|
+
- (type) `PolarisResourceSchema`
|
|
301
|
+
- (type) `LegacyResourceSchema`
|
|
302
|
+
- (type) `ObjectSchema`
|
|
303
|
+
- [resourceSchema](https://warp-drive.io/api/@warp-drive-mirror/core/types/schema/fields/functions/resourceSchema)
|
|
304
|
+
- [objectSchema](https://warp-drive.io/api/@warp-drive-mirror/core/types/schema/fields/functions/objectSchema)
|
|
305
|
+
- [isResourceSchema](https://warp-drive.io/api/@warp-drive-mirror/core/types/schema/fields/functions/isResourceSchema)
|
|
306
|
+
- [isLegacyResourceSchema](https://warp-drive.io/api/@warp-drive-mirror/core/types/schema/fields/functions/isLegacyResourceSchema)
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
### Field Schemas
|
|
310
310
|
|
|
311
|
-
For the full range of available schema capabilities, see [Field Schemas](
|
|
311
|
+
For the full range of available schema capabilities, see [Field Schemas](https://warp-drive.io/api/@warp-drive-mirror/core/types/schema/fields/)
|
|
312
312
|
|
|
313
|
+
## Documentation
|
|
314
|
+
|
|
315
|
+
*Get Started* → [Legacy Package Setup](https://warp-drive.io/guides/configuration/legacy-package-setup/)
|
|
316
|
+
|
|
317
|
+
API docs for this package → [@warp-drive-mirror/schema-record](https://warp-drive.io/api/@warp-drive-mirror/schema-record/)
|
|
313
318
|
|
|
314
319
|
### ♥️ Credits
|
|
315
320
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @summary Legacy entry re-exporting `SchemaService`, `withDefaults`, `registerDerivations`, `Checkout`, and the
|
|
3
|
+
* schema-driven record hooks from `@warp-drive-mirror/core/reactive`.
|
|
4
|
+
* @module
|
|
5
|
+
* @mergeModuleWith <project>
|
|
6
|
+
*/
|
|
1
7
|
import { Checkout, ReactiveResource as SchemaRecord, SchemaService, Transformation, fromIdentity, instantiateRecord, registerDerivations, teardownRecord, withDefaults } from "@warp-drive-mirror/core/reactive";
|
|
2
8
|
export { Checkout, type SchemaRecord, SchemaService, type Transformation, fromIdentity, instantiateRecord, registerDerivations, teardownRecord, withDefaults };
|
package/logos/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/schema-record",
|
|
3
|
-
"version": "5.10.0-alpha.
|
|
4
|
-
"description": "(Legacy)
|
|
3
|
+
"version": "5.10.0-alpha.14",
|
|
4
|
+
"description": "(Legacy) Re-export of the reactive-resource API such as `SchemaService`, `instantiateRecord` and `withDefaults`; new code should import these from `@warp-drive-mirror/core/reactive`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
7
7
|
],
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@embroider/macros": "^1.21.1",
|
|
41
|
-
"@warp-drive-mirror/core": "5.10.0-alpha.
|
|
41
|
+
"@warp-drive-mirror/core": "5.10.0-alpha.14"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@babel/core": "^7.29.7",
|
|
45
45
|
"@babel/plugin-transform-typescript": "^7.29.9",
|
|
46
46
|
"@babel/preset-env": "^7.29.7",
|
|
47
47
|
"@babel/preset-typescript": "^7.29.7",
|
|
48
|
-
"@warp-drive/internal-config": "5.10.0-alpha.
|
|
48
|
+
"@warp-drive/internal-config": "5.10.0-alpha.14",
|
|
49
49
|
"tsdown": "^0.23.0",
|
|
50
|
-
"typescript-7": "npm:typescript@7.1.0-dev.
|
|
50
|
+
"typescript-7": "npm:typescript@7.1.0-dev.20260929.1"
|
|
51
51
|
},
|
|
52
52
|
"ember": {
|
|
53
53
|
"edition": "octane"
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/// <reference path="./-private.d.ts" />
|
|
2
2
|
declare module '@warp-drive-mirror/schema-record' {
|
|
3
|
+
/**
|
|
4
|
+
* @summary Legacy entry re-exporting `SchemaService`, `withDefaults`, `registerDerivations`, `Checkout`, and the
|
|
5
|
+
* schema-driven record hooks from `@warp-drive-mirror/core/reactive`.
|
|
6
|
+
* @module
|
|
7
|
+
* @mergeModuleWith <project>
|
|
8
|
+
*/
|
|
3
9
|
import { Checkout, ReactiveResource as SchemaRecord, SchemaService, Transformation, fromIdentity, instantiateRecord, registerDerivations, teardownRecord, withDefaults } from "@warp-drive-mirror/core/reactive";
|
|
4
10
|
export { Checkout, type SchemaRecord, SchemaService, type Transformation, fromIdentity, instantiateRecord, registerDerivations, teardownRecord, withDefaults };
|
|
5
11
|
}
|