Skip to content

Commit

Permalink
rename original types
Browse files Browse the repository at this point in the history
  • Loading branch information
fulpm committed Oct 2, 2024
1 parent 89e45e6 commit e2c4a5a
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/types/shims/FeatureOriginalType.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export interface BooleanType {
export interface OriginalTypeBoolean {
/**
* The name of the data type.
*/
data_type: "boolean";
}

export interface DatetimeType {
export interface OriginalTypeDatetime {
/**
* The name of the data type.
*/
Expand All @@ -16,14 +16,14 @@ export interface DatetimeType {
timezone?: string | null;
}

export interface DateType {
export interface OriginalTypeDate {
/**
* The name of the data type.
*/
data_type: "date";
}

export interface IntegerType {
export interface OriginalTypeInteger {
/**
* The name of the data type.
*/
Expand All @@ -38,7 +38,7 @@ export interface IntegerType {
unsigned?: boolean;
}

export interface NumericType {
export interface OriginalTypeNumeric {
/**
* The name of the data type.
*/
Expand All @@ -53,14 +53,14 @@ export interface NumericType {
size?: number;
}

export interface ObjectType {
export interface OriginalTypeObject {
/**
* The name of the data type.
*/
data_type: "object";
}

export interface StringType {
export interface OriginalTypeString {
/**
* The name of the data type.
*/
Expand All @@ -75,7 +75,7 @@ export interface StringType {
encoding?: string | null;
}

export interface TimeType {
export interface OriginalTypeTime {
/**
* The name of the data type.
*/
Expand All @@ -86,7 +86,7 @@ export interface TimeType {
timezone?: string | null;
}

export interface TimedeltaType {
export interface OriginalTypeTimedelta {
/**
* The name of the data type.
*/
Expand All @@ -101,12 +101,12 @@ export interface TimedeltaType {
* Original data type details. Used by clients to determine how to serialize and deserialize feature data.
*/
export type FeatureOriginalType =
| BooleanType
| DateType
| DatetimeType
| IntegerType
| NumericType
| ObjectType
| StringType
| TimeType
| TimedeltaType;
| OriginalTypeBoolean
| OriginalTypeDate
| OriginalTypeDatetime
| OriginalTypeInteger
| OriginalTypeNumeric
| OriginalTypeObject
| OriginalTypeString
| OriginalTypeTime
| OriginalTypeTimedelta;

0 comments on commit e2c4a5a

Please sign in to comment.