@matochmat/api-client 1.3.2-next.0 → 1.3.2-next.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/{index.d.ts → index.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Auto-generated index.
|
|
1
|
+
// Auto-generated index.ts file
|
|
2
2
|
|
|
3
3
|
export * from './src/v2/baseResponse';
|
|
4
4
|
export * from './src/v2/cateringFunctionality';
|
|
@@ -6,6 +6,7 @@ export * from './src/v2/city';
|
|
|
6
6
|
export * from './src/v2/cityUploadConnection';
|
|
7
7
|
export * from './src/v2/cityUploadGrouping';
|
|
8
8
|
export * from './src/v2/crawlingConfiguration';
|
|
9
|
+
export * from './src/v2/crawlingConfigurationTextContentStrategyType.ts';
|
|
9
10
|
export * from './src/v2/date';
|
|
10
11
|
export * from './src/v2/day';
|
|
11
12
|
export * from './src/v2/deliveryInfo';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matochmat/api-client",
|
|
3
3
|
"description": "API types and helper functionality for the Mat och Mat API.",
|
|
4
|
-
"version": "1.3.2-next.
|
|
4
|
+
"version": "1.3.2-next.2",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=20.9"
|
|
21
21
|
},
|
|
22
|
-
"types": "index.
|
|
22
|
+
"types": "index.ts",
|
|
23
23
|
"files": [
|
|
24
|
-
"index.
|
|
24
|
+
"index.ts",
|
|
25
25
|
"src"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"docs:generate": "typedoc 2> /dev/null && git add docs && git commit --no-verify -m 'docs: Autogenerated documentation'",
|
|
46
46
|
"lint": "eslint ./src --ext .ts",
|
|
47
|
-
"release": "( npm whoami || npm login ) && git checkout main && git merge develop --no-ff -m \"chore: Merge branch 'develop' into 'main'\" && tsx scripts/generateRootTypeDefinition.ts && git add index.
|
|
48
|
-
"release:next": "( npm whoami || npm login ) && git checkout main && git merge develop --no-ff -m \"chore: Merge branch 'develop' into 'main'\" && tsx scripts/generateRootTypeDefinition.ts && git add index.
|
|
47
|
+
"release": "( npm whoami || npm login ) && git checkout main && git merge develop --no-ff -m \"chore: Merge branch 'develop' into 'main'\" && tsx scripts/generateRootTypeDefinition.ts && git add index.ts && git commit --no-verify -m 'chore: Autogenerated root type definitions'; npm run docs:generate; standard-version --no-verify && git push origin main develop --tags && npm publish --access public && npm run update-next-tag && git checkout develop && git merge main --ff-only",
|
|
48
|
+
"release:next": "( npm whoami || npm login ) && git checkout main && git merge develop --no-ff -m \"chore: Merge branch 'develop' into 'main'\" && tsx scripts/generateRootTypeDefinition.ts && git add index.ts && git commit --no-verify -m 'chore: Autogenerated root type definitions'; npm run docs:generate; standard-version --prerelease next --no-verify && git push origin main develop --tags && npm publish --tag next --access public && git checkout develop && git merge main --ff-only",
|
|
49
49
|
"update-next-tag": "npm dist-tag add $(node -p \"require('./package.json').name\")@$(node -p \"require('./package.json').version\") next"
|
|
50
50
|
},
|
|
51
51
|
"type": "module"
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';
|
|
2
|
+
import type { ApiV2CrawlingConfigurationTextContentStrategyTypeType } from '@matochmat/api-client/src/v2/crawlingConfigurationTextContentStrategyType';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
|
-
* Type for the individual array items in v2 of the API for the crawling
|
|
5
|
+
* Type for the individual array items in v2 of the API for the crawling configuration endpoint.
|
|
5
6
|
*/
|
|
6
7
|
export type ApiV2CrawlingConfigurationType =
|
|
7
8
|
{
|
|
@@ -48,7 +49,7 @@ export type ApiV2CrawlingConfigurationType =
|
|
|
48
49
|
/**
|
|
49
50
|
* Strategy to use for getting text content.
|
|
50
51
|
*/
|
|
51
|
-
textContentStrategyTypeId:
|
|
52
|
+
textContentStrategyTypeId: ApiV2CrawlingConfigurationTextContentStrategyTypeType[ 'id' ];
|
|
52
53
|
|
|
53
54
|
/**
|
|
54
55
|
* URL to crawl.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API endpoint slug.
|
|
5
|
+
*/
|
|
6
|
+
export const apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug = 'crawling-configuration-text-content-strategy-types';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Type for the individual array items in v2 of the API for the crawling configuration text content strategy type endpoint.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV2CrawlingConfigurationTextContentStrategyTypeType =
|
|
12
|
+
{
|
|
13
|
+
/**
|
|
14
|
+
* Timestamp for when the entity was created.
|
|
15
|
+
*/
|
|
16
|
+
created: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Unique ID for the entity.
|
|
20
|
+
*/
|
|
21
|
+
id: 1|2;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Timestamp for when the entity was last updated.
|
|
25
|
+
*/
|
|
26
|
+
lastUpdated: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Human readable name.
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The API response type for crawling configurations.
|
|
36
|
+
*/
|
|
37
|
+
export type ApiV2CrawlingConfigurationTextContentStrategyTypeResponseType = ApiV2BaseResponseType<ApiV2CrawlingConfigurationTextContentStrategyTypeType[], number>;
|