Skip to main content
Apps Layer developer platform

Build apps that
feel native.

Package workflows, data, documents, and custom pages into focused tools your users can install in TWL Tool.

$ npm install @twl-tool/app-sdk
twl-tool.app.tstyped
import { defineApp, ref, resources } from '@twl-tool/app-sdk';

export default defineApp({
key: 'content-studio',
name: 'Content Studio',
version: '1.0.0',
permissions: ['data-workspace.read', 'workflows.execute'],
ui: {
defaultSurface: 'inspiration',
surfaces: [{
key: 'inspiration',
label: 'Inspiration',
type: 'dataWorkspaceView',
table: ref('dataWorkspaceTables', 'inspiration'),
}],
},
resources: {
dataWorkspaces: {
main: resources.workspace({ title: 'Content Studio' }),
},
// Add bases, tables, workflows, documents, and pages here.
},
});
Your app, end to end

Declare once. Resolve at install.

Resource references are compiled into account-scoped IDs. Custom pages receive only the capabilities and bindings you declare.

DefineValidateInstallRun