@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
29 lines (28 loc) • 1.19 kB
TypeScript
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
import { EmailPropertyDefinition, ImagePropertyDefinition, LanguagePropertyDefinition, PropertyBinding, TextPropertyDefinition, UserTypePropertyDefinition } from "../properties";
export interface UserTypeFormProperties {
new: FormProperties;
edit: FormProperties;
orderProperties: FormProperties;
[key: string]: FormProperties;
}
export interface FormProperties {
propertyBindingIds: Array<GuidValue>;
}
export interface UserTypeSettings {
formProperties: UserTypeFormProperties;
}
export declare const builtInPropertyBindings: {
user: {
displayName: PropertyBinding<TextPropertyDefinition>;
username: PropertyBinding<TextPropertyDefinition>;
image: PropertyBinding<ImagePropertyDefinition>;
email: PropertyBinding<EmailPropertyDefinition>;
preferredLanguage: PropertyBinding<LanguagePropertyDefinition>;
uiLanguage: PropertyBinding<LanguagePropertyDefinition>;
userType: PropertyBinding<UserTypePropertyDefinition>;
};
};
export declare const UserTypeSettingsFactory: {
default: () => UserTypeSettings;
};