libmodulor
Version:
A TypeScript library to create platform-agnostic applications
19 lines (18 loc) • 387 B
JavaScript
import { TString } from '../base/TString.js';
export class TApiKey extends TString {
tName() {
return 'ApiKey';
}
example() {
return 'pk_bxa2HCdsT7CKwVSdem8fjS8rW';
}
htmlInputType() {
return 'password';
}
jsonSchemaType() {
return { format: 'password', type: 'string' };
}
isSensitive() {
return true;
}
}