@flowlist/js-core 1.7.5 → 2.1.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.
@@ -1,68 +0,0 @@
1
- export declare const testArrData: () => {
2
- result: {
3
- id: number;
4
- slug: string;
5
- obj: {
6
- key: string;
7
- };
8
- arr: {
9
- id: number;
10
- text: string;
11
- }[];
12
- }[];
13
- no_more: boolean;
14
- total: number;
15
- };
16
- export declare const testCommentData: () => {
17
- result: {
18
- parent_id: number;
19
- content: string;
20
- children: {
21
- sub_id: number;
22
- content: string;
23
- }[];
24
- }[];
25
- };
26
- export declare const testArrFunc: () => Promise<unknown>;
27
- export declare const testError: () => Promise<unknown>;
28
- export declare const getListByPage: ({ page, count }: {
29
- page: any;
30
- count: any;
31
- }) => Promise<unknown>;
32
- export declare const getObjectByPage: ({ page, count }: {
33
- page: any;
34
- count: any;
35
- }) => Promise<unknown>;
36
- export declare const getListBySinceId: ({ since_id, is_up, count }: {
37
- since_id: any;
38
- is_up: any;
39
- count: any;
40
- }) => Promise<unknown>;
41
- export declare const getListByJump: ({ page, count }: {
42
- page: any;
43
- count: any;
44
- }) => Promise<unknown>;
45
- export declare const getListWithError: ({ page, count }: {
46
- page: any;
47
- count: any;
48
- }) => Promise<unknown>;
49
- export declare const getListByFirstLoading: ({ page, count }: {
50
- page: any;
51
- count: any;
52
- }) => Promise<unknown>;
53
- export declare const getListByFirstError: ({ page, count }: {
54
- page: any;
55
- count: any;
56
- }) => Promise<unknown>;
57
- export declare const getListByLastId: ({ last_id, count }: {
58
- last_id: any;
59
- count: any;
60
- }) => Promise<unknown>;
61
- export declare const getListBySeenIds: ({ seen_ids, count }: {
62
- seen_ids: any;
63
- count: any;
64
- }) => Promise<unknown>;
65
- export declare const getListByNothing: ({ page, count }: {
66
- page: any;
67
- count: any;
68
- }) => Promise<unknown>;
@@ -1,20 +0,0 @@
1
- export declare const getter: (fieldName: any) => any;
2
- export declare const setter: ({ key, type, value, callback }: {
3
- key: any;
4
- type: any;
5
- value: any;
6
- callback: any;
7
- }) => void;
8
- export declare const cache: {
9
- set({ key, value, timeout }: {
10
- key: any;
11
- value: any;
12
- timeout: any;
13
- }): Promise<unknown>;
14
- get({ key }: {
15
- key: any;
16
- }): Promise<unknown>;
17
- del({ key }: {
18
- key: any;
19
- }): void;
20
- };
@@ -1,23 +0,0 @@
1
- declare const _default: {
2
- get(count: any): {
3
- id: number;
4
- style: {
5
- color: string;
6
- };
7
- width: number;
8
- height: number;
9
- data: any;
10
- like: boolean;
11
- } | {
12
- id: number;
13
- style: {
14
- color: string;
15
- };
16
- width: number;
17
- height: number;
18
- data: any;
19
- like: boolean;
20
- }[];
21
- getRandomColor(): string;
22
- };
23
- export default _default;
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './actions'
2
- export * as utils from './utils'
3
- export { default as ENUM } from './enum'
4
- export * from './types'