@inneropen/marvin-sdk 2.0.0-next.18 → 2.0.0-next.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 +11 -136
- package/dist/{HttpClient-CdF3IHM1.d.cts → HttpClient-CLtgQGXH.d.cts} +2 -49
- package/dist/{HttpClient-CdF3IHM1.d.ts → HttpClient-CLtgQGXH.d.ts} +2 -49
- package/dist/chunk-25F3IF6S.js +396 -0
- package/dist/index.cjs +25 -536
- package/dist/index.d.cts +544 -20
- package/dist/index.d.ts +544 -20
- package/dist/index.js +791 -27
- package/dist/platform.cjs +42 -681
- package/dist/platform.d.cts +80 -803
- package/dist/platform.d.ts +80 -803
- package/dist/platform.js +32 -449
- package/dist/types/index.d.cts +1 -9
- package/dist/types/index.d.ts +1 -9
- package/package.json +7 -18
- package/dist/chunk-GJNOYXUQ.js +0 -980
- package/dist/chunk-WJC4X7TB.js +0 -738
- package/dist/marvin-Bx5k6tsF.d.cts +0 -654
- package/dist/marvin-g7dayc83.d.ts +0 -654
- package/dist/publish.cjs +0 -1487
- package/dist/publish.d.cts +0 -49
- package/dist/publish.d.ts +0 -49
- package/dist/publish.js +0 -75
package/dist/types/index.d.cts
CHANGED
|
@@ -164,13 +164,5 @@ interface GetResourcesOptions {
|
|
|
164
164
|
limit?: number;
|
|
165
165
|
offset?: number;
|
|
166
166
|
}
|
|
167
|
-
/**
|
|
168
|
-
* Authentication token response
|
|
169
|
-
* Used by auth.login() and auth.refresh()
|
|
170
|
-
*/
|
|
171
|
-
interface AuthToken {
|
|
172
|
-
accessToken: string;
|
|
173
|
-
tokenType: string;
|
|
174
|
-
}
|
|
175
167
|
|
|
176
|
-
export type { AssetUploadRequest,
|
|
168
|
+
export type { AssetUploadRequest, GetAssetsOptions, GetEntriesOptions, GetResourcesOptions, MarvinAsset, MarvinClientConfig, MarvinCollection, MarvinEntry, MarvinEntryType, MarvinPublishResponse, MarvinResource, MarvinSite, PublishedAsset };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -164,13 +164,5 @@ interface GetResourcesOptions {
|
|
|
164
164
|
limit?: number;
|
|
165
165
|
offset?: number;
|
|
166
166
|
}
|
|
167
|
-
/**
|
|
168
|
-
* Authentication token response
|
|
169
|
-
* Used by auth.login() and auth.refresh()
|
|
170
|
-
*/
|
|
171
|
-
interface AuthToken {
|
|
172
|
-
accessToken: string;
|
|
173
|
-
tokenType: string;
|
|
174
|
-
}
|
|
175
167
|
|
|
176
|
-
export type { AssetUploadRequest,
|
|
168
|
+
export type { AssetUploadRequest, GetAssetsOptions, GetEntriesOptions, GetResourcesOptions, MarvinAsset, MarvinClientConfig, MarvinCollection, MarvinEntry, MarvinEntryType, MarvinPublishResponse, MarvinResource, MarvinSite, PublishedAsset };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneropen/marvin-sdk",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.3",
|
|
4
4
|
"description": "Official TypeScript SDK for Marvin CMS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -13,20 +13,15 @@
|
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
15
|
"./publish": {
|
|
16
|
-
"types": "./dist/
|
|
17
|
-
"import": "./dist/
|
|
18
|
-
"require": "./dist/
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"require": "./dist/index.cjs"
|
|
19
19
|
},
|
|
20
20
|
"./platform": {
|
|
21
21
|
"types": "./dist/platform.d.ts",
|
|
22
22
|
"import": "./dist/platform.js",
|
|
23
23
|
"require": "./dist/platform.cjs"
|
|
24
24
|
},
|
|
25
|
-
"./core": {
|
|
26
|
-
"types": "./dist/index.d.ts",
|
|
27
|
-
"import": "./dist/index.js",
|
|
28
|
-
"require": "./dist/index.cjs"
|
|
29
|
-
},
|
|
30
25
|
"./types": {
|
|
31
26
|
"types": "./dist/types/index.d.ts",
|
|
32
27
|
"import": "./dist/types/index.js",
|
|
@@ -65,15 +60,12 @@
|
|
|
65
60
|
},
|
|
66
61
|
"homepage": "https://github.com/inneropen/marvin-sdk#readme",
|
|
67
62
|
"scripts": {
|
|
68
|
-
"build": "tsup src/index.ts src/
|
|
69
|
-
"dev": "tsup src/index.ts src/
|
|
63
|
+
"build": "tsup src/index.ts src/platform.ts src/types/index.ts --format esm,cjs --dts --clean",
|
|
64
|
+
"dev": "tsup src/index.ts src/platform.ts src/types/index.ts --format esm,cjs --dts --watch",
|
|
70
65
|
"generate:types": "openapi-typescript http://localhost:8080/openapi.json -o src/generated/schema.ts",
|
|
71
66
|
"typecheck": "tsc --noEmit",
|
|
72
67
|
"prepare": "npm run build",
|
|
73
|
-
"prepublishOnly": "npm run build"
|
|
74
|
-
"docs:serve": "mkdocs serve",
|
|
75
|
-
"docs:build": "mkdocs build",
|
|
76
|
-
"docs:deploy": "mkdocs gh-deploy"
|
|
68
|
+
"prepublishOnly": "npm run build"
|
|
77
69
|
},
|
|
78
70
|
"peerDependencies": {
|
|
79
71
|
"typescript": "^5.0.0"
|
|
@@ -89,8 +81,5 @@
|
|
|
89
81
|
"openapi-typescript": "^7.13.0",
|
|
90
82
|
"semantic-release": "^25.0.5",
|
|
91
83
|
"tsup": "^8.5.1"
|
|
92
|
-
},
|
|
93
|
-
"dependencies": {
|
|
94
|
-
"mkdocs": "^0.0.1"
|
|
95
84
|
}
|
|
96
85
|
}
|