@warp-drive-mirror/schema-record 5.6.0-beta.0 → 5.6.0-beta.2
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 +2 -2
- package/addon-main.cjs +1 -1
- package/dist/-private.js +1 -1
- package/dist/index.js +1 -1777
- package/package.json +5 -27
- package/unstable-preview-types/-private.d.ts +3 -3
- package/unstable-preview-types/index.d.ts +340 -352
- package/dist/-private.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/symbols-B_60yPO2.js +0 -44
- package/dist/symbols-B_60yPO2.js.map +0 -1
- package/unstable-preview-types/-private/fields/compute.d.ts +0 -43
- package/unstable-preview-types/-private/fields/compute.d.ts.map +0 -1
- package/unstable-preview-types/-private/fields/managed-array.d.ts +0 -25
- package/unstable-preview-types/-private/fields/managed-array.d.ts.map +0 -1
- package/unstable-preview-types/-private/fields/managed-object.d.ts +0 -23
- package/unstable-preview-types/-private/fields/managed-object.d.ts.map +0 -1
- package/unstable-preview-types/-private/fields/many-array-manager.d.ts +0 -22
- package/unstable-preview-types/-private/fields/many-array-manager.d.ts.map +0 -1
- package/unstable-preview-types/-private/hooks.d.ts +0 -8
- package/unstable-preview-types/-private/hooks.d.ts.map +0 -1
- package/unstable-preview-types/-private/record.d.ts +0 -25
- package/unstable-preview-types/-private/record.d.ts.map +0 -1
- package/unstable-preview-types/-private/schema.d.ts +0 -148
- package/unstable-preview-types/-private/schema.d.ts.map +0 -1
- package/unstable-preview-types/-private/symbols.d.ts +0 -13
- package/unstable-preview-types/-private/symbols.d.ts.map +0 -1
- package/unstable-preview-types/-private.d.ts.map +0 -1
- package/unstable-preview-types/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ with the following schemas:
|
|
|
123
123
|
store.schema.registerResources([
|
|
124
124
|
{
|
|
125
125
|
type: 'user',
|
|
126
|
-
identity: {
|
|
126
|
+
identity: { kind: '@id', name: 'id' },
|
|
127
127
|
fields: [
|
|
128
128
|
{
|
|
129
129
|
type: '@identity',
|
|
@@ -222,7 +222,7 @@ and relationships onto the record for easier use.
|
|
|
222
222
|
Notice also how we typed this object with `readonly`. This is because while
|
|
223
223
|
SchemaRecord instances are ***deeply reactive***, they are also ***immutable***.
|
|
224
224
|
|
|
225
|
-
We can mutate a SchemaRecord only
|
|
225
|
+
We can mutate a SchemaRecord only by explicitly asking permission to do so, and
|
|
226
226
|
in the process gaining access to an editable copy. The immutable version will
|
|
227
227
|
not show any in-process edits made to this editable copy.
|
|
228
228
|
|
package/addon-main.cjs
CHANGED
package/dist/-private.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Editable, Legacy } from '@warp-drive-mirror/core/reactive/-private';
|