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
216
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.10 to 0.18.11

dist/template.d.ts

75

dist/index.d.ts

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

export * from './resource';
export * from './template';
export { Theme };

@@ -878,2 +879,6 @@ /**

$updated?: string;
/**
* Any pre-included translations of the app.
*/
messages?: AppsembleMessages;
}

@@ -983,2 +988,40 @@ /**

/**
* The layout used to store Appsemble messages.
*/
export interface AppsembleMessages {
/**
* Messages related to the Appsemble core.
*
* This may be an empty object if the language is the default locale.
*/
core: Record<string, string>;
/**
* Translations for global block messages and meta properties of the app.
*
* This may be an empty object if the language is the default locale.
*/
app: Record<string, string>;
/**
* A list of messages specific to the app.
*/
messageIds: Record<string, string>;
/**
* A list of messages specific to each block used in the app.
*
* At root the keys represent a block type.
* One layer deep the keys represent a block version.
* Two layers deep the keys represent the key/message pairs.
*
* @example
* {
* "<at>example/test": {
* "0.0.0": {
* "exampleKey": "Example Message"
* }
* }
* }
*/
blocks: Record<string, Record<string, Record<string, string>>>;
}
/**
* Translated messages for an app or block.

@@ -998,3 +1041,3 @@ */

*/
messages: Record<string, string>;
messages: AppsembleMessages;
}

@@ -1009,31 +1052,3 @@ export interface AppMessages {

*/
messages: {
/**
* Messages related to the Appsemble core.
*
* This may be an empty object if the language is the default locale.
*/
core: Record<string, string>;
/**
* A list of messages specific to the app.
*/
app: Record<string, string>;
/**
* A list of messages specific to each block used in the app.
*
* At root the keys represent a block type.
* One layer deep the keys represent a block version.
* Two layers deep the keys represent the key/message pairs.
*
* @example
* {
* "<at>example/test": {
* "0.0.0": {
* "exampleKey": "Example Message"
* }
* }
* }
*/
blocks: Record<string, Record<string, Record<string, string>>>;
};
messages: AppsembleMessages;
}

@@ -1040,0 +1055,0 @@ /**

1

dist/index.js
export * from './author';
export * from './snapshot';
export * from './resource';
export * from './template';
//# sourceMappingURL=index.js.map
{
"name": "@appsemble/types",
"version": "0.18.10",
"version": "0.18.11",
"description": "TypeScript definitions reused within Appsemble internally",

@@ -21,3 +21,3 @@ "keywords": [

},
"license": "LGPL-3.0-or-later",
"license": "LGPL-3.0-only",
"author": "Appsemble <info@appsemble.com> (https://appsemble.com)",

@@ -34,8 +34,8 @@ "sideEffects": false,

"dependencies": {
"@appsemble/sdk": "0.18.10",
"@appsemble/sdk": "0.18.11",
"@fortawesome/fontawesome-common-types": "^0.2.35",
"jsonschema": "^1.4.0",
"openapi-types": "^7.2.3",
"type-fest": "^1.0.1"
"type-fest": "^1.1.1"
}
}

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