Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@appsemble/lang-sdk

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsemble/lang-sdk

Language SDK for Appsemble

latest
Source
npmnpm
Version
0.34.21
Version published
Maintainers
3
Created
Source

Appsemble Lang SDK

Appsemble Language SDK.

npm GitLab CI Prettier

Table of Contents

Installation

npm install @appsemble/lang-sdk

Usage

This package provides utilities and tools for working with the language DSL used in Appsemble.

Exports

1. Validators

  • AppValidator
  • BlockExampleValidator
  • BlockParamInstanceValidator
  • BlockParamSchemaValidator
  • RemapperValidator
  • BaseValidatorFactory

2. Constants and Patterns

  • blockNamePattern
  • domainPattern
  • googleAnalyticsIDPattern
  • hexColor
  • ISODateTimePattern
  • jwtPattern
  • uuid4Pattern

3. Utilities

  • normalize
  • normalizeBlockName
  • stripBlockName
  • combineSchemas
  • generateDataFromSchema
  • remap
  • createExampleContext
  • prefixBlockURL
  • getAppBlocks
  • camelToHyphen
  • decodeJSONRef
  • normalized
  • parseBlockName
  • partialNormalized
  • partialSemver
  • toUpperCase

4. Iterators

  • iterApp
  • iterPage
  • iterBlock
  • iterBlockList
  • iterAction
  • iterController
  • iterJSONSchema

5. Authorization

  • getAppRoles
  • getAppRolePermissions
  • getGuestAppPermissions
  • checkAppRoleAppPermissions
  • checkGuestAppPermissions
  • getAppPossiblePermissions
  • getAppPossibleGuestPermissions
  • getAppRolesByPermissions
  • getAppInheritedRoles
  • PredefinedAppRole
  • predefinedAppRolePermissions
  • predefinedAppRoles

6. Miscellaneous

  • findPageByName
  • examples
  • noop
  • schemaExample

7. Schemas

  • schemas
  • referenceSchemas

8. Other

  • ActionError
  • allActions
  • AppPermission
  • assignAppMemberProperties
  • baseTheme
  • defaultLocale
  • googleFonts
  • isAppLink
  • serverActions
  • validateAppDefinition
  • referenceSchemas

License

LGPL-3.0-only © Appsemble

Keywords

app

FAQs

Package last updated on 19 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts