@jay-framework/wix-deploy 0.24.2 → 0.24.4

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
@@ -1,9 +1,5 @@
1
1
  import { WixClient } from '@wix/sdk';
2
2
  import { ArtifactStore, RouteManifest, CacheEntry, ServerElementModule } from '@jay-framework/production-server/serve';
3
- import * as _jay_framework_fullstack_component from '@jay-framework/fullstack-component';
4
- import { ConsoleContext } from '@jay-framework/fullstack-component';
5
- import { WixClientService } from '@jay-framework/wix-server-client';
6
- import { JayHtmlValidatorFn } from '@jay-framework/compiler-shared';
7
3
 
8
4
  /**
9
5
  * WixDataArtifactStore — implements ArtifactStore for Wix BaaS deployments.
@@ -66,51 +62,4 @@ declare class WixDataArtifactStore implements ArtifactStore {
66
62
  private writeToCache;
67
63
  }
68
64
 
69
- interface BuildEntryInput {
70
- collectionId?: string;
71
- staticBaseUrl?: string;
72
- excludePlugins?: string;
73
- }
74
- declare const buildEntry: _jay_framework_fullstack_component.JayCliCommand<BuildEntryInput> & _jay_framework_fullstack_component.JayCliCommandDefinition<BuildEntryInput, [ConsoleContext]>;
75
-
76
- interface UploadBackendInput {
77
- collectionId?: string;
78
- dryRun?: boolean;
79
- }
80
- declare const uploadBackend: _jay_framework_fullstack_component.JayCliCommand<UploadBackendInput> & _jay_framework_fullstack_component.JayCliCommandDefinition<UploadBackendInput, [WixClientService, ConsoleContext]>;
81
-
82
- interface DeployBaasInput {
83
- dryRun?: boolean;
84
- }
85
- declare const deployBaas: _jay_framework_fullstack_component.JayCliCommand<DeployBaasInput> & _jay_framework_fullstack_component.JayCliCommandDefinition<DeployBaasInput, [ConsoleContext]>;
86
-
87
- interface DeployInput {
88
- collectionId?: string;
89
- staticBaseUrl?: string;
90
- excludePlugins?: string;
91
- dryRun?: boolean;
92
- }
93
- declare const deploy: _jay_framework_fullstack_component.JayCliCommand<DeployInput> & _jay_framework_fullstack_component.JayCliCommandDefinition<DeployInput, [WixClientService, ConsoleContext]>;
94
-
95
- /**
96
- * wix-deploy setup hook
97
- *
98
- * Runs after wix-server-client setup. Reads wix.config.json to populate
99
- * clientId and siteId in config/.wix.yaml (if they're still placeholders),
100
- * then validates the data collection exists.
101
- */
102
- interface SetupContext {
103
- configDir: string;
104
- projectRoot: string;
105
- initError?: Error;
106
- }
107
- interface SetupResult {
108
- status: 'configured' | 'needs-config' | 'error';
109
- message?: string;
110
- configCreated?: string[];
111
- }
112
- declare function setupWixDeploy(ctx: SetupContext): Promise<SetupResult>;
113
-
114
- declare const validate: JayHtmlValidatorFn;
115
-
116
- export { WixDataArtifactStore, type WixDataArtifactStoreOptions, buildEntry, deploy, deployBaas, setupWixDeploy, uploadBackend, validate };
65
+ export { WixDataArtifactStore, type WixDataArtifactStoreOptions };