@storyblok/api-client 0.2.1 → 0.2.3
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/README.md +1 -1
- package/dist/generated/datasource_entries/sdk.gen.cjs +2 -2
- package/dist/generated/datasource_entries/sdk.gen.cjs.map +1 -1
- package/dist/generated/datasource_entries/sdk.gen.mjs +2 -2
- package/dist/generated/datasource_entries/sdk.gen.mjs.map +1 -1
- package/dist/generated/datasource_entries/types.gen.d.cts +3 -3
- package/dist/generated/datasource_entries/types.gen.d.mts +3 -3
- package/dist/generated/datasources/sdk.gen.cjs +2 -2
- package/dist/generated/datasources/sdk.gen.cjs.map +1 -1
- package/dist/generated/datasources/sdk.gen.mjs +2 -2
- package/dist/generated/datasources/sdk.gen.mjs.map +1 -1
- package/dist/generated/datasources/types.gen.d.cts +3 -3
- package/dist/generated/datasources/types.gen.d.mts +3 -3
- package/dist/generated/links/sdk.gen.cjs +2 -2
- package/dist/generated/links/sdk.gen.cjs.map +1 -1
- package/dist/generated/links/sdk.gen.mjs +2 -2
- package/dist/generated/links/sdk.gen.mjs.map +1 -1
- package/dist/generated/links/types.gen.d.cts +3 -3
- package/dist/generated/links/types.gen.d.mts +3 -3
- package/dist/generated/shared/client/client.gen.d.mts +1 -0
- package/dist/generated/shared/client/index.d.mts +3 -0
- package/dist/generated/shared/client/types.gen.d.mts +1 -1
- package/dist/generated/stories/index.d.mts +1 -0
- package/dist/generated/stories/sdk.gen.cjs +2 -2
- package/dist/generated/stories/sdk.gen.cjs.map +1 -1
- package/dist/generated/stories/sdk.gen.d.mts +1 -0
- package/dist/generated/stories/sdk.gen.mjs +2 -2
- package/dist/generated/stories/sdk.gen.mjs.map +1 -1
- package/dist/generated/stories/types.gen.d.cts +6 -6
- package/dist/generated/stories/types.gen.d.mts +6 -6
- package/dist/generated/tags/sdk.gen.cjs +2 -2
- package/dist/generated/tags/sdk.gen.cjs.map +1 -1
- package/dist/generated/tags/sdk.gen.mjs +2 -2
- package/dist/generated/tags/sdk.gen.mjs.map +1 -1
- package/dist/generated/tags/types.gen.d.cts +3 -3
- package/dist/generated/tags/types.gen.d.mts +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -20
- package/dist/index.d.mts +20 -20
- package/dist/index.mjs.map +1 -1
- package/dist/resources/datasource-entries.cjs +2 -2
- package/dist/resources/datasource-entries.cjs.map +1 -1
- package/dist/resources/datasource-entries.mjs +3 -3
- package/dist/resources/datasource-entries.mjs.map +1 -1
- package/dist/resources/datasources.cjs +2 -2
- package/dist/resources/datasources.cjs.map +1 -1
- package/dist/resources/datasources.mjs +3 -3
- package/dist/resources/datasources.mjs.map +1 -1
- package/dist/resources/links.cjs +2 -2
- package/dist/resources/links.cjs.map +1 -1
- package/dist/resources/links.mjs +3 -3
- package/dist/resources/links.mjs.map +1 -1
- package/dist/resources/stories.cjs +2 -2
- package/dist/resources/stories.cjs.map +1 -1
- package/dist/resources/stories.d.mts +0 -1
- package/dist/resources/stories.mjs +3 -3
- package/dist/resources/stories.mjs.map +1 -1
- package/dist/resources/tags.cjs +2 -2
- package/dist/resources/tags.cjs.map +1 -1
- package/dist/resources/tags.mjs +3 -3
- package/dist/resources/tags.mjs.map +1 -1
- package/dist/utils/fetch-rel-uuids.cjs +1 -1
- package/dist/utils/fetch-rel-uuids.cjs.map +1 -1
- package/dist/utils/fetch-rel-uuids.mjs +2 -2
- package/dist/utils/fetch-rel-uuids.mjs.map +1 -1
- package/dist/utils/rate-limit.cjs +4 -4
- package/dist/utils/rate-limit.cjs.map +1 -1
- package/dist/utils/rate-limit.d.cts +1 -1
- package/dist/utils/rate-limit.d.mts +1 -1
- package/dist/utils/rate-limit.mjs +4 -4
- package/dist/utils/rate-limit.mjs.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
## Documentation
|
|
40
40
|
|
|
41
|
-
For complete documentation, please visit [package reference](https://www.storyblok.com/docs/
|
|
41
|
+
For complete documentation, please visit [package reference](https://www.storyblok.com/docs/libraries/js/api-client)
|
|
42
42
|
|
|
43
43
|
## Contributing
|
|
44
44
|
|
|
@@ -6,7 +6,7 @@ const require_client_gen = require('./client.gen.cjs');
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all datasource entries. The API response can be filtered using the query parameters.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? require_client_gen.client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -17,5 +17,5 @@ const getAll = (options) => (options?.client ?? require_client_gen.client).get({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
exports.
|
|
20
|
+
exports.list = list;
|
|
21
21
|
//# sourceMappingURL=sdk.gen.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/datasource_entries/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/datasource_entries/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Datasource Entries\n *\n * Returns an array of all datasource entries. The API response can be filtered using the query parameters.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/datasource_entries',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAUA,2BAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { client } from "./client.gen.mjs";
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all datasource entries. The API response can be filtered using the query parameters.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -17,5 +17,5 @@ const getAll = (options) => (options?.client ?? client).get({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
export {
|
|
20
|
+
export { list };
|
|
21
21
|
//# sourceMappingURL=sdk.gen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/datasource_entries/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/datasource_entries/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Datasource Entries\n *\n * Returns an array of all datasource entries. The API response can be filtered using the query parameters.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/datasource_entries',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAU,QAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -20,7 +20,7 @@ type DatasourceEntryCapi = {
|
|
|
20
20
|
*/
|
|
21
21
|
dimension_value?: string | null;
|
|
22
22
|
};
|
|
23
|
-
type
|
|
23
|
+
type ListData = {
|
|
24
24
|
body?: never;
|
|
25
25
|
path?: never;
|
|
26
26
|
query?: {
|
|
@@ -47,7 +47,7 @@ type GetAllData = {
|
|
|
47
47
|
};
|
|
48
48
|
url: '/v2/cdn/datasource_entries';
|
|
49
49
|
};
|
|
50
|
-
type
|
|
50
|
+
type ListResponses = {
|
|
51
51
|
/**
|
|
52
52
|
* Array of datasource entries
|
|
53
53
|
*/
|
|
@@ -63,5 +63,5 @@ type GetAllResponses = {
|
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
//#endregion
|
|
66
|
-
export { DatasourceEntryCapi,
|
|
66
|
+
export { DatasourceEntryCapi, ListData, ListResponses };
|
|
67
67
|
//# sourceMappingURL=types.gen.d.cts.map
|
|
@@ -20,7 +20,7 @@ type DatasourceEntryCapi = {
|
|
|
20
20
|
*/
|
|
21
21
|
dimension_value?: string | null;
|
|
22
22
|
};
|
|
23
|
-
type
|
|
23
|
+
type ListData = {
|
|
24
24
|
body?: never;
|
|
25
25
|
path?: never;
|
|
26
26
|
query?: {
|
|
@@ -47,7 +47,7 @@ type GetAllData = {
|
|
|
47
47
|
};
|
|
48
48
|
url: '/v2/cdn/datasource_entries';
|
|
49
49
|
};
|
|
50
|
-
type
|
|
50
|
+
type ListResponses = {
|
|
51
51
|
/**
|
|
52
52
|
* Array of datasource entries
|
|
53
53
|
*/
|
|
@@ -63,5 +63,5 @@ type GetAllResponses = {
|
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
//#endregion
|
|
66
|
-
export { DatasourceEntryCapi,
|
|
66
|
+
export { DatasourceEntryCapi, ListData, ListResponses };
|
|
67
67
|
//# sourceMappingURL=types.gen.d.mts.map
|
|
@@ -6,7 +6,7 @@ const require_client_gen = require('./client.gen.cjs');
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all datasources with pagination support.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? require_client_gen.client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -32,5 +32,5 @@ const get = (options) => (options.client ?? require_client_gen.client).get({
|
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
exports.get = get;
|
|
35
|
-
exports.
|
|
35
|
+
exports.list = list;
|
|
36
36
|
//# sourceMappingURL=sdk.gen.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/datasources/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/datasources/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { GetData, GetErrors, GetResponses, ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Datasources\n *\n * Returns an array of all datasources with pagination support.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/datasources',\n ...options\n});\n\n/**\n * Retrieve One Datasource\n *\n * Returns a single datasource object for the specified ID\n */\nexport const get = <ThrowOnError extends boolean = false>(options: Options<GetData, ThrowOnError>) => (options.client ?? client).get<GetResponses, GetErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/datasources/{id}',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAUA,2BAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC;;;;;;AAOF,MAAa,OAA6C,aAA6C,QAAQ,UAAUA,2BAAQ,IAA2C;CACxK,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { client } from "./client.gen.mjs";
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all datasources with pagination support.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -31,5 +31,5 @@ const get = (options) => (options.client ?? client).get({
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
|
-
export { get,
|
|
34
|
+
export { get, list };
|
|
35
35
|
//# sourceMappingURL=sdk.gen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/datasources/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/datasources/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { GetData, GetErrors, GetResponses, ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Datasources\n *\n * Returns an array of all datasources with pagination support.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/datasources',\n ...options\n});\n\n/**\n * Retrieve One Datasource\n *\n * Returns a single datasource object for the specified ID\n */\nexport const get = <ThrowOnError extends boolean = false>(options: Options<GetData, ThrowOnError>) => (options.client ?? client).get<GetResponses, GetErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/datasources/{id}',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAU,QAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC;;;;;;AAOF,MAAa,OAA6C,aAA6C,QAAQ,UAAU,QAAQ,IAA2C;CACxK,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -42,7 +42,7 @@ type DatasourceCapi = {
|
|
|
42
42
|
updated_at?: string;
|
|
43
43
|
}>;
|
|
44
44
|
};
|
|
45
|
-
type
|
|
45
|
+
type ListData = {
|
|
46
46
|
body?: never;
|
|
47
47
|
path?: never;
|
|
48
48
|
query?: {
|
|
@@ -61,7 +61,7 @@ type GetAllData = {
|
|
|
61
61
|
};
|
|
62
62
|
url: '/v2/cdn/datasources';
|
|
63
63
|
};
|
|
64
|
-
type
|
|
64
|
+
type ListResponses = {
|
|
65
65
|
/**
|
|
66
66
|
* Array of datasources
|
|
67
67
|
*/
|
|
@@ -105,5 +105,5 @@ type GetResponses = {
|
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
//#endregion
|
|
108
|
-
export { DatasourceCapi,
|
|
108
|
+
export { DatasourceCapi, GetData, GetResponses, ListData, ListResponses };
|
|
109
109
|
//# sourceMappingURL=types.gen.d.cts.map
|
|
@@ -42,7 +42,7 @@ type DatasourceCapi = {
|
|
|
42
42
|
updated_at?: string;
|
|
43
43
|
}>;
|
|
44
44
|
};
|
|
45
|
-
type
|
|
45
|
+
type ListData = {
|
|
46
46
|
body?: never;
|
|
47
47
|
path?: never;
|
|
48
48
|
query?: {
|
|
@@ -61,7 +61,7 @@ type GetAllData = {
|
|
|
61
61
|
};
|
|
62
62
|
url: '/v2/cdn/datasources';
|
|
63
63
|
};
|
|
64
|
-
type
|
|
64
|
+
type ListResponses = {
|
|
65
65
|
/**
|
|
66
66
|
* Array of datasources
|
|
67
67
|
*/
|
|
@@ -105,5 +105,5 @@ type GetResponses = {
|
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
//#endregion
|
|
108
|
-
export { DatasourceCapi,
|
|
108
|
+
export { DatasourceCapi, GetData, GetResponses, ListData, ListResponses };
|
|
109
109
|
//# sourceMappingURL=types.gen.d.mts.map
|
|
@@ -6,7 +6,7 @@ const require_client_gen = require('./client.gen.cjs');
|
|
|
6
6
|
*
|
|
7
7
|
* Returns a map of all links. The API response can be filtered using the query parameters.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? require_client_gen.client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -17,5 +17,5 @@ const getAll = (options) => (options?.client ?? require_client_gen.client).get({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
exports.
|
|
20
|
+
exports.list = list;
|
|
21
21
|
//# sourceMappingURL=sdk.gen.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/links/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/links/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Links\n *\n * Returns a map of all links. The API response can be filtered using the query parameters.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/links',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAUA,2BAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { client } from "./client.gen.mjs";
|
|
|
6
6
|
*
|
|
7
7
|
* Returns a map of all links. The API response can be filtered using the query parameters.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -17,5 +17,5 @@ const getAll = (options) => (options?.client ?? client).get({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
export {
|
|
20
|
+
export { list };
|
|
21
21
|
//# sourceMappingURL=sdk.gen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/links/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/links/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Links\n *\n * Returns a map of all links. The API response can be filtered using the query parameters.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/links',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAU,QAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -81,7 +81,7 @@ type LinkCapi = {
|
|
|
81
81
|
published?: boolean;
|
|
82
82
|
}>;
|
|
83
83
|
};
|
|
84
|
-
type
|
|
84
|
+
type ListData = {
|
|
85
85
|
body?: never;
|
|
86
86
|
path?: never;
|
|
87
87
|
query?: {
|
|
@@ -120,7 +120,7 @@ type GetAllData = {
|
|
|
120
120
|
};
|
|
121
121
|
url: '/v2/cdn/links';
|
|
122
122
|
};
|
|
123
|
-
type
|
|
123
|
+
type ListResponses = {
|
|
124
124
|
/**
|
|
125
125
|
* Map of links
|
|
126
126
|
*/
|
|
@@ -138,5 +138,5 @@ type GetAllResponses = {
|
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
//#endregion
|
|
141
|
-
export {
|
|
141
|
+
export { LinkCapi, ListData, ListResponses };
|
|
142
142
|
//# sourceMappingURL=types.gen.d.cts.map
|
|
@@ -81,7 +81,7 @@ type LinkCapi = {
|
|
|
81
81
|
published?: boolean;
|
|
82
82
|
}>;
|
|
83
83
|
};
|
|
84
|
-
type
|
|
84
|
+
type ListData = {
|
|
85
85
|
body?: never;
|
|
86
86
|
path?: never;
|
|
87
87
|
query?: {
|
|
@@ -120,7 +120,7 @@ type GetAllData = {
|
|
|
120
120
|
};
|
|
121
121
|
url: '/v2/cdn/links';
|
|
122
122
|
};
|
|
123
|
-
type
|
|
123
|
+
type ListResponses = {
|
|
124
124
|
/**
|
|
125
125
|
* Map of links
|
|
126
126
|
*/
|
|
@@ -138,5 +138,5 @@ type GetAllResponses = {
|
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
//#endregion
|
|
141
|
-
export {
|
|
141
|
+
export { LinkCapi, ListData, ListResponses };
|
|
142
142
|
//# sourceMappingURL=types.gen.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -99,5 +99,5 @@ interface ClientOptions {
|
|
|
99
99
|
throwOnError?: boolean;
|
|
100
100
|
}
|
|
101
101
|
//#endregion
|
|
102
|
-
export { RequestOptions, ResolvedRequestOptions };
|
|
102
|
+
export { ClientOptions, Config, RequestOptions, ResolvedRequestOptions, ResponseStyle, RetryOptions$1 as RetryOptions };
|
|
103
103
|
//# sourceMappingURL=types.gen.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { AssetField, GetData, ListData, MultilinkField, PluginField, RichtextField, StoryAlternate, StoryBase, StoryCapi, StoryContent, StoryLocalizedPath, StoryTranslatedSlug, TableField } from "./types.gen.mjs";
|
|
@@ -6,7 +6,7 @@ const require_client_gen = require('./client.gen.cjs');
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all stories. The API response can be filtered using the query parameters, including specific filter queries.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? require_client_gen.client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -32,5 +32,5 @@ const get = (options) => (options.client ?? require_client_gen.client).get({
|
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
exports.get = get;
|
|
35
|
-
exports.
|
|
35
|
+
exports.list = list;
|
|
36
36
|
//# sourceMappingURL=sdk.gen.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/stories/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/stories/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { GetData, GetErrors, GetResponses, ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Stories\n *\n * Returns an array of all stories. The API response can be filtered using the query parameters, including specific filter queries.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/stories',\n ...options\n});\n\n/**\n * Retrieve One Story\n *\n * Returns a single story object for the specified full_slug, id or uuid\n */\nexport const get = <ThrowOnError extends boolean = false>(options: Options<GetData, ThrowOnError>) => (options.client ?? client).get<GetResponses, GetErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/stories/{identifier}',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAUA,2BAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC;;;;;;AAOF,MAAa,OAA6C,aAA6C,QAAQ,UAAUA,2BAAQ,IAA2C;CACxK,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -6,7 +6,7 @@ import { client } from "./client.gen.mjs";
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all stories. The API response can be filtered using the query parameters, including specific filter queries.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -31,5 +31,5 @@ const get = (options) => (options.client ?? client).get({
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
|
-
export { get,
|
|
34
|
+
export { get, list };
|
|
35
35
|
//# sourceMappingURL=sdk.gen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/stories/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/stories/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { GetData, GetErrors, GetResponses, ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve Multiple Stories\n *\n * Returns an array of all stories. The API response can be filtered using the query parameters, including specific filter queries.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/stories',\n ...options\n});\n\n/**\n * Retrieve One Story\n *\n * Returns a single story object for the specified full_slug, id or uuid\n */\nexport const get = <ThrowOnError extends boolean = false>(options: Options<GetData, ThrowOnError>) => (options.client ?? client).get<GetResponses, GetErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/stories/{identifier}',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAU,QAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC;;;;;;AAOF,MAAa,OAA6C,aAA6C,QAAQ,UAAU,QAAQ,IAA2C;CACxK,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -28,9 +28,9 @@ type StoryAlternate = {
|
|
|
28
28
|
*/
|
|
29
29
|
is_folder: boolean;
|
|
30
30
|
/**
|
|
31
|
-
* ID of the parent folder
|
|
31
|
+
* ID of the parent folder. 0 for root-level stories.
|
|
32
32
|
*/
|
|
33
|
-
parent_id: number
|
|
33
|
+
parent_id: number;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Asset field type - single asset (image, video, audio, or document)
|
|
@@ -252,9 +252,9 @@ type StoryBase = {
|
|
|
252
252
|
*/
|
|
253
253
|
name: string;
|
|
254
254
|
/**
|
|
255
|
-
* ID of the parent folder.
|
|
255
|
+
* ID of the parent folder. 0 for root-level stories.
|
|
256
256
|
*/
|
|
257
|
-
parent_id: number
|
|
257
|
+
parent_id: number;
|
|
258
258
|
/**
|
|
259
259
|
* Group ID (UUID string), shared between stories defined as alternates
|
|
260
260
|
*/
|
|
@@ -344,7 +344,7 @@ type StoryCapi = StoryBase & {
|
|
|
344
344
|
*/
|
|
345
345
|
lang: string;
|
|
346
346
|
};
|
|
347
|
-
type
|
|
347
|
+
type ListData = {
|
|
348
348
|
body?: never;
|
|
349
349
|
path?: never;
|
|
350
350
|
query?: {
|
|
@@ -540,5 +540,5 @@ type GetData = {
|
|
|
540
540
|
url: '/v2/cdn/stories/{identifier}';
|
|
541
541
|
};
|
|
542
542
|
//#endregion
|
|
543
|
-
export { AssetField,
|
|
543
|
+
export { AssetField, GetData, ListData, MultilinkField, PluginField, RichtextField, StoryCapi, StoryContent, TableField };
|
|
544
544
|
//# sourceMappingURL=types.gen.d.cts.map
|
|
@@ -28,9 +28,9 @@ type StoryAlternate = {
|
|
|
28
28
|
*/
|
|
29
29
|
is_folder: boolean;
|
|
30
30
|
/**
|
|
31
|
-
* ID of the parent folder
|
|
31
|
+
* ID of the parent folder. 0 for root-level stories.
|
|
32
32
|
*/
|
|
33
|
-
parent_id: number
|
|
33
|
+
parent_id: number;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Asset field type - single asset (image, video, audio, or document)
|
|
@@ -252,9 +252,9 @@ type StoryBase = {
|
|
|
252
252
|
*/
|
|
253
253
|
name: string;
|
|
254
254
|
/**
|
|
255
|
-
* ID of the parent folder.
|
|
255
|
+
* ID of the parent folder. 0 for root-level stories.
|
|
256
256
|
*/
|
|
257
|
-
parent_id: number
|
|
257
|
+
parent_id: number;
|
|
258
258
|
/**
|
|
259
259
|
* Group ID (UUID string), shared between stories defined as alternates
|
|
260
260
|
*/
|
|
@@ -344,7 +344,7 @@ type StoryCapi = StoryBase & {
|
|
|
344
344
|
*/
|
|
345
345
|
lang: string;
|
|
346
346
|
};
|
|
347
|
-
type
|
|
347
|
+
type ListData = {
|
|
348
348
|
body?: never;
|
|
349
349
|
path?: never;
|
|
350
350
|
query?: {
|
|
@@ -540,5 +540,5 @@ type GetData = {
|
|
|
540
540
|
url: '/v2/cdn/stories/{identifier}';
|
|
541
541
|
};
|
|
542
542
|
//#endregion
|
|
543
|
-
export { AssetField,
|
|
543
|
+
export { AssetField, GetData, ListData, MultilinkField, PluginField, RichtextField, StoryAlternate, StoryBase, StoryCapi, StoryContent, StoryLocalizedPath, StoryTranslatedSlug, TableField };
|
|
544
544
|
//# sourceMappingURL=types.gen.d.mts.map
|
|
@@ -6,7 +6,7 @@ const require_client_gen = require('./client.gen.cjs');
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all available tags. Tags can be filtered by prefix and version.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? require_client_gen.client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -17,5 +17,5 @@ const getAll = (options) => (options?.client ?? require_client_gen.client).get({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
exports.
|
|
20
|
+
exports.list = list;
|
|
21
21
|
//# sourceMappingURL=sdk.gen.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/tags/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.cjs","names":["client"],"sources":["../../../src/generated/tags/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve All Tags\n *\n * Returns an array of all available tags. Tags can be filtered by prefix and version.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/tags',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAUA,2BAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { client } from "./client.gen.mjs";
|
|
|
6
6
|
*
|
|
7
7
|
* Returns an array of all available tags. Tags can be filtered by prefix and version.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const list = (options) => (options?.client ?? client).get({
|
|
10
10
|
security: [{
|
|
11
11
|
in: "query",
|
|
12
12
|
name: "token",
|
|
@@ -17,5 +17,5 @@ const getAll = (options) => (options?.client ?? client).get({
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
export {
|
|
20
|
+
export { list };
|
|
21
21
|
//# sourceMappingURL=sdk.gen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/tags/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type {
|
|
1
|
+
{"version":3,"file":"sdk.gen.mjs","names":[],"sources":["../../../src/generated/tags/sdk.gen.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from '../shared/client';\nimport { client } from './client.gen';\nimport type { ListData, ListErrors, ListResponses } from './types.gen';\n\nexport type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * Retrieve All Tags\n *\n * Returns an array of all available tags. Tags can be filtered by prefix and version.\n */\nexport const list = <ThrowOnError extends boolean = false>(options?: Options<ListData, ThrowOnError>) => (options?.client ?? client).get<ListResponses, ListErrors, ThrowOnError>({\n security: [{\n in: 'query',\n name: 'token',\n type: 'apiKey'\n }],\n url: '/v2/cdn/tags',\n ...options\n});\n"],"mappings":";;;;;;;;AAyBA,MAAa,QAA8C,aAA+C,SAAS,UAAU,QAAQ,IAA6C;CAC9K,UAAU,CAAC;EACH,IAAI;EACJ,MAAM;EACN,MAAM;EACT,CAAC;CACN,KAAK;CACL,GAAG;CACN,CAAC"}
|
|
@@ -9,7 +9,7 @@ type TagCapi = {
|
|
|
9
9
|
*/
|
|
10
10
|
taggings_count: number;
|
|
11
11
|
};
|
|
12
|
-
type
|
|
12
|
+
type ListData = {
|
|
13
13
|
body?: never;
|
|
14
14
|
path?: never;
|
|
15
15
|
query?: {
|
|
@@ -24,7 +24,7 @@ type GetAllData = {
|
|
|
24
24
|
};
|
|
25
25
|
url: '/v2/cdn/tags';
|
|
26
26
|
};
|
|
27
|
-
type
|
|
27
|
+
type ListResponses = {
|
|
28
28
|
/**
|
|
29
29
|
* Array of tags
|
|
30
30
|
*/
|
|
@@ -40,5 +40,5 @@ type GetAllResponses = {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
43
|
-
export {
|
|
43
|
+
export { ListData, ListResponses, TagCapi };
|
|
44
44
|
//# sourceMappingURL=types.gen.d.cts.map
|
|
@@ -9,7 +9,7 @@ type TagCapi = {
|
|
|
9
9
|
*/
|
|
10
10
|
taggings_count: number;
|
|
11
11
|
};
|
|
12
|
-
type
|
|
12
|
+
type ListData = {
|
|
13
13
|
body?: never;
|
|
14
14
|
path?: never;
|
|
15
15
|
query?: {
|
|
@@ -24,7 +24,7 @@ type GetAllData = {
|
|
|
24
24
|
};
|
|
25
25
|
url: '/v2/cdn/tags';
|
|
26
26
|
};
|
|
27
|
-
type
|
|
27
|
+
type ListResponses = {
|
|
28
28
|
/**
|
|
29
29
|
* Array of tags
|
|
30
30
|
*/
|
|
@@ -40,5 +40,5 @@ type GetAllResponses = {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
43
|
-
export {
|
|
43
|
+
export { ListData, ListResponses, TagCapi };
|
|
44
44
|
//# sourceMappingURL=types.gen.d.mts.map
|