Page MenuHomeSealhub

string-based-argument.ts
No OneTemporary

string-based-argument.ts

import { JDDContext } from "../jdd-context.js";
import { ComponentArgument } from "./component-argument.js";
export abstract class StringBasedArgument<
T extends string
> extends ComponentArgument<T> {
async receivedToParsed(_: JDDContext, value: T) {
return value;
}
async parsedToStorage(_: JDDContext, value: T) {
return value;
}
async storageToParsed(_: JDDContext, value: T) {
return value;
}
async parsedToFormData(_: JDDContext, value: T) {
return value;
}
getSubArgument() {
return <const>[null, [] as string[], null];
}
}

File Metadata

Mime Type
text/x-java
Expires
Tue, Dec 24, 14:04 (11 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557273
Default Alt Text
string-based-argument.ts (557 B)

Event Timeline