@kokimoki/app 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fields.d.ts +0 -2
- package/dist/fields.js +0 -2
- package/package.json +1 -1
package/dist/fields.d.ts
CHANGED
|
@@ -44,7 +44,6 @@ export declare class FormGroup<T extends Record<string, any>> extends Field<{
|
|
|
44
44
|
get schema(): {
|
|
45
45
|
type: string;
|
|
46
46
|
properties: any;
|
|
47
|
-
default: { [key in keyof T]: T[key]["value"]; };
|
|
48
47
|
};
|
|
49
48
|
}
|
|
50
49
|
export declare class FormArray<T> extends Field<T[]> {
|
|
@@ -63,7 +62,6 @@ export declare class TaskField extends Field<Task> {
|
|
|
63
62
|
get schema(): {
|
|
64
63
|
type: string;
|
|
65
64
|
properties: {};
|
|
66
|
-
default: Task;
|
|
67
65
|
};
|
|
68
66
|
}
|
|
69
67
|
export declare class Form<T extends Record<string, Field<any>>> extends FormGroup<T> {
|
package/dist/fields.js
CHANGED
|
@@ -65,7 +65,6 @@ export class FormGroup extends Field {
|
|
|
65
65
|
acc[key] = field.schema;
|
|
66
66
|
return acc;
|
|
67
67
|
}, {}),
|
|
68
|
-
default: this.value,
|
|
69
68
|
};
|
|
70
69
|
}
|
|
71
70
|
}
|
|
@@ -97,7 +96,6 @@ export class TaskField extends Field {
|
|
|
97
96
|
return {
|
|
98
97
|
type: "object",
|
|
99
98
|
properties: {},
|
|
100
|
-
default: this.value,
|
|
101
99
|
};
|
|
102
100
|
}
|
|
103
101
|
}
|