@shipstatic/types 0.6.2 → 0.7.0
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 +2 -2
- package/package.json +1 -1
- package/src/index.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -529,7 +529,7 @@ export type DeployInput = File[] | string | string[];
|
|
|
529
529
|
* Options for deployment creation at the API contract level.
|
|
530
530
|
* SDK implementations may extend with additional options (timeout, signal, callbacks, etc.).
|
|
531
531
|
*/
|
|
532
|
-
export interface
|
|
532
|
+
export interface DeploymentUploadOptions {
|
|
533
533
|
/** Optional labels for categorization and filtering */
|
|
534
534
|
labels?: string[];
|
|
535
535
|
/** Optional subdomain suggestion for the deployment */
|
|
@@ -541,7 +541,7 @@ export interface DeploymentCreateOptions {
|
|
|
541
541
|
* Deployment resource interface - the contract all implementations must follow
|
|
542
542
|
*/
|
|
543
543
|
export interface DeploymentResource {
|
|
544
|
-
|
|
544
|
+
upload: (input: DeployInput, options?: DeploymentUploadOptions) => Promise<Deployment>;
|
|
545
545
|
list: () => Promise<DeploymentListResponse>;
|
|
546
546
|
get: (id: string) => Promise<Deployment>;
|
|
547
547
|
set: (id: string, options: {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -815,7 +815,7 @@ export type DeployInput = File[] | string | string[];
|
|
|
815
815
|
* Options for deployment creation at the API contract level.
|
|
816
816
|
* SDK implementations may extend with additional options (timeout, signal, callbacks, etc.).
|
|
817
817
|
*/
|
|
818
|
-
export interface
|
|
818
|
+
export interface DeploymentUploadOptions {
|
|
819
819
|
/** Optional labels for categorization and filtering */
|
|
820
820
|
labels?: string[];
|
|
821
821
|
/** Optional subdomain suggestion for the deployment */
|
|
@@ -828,7 +828,7 @@ export interface DeploymentCreateOptions {
|
|
|
828
828
|
* Deployment resource interface - the contract all implementations must follow
|
|
829
829
|
*/
|
|
830
830
|
export interface DeploymentResource {
|
|
831
|
-
|
|
831
|
+
upload: (input: DeployInput, options?: DeploymentUploadOptions) => Promise<Deployment>;
|
|
832
832
|
list: () => Promise<DeploymentListResponse>;
|
|
833
833
|
get: (id: string) => Promise<Deployment>;
|
|
834
834
|
set: (id: string, options: { labels: string[] }) => Promise<Deployment>;
|