@sankhyalabs/core-docs 0.0.0-feat-dev-KB-42648-3.0 → 0.0.0-feat-dev-KB-42648-3.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/classes/Change.md +11 -11
- package/classes/DataUnit.md +147 -107
- package/classes/IDBRepository.md +22 -0
- package/classes/SelectionInfo.md +18 -18
- package/enumerations/ChangeOperation.md +4 -4
- package/enumerations/SelectionMode.md +2 -2
- package/interfaces/DUActionInterceptor.md +1 -1
- package/interfaces/IRepository.md +18 -0
- package/interfaces/PageRequest.md +3 -3
- package/interfaces/QuickFilter.md +3 -3
- package/interfaces/Record.md +4 -4
- package/interfaces/SavedRecord.md +5 -5
- package/interfaces/WaitingChange.md +3 -3
- package/package.json +1 -1
- package/type-aliases/DataUnitEventOptions.md +1 -1
package/classes/IDBRepository.md
CHANGED
@@ -279,6 +279,28 @@ src/repository/indexeddb/IDBRepository.ts:319
|
|
279
279
|
|
280
280
|
***
|
281
281
|
|
282
|
+
### getFromCache()
|
283
|
+
|
284
|
+
> **getFromCache**(): `undefined` \| `T`[]
|
285
|
+
|
286
|
+
Retorna todos os registros que estão em cache no momento
|
287
|
+
|
288
|
+
#### Returns
|
289
|
+
|
290
|
+
`undefined` \| `T`[]
|
291
|
+
|
292
|
+
Todos registros que estão em cache no momento
|
293
|
+
|
294
|
+
#### Implementation of
|
295
|
+
|
296
|
+
[`IRepository`](../interfaces/IRepository.md).[`getFromCache`](../interfaces/IRepository.md#getfromcache)
|
297
|
+
|
298
|
+
#### Source
|
299
|
+
|
300
|
+
src/repository/indexeddb/IDBRepository.ts:324
|
301
|
+
|
302
|
+
***
|
303
|
+
|
282
304
|
### getItemPosition()
|
283
305
|
|
284
306
|
> `private` **getItemPosition**(`db`, `itemTest`): `Promise`\<`number`\>
|
package/classes/SelectionInfo.md
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
#### Source
|
32
32
|
|
33
|
-
src/dataunit/DataUnit.ts:
|
33
|
+
src/dataunit/DataUnit.ts:1953
|
34
34
|
|
35
35
|
## Properties
|
36
36
|
|
@@ -40,7 +40,7 @@ src/dataunit/DataUnit.ts:1950
|
|
40
40
|
|
41
41
|
#### Source
|
42
42
|
|
43
|
-
src/dataunit/DataUnit.ts:
|
43
|
+
src/dataunit/DataUnit.ts:1950
|
44
44
|
|
45
45
|
***
|
46
46
|
|
@@ -50,7 +50,7 @@ src/dataunit/DataUnit.ts:1947
|
|
50
50
|
|
51
51
|
#### Source
|
52
52
|
|
53
|
-
src/dataunit/DataUnit.ts:
|
53
|
+
src/dataunit/DataUnit.ts:1951
|
54
54
|
|
55
55
|
***
|
56
56
|
|
@@ -60,21 +60,21 @@ src/dataunit/DataUnit.ts:1948
|
|
60
60
|
|
61
61
|
#### Source
|
62
62
|
|
63
|
-
src/dataunit/DataUnit.ts:
|
63
|
+
src/dataunit/DataUnit.ts:1947
|
64
64
|
|
65
65
|
***
|
66
66
|
|
67
67
|
### getAllRecords()?
|
68
68
|
|
69
|
-
> `optional` **getAllRecords**: () => `undefined` \|
|
69
|
+
> `optional` **getAllRecords**: () => `undefined` \| [`Record`](../interfaces/Record.md)[]
|
70
70
|
|
71
71
|
#### Returns
|
72
72
|
|
73
|
-
`undefined` \|
|
73
|
+
`undefined` \| [`Record`](../interfaces/Record.md)[]
|
74
74
|
|
75
75
|
#### Source
|
76
76
|
|
77
|
-
src/dataunit/DataUnit.ts:
|
77
|
+
src/dataunit/DataUnit.ts:1949
|
78
78
|
|
79
79
|
***
|
80
80
|
|
@@ -84,7 +84,7 @@ src/dataunit/DataUnit.ts:1946
|
|
84
84
|
|
85
85
|
#### Source
|
86
86
|
|
87
|
-
src/dataunit/DataUnit.ts:
|
87
|
+
src/dataunit/DataUnit.ts:1946
|
88
88
|
|
89
89
|
***
|
90
90
|
|
@@ -94,7 +94,7 @@ src/dataunit/DataUnit.ts:1943
|
|
94
94
|
|
95
95
|
#### Source
|
96
96
|
|
97
|
-
src/dataunit/DataUnit.ts:
|
97
|
+
src/dataunit/DataUnit.ts:1948
|
98
98
|
|
99
99
|
## Accessors
|
100
100
|
|
@@ -108,35 +108,35 @@ src/dataunit/DataUnit.ts:1945
|
|
108
108
|
|
109
109
|
#### Source
|
110
110
|
|
111
|
-
src/dataunit/DataUnit.ts:
|
111
|
+
src/dataunit/DataUnit.ts:1981
|
112
112
|
|
113
113
|
***
|
114
114
|
|
115
115
|
### recordIds
|
116
116
|
|
117
|
-
> `get` **recordIds**(): `undefined` \| `string`[]
|
117
|
+
> `get` **recordIds**(): `undefined` \| `string`[]
|
118
118
|
|
119
119
|
#### Returns
|
120
120
|
|
121
|
-
`undefined` \| `string`[]
|
121
|
+
`undefined` \| `string`[]
|
122
122
|
|
123
123
|
#### Source
|
124
124
|
|
125
|
-
src/dataunit/DataUnit.ts:
|
125
|
+
src/dataunit/DataUnit.ts:1971
|
126
126
|
|
127
127
|
***
|
128
128
|
|
129
129
|
### records
|
130
130
|
|
131
|
-
> `get` **records**(): `undefined` \| [`Record`](../interfaces/Record.md)[]
|
131
|
+
> `get` **records**(): `undefined` \| [`Record`](../interfaces/Record.md)[]
|
132
132
|
|
133
133
|
#### Returns
|
134
134
|
|
135
|
-
`undefined` \| [`Record`](../interfaces/Record.md)[]
|
135
|
+
`undefined` \| [`Record`](../interfaces/Record.md)[]
|
136
136
|
|
137
137
|
#### Source
|
138
138
|
|
139
|
-
src/dataunit/DataUnit.ts:
|
139
|
+
src/dataunit/DataUnit.ts:1961
|
140
140
|
|
141
141
|
## Methods
|
142
142
|
|
@@ -150,7 +150,7 @@ src/dataunit/DataUnit.ts:1958
|
|
150
150
|
|
151
151
|
#### Source
|
152
152
|
|
153
|
-
src/dataunit/DataUnit.ts:
|
153
|
+
src/dataunit/DataUnit.ts:1988
|
154
154
|
|
155
155
|
***
|
156
156
|
|
@@ -164,4 +164,4 @@ src/dataunit/DataUnit.ts:1992
|
|
164
164
|
|
165
165
|
#### Source
|
166
166
|
|
167
|
-
src/dataunit/DataUnit.ts:
|
167
|
+
src/dataunit/DataUnit.ts:1992
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
#### Source
|
16
16
|
|
17
|
-
src/dataunit/DataUnit.ts:
|
17
|
+
src/dataunit/DataUnit.ts:1832
|
18
18
|
|
19
19
|
***
|
20
20
|
|
@@ -24,7 +24,7 @@ src/dataunit/DataUnit.ts:1829
|
|
24
24
|
|
25
25
|
#### Source
|
26
26
|
|
27
|
-
src/dataunit/DataUnit.ts:
|
27
|
+
src/dataunit/DataUnit.ts:1834
|
28
28
|
|
29
29
|
***
|
30
30
|
|
@@ -34,7 +34,7 @@ src/dataunit/DataUnit.ts:1831
|
|
34
34
|
|
35
35
|
#### Source
|
36
36
|
|
37
|
-
src/dataunit/DataUnit.ts:
|
37
|
+
src/dataunit/DataUnit.ts:1831
|
38
38
|
|
39
39
|
***
|
40
40
|
|
@@ -44,4 +44,4 @@ src/dataunit/DataUnit.ts:1828
|
|
44
44
|
|
45
45
|
#### Source
|
46
46
|
|
47
|
-
src/dataunit/DataUnit.ts:
|
47
|
+
src/dataunit/DataUnit.ts:1833
|
@@ -96,6 +96,24 @@ src/repository/IRepository.ts:23
|
|
96
96
|
|
97
97
|
***
|
98
98
|
|
99
|
+
### getFromCache()
|
100
|
+
|
101
|
+
> **getFromCache**(): `undefined` \| `T`[]
|
102
|
+
|
103
|
+
Retorna todos os registros que estão em cache no momento
|
104
|
+
|
105
|
+
#### Returns
|
106
|
+
|
107
|
+
`undefined` \| `T`[]
|
108
|
+
|
109
|
+
Todos registros que estão em cache no momento
|
110
|
+
|
111
|
+
#### Source
|
112
|
+
|
113
|
+
src/repository/IRepository.ts:88
|
114
|
+
|
115
|
+
***
|
116
|
+
|
99
117
|
### insert()
|
100
118
|
|
101
119
|
> **insert**(`itemReference`, `items`): `Promise`\<`void`\>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
#### Source
|
16
16
|
|
17
|
-
src/dataunit/DataUnit.ts:
|
17
|
+
src/dataunit/DataUnit.ts:1920
|
18
18
|
|
19
19
|
***
|
20
20
|
|
@@ -24,7 +24,7 @@ src/dataunit/DataUnit.ts:1917
|
|
24
24
|
|
25
25
|
#### Source
|
26
26
|
|
27
|
-
src/dataunit/DataUnit.ts:
|
27
|
+
src/dataunit/DataUnit.ts:1921
|
28
28
|
|
29
29
|
***
|
30
30
|
|
@@ -34,4 +34,4 @@ src/dataunit/DataUnit.ts:1918
|
|
34
34
|
|
35
35
|
#### Source
|
36
36
|
|
37
|
-
src/dataunit/DataUnit.ts:
|
37
|
+
src/dataunit/DataUnit.ts:1922
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
#### Source
|
16
16
|
|
17
|
-
src/dataunit/DataUnit.ts:
|
17
|
+
src/dataunit/DataUnit.ts:1927
|
18
18
|
|
19
19
|
***
|
20
20
|
|
@@ -24,7 +24,7 @@ src/dataunit/DataUnit.ts:1924
|
|
24
24
|
|
25
25
|
#### Source
|
26
26
|
|
27
|
-
src/dataunit/DataUnit.ts:
|
27
|
+
src/dataunit/DataUnit.ts:1928
|
28
28
|
|
29
29
|
***
|
30
30
|
|
@@ -34,4 +34,4 @@ src/dataunit/DataUnit.ts:1925
|
|
34
34
|
|
35
35
|
#### Source
|
36
36
|
|
37
|
-
src/dataunit/DataUnit.ts:
|
37
|
+
src/dataunit/DataUnit.ts:1926
|
package/interfaces/Record.md
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
#### Source
|
24
24
|
|
25
|
-
src/dataunit/DataUnit.ts:
|
25
|
+
src/dataunit/DataUnit.ts:1822
|
26
26
|
|
27
27
|
***
|
28
28
|
|
@@ -32,7 +32,7 @@ src/dataunit/DataUnit.ts:1819
|
|
32
32
|
|
33
33
|
#### Source
|
34
34
|
|
35
|
-
src/dataunit/DataUnit.ts:
|
35
|
+
src/dataunit/DataUnit.ts:1821
|
36
36
|
|
37
37
|
***
|
38
38
|
|
@@ -42,7 +42,7 @@ src/dataunit/DataUnit.ts:1818
|
|
42
42
|
|
43
43
|
#### Source
|
44
44
|
|
45
|
-
src/dataunit/DataUnit.ts:
|
45
|
+
src/dataunit/DataUnit.ts:1819
|
46
46
|
|
47
47
|
***
|
48
48
|
|
@@ -52,4 +52,4 @@ src/dataunit/DataUnit.ts:1816
|
|
52
52
|
|
53
53
|
#### Source
|
54
54
|
|
55
|
-
src/dataunit/DataUnit.ts:
|
55
|
+
src/dataunit/DataUnit.ts:1820
|
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
#### Source
|
20
20
|
|
21
|
-
src/dataunit/DataUnit.ts:
|
21
|
+
src/dataunit/DataUnit.ts:1827
|
22
22
|
|
23
23
|
***
|
24
24
|
|
@@ -32,7 +32,7 @@ src/dataunit/DataUnit.ts:1824
|
|
32
32
|
|
33
33
|
#### Source
|
34
34
|
|
35
|
-
src/dataunit/DataUnit.ts:
|
35
|
+
src/dataunit/DataUnit.ts:1822
|
36
36
|
|
37
37
|
***
|
38
38
|
|
@@ -46,7 +46,7 @@ src/dataunit/DataUnit.ts:1819
|
|
46
46
|
|
47
47
|
#### Source
|
48
48
|
|
49
|
-
src/dataunit/DataUnit.ts:
|
49
|
+
src/dataunit/DataUnit.ts:1821
|
50
50
|
|
51
51
|
***
|
52
52
|
|
@@ -60,7 +60,7 @@ src/dataunit/DataUnit.ts:1818
|
|
60
60
|
|
61
61
|
#### Source
|
62
62
|
|
63
|
-
src/dataunit/DataUnit.ts:
|
63
|
+
src/dataunit/DataUnit.ts:1819
|
64
64
|
|
65
65
|
***
|
66
66
|
|
@@ -74,4 +74,4 @@ src/dataunit/DataUnit.ts:1816
|
|
74
74
|
|
75
75
|
#### Source
|
76
76
|
|
77
|
-
src/dataunit/DataUnit.ts:
|
77
|
+
src/dataunit/DataUnit.ts:1820
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
#### Source
|
16
16
|
|
17
|
-
src/dataunit/DataUnit.ts:
|
17
|
+
src/dataunit/DataUnit.ts:1915
|
18
18
|
|
19
19
|
***
|
20
20
|
|
@@ -24,7 +24,7 @@ src/dataunit/DataUnit.ts:1912
|
|
24
24
|
|
25
25
|
#### Source
|
26
26
|
|
27
|
-
src/dataunit/DataUnit.ts:
|
27
|
+
src/dataunit/DataUnit.ts:1916
|
28
28
|
|
29
29
|
***
|
30
30
|
|
@@ -34,4 +34,4 @@ src/dataunit/DataUnit.ts:1913
|
|
34
34
|
|
35
35
|
#### Source
|
36
36
|
|
37
|
-
src/dataunit/DataUnit.ts:
|
37
|
+
src/dataunit/DataUnit.ts:1914
|
package/package.json
CHANGED