@opra/common 1.16.0 → 1.17.0
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.
package/package.json
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import type { DataType } from './data-type.interface.js';
|
|
2
|
-
export declare namespace Field {
|
|
3
|
-
type Name = string;
|
|
4
|
-
type QualifiedName = string;
|
|
5
|
-
}
|
|
6
2
|
/**
|
|
7
3
|
* Represents a Field type used to define properties and behaviors of a data structure.
|
|
8
4
|
*
|
|
9
5
|
* The `Field` type allows describing the characteristics, constraints, and metadata of a field within an entity or data type.
|
|
10
6
|
*/
|
|
11
|
-
export
|
|
7
|
+
export interface Field {
|
|
12
8
|
type?: DataType.Name | DataType;
|
|
13
9
|
/**
|
|
14
10
|
* Defines the label of the field. Mostly used for UI.
|
|
@@ -73,4 +69,8 @@ export type Field = {
|
|
|
73
69
|
* Indicates if the field is deprecated and can be removed in the next
|
|
74
70
|
*/
|
|
75
71
|
deprecated?: boolean | string;
|
|
76
|
-
}
|
|
72
|
+
}
|
|
73
|
+
export declare namespace Field {
|
|
74
|
+
type Name = string;
|
|
75
|
+
type QualifiedName = string;
|
|
76
|
+
}
|