@appsemble/lang-sdk
Version:
Language SDK for Appsemble
52 lines (51 loc) • 1.49 kB
TypeScript
/**
* A pattern for extracting a semver value.
*/
export declare const partialSemver: RegExp;
/**
* A pattern for validating a hexadecimal RGB color.
*/
export declare const hexColor: RegExp;
/**
* A pattern for matching a full semver.
*/
export declare const semver: RegExp;
/**
* A pattern for extracting a normalized string.
*/
export declare const partialNormalized: RegExp;
/**
* A pattern for exactly matching a lower case hyphen separated string.
*/
export declare const normalized: RegExp;
/**
* A pattern for matching the block name pattern of @organization/project.
*/
export declare const blockNamePattern: RegExp;
export declare const domainPattern: RegExp;
/**
* A pattern to match a Google Analytics ID or an empty string.
*/
export declare const googleAnalyticsIDPattern: RegExp;
/**
* A pattern to match a Meta (Facebook) Pixel ID or an empty string.
* Meta Pixel IDs are numeric strings, usually 5–20 digits.
*/
export declare const metaPixelIDPattern: RegExp;
/**
* A pattern to match a MS Clarity Project ID or an empty string.
* Clarity IDs are alphanumeric strings, typically 8–20 characters long.
*/
export declare const msClarityIDPattern: RegExp;
/**
* A pattern which matches a UUID 4.
*/
export declare const uuid4Pattern: RegExp;
/**
* A pattern which matches a JSON web token.
*/
export declare const jwtPattern: RegExp;
/**
* A pattern which matches an ISO 8601 datetime string.
*/
export declare const ISODateTimePattern: RegExp;