scriptable-testlab
Version:
A lightweight, efficient tool designed to manage and update scripts for Scriptable.
32 lines (29 loc) • 630 B
TypeScript
import { AbsUUID } from 'scriptable-abstract';
interface UUIDState {
lastGeneratedUUID: string | null;
}
/**
* Mock implementation of Scriptable's UUID global variable
* Provides functionality for generating UUIDs
*
* @implements UUID
*/
declare class MockUUID extends AbsUUID<UUIDState> {
static get instance(): MockUUID;
constructor();
/**
* @inheritdoc
*/
string(): string;
/**
* @additional
* Get the last generated UUID
*/
getLastGeneratedUUID(): string | null;
/**
* @additional
* Clear UUID history
*/
clear(): void;
}
export { MockUUID };