@warp-drive/core-types 0.0.0-alpha.19 → 0.0.0-alpha.20
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 +3 -3
- package/unstable-preview-types/cache/aliases.d.ts +2 -2
- package/unstable-preview-types/cache/change.d.ts +2 -2
- package/unstable-preview-types/cache/mutations.d.ts +2 -2
- package/unstable-preview-types/cache/operations.d.ts +2 -2
- package/unstable-preview-types/cache/relationship.d.ts +2 -2
- package/unstable-preview-types/cache.d.ts +2 -2
- package/unstable-preview-types/graph.d.ts +2 -2
- package/unstable-preview-types/identifier.d.ts +2 -2
- package/unstable-preview-types/index.d.ts +2 -2
- package/unstable-preview-types/json/raw.d.ts +2 -2
- package/unstable-preview-types/params.d.ts +2 -2
- package/unstable-preview-types/record.d.ts +2 -2
- package/unstable-preview-types/request.d.ts +2 -2
- package/unstable-preview-types/schema.d.ts +2 -2
- package/unstable-preview-types/spec/document.d.ts +2 -2
- package/unstable-preview-types/spec/error.d.ts +2 -2
- package/unstable-preview-types/spec/raw.d.ts +2 -2
- package/unstable-preview-types/symbols.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive/core-types",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.20",
|
|
4
4
|
"description": "Provides core logic, utils and types for WarpDrive and EmberData",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"NCC-1701-a-blue.svg"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ember-data/private-build-infra": "5.4.0-alpha.
|
|
25
|
+
"@ember-data/private-build-infra": "5.4.0-alpha.34",
|
|
26
26
|
"ember-cli-babel": "^8.2.0",
|
|
27
27
|
"pnpm-sync-dependencies-meta-injected": "0.0.10"
|
|
28
28
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@glimmer/component": "^1.1.2",
|
|
47
47
|
"@rollup/plugin-babel": "^6.0.4",
|
|
48
48
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
49
|
-
"@warp-drive/internal-config": "5.4.0-alpha.
|
|
49
|
+
"@warp-drive/internal-config": "5.4.0-alpha.34",
|
|
50
50
|
"ember-source": "~5.6.0",
|
|
51
51
|
"rollup": "^4.9.6",
|
|
52
52
|
"typescript": "^5.3.3",
|
|
@@ -37,5 +37,5 @@ declare module '@warp-drive/core-types/cache/mutations' {
|
|
|
37
37
|
value: StableRecordIdentifier[];
|
|
38
38
|
}
|
|
39
39
|
export type Mutation = ReplaceRelatedRecordsMutation | ReplaceRelatedRecordMutation | RemoveFromRelatedRecordsMutation | AddToRelatedRecordsMutation | SortRelatedRecordsMutation;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -12,5 +12,5 @@ declare module '@warp-drive/core-types/cache/relationship' {
|
|
|
12
12
|
links?: PaginationLinks;
|
|
13
13
|
}
|
|
14
14
|
export type Relationship = ResourceRelationship | CollectionRelationship;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=relationship.d.ts.map
|
|
@@ -66,5 +66,5 @@ declare module '@warp-drive/core-types/graph' {
|
|
|
66
66
|
}
|
|
67
67
|
export type RemoteRelationshipOperation = UpdateRelationshipOperation | ReplaceRelatedRecordOperation | ReplaceRelatedRecordsOperation | DeleteRecordOperation | SortRelatedRecords;
|
|
68
68
|
export type LocalRelationshipOperation = ReplaceRelatedRecordsOperation | ReplaceRelatedRecordOperation | RemoveFromRelatedRecordsOperation | AddToRelatedRecordsOperation | SortRelatedRecords;
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=graph.d.ts.map
|
|
@@ -107,5 +107,5 @@ declare module '@warp-drive/core-types/identifier' {
|
|
|
107
107
|
* @public
|
|
108
108
|
*/
|
|
109
109
|
export type StableRecordIdentifier<T extends string = string> = StableExistingRecordIdentifier<T> | StableNewRecordIdentifier<T>;
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=identifier.d.ts.map
|
|
@@ -5,5 +5,5 @@ declare module '@warp-drive/core-types/params' {
|
|
|
5
5
|
arrayFormat?: 'bracket' | 'indices' | 'repeat' | 'comma';
|
|
6
6
|
};
|
|
7
7
|
export type QueryParamsSource = Record<string, Serializable> | URLSearchParams;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=params.d.ts.map
|
|
@@ -44,5 +44,5 @@ declare module '@warp-drive/core-types/record' {
|
|
|
44
44
|
* @typedoc
|
|
45
45
|
*/
|
|
46
46
|
export type TypeFromInstanceOrString<T> = T extends TypedRecordInstance ? T[typeof ResourceType] : string;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=record.d.ts.map
|
|
@@ -29,5 +29,5 @@ declare module '@warp-drive/core-types/spec/document' {
|
|
|
29
29
|
errors: ApiError[];
|
|
30
30
|
}
|
|
31
31
|
export type ResourceDocument<T = StableExistingRecordIdentifier> = ResourceMetaDocument | SingleResourceDataDocument<T> | CollectionResourceDataDocument<T> | ResourceErrorDocument;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=document.d.ts.map
|
|
@@ -131,5 +131,5 @@ declare module '@warp-drive/core-types/spec/raw' {
|
|
|
131
131
|
*/
|
|
132
132
|
export type JsonApiDocument<T extends string = string> = EmptyResourceDocument | SingleResourceDocument<T> | CollectionResourceDocument<T>;
|
|
133
133
|
export {};
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
}
|
|
135
|
+
//# sourceMappingURL=raw.d.ts.map
|