@ostack.tech/ui-kform-scaffolder 0.3.1 → 0.3.3

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.
@@ -2,5 +2,6 @@ export interface DefaultLocaleConfigProps {
2
2
  defaultValue?: string;
3
3
  disabled?: boolean;
4
4
  }
5
+ export declare const DEFAULT_LOCALE = "en-US";
5
6
  export declare const LOCALES: string[];
6
7
  export declare function DefaultLocaleConfig({ defaultValue, disabled, }: DefaultLocaleConfigProps): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,5 @@ export interface SerializationFormatConfigProps {
3
3
  defaultValue?: SerializationFormat;
4
4
  disabled?: boolean;
5
5
  }
6
+ export declare const DEFAULT_SERIALIZATION_FORMAT = "json";
6
7
  export declare function SerializationFormatConfig({ defaultValue, disabled, }: SerializationFormatConfigProps): import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,16 @@ export interface ScaffoldingData extends KFormScaffoldingData {
6
6
  serializationFormat?: SerializationFormat;
7
7
  /** Application's default locale. */
8
8
  defaultLocale?: string;
9
+ /** `gradle.properties` group. */
10
+ gradlePropertiesGroup?: string;
11
+ /** Base path of the API. */
12
+ apiBasePath?: string;
13
+ /** API endpoint used to submit the form. */
14
+ submitApiEndpoint?: string;
15
+ /** API endpoint used to report errors. */
16
+ reportErrorApiEndpoint?: string;
17
+ /** Output directory for the Vite config. */
18
+ viteConfigOutDir?: string;
19
+ /** Proxy target for the Vite config. */
20
+ viteConfigProxyTarget?: string;
9
21
  }
@@ -1,3 +1,6 @@
1
1
  import { Schematic } from '@ostack.tech/kform-scaffolder';
2
2
  import { ReactAppData } from '../reactApp/ReactAppData.ts';
3
+ export declare const DEFAULT_API_BASE_PATH = "/api/";
4
+ export declare const DEFAULT_REPORT_ERROR_API_ENDPOINT = "report-error";
5
+ export declare const DEFAULT_SUBMIT_API_ENDPOINT = "submit";
3
6
  export declare function scaffoldApi(schematic: Schematic, data: ReactAppData): void;
@@ -1,3 +1,5 @@
1
1
  import { Schematic } from '@ostack.tech/kform-scaffolder';
2
2
  import { ReactAppData } from '../reactApp/ReactAppData.ts';
3
+ export declare const DEFAULT_VITE_CONFIG_OUT_DIR = "build/dist/";
4
+ export declare const DEFAULT_VITE_CONFIG_PROXY_TARGET = "http://127.0.0.1:8080/";
3
5
  export declare function scaffoldViteProject(schematic: Schematic, data: ReactAppData): void;