Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
import { JsonPropertyDto } from "~/modules/jsonProperties/dtos/JsonPropertyTypeDto";
|
||||
import { TFunction } from "i18next";
|
||||
|
||||
export type WidgetsConfiguration = {
|
||||
enabled: boolean;
|
||||
metadata: Array<JsonPropertyDto> | undefined;
|
||||
};
|
||||
|
||||
export function getWidgetsConfiguration({ t }: { t: TFunction }): WidgetsConfiguration {
|
||||
const conf: WidgetsConfiguration = {
|
||||
enabled: false,
|
||||
metadata: [
|
||||
// {
|
||||
// name: "description",
|
||||
// title: t("shared.description"),
|
||||
// type: "string",
|
||||
// required: true,
|
||||
// },
|
||||
],
|
||||
};
|
||||
|
||||
return conf;
|
||||
}
|
||||
Reference in new issue
Block a user