Change signature for Property pattern helpers
This commit is contained in:
parent
63c41f07cb
commit
6c6c9386be
2 changed files with 13 additions and 24 deletions
debug
|
@ -1,5 +1,5 @@
|
|||
import { h } from "../lib/html";
|
||||
import { Idv, StringFromDocument } from "../lib/idv";
|
||||
import { Idv, StringProperty } from "../lib/idv";
|
||||
|
||||
export function IdvDebug() {
|
||||
const textarea = h(
|
||||
|
@ -51,8 +51,8 @@ User: tirga
|
|||
|
||||
const UserFromDocument = (idv: Idv) => {
|
||||
return {
|
||||
shell: idv.getProperty("Shell", String, StringFromDocument),
|
||||
groups: idv.getList("Group", String, StringFromDocument),
|
||||
banner: idv.getProperty("Banner", String, StringFromDocument),
|
||||
shell: idv.getProperty("Shell", StringProperty),
|
||||
groups: idv.getList("Group", StringProperty),
|
||||
banner: idv.getProperty("Banner", StringProperty),
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue