betterstart-cli 0.0.90 → 0.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/index.d.ts CHANGED
@@ -51,37 +51,28 @@ interface BetterstartConfig {
51
51
  }
52
52
  declare function defineConfig(config: BetterstartConfig): BetterstartConfig;
53
53
 
54
- type BetterstartIntegrationId = string;
55
- type BetterstartIntegrationKind = 'email' | 'storage' | 'form';
56
- interface InstalledIntegrationManifest {
57
- id: BetterstartIntegrationId;
54
+ interface BetterstartInstalledManifest<TKind extends string> {
55
+ id: string;
58
56
  version: string;
59
- kind: BetterstartIntegrationKind;
57
+ kind: TKind;
60
58
  ownedFiles: string[];
61
59
  envKeys: string[];
62
60
  packageDependencies: string[];
63
61
  devDependencies: string[];
64
62
  configured: boolean;
65
- dependencies: BetterstartIntegrationId[];
66
- conflicts: BetterstartIntegrationId[];
63
+ dependencies: string[];
64
+ conflicts: string[];
67
65
  installedAt: string;
68
66
  }
69
67
 
68
+ type BetterstartIntegrationId = string;
69
+ type BetterstartIntegrationKind = 'email' | 'storage' | 'form';
70
+ type InstalledIntegrationManifest = BetterstartInstalledManifest<BetterstartIntegrationKind>;
71
+
70
72
  type BetterstartPresetId = string;
71
73
  type BetterstartPresetKind = 'content';
72
- interface InstalledPresetManifest {
73
- id: BetterstartPresetId;
74
- version: string;
75
- kind: BetterstartPresetKind;
74
+ interface InstalledPresetManifest extends BetterstartInstalledManifest<BetterstartPresetKind> {
76
75
  ownedSchemas: string[];
77
- ownedFiles: string[];
78
- envKeys: string[];
79
- packageDependencies: string[];
80
- devDependencies: string[];
81
- configured: boolean;
82
- dependencies: BetterstartPresetId[];
83
- conflicts: BetterstartPresetId[];
84
- installedAt: string;
85
76
  }
86
77
  type SchemaOwner = 'core' | 'user' | `preset:${string}`;
87
78
  interface SchemaOwnershipIndex {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "betterstart-cli",
3
- "version": "0.0.90",
4
- "description": "Scaffold a preset- anddashboard,
tailored integration-based Admin into any Next.js 16 application",
3
+ "version": "0.0.91",
4
+ "description": "A production ready dashboard,
tailored for you in 5 Minutes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",