@squared-functions/types
Advanced tools
Comparing version 4.8.92 to 4.8.93
@@ -7,2 +7,3 @@ /* eslint @typescript-eslint/no-explicit-any: "off" */ | ||
import type { QueryResult, TimeoutAction } from './db'; | ||
import type { AddEventListenerOptions } from './dom'; | ||
import type { Settings } from './node'; | ||
@@ -9,0 +10,0 @@ import type { ClientDBSettings, ClientModule, DbCacheValue, DbCoerceSettings, DbSourceOptions } from './settings'; |
@@ -175,3 +175,3 @@ import type { DataSource, DbDataSource } from './squared'; | ||
export interface ProcessRowsOptions { | ||
disconnect?: VoidFunction; | ||
disconnect?: () => void; | ||
parallel?: boolean; | ||
@@ -178,0 +178,0 @@ } |
@@ -1,17 +0,9 @@ | ||
/// <reference path="type.d.ts" /> | ||
/// <reference path="object.d.ts" /> | ||
interface BoxRect<T = number> { | ||
top: T; | ||
right: T; | ||
bottom: T; | ||
left: T; | ||
interface EventListenerOptions { | ||
capture?: boolean; | ||
} | ||
interface BoxRectDimension extends BoxRect, Dimension { | ||
numberOfLines?: number; | ||
overflow?: boolean; | ||
} | ||
type CssStyleMap = Partial<MapOfType<CSSStyleDeclaration, CssStyleAttr, string>>; | ||
type CssStyleAttr = KeyOfType<CSSStyleDeclaration, string, string>; | ||
export interface AddEventListenerOptions extends EventListenerOptions { | ||
once?: boolean; | ||
passive?: boolean; | ||
signal?: AbortSignal; | ||
} |
@@ -1,3 +0,1 @@ | ||
/// <reference path="object.d.ts" /> | ||
import type { MimeTypeAction } from './squared'; | ||
@@ -4,0 +2,0 @@ |
@@ -1,3 +0,1 @@ | ||
/// <reference path="type.d.ts" /> | ||
import type { LogStatus } from './squared'; | ||
@@ -4,0 +2,0 @@ |
/// <reference path="type.d.ts" /> | ||
/// <reference path="dom.d.ts" /> | ||
/// <reference path="object.d.ts" /> | ||
@@ -24,2 +24,14 @@ interface Asset extends MimeTypeAction { | ||
interface BoxRect<T = number> { | ||
top: T; | ||
right: T; | ||
bottom: T; | ||
left: T; | ||
} | ||
interface BoxRectDimension extends BoxRect, Dimension { | ||
numberOfLines?: number; | ||
overflow?: boolean; | ||
} | ||
export interface FileAsset extends TextAsset, OutputAction, DocumentAction, MultipartAction, ResourceAction { | ||
@@ -300,3 +312,3 @@ format?: StringOfArray; | ||
bounds: BoxRectDimension; | ||
css: CssStyleMap; | ||
css: PlainObject; | ||
outerWrapperIds?: string[]; | ||
@@ -303,0 +315,0 @@ } |
{ | ||
"name": "@squared-functions/types", | ||
"version": "4.8.92", | ||
"version": "4.8.93", | ||
"description": "Type definitions for squared-functions", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3386
147110