mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-01 21:13:11 +00:00
chore: INput config to remove the transformer
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
import { PackagePropertyString } from "../types";
|
||||
|
||||
export class PropertyString<X extends PackagePropertyString> {
|
||||
private constructor(readonly data: X) {}
|
||||
static of(value: {
|
||||
description?: string;
|
||||
value: string;
|
||||
/** Let's the ui make this copyable button */
|
||||
copyable?: boolean;
|
||||
/** Let the ui create a qr for this field */
|
||||
qr?: boolean;
|
||||
/** Hiding the value unless toggled off for field */
|
||||
masked?: boolean;
|
||||
}) {
|
||||
export class PropertyString {
|
||||
private constructor(readonly data: PackagePropertyString) {}
|
||||
static of(value: Omit<PackagePropertyString, "type" | "watch">) {
|
||||
return new PropertyString({
|
||||
...value,
|
||||
type: "string",
|
||||
|
||||
Reference in New Issue
Block a user