@@ -9,13 +9,19 @@ import type { SimpleButtonGroupDeclaration } from 'packages/core/src/parsers/But
99import { type BindTargetDeclaration } from 'packages/core/src/parsers/bindTargetParser/BindTargetDeclaration' ;
1010import { type MetaBindColumnDeclaration } from 'packages/core/src/fields/metaBindTable/TableMountable' ;
1111
12+ /**
13+ * @internal
14+ */
1215export interface FieldArgumentValueConfig {
1316 name : string ;
1417 // empty is any
1518 allowed : string [ ] ;
1619 description : string ;
1720}
1821
22+ /**
23+ * @internal
24+ */
1925export interface FieldArgumentConfig < ArgumentType extends string , FieldType extends string > {
2026 type : ArgumentType ;
2127 allowedFieldTypes : FieldType [ ] ;
@@ -73,12 +79,18 @@ export enum InputFieldArgumentType {
7379 INVALID = 'invalid' ,
7480}
7581
82+ /**
83+ * @internal
84+ */
7685export interface InputFieldConfig {
7786 type : InputFieldType ;
7887 allowInBlock : boolean ;
7988 allowInline : boolean ;
8089}
8190
91+ /**
92+ * @internal
93+ */
8294export const InputFieldConfigs : Record < InputFieldType , InputFieldConfig > = {
8395 [ InputFieldType . TOGGLE ] : {
8496 type : InputFieldType . TOGGLE ,
@@ -192,14 +204,23 @@ export const InputFieldConfigs: Record<InputFieldType, InputFieldConfig> = {
192204 } ,
193205} as const ;
194206
207+ /**
208+ * @internal
209+ */
195210export enum UseLinksInputFieldArgumentValue {
196211 TRUE = 'true' ,
197212 PARTIAL = 'partial' ,
198213 FALSE = 'false' ,
199214}
200215
216+ /**
217+ * @internal
218+ */
201219export type InputFieldArgumentConfig = FieldArgumentConfig < InputFieldArgumentType , InputFieldType > ;
202220
221+ /**
222+ * @internal
223+ */
203224export const InputFieldArgumentConfigs : Record < InputFieldArgumentType , InputFieldArgumentConfig > = {
204225 [ InputFieldArgumentType . ADD_LABELS ] : {
205226 type : InputFieldArgumentType . ADD_LABELS ,
@@ -522,8 +543,14 @@ export enum ViewFieldArgumentType {
522543 INVALID = 'invalid' ,
523544}
524545
546+ /**
547+ * @internal
548+ */
525549export type ViewFieldArgumentConfig = FieldArgumentConfig < ViewFieldArgumentType , ViewFieldType > ;
526550
551+ /**
552+ * @internal
553+ */
527554export const ViewFieldArgumentConfigs : Record < ViewFieldArgumentType , ViewFieldArgumentConfig > = {
528555 [ ViewFieldArgumentType . RENDER_MARKDOWN ] : {
529556 type : ViewFieldArgumentType . RENDER_MARKDOWN ,
0 commit comments