@nordcraft/ssr 1.0.90 → 1.0.91
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/dist/ssr.types.d.ts +10 -1
- package/package.json +3 -3
- package/src/ssr.types.ts +19 -1
package/dist/ssr.types.d.ts
CHANGED
|
@@ -66,10 +66,19 @@ interface SupabaseApiService extends BaseApiService {
|
|
|
66
66
|
interface XanoApiService extends BaseApiService {
|
|
67
67
|
type: 'xano';
|
|
68
68
|
}
|
|
69
|
+
interface DatoCmsApiService extends BaseApiService {
|
|
70
|
+
type: 'datocms';
|
|
71
|
+
}
|
|
72
|
+
interface UmbracoApiService extends BaseApiService {
|
|
73
|
+
type: 'umbraco';
|
|
74
|
+
}
|
|
75
|
+
interface ContentfulApiService extends BaseApiService {
|
|
76
|
+
type: 'contentful';
|
|
77
|
+
}
|
|
69
78
|
interface CustomApiService extends BaseApiService {
|
|
70
79
|
type: 'custom';
|
|
71
80
|
}
|
|
72
|
-
export type ApiService = SupabaseApiService |
|
|
81
|
+
export type ApiService = ContentfulApiService | CustomApiService | DatoCmsApiService | SupabaseApiService | UmbracoApiService | XanoApiService;
|
|
73
82
|
export type InstalledPackage = Pick<ProjectFiles, 'components' | 'actions' | 'formulas'> & {
|
|
74
83
|
manifest: {
|
|
75
84
|
name: string;
|
package/package.json
CHANGED
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"main": "dist/index.js",
|
|
22
22
|
"types": "dist/index.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@nordcraft/core": "1.0.
|
|
25
|
-
"@nordcraft/std-lib": "1.0.
|
|
24
|
+
"@nordcraft/core": "1.0.91",
|
|
25
|
+
"@nordcraft/std-lib": "1.0.91",
|
|
26
26
|
"fast-deep-equal": "3.1.3",
|
|
27
27
|
"cookie": "1.0.2",
|
|
28
28
|
"xss": "1.0.15"
|
|
29
29
|
},
|
|
30
|
-
"version": "1.0.
|
|
30
|
+
"version": "1.0.91"
|
|
31
31
|
}
|
package/src/ssr.types.ts
CHANGED
|
@@ -71,11 +71,29 @@ interface XanoApiService extends BaseApiService {
|
|
|
71
71
|
type: 'xano'
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
interface DatoCmsApiService extends BaseApiService {
|
|
75
|
+
type: 'datocms'
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface UmbracoApiService extends BaseApiService {
|
|
79
|
+
type: 'umbraco'
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
interface ContentfulApiService extends BaseApiService {
|
|
83
|
+
type: 'contentful'
|
|
84
|
+
}
|
|
85
|
+
|
|
74
86
|
interface CustomApiService extends BaseApiService {
|
|
75
87
|
type: 'custom'
|
|
76
88
|
}
|
|
77
89
|
|
|
78
|
-
export type ApiService =
|
|
90
|
+
export type ApiService =
|
|
91
|
+
| ContentfulApiService
|
|
92
|
+
| CustomApiService
|
|
93
|
+
| DatoCmsApiService
|
|
94
|
+
| SupabaseApiService
|
|
95
|
+
| UmbracoApiService
|
|
96
|
+
| XanoApiService
|
|
79
97
|
|
|
80
98
|
export type InstalledPackage = Pick<
|
|
81
99
|
ProjectFiles,
|