Socket
Socket
Sign inDemoInstall

@squared-functions/types

Package Overview
Dependencies
Maintainers
1
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squared-functions/types - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

30

lib/index.d.ts

@@ -32,2 +32,4 @@ /// <reference path="type.d.ts" />

compress?: CompressFormat[];
watch?: boolean | WatchInterval;
tasks?: string[];
}

@@ -48,4 +50,6 @@

apiEndpoint?: string;
publicAccess?: boolean;
settings?: string;
objects?: CloudObject[];
overwrite?: boolean;
[key: string]: Undef<unknown>;

@@ -58,2 +62,7 @@ }

interface WatchInterval {
interval?: number;
expires?: string;
}
interface ResponseData {

@@ -80,7 +89,4 @@ success: boolean;

preserve?: boolean;
watch?: boolean | WatchInterval;
tasks?: string[];
attributes?: AttributeValue[];
cloudStorage?: squared.CloudService[];
exclude?: boolean;
basePath?: string;

@@ -90,12 +96,8 @@ bundleId?: number;

bundleRoot?: string;
textContent?: string;
trailingContent?: FormattableContent[];
textContent?: string;
inlineContent?: string;
exclude?: boolean;
}
interface WatchInterval {
interval?: number;
expires?: string;
}
interface AttributeValue {

@@ -108,3 +110,2 @@ name: string;

value: string;
format?: string;
preserve?: boolean;

@@ -205,4 +206,5 @@ }

namespace external {
interface CloudUploadOptions {
interface CloudUploadOptions<T>{
config: squared.CloudService;
credentials: T;
filename: string;

@@ -218,5 +220,5 @@ fileUri: string;

type CloudServiceClient = (data: squared.CloudService, settings: StandardMap) => boolean;
type CloudServiceHost = (this: IFileManager, config: squared.CloudService) => CloudServiceUpload;
type CloudServiceUpload = (buffer: Buffer, success: (value?: unknown) => void, options: CloudUploadOptions) => void;
type CloudServiceClient = (config: squared.CloudService) => boolean;
type CloudServiceHost = (this: IFileManager, config: PlainObject, serviceName: string) => CloudServiceUpload;
type CloudServiceUpload = (buffer: Buffer, success: (value?: unknown) => void, options: CloudUploadOptions<unknown>) => void;
}

@@ -223,0 +225,0 @@

{
"name": "@squared-functions/types",
"version": "0.6.0",
"version": "0.6.1",
"description": "Type definitions for squared-functions",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc