@appsemble/sdk
Advanced tools
Comparing version 0.15.4 to 0.15.5
@@ -1,3 +0,3 @@ | ||
import type { Promisable } from 'type-fest'; | ||
import type { Action, Message, Theme } from './types'; | ||
import { Promisable } from 'type-fest'; | ||
import { Action, Message, Theme } from './types'; | ||
export * from './types'; | ||
@@ -74,5 +74,3 @@ /** | ||
export declare type Remapper = string | number | boolean | object | object[]; | ||
export interface PageParameters { | ||
[parameter: string]: string; | ||
} | ||
export declare type PageParameters = Record<string, string>; | ||
/** | ||
@@ -96,5 +94,3 @@ * A set of utility functions provided by the Appsemble SDK. | ||
*/ | ||
remap: (remapper: Remapper, data: any, context?: { | ||
[key: string]: any; | ||
}) => any; | ||
remap: (remapper: Remapper, data: any, context?: Record<string, any>) => any; | ||
/** | ||
@@ -101,0 +97,0 @@ * Show a bulma style message. |
@@ -1,2 +0,2 @@ | ||
// eslint-disable-next-line no-duplicate-imports | ||
// eslint-disable-next-line @typescript-eslint/no-duplicate-imports | ||
export * from './types'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -18,5 +18,3 @@ /** | ||
*/ | ||
dispatch: (data?: any, context?: { | ||
[key: string]: any; | ||
}) => Promise<unknown>; | ||
dispatch: (data?: any, context?: Record<string, any>) => Promise<unknown>; | ||
} | ||
@@ -23,0 +21,0 @@ export declare type RequestLikeActionTypes = 'request' | 'resource.create' | 'resource.delete' | 'resource.get' | 'resource.query' | 'resource.update'; |
{ | ||
"name": "@appsemble/sdk", | ||
"version": "0.15.4", | ||
"version": "0.15.5", | ||
"description": "Build your own blocks", | ||
@@ -36,4 +36,4 @@ "keywords": [ | ||
"dependencies": { | ||
"type-fest": "^0.16.0" | ||
"type-fest": "^0.18.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
9
13879
367
+ Addedtype-fest@0.18.1(transitive)
- Removedtype-fest@0.16.0(transitive)
Updatedtype-fest@^0.18.0