cv-contracts 2.0.12 → 2.0.13
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,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
next_cursor?: string | null;
|
|
1
|
+
import { BaseCursorListQuery } from './BaseCursorListQuery';
|
|
2
|
+
export interface CursorListResponseV5<T, F = BaseCursorListQuery> {
|
|
4
3
|
has_more: boolean;
|
|
4
|
+
next_cursor?: string | null;
|
|
5
5
|
total?: number | null;
|
|
6
|
+
results: T[];
|
|
7
|
+
filters?: F | null;
|
|
6
8
|
}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
export declare const CursorListResponseV5Schema: {
|
|
2
2
|
type: string;
|
|
3
3
|
properties: {
|
|
4
|
-
|
|
4
|
+
has_more: {
|
|
5
5
|
type: string;
|
|
6
|
-
items: {
|
|
7
|
-
$ref: string;
|
|
8
|
-
};
|
|
9
6
|
};
|
|
10
7
|
next_cursor: {
|
|
11
8
|
type: string[];
|
|
12
9
|
};
|
|
13
|
-
has_more: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
10
|
total: {
|
|
17
11
|
type: string[];
|
|
18
12
|
};
|
|
13
|
+
results: {
|
|
14
|
+
type: string;
|
|
15
|
+
items: {
|
|
16
|
+
$ref: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
filters: {
|
|
20
|
+
anyOf: ({
|
|
21
|
+
$ref: string;
|
|
22
|
+
type?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
type: string;
|
|
25
|
+
$ref?: undefined;
|
|
26
|
+
})[];
|
|
27
|
+
};
|
|
19
28
|
};
|
|
20
29
|
additionalProperties: boolean;
|
|
21
30
|
required: string[];
|
|
@@ -24,12 +33,17 @@ export declare const CursorListResponseV5Schema: {
|
|
|
24
33
|
type: string;
|
|
25
34
|
additionalProperties: boolean;
|
|
26
35
|
};
|
|
36
|
+
F: {
|
|
37
|
+
type: string;
|
|
38
|
+
additionalProperties: boolean;
|
|
39
|
+
};
|
|
27
40
|
};
|
|
28
41
|
$schema: string;
|
|
29
42
|
};
|
|
30
43
|
export declare enum CursorListResponseV5Keys {
|
|
31
|
-
results = "results",
|
|
32
|
-
next_cursor = "next_cursor",
|
|
33
44
|
has_more = "has_more",
|
|
34
|
-
|
|
45
|
+
next_cursor = "next_cursor",
|
|
46
|
+
total = "total",
|
|
47
|
+
results = "results",
|
|
48
|
+
filters = "filters"
|
|
35
49
|
}
|
|
@@ -4,21 +4,31 @@ exports.CursorListResponseV5Keys = exports.CursorListResponseV5Schema = void 0;
|
|
|
4
4
|
exports.CursorListResponseV5Schema = {
|
|
5
5
|
type: 'object',
|
|
6
6
|
properties: {
|
|
7
|
-
|
|
8
|
-
type: '
|
|
9
|
-
items: {
|
|
10
|
-
$ref: '#/definitions/T',
|
|
11
|
-
},
|
|
7
|
+
has_more: {
|
|
8
|
+
type: 'boolean',
|
|
12
9
|
},
|
|
13
10
|
next_cursor: {
|
|
14
11
|
type: ['null', 'string'],
|
|
15
12
|
},
|
|
16
|
-
has_more: {
|
|
17
|
-
type: 'boolean',
|
|
18
|
-
},
|
|
19
13
|
total: {
|
|
20
14
|
type: ['null', 'number'],
|
|
21
15
|
},
|
|
16
|
+
results: {
|
|
17
|
+
type: 'array',
|
|
18
|
+
items: {
|
|
19
|
+
$ref: '#/definitions/T',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
filters: {
|
|
23
|
+
anyOf: [
|
|
24
|
+
{
|
|
25
|
+
$ref: '#/definitions/F',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'null',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
22
32
|
},
|
|
23
33
|
additionalProperties: false,
|
|
24
34
|
required: ['has_more', 'results'],
|
|
@@ -27,14 +37,19 @@ exports.CursorListResponseV5Schema = {
|
|
|
27
37
|
type: 'object',
|
|
28
38
|
additionalProperties: false,
|
|
29
39
|
},
|
|
40
|
+
F: {
|
|
41
|
+
type: 'object',
|
|
42
|
+
additionalProperties: false,
|
|
43
|
+
},
|
|
30
44
|
},
|
|
31
45
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
32
46
|
};
|
|
33
47
|
var CursorListResponseV5Keys;
|
|
34
48
|
(function (CursorListResponseV5Keys) {
|
|
35
|
-
CursorListResponseV5Keys["results"] = "results";
|
|
36
|
-
CursorListResponseV5Keys["next_cursor"] = "next_cursor";
|
|
37
49
|
CursorListResponseV5Keys["has_more"] = "has_more";
|
|
50
|
+
CursorListResponseV5Keys["next_cursor"] = "next_cursor";
|
|
38
51
|
CursorListResponseV5Keys["total"] = "total";
|
|
52
|
+
CursorListResponseV5Keys["results"] = "results";
|
|
53
|
+
CursorListResponseV5Keys["filters"] = "filters";
|
|
39
54
|
})(CursorListResponseV5Keys = exports.CursorListResponseV5Keys || (exports.CursorListResponseV5Keys = {}));
|
|
40
55
|
//# sourceMappingURL=CursorListResponseV5Schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CursorListResponseV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/CursorListResponseV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,
|
|
1
|
+
{"version":3,"file":"CursorListResponseV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/CursorListResponseV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;SAChB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,KAAK,EAAE;YACL,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,OAAO,EAAE;YACP,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,iBAAiB;aACxB;SACF;QACD,OAAO,EAAE;YACP,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,iBAAiB;iBACxB;gBACD;oBACE,IAAI,EAAE,MAAM;iBACb;aACF;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE;QACX,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;SAC5B;QACD,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;SAC5B;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,wBAMX;AAND,WAAY,wBAAwB;IAClC,iDAAqB,CAAA;IACrB,uDAA2B,CAAA;IAC3B,2CAAe,CAAA;IACf,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;AACrB,CAAC,EANW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAMnC"}
|