@_linked/core 1.2.0 → 1.3.0
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 +18 -0
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/interfaces/IQuadStore.d.ts +1 -1
- package/lib/cjs/queries/IRDesugar.d.ts +1 -1
- package/lib/cjs/queries/IRDesugar.js +1 -1
- package/lib/cjs/queries/IRDesugar.js.map +1 -1
- package/lib/cjs/queries/IRLower.js +1 -5
- package/lib/cjs/queries/IRLower.js.map +1 -1
- package/lib/cjs/queries/SelectQuery.js +2 -2
- package/lib/cjs/queries/SelectQuery.js.map +1 -1
- package/lib/cjs/queries/queryDispatch.d.ts +20 -0
- package/lib/cjs/queries/queryDispatch.js +15 -0
- package/lib/cjs/queries/queryDispatch.js.map +1 -0
- package/lib/cjs/shapes/Shape.js +11 -5
- package/lib/cjs/shapes/Shape.js.map +1 -1
- package/lib/cjs/test-helpers/query-capture-store.d.ts +8 -2
- package/lib/cjs/test-helpers/query-capture-store.js +80 -34
- package/lib/cjs/test-helpers/query-capture-store.js.map +1 -1
- package/lib/cjs/test-helpers/query-fixtures.d.ts +148 -72
- package/lib/cjs/test-helpers/query-fixtures.js +6 -0
- package/lib/cjs/test-helpers/query-fixtures.js.map +1 -1
- package/lib/cjs/utils/LinkedStorage.d.ts +3 -4
- package/lib/cjs/utils/LinkedStorage.js +12 -6
- package/lib/cjs/utils/LinkedStorage.js.map +1 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/IQuadStore.d.ts +1 -1
- package/lib/esm/queries/IRDesugar.d.ts +1 -1
- package/lib/esm/queries/IRDesugar.js +1 -1
- package/lib/esm/queries/IRDesugar.js.map +1 -1
- package/lib/esm/queries/IRLower.js +1 -5
- package/lib/esm/queries/IRLower.js.map +1 -1
- package/lib/esm/queries/SelectQuery.js +2 -2
- package/lib/esm/queries/SelectQuery.js.map +1 -1
- package/lib/esm/queries/queryDispatch.d.ts +20 -0
- package/lib/esm/queries/queryDispatch.js +11 -0
- package/lib/esm/queries/queryDispatch.js.map +1 -0
- package/lib/esm/shapes/Shape.js +11 -5
- package/lib/esm/shapes/Shape.js.map +1 -1
- package/lib/esm/test-helpers/query-capture-store.d.ts +8 -2
- package/lib/esm/test-helpers/query-capture-store.js +45 -33
- package/lib/esm/test-helpers/query-capture-store.js.map +1 -1
- package/lib/esm/test-helpers/query-fixtures.d.ts +148 -72
- package/lib/esm/test-helpers/query-fixtures.js +6 -0
- package/lib/esm/test-helpers/query-fixtures.js.map +1 -1
- package/lib/esm/utils/LinkedStorage.d.ts +3 -4
- package/lib/esm/utils/LinkedStorage.js +12 -6
- package/lib/esm/utils/LinkedStorage.js.map +1 -1
- package/package.json +1 -1
- package/lib/cjs/queries/QueryParser.d.ts +0 -17
- package/lib/cjs/queries/QueryParser.js +0 -55
- package/lib/cjs/queries/QueryParser.js.map +0 -1
- package/lib/esm/queries/QueryParser.d.ts +0 -17
- package/lib/esm/queries/QueryParser.js +0 -51
- package/lib/esm/queries/QueryParser.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shape.js","sourceRoot":"","sources":["../../../src/shapes/Shape.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,QAAQ,MAAM,WAAW,CAAC;AAGjC,OAAO,EAOL,UAAU,EAEV,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"Shape.js","sourceRoot":"","sources":["../../../src/shapes/Shape.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,QAAQ,MAAM,WAAW,CAAC;AAGjC,OAAO,EAOL,UAAU,EAEV,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,k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AC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3D,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACpB,CAAC;QACH,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;;AA3RM,iBAAW,GAAuB,IAAI,CAAC;AAEvC,mBAAa,GAAmC,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Execute a query-producing callback and return
|
|
3
|
-
* the
|
|
2
|
+
* Execute a query-producing callback and return the built IR
|
|
3
|
+
* (the same object that would reach IQuadStore).
|
|
4
4
|
*/
|
|
5
5
|
export declare const captureQuery: (runner: () => Promise<unknown>) => Promise<any>;
|
|
6
|
+
/**
|
|
7
|
+
* Execute a query-producing callback and return the raw pipeline
|
|
8
|
+
* input (RawSelectInput) — the state before the IR build pipeline runs.
|
|
9
|
+
* Only works for select queries.
|
|
10
|
+
*/
|
|
11
|
+
export declare const captureRawQuery: (runner: () => Promise<unknown>) => Promise<any>;
|
|
@@ -8,48 +8,60 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { jest } from '@jest/globals';
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import { CreateQueryFactory } from '../queries/CreateQuery';
|
|
14
|
-
import { DeleteQueryFactory } from '../queries/DeleteQuery';
|
|
11
|
+
import { setQueryDispatch } from '../queries/queryDispatch';
|
|
12
|
+
import * as IRPipeline from '../queries/IRPipeline';
|
|
15
13
|
/**
|
|
16
|
-
* Test utility that intercepts
|
|
17
|
-
* the query
|
|
14
|
+
* Test utility that intercepts the query dispatch and captures
|
|
15
|
+
* the built IR query for inspection by test assertions.
|
|
18
16
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* call (e.g. Person.select(...)) and retrieve the captured query.
|
|
17
|
+
* - `captureQuery` captures the built IR (post-pipeline) — use for
|
|
18
|
+
* full-pipeline and mutation tests.
|
|
19
|
+
* - `captureRawQuery` captures the raw pipeline input (pre-pipeline)
|
|
20
|
+
* — use for tests that feed intermediate pipeline stages.
|
|
24
21
|
*/
|
|
25
22
|
let _lastQuery;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
})
|
|
23
|
+
let _lastRawInput;
|
|
24
|
+
// Spy on buildSelectQuery to capture pre-pipeline raw input
|
|
25
|
+
const originalBuildSelectQuery = IRPipeline.buildSelectQuery;
|
|
26
|
+
jest.spyOn(IRPipeline, 'buildSelectQuery').mockImplementation((raw) => {
|
|
27
|
+
_lastRawInput = raw;
|
|
28
|
+
return originalBuildSelectQuery(raw);
|
|
29
|
+
});
|
|
30
|
+
setQueryDispatch({
|
|
31
|
+
selectQuery: (query) => __awaiter(void 0, void 0, void 0, function* () {
|
|
32
|
+
_lastQuery = query;
|
|
33
|
+
return [];
|
|
34
|
+
}),
|
|
35
|
+
createQuery: (query) => __awaiter(void 0, void 0, void 0, function* () {
|
|
36
|
+
_lastQuery = query;
|
|
37
|
+
return {};
|
|
38
|
+
}),
|
|
39
|
+
updateQuery: (query) => __awaiter(void 0, void 0, void 0, function* () {
|
|
40
|
+
_lastQuery = query;
|
|
41
|
+
return {};
|
|
42
|
+
}),
|
|
43
|
+
deleteQuery: (query) => __awaiter(void 0, void 0, void 0, function* () {
|
|
44
|
+
_lastQuery = query;
|
|
45
|
+
return { deleted: [], count: 0 };
|
|
46
|
+
}),
|
|
47
|
+
});
|
|
46
48
|
/**
|
|
47
|
-
* Execute a query-producing callback and return
|
|
48
|
-
* the
|
|
49
|
+
* Execute a query-producing callback and return the built IR
|
|
50
|
+
* (the same object that would reach IQuadStore).
|
|
49
51
|
*/
|
|
50
52
|
export const captureQuery = (runner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
51
53
|
_lastQuery = undefined;
|
|
52
54
|
yield runner();
|
|
53
55
|
return _lastQuery;
|
|
54
56
|
});
|
|
57
|
+
/**
|
|
58
|
+
* Execute a query-producing callback and return the raw pipeline
|
|
59
|
+
* input (RawSelectInput) — the state before the IR build pipeline runs.
|
|
60
|
+
* Only works for select queries.
|
|
61
|
+
*/
|
|
62
|
+
export const captureRawQuery = (runner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
63
|
+
_lastRawInput = undefined;
|
|
64
|
+
yield runner();
|
|
65
|
+
return _lastRawInput;
|
|
66
|
+
});
|
|
55
67
|
//# sourceMappingURL=query-capture-store.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-capture-store.js","sourceRoot":"","sources":["../../../src/test-helpers/query-capture-store.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"query-capture-store.js","sourceRoot":"","sources":["../../../src/test-helpers/query-capture-store.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD;;;;;;;;GAQG;AACH,IAAI,UAAe,CAAC;AACpB,IAAI,aAAkB,CAAC;AAEvB,4DAA4D;AAC5D,MAAM,wBAAwB,GAAG,UAAU,CAAC,gBAAgB,CAAC;AAC7D,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC,kBAAkB,CAAC,CAAC,GAAQ,EAAE,EAAE;IACzE,aAAa,GAAG,GAAG,CAAC;IACpB,OAAO,wBAAwB,CAAC,GAAG,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC;IACf,WAAW,EAAE,CAAO,KAAK,EAAE,EAAE;QAC3B,UAAU,GAAG,KAAK,CAAC;QACnB,OAAO,EAAS,CAAC;IACnB,CAAC,CAAA;IACD,WAAW,EAAE,CAAO,KAAK,EAAE,EAAE;QAC3B,UAAU,GAAG,KAAK,CAAC;QACnB,OAAO,EAAS,CAAC;IACnB,CAAC,CAAA;IACD,WAAW,EAAE,CAAO,KAAK,EAAE,EAAE;QAC3B,UAAU,GAAG,KAAK,CAAC;QACnB,OAAO,EAAS,CAAC;IACnB,CAAC,CAAA;IACD,WAAW,EAAE,CAAO,KAAK,EAAE,EAAE;QAC3B,UAAU,GAAG,KAAK,CAAC;QACnB,OAAO,EAAC,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAC,CAAC;IACjC,CAAC,CAAA;CACF,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,MAA8B,EAC9B,EAAE;IACF,UAAU,GAAG,SAAS,CAAC;IACvB,MAAM,MAAM,EAAE,CAAC;IACf,OAAO,UAAU,CAAC;AACpB,CAAC,CAAA,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,MAA8B,EAC9B,EAAE;IACF,aAAa,GAAG,SAAS,CAAC;IAC1B,MAAM,MAAM,EAAE,CAAC;IACf,OAAO,aAAa,CAAC;AACvB,CAAC,CAAA,CAAC"}
|
|
@@ -1534,6 +1534,82 @@ export declare const queryFactories: {
|
|
|
1534
1534
|
id: string;
|
|
1535
1535
|
}, Person>;
|
|
1536
1536
|
};
|
|
1537
|
+
pluralFilteredNestedSubSelect: () => Promise<import("../queries/SelectQuery").QResult<Person, {
|
|
1538
|
+
pluralTestProp: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1539
|
+
name: string;
|
|
1540
|
+
} & {
|
|
1541
|
+
id: string;
|
|
1542
|
+
} & {
|
|
1543
|
+
friends: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1544
|
+
hobby: string;
|
|
1545
|
+
} & {
|
|
1546
|
+
id: string;
|
|
1547
|
+
} & {
|
|
1548
|
+
name: string;
|
|
1549
|
+
}>[];
|
|
1550
|
+
}>[];
|
|
1551
|
+
}>[]> & {
|
|
1552
|
+
where(validation: import("../queries/SelectQuery").WhereClause<Person>): import("../queries/SelectQuery").PatchedQueryPromise<import("../queries/SelectQuery").QResult<Person, {
|
|
1553
|
+
pluralTestProp: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1554
|
+
name: string;
|
|
1555
|
+
} & {
|
|
1556
|
+
id: string;
|
|
1557
|
+
} & {
|
|
1558
|
+
friends: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1559
|
+
hobby: string;
|
|
1560
|
+
} & {
|
|
1561
|
+
id: string;
|
|
1562
|
+
} & {
|
|
1563
|
+
name: string;
|
|
1564
|
+
}>[];
|
|
1565
|
+
}>[];
|
|
1566
|
+
}>[], Person>;
|
|
1567
|
+
limit(lim: number): import("../queries/SelectQuery").PatchedQueryPromise<import("../queries/SelectQuery").QResult<Person, {
|
|
1568
|
+
pluralTestProp: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1569
|
+
name: string;
|
|
1570
|
+
} & {
|
|
1571
|
+
id: string;
|
|
1572
|
+
} & {
|
|
1573
|
+
friends: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1574
|
+
hobby: string;
|
|
1575
|
+
} & {
|
|
1576
|
+
id: string;
|
|
1577
|
+
} & {
|
|
1578
|
+
name: string;
|
|
1579
|
+
}>[];
|
|
1580
|
+
}>[];
|
|
1581
|
+
}>[], Person>;
|
|
1582
|
+
sortBy(sortParam: any, direction?: "ASC" | "DESC"): import("../queries/SelectQuery").PatchedQueryPromise<import("../queries/SelectQuery").QResult<Person, {
|
|
1583
|
+
pluralTestProp: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1584
|
+
name: string;
|
|
1585
|
+
} & {
|
|
1586
|
+
id: string;
|
|
1587
|
+
} & {
|
|
1588
|
+
friends: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1589
|
+
hobby: string;
|
|
1590
|
+
} & {
|
|
1591
|
+
id: string;
|
|
1592
|
+
} & {
|
|
1593
|
+
name: string;
|
|
1594
|
+
}>[];
|
|
1595
|
+
}>[];
|
|
1596
|
+
}>[], Person>;
|
|
1597
|
+
one(): import("../queries/SelectQuery").PatchedQueryPromise<import("../queries/SelectQuery").QResult<Person, {
|
|
1598
|
+
pluralTestProp: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1599
|
+
name: string;
|
|
1600
|
+
} & {
|
|
1601
|
+
id: string;
|
|
1602
|
+
} & {
|
|
1603
|
+
friends: import("../queries/SelectQuery").QResult<Person, {} & {
|
|
1604
|
+
hobby: string;
|
|
1605
|
+
} & {
|
|
1606
|
+
id: string;
|
|
1607
|
+
} & {
|
|
1608
|
+
name: string;
|
|
1609
|
+
}>[];
|
|
1610
|
+
}>[];
|
|
1611
|
+
}>, Person>;
|
|
1612
|
+
};
|
|
1537
1613
|
selectDuplicatePaths: () => Promise<({
|
|
1538
1614
|
bestFriend: import("../queries/SelectQuery").QResult<Person, {
|
|
1539
1615
|
name: string;
|
|
@@ -1625,9 +1701,9 @@ export declare const queryFactories: {
|
|
|
1625
1701
|
uri?: string;
|
|
1626
1702
|
name?: string;
|
|
1627
1703
|
hobby?: string;
|
|
1628
|
-
bestFriend?: {
|
|
1704
|
+
bestFriend?: /*elided*/ any | {
|
|
1629
1705
|
id: string;
|
|
1630
|
-
}
|
|
1706
|
+
};
|
|
1631
1707
|
birthDate?: {
|
|
1632
1708
|
toString: () => string;
|
|
1633
1709
|
toDateString: () => string;
|
|
@@ -1694,9 +1770,9 @@ export declare const queryFactories: {
|
|
|
1694
1770
|
};
|
|
1695
1771
|
isRealPerson?: boolean;
|
|
1696
1772
|
pluralTestProp?: {
|
|
1697
|
-
updatedTo: ({
|
|
1773
|
+
updatedTo: (/*elided*/ any | {
|
|
1698
1774
|
id: string;
|
|
1699
|
-
}
|
|
1775
|
+
})[];
|
|
1700
1776
|
} | {
|
|
1701
1777
|
added: never[];
|
|
1702
1778
|
removed: never[];
|
|
@@ -1705,9 +1781,9 @@ export declare const queryFactories: {
|
|
|
1705
1781
|
updatedTo: string[];
|
|
1706
1782
|
};
|
|
1707
1783
|
friends?: {
|
|
1708
|
-
updatedTo: ({
|
|
1784
|
+
updatedTo: (/*elided*/ any | {
|
|
1709
1785
|
id: string;
|
|
1710
|
-
}
|
|
1786
|
+
})[];
|
|
1711
1787
|
} | {
|
|
1712
1788
|
added: never[];
|
|
1713
1789
|
removed: never[];
|
|
@@ -1766,9 +1842,9 @@ export declare const queryFactories: {
|
|
|
1766
1842
|
uri?: string;
|
|
1767
1843
|
name?: string;
|
|
1768
1844
|
hobby?: string;
|
|
1769
|
-
bestFriend?: {
|
|
1845
|
+
bestFriend?: /*elided*/ any | {
|
|
1770
1846
|
id: string;
|
|
1771
|
-
}
|
|
1847
|
+
};
|
|
1772
1848
|
birthDate?: {
|
|
1773
1849
|
toString: () => string;
|
|
1774
1850
|
toDateString: () => string;
|
|
@@ -1835,9 +1911,9 @@ export declare const queryFactories: {
|
|
|
1835
1911
|
};
|
|
1836
1912
|
isRealPerson?: boolean;
|
|
1837
1913
|
pluralTestProp?: {
|
|
1838
|
-
updatedTo: ({
|
|
1914
|
+
updatedTo: (/*elided*/ any | {
|
|
1839
1915
|
id: string;
|
|
1840
|
-
}
|
|
1916
|
+
})[];
|
|
1841
1917
|
} | {
|
|
1842
1918
|
added: never[];
|
|
1843
1919
|
removed: never[];
|
|
@@ -1846,9 +1922,9 @@ export declare const queryFactories: {
|
|
|
1846
1922
|
updatedTo: string[];
|
|
1847
1923
|
};
|
|
1848
1924
|
friends?: {
|
|
1849
|
-
updatedTo: ({
|
|
1925
|
+
updatedTo: (/*elided*/ any | {
|
|
1850
1926
|
id: string;
|
|
1851
|
-
}
|
|
1927
|
+
})[];
|
|
1852
1928
|
} | {
|
|
1853
1929
|
added: never[];
|
|
1854
1930
|
removed: never[];
|
|
@@ -1885,9 +1961,9 @@ export declare const queryFactories: {
|
|
|
1885
1961
|
uri?: string;
|
|
1886
1962
|
name?: string;
|
|
1887
1963
|
hobby?: string;
|
|
1888
|
-
bestFriend?: {
|
|
1964
|
+
bestFriend?: /*elided*/ any | {
|
|
1889
1965
|
id: string;
|
|
1890
|
-
}
|
|
1966
|
+
};
|
|
1891
1967
|
birthDate?: {
|
|
1892
1968
|
toString: () => string;
|
|
1893
1969
|
toDateString: () => string;
|
|
@@ -1954,9 +2030,9 @@ export declare const queryFactories: {
|
|
|
1954
2030
|
};
|
|
1955
2031
|
isRealPerson?: boolean;
|
|
1956
2032
|
pluralTestProp?: {
|
|
1957
|
-
updatedTo: ({
|
|
2033
|
+
updatedTo: (/*elided*/ any | {
|
|
1958
2034
|
id: string;
|
|
1959
|
-
}
|
|
2035
|
+
})[];
|
|
1960
2036
|
} | {
|
|
1961
2037
|
added: never[];
|
|
1962
2038
|
removed: never[];
|
|
@@ -1965,9 +2041,9 @@ export declare const queryFactories: {
|
|
|
1965
2041
|
updatedTo: string[];
|
|
1966
2042
|
};
|
|
1967
2043
|
friends?: {
|
|
1968
|
-
updatedTo: ({
|
|
2044
|
+
updatedTo: (/*elided*/ any | {
|
|
1969
2045
|
id: string;
|
|
1970
|
-
}
|
|
2046
|
+
})[];
|
|
1971
2047
|
} | {
|
|
1972
2048
|
added: never[];
|
|
1973
2049
|
removed: never[];
|
|
@@ -2004,9 +2080,9 @@ export declare const queryFactories: {
|
|
|
2004
2080
|
uri?: string;
|
|
2005
2081
|
name?: string;
|
|
2006
2082
|
hobby?: string;
|
|
2007
|
-
bestFriend?: {
|
|
2083
|
+
bestFriend?: /*elided*/ any | {
|
|
2008
2084
|
id: string;
|
|
2009
|
-
}
|
|
2085
|
+
};
|
|
2010
2086
|
birthDate?: {
|
|
2011
2087
|
toString: () => string;
|
|
2012
2088
|
toDateString: () => string;
|
|
@@ -2073,9 +2149,9 @@ export declare const queryFactories: {
|
|
|
2073
2149
|
};
|
|
2074
2150
|
isRealPerson?: boolean;
|
|
2075
2151
|
pluralTestProp?: {
|
|
2076
|
-
updatedTo: ({
|
|
2152
|
+
updatedTo: (/*elided*/ any | {
|
|
2077
2153
|
id: string;
|
|
2078
|
-
}
|
|
2154
|
+
})[];
|
|
2079
2155
|
} | {
|
|
2080
2156
|
added: never[];
|
|
2081
2157
|
removed: never[];
|
|
@@ -2084,9 +2160,9 @@ export declare const queryFactories: {
|
|
|
2084
2160
|
updatedTo: string[];
|
|
2085
2161
|
};
|
|
2086
2162
|
friends?: {
|
|
2087
|
-
updatedTo: ({
|
|
2163
|
+
updatedTo: (/*elided*/ any | {
|
|
2088
2164
|
id: string;
|
|
2089
|
-
}
|
|
2165
|
+
})[];
|
|
2090
2166
|
} | {
|
|
2091
2167
|
added: never[];
|
|
2092
2168
|
removed: never[];
|
|
@@ -2123,9 +2199,9 @@ export declare const queryFactories: {
|
|
|
2123
2199
|
uri?: string;
|
|
2124
2200
|
name?: string;
|
|
2125
2201
|
hobby?: string;
|
|
2126
|
-
bestFriend?: {
|
|
2202
|
+
bestFriend?: /*elided*/ any | {
|
|
2127
2203
|
id: string;
|
|
2128
|
-
}
|
|
2204
|
+
};
|
|
2129
2205
|
birthDate?: {
|
|
2130
2206
|
toString: () => string;
|
|
2131
2207
|
toDateString: () => string;
|
|
@@ -2192,9 +2268,9 @@ export declare const queryFactories: {
|
|
|
2192
2268
|
};
|
|
2193
2269
|
isRealPerson?: boolean;
|
|
2194
2270
|
pluralTestProp?: {
|
|
2195
|
-
updatedTo: ({
|
|
2271
|
+
updatedTo: (/*elided*/ any | {
|
|
2196
2272
|
id: string;
|
|
2197
|
-
}
|
|
2273
|
+
})[];
|
|
2198
2274
|
} | {
|
|
2199
2275
|
added: never[];
|
|
2200
2276
|
removed: never[];
|
|
@@ -2203,9 +2279,9 @@ export declare const queryFactories: {
|
|
|
2203
2279
|
updatedTo: string[];
|
|
2204
2280
|
};
|
|
2205
2281
|
friends?: {
|
|
2206
|
-
updatedTo: ({
|
|
2282
|
+
updatedTo: (/*elided*/ any | {
|
|
2207
2283
|
id: string;
|
|
2208
|
-
}
|
|
2284
|
+
})[];
|
|
2209
2285
|
} | {
|
|
2210
2286
|
added: never[];
|
|
2211
2287
|
removed: never[];
|
|
@@ -2242,9 +2318,9 @@ export declare const queryFactories: {
|
|
|
2242
2318
|
uri?: string;
|
|
2243
2319
|
name?: string;
|
|
2244
2320
|
hobby?: string;
|
|
2245
|
-
bestFriend?: {
|
|
2321
|
+
bestFriend?: /*elided*/ any | {
|
|
2246
2322
|
id: string;
|
|
2247
|
-
}
|
|
2323
|
+
};
|
|
2248
2324
|
birthDate?: {
|
|
2249
2325
|
toString: () => string;
|
|
2250
2326
|
toDateString: () => string;
|
|
@@ -2311,9 +2387,9 @@ export declare const queryFactories: {
|
|
|
2311
2387
|
};
|
|
2312
2388
|
isRealPerson?: boolean;
|
|
2313
2389
|
pluralTestProp?: {
|
|
2314
|
-
updatedTo: ({
|
|
2390
|
+
updatedTo: (/*elided*/ any | {
|
|
2315
2391
|
id: string;
|
|
2316
|
-
}
|
|
2392
|
+
})[];
|
|
2317
2393
|
} | {
|
|
2318
2394
|
added: never[];
|
|
2319
2395
|
removed: never[];
|
|
@@ -2322,9 +2398,9 @@ export declare const queryFactories: {
|
|
|
2322
2398
|
updatedTo: string[];
|
|
2323
2399
|
};
|
|
2324
2400
|
friends?: {
|
|
2325
|
-
updatedTo: ({
|
|
2401
|
+
updatedTo: (/*elided*/ any | {
|
|
2326
2402
|
id: string;
|
|
2327
|
-
}
|
|
2403
|
+
})[];
|
|
2328
2404
|
} | {
|
|
2329
2405
|
added: never[];
|
|
2330
2406
|
removed: never[];
|
|
@@ -2361,9 +2437,9 @@ export declare const queryFactories: {
|
|
|
2361
2437
|
uri?: string;
|
|
2362
2438
|
name?: string;
|
|
2363
2439
|
hobby?: string;
|
|
2364
|
-
bestFriend?: {
|
|
2440
|
+
bestFriend?: /*elided*/ any | {
|
|
2365
2441
|
id: string;
|
|
2366
|
-
}
|
|
2442
|
+
};
|
|
2367
2443
|
birthDate?: {
|
|
2368
2444
|
toString: () => string;
|
|
2369
2445
|
toDateString: () => string;
|
|
@@ -2430,9 +2506,9 @@ export declare const queryFactories: {
|
|
|
2430
2506
|
};
|
|
2431
2507
|
isRealPerson?: boolean;
|
|
2432
2508
|
pluralTestProp?: {
|
|
2433
|
-
updatedTo: ({
|
|
2509
|
+
updatedTo: (/*elided*/ any | {
|
|
2434
2510
|
id: string;
|
|
2435
|
-
}
|
|
2511
|
+
})[];
|
|
2436
2512
|
} | {
|
|
2437
2513
|
added: never[];
|
|
2438
2514
|
removed: never[];
|
|
@@ -2441,9 +2517,9 @@ export declare const queryFactories: {
|
|
|
2441
2517
|
updatedTo: string[];
|
|
2442
2518
|
};
|
|
2443
2519
|
friends?: {
|
|
2444
|
-
updatedTo: ({
|
|
2520
|
+
updatedTo: (/*elided*/ any | {
|
|
2445
2521
|
id: string;
|
|
2446
|
-
}
|
|
2522
|
+
})[];
|
|
2447
2523
|
} | {
|
|
2448
2524
|
added: never[];
|
|
2449
2525
|
removed: never[];
|
|
@@ -2480,9 +2556,9 @@ export declare const queryFactories: {
|
|
|
2480
2556
|
uri?: string;
|
|
2481
2557
|
name?: string;
|
|
2482
2558
|
hobby?: string;
|
|
2483
|
-
bestFriend?: {
|
|
2559
|
+
bestFriend?: /*elided*/ any | {
|
|
2484
2560
|
id: string;
|
|
2485
|
-
}
|
|
2561
|
+
};
|
|
2486
2562
|
birthDate?: {
|
|
2487
2563
|
toString: () => string;
|
|
2488
2564
|
toDateString: () => string;
|
|
@@ -2549,9 +2625,9 @@ export declare const queryFactories: {
|
|
|
2549
2625
|
};
|
|
2550
2626
|
isRealPerson?: boolean;
|
|
2551
2627
|
pluralTestProp?: {
|
|
2552
|
-
updatedTo: ({
|
|
2628
|
+
updatedTo: (/*elided*/ any | {
|
|
2553
2629
|
id: string;
|
|
2554
|
-
}
|
|
2630
|
+
})[];
|
|
2555
2631
|
} | {
|
|
2556
2632
|
added: never[];
|
|
2557
2633
|
removed: never[];
|
|
@@ -2560,9 +2636,9 @@ export declare const queryFactories: {
|
|
|
2560
2636
|
updatedTo: string[];
|
|
2561
2637
|
};
|
|
2562
2638
|
friends?: {
|
|
2563
|
-
updatedTo: ({
|
|
2639
|
+
updatedTo: (/*elided*/ any | {
|
|
2564
2640
|
id: string;
|
|
2565
|
-
}
|
|
2641
|
+
})[];
|
|
2566
2642
|
} | {
|
|
2567
2643
|
added: never[];
|
|
2568
2644
|
removed: never[];
|
|
@@ -2599,9 +2675,9 @@ export declare const queryFactories: {
|
|
|
2599
2675
|
uri?: string;
|
|
2600
2676
|
name?: string;
|
|
2601
2677
|
hobby?: string;
|
|
2602
|
-
bestFriend?: {
|
|
2678
|
+
bestFriend?: /*elided*/ any | {
|
|
2603
2679
|
id: string;
|
|
2604
|
-
}
|
|
2680
|
+
};
|
|
2605
2681
|
birthDate?: {
|
|
2606
2682
|
toString: () => string;
|
|
2607
2683
|
toDateString: () => string;
|
|
@@ -2668,9 +2744,9 @@ export declare const queryFactories: {
|
|
|
2668
2744
|
};
|
|
2669
2745
|
isRealPerson?: boolean;
|
|
2670
2746
|
pluralTestProp?: {
|
|
2671
|
-
updatedTo: ({
|
|
2747
|
+
updatedTo: (/*elided*/ any | {
|
|
2672
2748
|
id: string;
|
|
2673
|
-
}
|
|
2749
|
+
})[];
|
|
2674
2750
|
} | {
|
|
2675
2751
|
added: never[];
|
|
2676
2752
|
removed: never[];
|
|
@@ -2679,9 +2755,9 @@ export declare const queryFactories: {
|
|
|
2679
2755
|
updatedTo: string[];
|
|
2680
2756
|
};
|
|
2681
2757
|
friends?: {
|
|
2682
|
-
updatedTo: ({
|
|
2758
|
+
updatedTo: (/*elided*/ any | {
|
|
2683
2759
|
id: string;
|
|
2684
|
-
}
|
|
2760
|
+
})[];
|
|
2685
2761
|
} | {
|
|
2686
2762
|
added: never[];
|
|
2687
2763
|
removed: never[];
|
|
@@ -2718,9 +2794,9 @@ export declare const queryFactories: {
|
|
|
2718
2794
|
uri?: string;
|
|
2719
2795
|
name?: string;
|
|
2720
2796
|
hobby?: string;
|
|
2721
|
-
bestFriend?: {
|
|
2797
|
+
bestFriend?: /*elided*/ any | {
|
|
2722
2798
|
id: string;
|
|
2723
|
-
}
|
|
2799
|
+
};
|
|
2724
2800
|
birthDate?: {
|
|
2725
2801
|
toString: () => string;
|
|
2726
2802
|
toDateString: () => string;
|
|
@@ -2787,9 +2863,9 @@ export declare const queryFactories: {
|
|
|
2787
2863
|
};
|
|
2788
2864
|
isRealPerson?: boolean;
|
|
2789
2865
|
pluralTestProp?: {
|
|
2790
|
-
updatedTo: ({
|
|
2866
|
+
updatedTo: (/*elided*/ any | {
|
|
2791
2867
|
id: string;
|
|
2792
|
-
}
|
|
2868
|
+
})[];
|
|
2793
2869
|
} | {
|
|
2794
2870
|
added: never[];
|
|
2795
2871
|
removed: never[];
|
|
@@ -2798,9 +2874,9 @@ export declare const queryFactories: {
|
|
|
2798
2874
|
updatedTo: string[];
|
|
2799
2875
|
};
|
|
2800
2876
|
friends?: {
|
|
2801
|
-
updatedTo: ({
|
|
2877
|
+
updatedTo: (/*elided*/ any | {
|
|
2802
2878
|
id: string;
|
|
2803
|
-
}
|
|
2879
|
+
})[];
|
|
2804
2880
|
} | {
|
|
2805
2881
|
added: never[];
|
|
2806
2882
|
removed: never[];
|
|
@@ -2837,9 +2913,9 @@ export declare const queryFactories: {
|
|
|
2837
2913
|
uri?: string;
|
|
2838
2914
|
name?: string;
|
|
2839
2915
|
hobby?: string;
|
|
2840
|
-
bestFriend?: {
|
|
2916
|
+
bestFriend?: /*elided*/ any | {
|
|
2841
2917
|
id: string;
|
|
2842
|
-
}
|
|
2918
|
+
};
|
|
2843
2919
|
birthDate?: {
|
|
2844
2920
|
toString: () => string;
|
|
2845
2921
|
toDateString: () => string;
|
|
@@ -2906,9 +2982,9 @@ export declare const queryFactories: {
|
|
|
2906
2982
|
};
|
|
2907
2983
|
isRealPerson?: boolean;
|
|
2908
2984
|
pluralTestProp?: {
|
|
2909
|
-
updatedTo: ({
|
|
2985
|
+
updatedTo: (/*elided*/ any | {
|
|
2910
2986
|
id: string;
|
|
2911
|
-
}
|
|
2987
|
+
})[];
|
|
2912
2988
|
} | {
|
|
2913
2989
|
added: never[];
|
|
2914
2990
|
removed: never[];
|
|
@@ -2917,9 +2993,9 @@ export declare const queryFactories: {
|
|
|
2917
2993
|
updatedTo: string[];
|
|
2918
2994
|
};
|
|
2919
2995
|
friends?: {
|
|
2920
|
-
updatedTo: ({
|
|
2996
|
+
updatedTo: (/*elided*/ any | {
|
|
2921
2997
|
id: string;
|
|
2922
|
-
}
|
|
2998
|
+
})[];
|
|
2923
2999
|
} | {
|
|
2924
3000
|
added: never[];
|
|
2925
3001
|
removed: never[];
|
|
@@ -2956,9 +3032,9 @@ export declare const queryFactories: {
|
|
|
2956
3032
|
uri?: string;
|
|
2957
3033
|
name?: string;
|
|
2958
3034
|
hobby?: string;
|
|
2959
|
-
bestFriend?: {
|
|
3035
|
+
bestFriend?: /*elided*/ any | {
|
|
2960
3036
|
id: string;
|
|
2961
|
-
}
|
|
3037
|
+
};
|
|
2962
3038
|
birthDate?: {
|
|
2963
3039
|
toString: () => string;
|
|
2964
3040
|
toDateString: () => string;
|
|
@@ -3025,9 +3101,9 @@ export declare const queryFactories: {
|
|
|
3025
3101
|
};
|
|
3026
3102
|
isRealPerson?: boolean;
|
|
3027
3103
|
pluralTestProp?: {
|
|
3028
|
-
updatedTo: ({
|
|
3104
|
+
updatedTo: (/*elided*/ any | {
|
|
3029
3105
|
id: string;
|
|
3030
|
-
}
|
|
3106
|
+
})[];
|
|
3031
3107
|
} | {
|
|
3032
3108
|
added: never[];
|
|
3033
3109
|
removed: never[];
|
|
@@ -3036,9 +3112,9 @@ export declare const queryFactories: {
|
|
|
3036
3112
|
updatedTo: string[];
|
|
3037
3113
|
};
|
|
3038
3114
|
friends?: {
|
|
3039
|
-
updatedTo: ({
|
|
3115
|
+
updatedTo: (/*elided*/ any | {
|
|
3040
3116
|
id: string;
|
|
3041
|
-
}
|
|
3117
|
+
})[];
|
|
3042
3118
|
} | {
|
|
3043
3119
|
added: never[];
|
|
3044
3120
|
removed: never[];
|
|
@@ -278,6 +278,12 @@ export const queryFactories = {
|
|
|
278
278
|
p2.bestFriend.select((p3) => ({ name: p3.name })),
|
|
279
279
|
]),
|
|
280
280
|
]),
|
|
281
|
+
pluralFilteredNestedSubSelect: () => Person.select((p) => p.pluralTestProp
|
|
282
|
+
.where((pp) => pp.name.equals('Moa'))
|
|
283
|
+
.select((pp) => [
|
|
284
|
+
pp.name,
|
|
285
|
+
pp.friends.select((f) => [f.name, f.hobby]),
|
|
286
|
+
])),
|
|
281
287
|
selectDuplicatePaths: () => Person.select((p) => [
|
|
282
288
|
p.bestFriend.name,
|
|
283
289
|
p.bestFriend.hobby,
|