@aws-amplify/data-schema 1.17.5 → 1.18.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.
@@ -11,6 +11,8 @@
11
11
  import { Observable } from 'rxjs';
12
12
  import { CustomHeaders, ModelSortDirection } from './client';
13
13
  import { AiAction, AiCategory } from './internals/ai/getCustomUserAgentDetails';
14
+ import { CustomType } from '../CustomType';
15
+ import { RefType } from '../RefType';
14
16
  export declare namespace AmplifyServer {
15
17
  interface ContextToken {
16
18
  readonly value: symbol;
@@ -177,7 +179,7 @@ export interface InputType {
177
179
  }
178
180
  type ScalarType = 'ID' | 'String' | 'Int' | 'Float' | 'AWSDate' | 'AWSTime' | 'AWSDateTime' | 'AWSTimestamp' | 'AWSEmail' | 'AWSURL' | 'AWSIPAddress' | 'Boolean' | 'AWSJSON' | 'AWSPhone';
179
181
  export type FieldType = ScalarType | EnumType | ModelFieldType | NonModelFieldType;
180
- export type InputFieldType = ScalarType | EnumType | InputType;
182
+ export type InputFieldType = ScalarType | EnumType | InputType | CustomType<any> | RefType<any, any>;
181
183
  export type FieldAttribute = ModelAttribute;
182
184
  /**
183
185
  * Field-level Relationship Definitions