Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@appsemble/types

Package Overview
Dependencies
Maintainers
4
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsemble/types - npm Package Compare versions

Comparing version 0.18.24 to 0.18.25

dist/asset.d.ts

26

dist/index.d.ts

@@ -6,2 +6,3 @@ import { Action, BaseMessage, HTTPMethods, LogAction, Theme } from '@appsemble/sdk/src/types';

import { JsonObject, RequireExactlyOne } from 'type-fest';
export * from './asset';
export * from './author';

@@ -167,5 +168,14 @@ export * from './snapshot';

* - `id`: Get the app id.
* - `url`: Get the base URL of the app.
*/
app: 'id';
app: 'id' | 'url';
/**
* Get page metadata.
*
* Supported properties:
*
* - `url`: Get the URL of the current page.
*/
page: 'url';
/**
* Get a property from the context.

@@ -401,6 +411,2 @@ */

/**
* The element to use as the base when returning the response data.
*/
base?: string;
/**
* The type of the action.

@@ -453,3 +459,3 @@ */

*/
title?: string;
title?: Remapper;
}

@@ -601,3 +607,3 @@ export interface EmailActionDefinition extends BaseActionDefinition<'email'> {

};
export declare type ActionDefinition = BaseActionDefinition<'dialog.error'> | BaseActionDefinition<'dialog.ok'> | BaseActionDefinition<'email'> | BaseActionDefinition<'flow.back'> | BaseActionDefinition<'flow.cancel'> | BaseActionDefinition<'flow.finish'> | BaseActionDefinition<'flow.next'> | BaseActionDefinition<'link.back'> | BaseActionDefinition<'link.next'> | BaseActionDefinition<'noop'> | BaseActionDefinition<'team.join'> | BaseActionDefinition<'team.list'> | BaseActionDefinition<'throw'> | ConditionActionDefinition | DialogActionDefinition | EventActionDefinition | FlowToActionDefinition | LinkActionDefinition | LogActionDefinition | MessageActionDefinition | RequestActionDefinition | ResourceCountActionDefinition | ResourceCreateActionDefinition | ResourceDeleteActionDefinition | ResourceGetActionDefinition | ResourceQueryActionDefinition | ResourceSubscriptionStatusActionDefinition | ResourceSubscriptionSubscribeActionDefinition | ResourceSubscriptionToggleActionDefinition | ResourceSubscriptionUnsubscribeActionDefinition | ResourceUpdateActionDefinition | ShareActionDefinition | StaticActionDefinition;
export declare type ActionDefinition = BaseActionDefinition<'dialog.error'> | BaseActionDefinition<'dialog.ok'> | BaseActionDefinition<'flow.back'> | BaseActionDefinition<'flow.cancel'> | BaseActionDefinition<'flow.finish'> | BaseActionDefinition<'flow.next'> | BaseActionDefinition<'link.back'> | BaseActionDefinition<'link.next'> | BaseActionDefinition<'noop'> | BaseActionDefinition<'team.join'> | BaseActionDefinition<'team.list'> | BaseActionDefinition<'throw'> | ConditionActionDefinition | DialogActionDefinition | EmailActionDefinition | EventActionDefinition | FlowToActionDefinition | LinkActionDefinition | LogActionDefinition | MessageActionDefinition | RequestActionDefinition | ResourceCountActionDefinition | ResourceCreateActionDefinition | ResourceDeleteActionDefinition | ResourceGetActionDefinition | ResourceQueryActionDefinition | ResourceSubscriptionStatusActionDefinition | ResourceSubscriptionSubscribeActionDefinition | ResourceSubscriptionToggleActionDefinition | ResourceSubscriptionUnsubscribeActionDefinition | ResourceUpdateActionDefinition | ShareActionDefinition | StaticActionDefinition;
export interface ActionType {

@@ -680,2 +686,6 @@ /**

languages: string[] | null;
/**
* Whether action validation for wildcard action is skipped.
*/
wildcardActions?: boolean;
}

@@ -1226,3 +1236,3 @@ /**

*/
export interface BlockConfig extends Pick<BlockManifest, 'actions' | 'description' | 'events' | 'layout' | 'longDescription' | 'messages' | 'name' | 'parameters' | 'version'> {
export interface BlockConfig extends Pick<BlockManifest, 'actions' | 'description' | 'events' | 'layout' | 'longDescription' | 'messages' | 'name' | 'parameters' | 'version' | 'wildcardActions'> {
/**

@@ -1229,0 +1239,0 @@ * The path to the webpack configuration file relative to the block project directory.

@@ -0,1 +1,2 @@

export * from './asset';
export * from './author';

@@ -2,0 +3,0 @@ export * from './snapshot';

{
"name": "@appsemble/types",
"version": "0.18.24",
"author": "Appsemble <info@appsemble.com> (https://appsemble.com)",
"bugs": "https://gitlab.com/appsemble/appsemble/issues",
"dependencies": {
"@appsemble/sdk": "0.18.25",
"@fortawesome/fontawesome-common-types": "^0.2.35",
"jsonschema": "^1.4.0",
"openapi-types": "^9.1.0",
"type-fest": "^1.2.2"
},
"description": "TypeScript definitions reused within Appsemble internally",
"files": [
"dist"
],
"homepage": "https://appsemble.app",
"keywords": [

@@ -14,16 +25,10 @@ "app",

],
"homepage": "https://appsemble.app",
"bugs": "https://gitlab.com/appsemble/appsemble/issues",
"license": "LGPL-3.0-only",
"main": "dist",
"name": "@appsemble/types",
"repository": {
"directory": "packages/types",
"type": "git",
"url": "https://gitlab.com/appsemble/appsemble.git",
"directory": "packages/types"
"url": "https://gitlab.com/appsemble/appsemble.git"
},
"license": "LGPL-3.0-only",
"author": "Appsemble <info@appsemble.com> (https://appsemble.com)",
"sideEffects": false,
"main": "dist",
"files": [
"dist"
],
"scripts": {

@@ -33,9 +38,4 @@ "prepack": "tsc -p tsconfig.build.json",

},
"dependencies": {
"@appsemble/sdk": "0.18.24",
"@fortawesome/fontawesome-common-types": "^0.2.35",
"jsonschema": "^1.4.0",
"openapi-types": "^7.2.3",
"type-fest": "^1.2.2"
}
"sideEffects": false,
"version": "0.18.25"
}

Sorry, the diff of this file is not supported yet

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