@orbit/records
Enumerations​
Classes​
- AddRecordTerm
- AddToRelatedRecordsTerm
- AttributeNotDefined
- BaseRecordOperationTerm
- BaseRecordQueryTerm
- FindRecordTerm
- FindRecordsTerm
- FindRelatedRecordTerm
- KeyNotDefined
- ModelNotDefined
- RecordException
- RecordKeyMap
- RecordNotFoundException
- RecordQueryBuilder
- RecordSchema
- RecordSource
- RecordTransformBuilder
- RelationshipNotDefined
- RemoveFromRelatedRecordsTerm
- RemoveRecordTerm
- ReplaceAttributeTerm
- ReplaceKeyTerm
- ReplaceRelatedRecordTerm
- ReplaceRelatedRecordsTerm
- SchemaError
- StandardRecordNormalizer
- UpdateRecordTerm
- ValidationError
Interfaces​
- AddRecordOperation
- AddToRelatedRecordsOperation
- AttributeDefinition
- AttributeFilterParam
- AttributeFilterSpecifier
- AttributeSortParam
- AttributeSortSpecifier
- BaseFilterSpecifier
- BasePageSpecifier
- BaseSortSpecifier
- FieldValidationOptions
- FindRecord
- FindRecords
- FindRelatedRecord
- FindRelatedRecords
- HasManyRelationshipDefinition
- HasOneRelationshipDefinition
- InitializedRecord
- KeyDefinition
- LinkObject
- ModelDefinition
- OffsetLimitPageSpecifier
- PageParam
- Record
- RecordAttributeInput
- RecordAttributeValidationOptions
- RecordFieldDefinitionInput
- RecordFieldDefinitionIssue
- RecordFieldDefinitionValidationOptions
- RecordFields
- RecordHasManyRelationship
- RecordHasOneRelationship
- RecordIdentity
- RecordIdentityValidationOptions
- RecordInitializer
- RecordKeyInput
- RecordKeyValidationOptions
- RecordKeyValue
- RecordNormalizer
- RecordOperationValidationOptions
- RecordQueryBuilderSettings
- RecordRelationshipInput
- RecordRelationshipValidationOptions
- RecordSchemaSettings
- RecordSourceQueryOptions
- RecordSourceSettings
- RecordTransformBuilderSettings
- RecordTypeValidationOptions
- RecordValidationOptions
- RelatedRecordFilterParam
- RelatedRecordFilterSpecifier
- RelatedRecordInput
- RelatedRecordValidationOptions
- RelatedRecordsFilterParam
- RelatedRecordsFilterSpecifier
- RemoveFromRelatedRecordsOperation
- RemoveRecordOperation
- ReplaceAttributeOperation
- ReplaceKeyOperation
- ReplaceRelatedRecordOperation
- ReplaceRelatedRecordsOperation
- StandardRecordNormalizerSettings
- UninitializedRecord
- UpdateRecordOperation
Type aliases​
AddRecordOperationResult​
Ƭ AddRecordOperationResult: InitializedRecord
Defined in​
packages/@orbit/records/src/record-operation.ts:110
AddToRelatedRecordsOperationResult​
Ƭ AddToRelatedRecordsOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:115
AsyncRecordQueryable​
Ƭ AsyncRecordQueryable<ResponseDetails
, QueryBuilder
, QueryOptions
>: AsyncQueryable
<RecordQueryResult
, ResponseDetails
, RecordOperation
, RecordQueryExpression
, QueryBuilder
, QueryOptions
>
Type parameters​
Name | Type |
---|---|
ResponseDetails | ResponseDetails |
QueryBuilder | RecordQueryBuilder |
QueryOptions | extends RequestOptions = RequestOptions |
Defined in​
packages/@orbit/records/src/record-queryable.ts:20
AsyncRecordUpdatable​
Ƭ AsyncRecordUpdatable<ResponseDetails
, TransformBuilder
, TransformOptions
>: AsyncUpdatable
<RecordTransformResult
, ResponseDetails
, RecordOperation
, TransformBuilder
, TransformOptions
>
Type parameters​
Name | Type |
---|---|
ResponseDetails | ResponseDetails |
TransformBuilder | RecordTransformBuilder |
TransformOptions | extends RequestOptions = RequestOptions |
Defined in​
packages/@orbit/records/src/record-updatable.ts:18
FilterParam​
Ƭ FilterParam<RI
>: FilterSpecifier
| AttributeFilterParam
| RelatedRecordFilterParam
<RI
> | RelatedRecordsFilterParam
<RI
>
Type parameters​
Name | Type |
---|---|
RI | RecordIdentity |
Defined in​
packages/@orbit/records/src/record-query-term.ts:57
FilterSpecifier​
Ƭ FilterSpecifier: BaseFilterSpecifier
| AttributeFilterSpecifier
| RelatedRecordFilterSpecifier
| RelatedRecordsFilterSpecifier
Defined in​
packages/@orbit/records/src/record-query-expression.ts:47
FindRecordResult​
Ƭ FindRecordResult: InitializedRecord
| undefined
Defined in​
packages/@orbit/records/src/record-query-expression.ts:100
FindRecordsResult​
Ƭ FindRecordsResult: InitializedRecord
[]
Defined in​
packages/@orbit/records/src/record-query-expression.ts:103
FindRelatedRecordResult​
Ƭ FindRelatedRecordResult: InitializedRecord
| null
| undefined
Defined in​
packages/@orbit/records/src/record-query-expression.ts:101
FindRelatedRecordsResult​
Ƭ FindRelatedRecordsResult: InitializedRecord
[] | undefined
Defined in​
packages/@orbit/records/src/record-query-expression.ts:102
Link​
Ƭ Link: string
| LinkObject
Defined in​
packages/@orbit/records/src/record.ts:8
PageSpecifier​
Ƭ PageSpecifier: BasePageSpecifier
| OffsetLimitPageSpecifier
Defined in​
packages/@orbit/records/src/record-query-expression.ts:63
RecordAttributeValidationIssue​
Ƭ RecordAttributeValidationIssue: TypeIssue
| RecordFieldDefinitionIssue
| ValueRequiredIssue
| ValueNotNullIssue
| ValueValidIssue
Defined in​
packages/@orbit/records/src/record-validators/record-attribute-validator.ts:51
RecordAttributeValidator​
Ƭ RecordAttributeValidator: Validator
<RecordAttributeInput
, RecordAttributeValidationOptions
, RecordAttributeValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-attribute-validator.ts:64
RecordFieldDefinitionValidator​
Ƭ RecordFieldDefinitionValidator: Validator
<RecordFieldDefinitionInput
, RecordFieldDefinitionValidationOptions
, RecordFieldDefinitionIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-field-definition-validator.ts:22
RecordIdentityValidationIssue​
Ƭ RecordIdentityValidationIssue: TypeIssue
| RecordTypeValidationIssue
Defined in​
packages/@orbit/records/src/record-validators/record-identity-validator.ts:28
RecordIdentityValidator​
Ƭ RecordIdentityValidator: Validator
<RecordIdentity
, RecordIdentityValidationOptions
, RecordIdentityValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-identity-validator.ts:38
RecordKeyValidationIssue​
Ƭ RecordKeyValidationIssue: RecordFieldDefinitionIssue
| ValueRequiredIssue
| ValueNotNullIssue
| ValueValidIssue
Defined in​
packages/@orbit/records/src/record-validators/record-key-validator.ts:46
RecordKeyValidator​
Ƭ RecordKeyValidator: Validator
<RecordKeyInput
, RecordKeyValidationOptions
, RecordKeyValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-key-validator.ts:58
RecordOperation​
Ƭ RecordOperation: AddRecordOperation
| UpdateRecordOperation
| RemoveRecordOperation
| ReplaceKeyOperation
| ReplaceAttributeOperation
| AddToRelatedRecordsOperation
| RemoveFromRelatedRecordsOperation
| ReplaceRelatedRecordsOperation
| ReplaceRelatedRecordOperation
Union of all record-related operations.
Defined in​
packages/@orbit/records/src/record-operation.ts:99
RecordOperationResult​
Ƭ RecordOperationResult<T
>: T
| undefined
Type parameters​
Name | Type |
---|---|
T | InitializedRecord |
Defined in​
packages/@orbit/records/src/record-operation.ts:120
RecordOperationTerm​
Ƭ RecordOperationTerm<RT
, RI
, R
>: AddRecordTerm
<RT
, RI
, R
> | UpdateRecordTerm
<RT
, RI
, R
> | RemoveRecordTerm
<RT
, RI
, R
> | ReplaceKeyTerm
<RT
, RI
, R
> | ReplaceAttributeTerm
<RT
, RI
, R
> | AddToRelatedRecordsTerm
<RT
, RI
, R
> | RemoveFromRelatedRecordsTerm
<RT
, RI
, R
> | ReplaceRelatedRecordsTerm
<RT
, RI
, R
> | ReplaceRelatedRecordTerm
<RT
, RI
, R
>
Type parameters​
Name | Type |
---|---|
RT | string |
RI | RecordIdentity |
R | UninitializedRecord |
Defined in​
packages/@orbit/records/src/record-operation-term.ts:241
RecordOperationValidationIssue​
Ƭ RecordOperationValidationIssue: OperationAllowedIssue
| OperationValidIssue
Defined in​
packages/@orbit/records/src/record-validators/record-operation-validator.ts:44
RecordOperationValidator​
Ƭ RecordOperationValidator: Validator
<RecordOperation
, RecordOperationValidationOptions
, RecordOperationValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-operation-validator.ts:48
RecordPullable​
Ƭ RecordPullable<ResponseDetails
>: Pullable
<RecordQueryResult
, ResponseDetails
, RecordOperation
, RecordQueryExpression
, RecordQueryBuilder
>
Type parameters​
Name |
---|
ResponseDetails |
Defined in​
packages/@orbit/records/src/record-source-interfaces/record-pullable.ts:7
RecordPushable​
Ƭ RecordPushable<ResponseDetails
>: Pushable
<RecordTransformResult
, ResponseDetails
, RecordOperation
, RecordTransformBuilder
>
Type parameters​
Name |
---|
ResponseDetails |
Defined in​
packages/@orbit/records/src/record-source-interfaces/record-pushable.ts:6
RecordQuery​
Ƭ RecordQuery: Query
<RecordQueryExpression
>
Defined in​
packages/@orbit/records/src/record-query.ts:8
RecordQueryBuilderFunc​
Ƭ RecordQueryBuilderFunc: QueryBuilderFunc
<RecordQueryExpression
, RecordQueryBuilder
>
Defined in​
packages/@orbit/records/src/record-query-builder.ts:21
RecordQueryExpression​
Ƭ RecordQueryExpression: FindRecord
| FindRelatedRecord
| FindRelatedRecords
| FindRecords
Defined in​
packages/@orbit/records/src/record-query-expression.ts:94
RecordQueryExpressionResult​
Ƭ RecordQueryExpressionResult<T
>: T
| T
[] | null
| undefined
Type parameters​
Name | Type |
---|---|
T | InitializedRecord |
Defined in​
packages/@orbit/records/src/record-query-expression.ts:105
RecordQueryResult​
Ƭ RecordQueryResult<T
>: RecordQueryExpressionResult
<T
> | RecordQueryExpressionResult
<T
>[]
Type parameters​
Name | Type |
---|---|
T | InitializedRecord |
Defined in​
packages/@orbit/records/src/record-query.ts:10
RecordQueryTerm​
Ƭ RecordQueryTerm<RT
, RI
>: FindRecordTerm
<RT
, RI
> | FindRelatedRecordTerm
<RT
, RI
> | FindRecordsTerm
<RT
, RI
>
Type parameters​
Name | Type |
---|---|
RT | string |
RI | RecordIdentity |
Defined in​
packages/@orbit/records/src/record-query-term.ts:344
RecordQueryable​
Ƭ RecordQueryable<ResponseDetails
, QueryBuilder
, QueryOptions
>: Queryable
<RecordQueryResult
, ResponseDetails
, RecordOperation
, RecordQueryExpression
, QueryBuilder
, QueryOptions
>
Type parameters​
Name | Type |
---|---|
ResponseDetails | ResponseDetails |
QueryBuilder | RecordQueryBuilder |
QueryOptions | extends RequestOptions = RequestOptions |
Defined in​
packages/@orbit/records/src/record-source-interfaces/record-queryable.ts:7
RecordRelationship​
Ƭ RecordRelationship: RecordHasOneRelationship
| RecordHasManyRelationship
Defined in​
packages/@orbit/records/src/record.ts:27
RecordRelationshipValidationIssue​
Ƭ RecordRelationshipValidationIssue: RecordFieldDefinitionIssue
| RequiredIssue
| NotNullIssue
| DataValidIssue
Defined in​
packages/@orbit/records/src/record-validators/record-relationship-validator.ts:51
RecordRelationshipValidator​
Ƭ RecordRelationshipValidator: Validator
<RecordRelationshipInput
, RecordRelationshipValidationOptions
, RecordRelationshipValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-relationship-validator.ts:63
RecordSchemaEvent​
Ƭ RecordSchemaEvent: "upgrade"
Defined in​
packages/@orbit/records/src/record-schema.ts:108
RecordSourceClass​
Ƭ RecordSourceClass<QO
, TO
, QB
, TB
>: SourceClass
<QO
, TO
, QB
, TB
>
Type parameters​
Name | Type |
---|---|
QO | extends RequestOptions = RecordSourceQueryOptions |
TO | extends RequestOptions = RequestOptions |
QB | RecordQueryBuilder |
TB | RecordTransformBuilder |
Defined in​
packages/@orbit/records/src/record-source.ts:67
RecordSyncable​
Ƭ RecordSyncable: Syncable
<RecordOperation
, RecordTransformBuilder
>
Defined in​
packages/@orbit/records/src/record-source-interfaces/record-syncable.ts:5
RecordTransform​
Ƭ RecordTransform: Transform
<RecordOperation
>
Defined in​
packages/@orbit/records/src/record-transform.ts:5
RecordTransformBuilderFunc​
Ƭ RecordTransformBuilderFunc: TransformBuilderFunc
<RecordOperation
, RecordTransformBuilder
>
Defined in​
packages/@orbit/records/src/record-transform-builder.ts:28
RecordTransformResult​
Ƭ RecordTransformResult<T
>: RecordOperationResult
<T
> | RecordOperationResult
<T
>[]
Type parameters​
Name | Type |
---|---|
T | InitializedRecord |
Defined in​
packages/@orbit/records/src/record-transform.ts:7
RecordTypeValidationIssue​
Ƭ RecordTypeValidationIssue: TypeIssue
| RecordTypeDefined
Defined in​
packages/@orbit/records/src/record-validators/record-type-validator.ts:19
RecordTypeValidator​
Ƭ RecordTypeValidator: Validator
<string
, RecordTypeValidationOptions
, RecordTypeValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-type-validator.ts:25
RecordUpdatable​
Ƭ RecordUpdatable<ResponseDetails
, TransformBuilder
, TransformOptions
>: Updatable
<RecordTransformResult
, ResponseDetails
, RecordOperation
, TransformBuilder
, TransformOptions
>
Type parameters​
Name | Type |
---|---|
ResponseDetails | ResponseDetails |
TransformBuilder | RecordTransformBuilder |
TransformOptions | extends RequestOptions = RequestOptions |
Defined in​
packages/@orbit/records/src/record-source-interfaces/record-updatable.ts:6
RecordValidationIssue​
Ƭ RecordValidationIssue: RecordIdentityValidationIssue
| RecordKeyValidationIssue
| RecordAttributeValidationIssue
| RecordRelationshipValidationIssue
Defined in​
packages/@orbit/records/src/record-validators/record-validator.ts:30
RecordValidator​
Ƭ RecordValidator: Validator
<InitializedRecord
, RecordValidationOptions
, RecordValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/record-validator.ts:43
RelatedRecordValidationIssue​
Ƭ RelatedRecordValidationIssue: RecordFieldDefinitionIssue
| RelatedRecordValidIssue
| RelatedRecordTypeIssue
Defined in​
packages/@orbit/records/src/record-validators/related-record-validator.ts:48
RelatedRecordValidator​
Ƭ RelatedRecordValidator: Validator
<RelatedRecordInput
, RelatedRecordValidationOptions
, RelatedRecordValidationIssue
>
Defined in​
packages/@orbit/records/src/record-validators/related-record-validator.ts:59
RelationshipDefinition​
Ƭ RelationshipDefinition: HasOneRelationshipDefinition
| HasManyRelationshipDefinition
Defined in​
packages/@orbit/records/src/record-schema.ts:51
RemoveFromRelatedRecordsOperationResult​
Ƭ RemoveFromRelatedRecordsOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:116
RemoveRecordOperationResult​
Ƭ RemoveRecordOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:112
ReplaceAttributeOperationResult​
Ƭ ReplaceAttributeOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:114
ReplaceKeyOperationResult​
Ƭ ReplaceKeyOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:113
ReplaceRelatedRecordOperationResult​
Ƭ ReplaceRelatedRecordOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:118
ReplaceRelatedRecordsOperationResult​
Ƭ ReplaceRelatedRecordsOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:117
SetComparisonOperator​
Ƭ SetComparisonOperator: "equal"
| "all"
| "some"
| "none"
Defined in​
packages/@orbit/records/src/record-query-expression.ts:19
SortOrder​
Ƭ SortOrder: "ascending"
| "descending"
Defined in​
packages/@orbit/records/src/record-query-expression.ts:4
SortParam​
Ƭ SortParam: SortSpecifier
| AttributeSortParam
| string
Defined in​
packages/@orbit/records/src/record-query-term.ts:32
SortSpecifier​
Ƭ SortSpecifier: BaseSortSpecifier
| AttributeSortSpecifier
Defined in​
packages/@orbit/records/src/record-query-expression.ts:16
StandardRecordValidator​
Ƭ StandardRecordValidator: RecordValidator
| RecordAttributeValidator
| RecordIdentityValidator
| RecordKeyValidator
| RecordOperationValidator
| RecordQueryExpressionValidator
| RecordRelationshipValidator
| RecordTypeValidator
| RelatedRecordValidator
| RecordFieldDefinitionValidator
Defined in​
packages/@orbit/records/src/record-validators/standard-record-validators.ts:25
SyncRecordQueryable​
Ƭ SyncRecordQueryable<ResponseDetails
, QueryBuilder
, QueryOptions
>: SyncQueryable
<RecordQueryResult
, ResponseDetails
, RecordOperation
, RecordQueryExpression
, QueryBuilder
, QueryOptions
>
Type parameters​
Name | Type |
---|---|
ResponseDetails | ResponseDetails |
QueryBuilder | RecordQueryBuilder |
QueryOptions | extends RequestOptions = RequestOptions |
Defined in​
packages/@orbit/records/src/record-queryable.ts:7
SyncRecordUpdatable​
Ƭ SyncRecordUpdatable<ResponseDetails
, TransformBuilder
, TransformOptions
>: SyncUpdatable
<RecordTransformResult
, ResponseDetails
, RecordOperation
, TransformBuilder
, TransformOptions
>
Type parameters​
Name | Type |
---|---|
ResponseDetails | ResponseDetails |
TransformBuilder | RecordTransformBuilder |
TransformOptions | extends RequestOptions = RequestOptions |
Defined in​
packages/@orbit/records/src/record-updatable.ts:6
UpdateRecordOperationResult​
Ƭ UpdateRecordOperationResult: undefined
Defined in​
packages/@orbit/records/src/record-operation.ts:111
ValueComparisonOperator​
Ƭ ValueComparisonOperator: "equal"
| "gt"
| "lt"
| "gte"
| "lte"
Defined in​
packages/@orbit/records/src/record-query-expression.ts:18
Variables​
standardRecordValidators​
• standardRecordValidators: Dict
<StandardRecordValidator
>
Defined in​
packages/@orbit/records/src/record-validators/standard-record-validator-dict.ts:14
Functions​
buildRecordValidatorFor​
â–¸ buildRecordValidatorFor(settings?
): ValidatorForFn
<StandardValidator
| StandardRecordValidator
>
Parameters​
Name | Type |
---|---|
settings? | Object |
settings.validators? | Dict <StandardValidator | StandardRecordValidator > |
Returns​
ValidatorForFn
<StandardValidator
| StandardRecordValidator
>
Defined in​
packages/@orbit/records/src/record-validators/record-validator-builder.ts:11
cloneRecordIdentity​
â–¸ cloneRecordIdentity(identity
): RecordIdentity
Parameters​
Name | Type |
---|---|
identity | RecordIdentity |
Returns​
Defined in​
packages/@orbit/records/src/record.ts:64
coalesceRecordOperations​
â–¸ coalesceRecordOperations(operations
): RecordOperation
[]
Coalesces operations into a minimal set of equivalent operations.
This method respects the order of the operations array and does not allow reordering of operations that affect relationships.
Parameters​
Name | Type |
---|---|
operations | RecordOperation [] |
Returns​
Defined in​
packages/@orbit/records/src/record-operation.ts:393
dedupeRecordIdentities​
â–¸ dedupeRecordIdentities(recordIdentities
): RecordIdentity
[]
Parameters​
Name | Type |
---|---|
recordIdentities | RecordIdentity [] |
Returns​
Defined in​
packages/@orbit/records/src/record.ts:112
deserializeRecordIdentity​
â–¸ deserializeRecordIdentity(identity
): RecordIdentity
Parameters​
Name | Type |
---|---|
identity | string |
Returns​
Defined in​
packages/@orbit/records/src/record.ts:224
equalRecordIdentities​
â–¸ equalRecordIdentities(record1?
, record2?
): boolean
Parameters​
Name | Type |
---|---|
record1? | null | RecordIdentity |
record2? | null | RecordIdentity |
Returns​
boolean
Defined in​
packages/@orbit/records/src/record.ts:69
equalRecordIdentitySets​
â–¸ equalRecordIdentitySets(set1
, set2
): boolean
Parameters​
Name | Type |
---|---|
set1 | RecordIdentity [] |
set2 | RecordIdentity [] |
Returns​
boolean
Defined in​
packages/@orbit/records/src/record.ts:82
isRecordIdentity​
â–¸ isRecordIdentity(identity
): identity is RecordIdentity
Parameters​
Name | Type |
---|---|
identity | unknown |
Returns​
identity is RecordIdentity
Defined in​
packages/@orbit/records/src/record.ts:213
mergeRecords​
â–¸ mergeRecords(current
, updates
): InitializedRecord
Parameters​
Name | Type |
---|---|
current | null | InitializedRecord |
updates | InitializedRecord |
Returns​
Defined in​
packages/@orbit/records/src/record.ts:151
recordDiffs​
â–¸ recordDiffs(record
, updatedRecord
): RecordOperation
[]
Determine the differences between a record and its updated version in terms of a set of operations.
Parameters​
Name | Type |
---|---|
record | InitializedRecord |
updatedRecord | InitializedRecord |
Returns​
Defined in​
packages/@orbit/records/src/record-operation.ts:420
recordsInclude​
â–¸ recordsInclude(records
, match
): boolean
Parameters​
Name | Type |
---|---|
records | RecordIdentity [] |
match | RecordIdentity |
Returns​
boolean
Defined in​
packages/@orbit/records/src/record.ts:127
recordsIncludeAll​
â–¸ recordsIncludeAll(records
, match
): boolean
Parameters​
Name | Type |
---|---|
records | RecordIdentity [] |
match | RecordIdentity [] |
Returns​
boolean
Defined in​
packages/@orbit/records/src/record.ts:139
recordsReferencedByOperations​
â–¸ recordsReferencedByOperations(operations
): RecordIdentity
[]
Returns the deduped identities of all the records directly referenced by an array of operations.
Parameters​
Name | Type |
---|---|
operations | RecordOperation [] |
Returns​
Defined in​
packages/@orbit/records/src/record-operation.ts:509
serializeRecordIdentity​
â–¸ serializeRecordIdentity(record
): string
Parameters​
Name | Type |
---|---|
record | RecordIdentity |
Returns​
string
Defined in​
packages/@orbit/records/src/record.ts:220
uniqueRecordIdentities​
â–¸ uniqueRecordIdentities(set1
, set2
): RecordIdentity
[]
Parameters​
Name | Type |
---|---|
set1 | RecordIdentity [] |
set2 | RecordIdentity [] |
Returns​
Defined in​
packages/@orbit/records/src/record.ts:102
validateRecord​
â–¸ Const
validateRecord(input
, options?
): undefined
| RecordValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | InitializedRecord |
options? | RecordValidationOptions |
Returns​
undefined
| RecordValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-validator.ts:49
validateRecordAttribute​
â–¸ Const
validateRecordAttribute(input
, options?
): undefined
| RecordAttributeValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | RecordAttributeInput |
options? | RecordAttributeValidationOptions |
Returns​
undefined
| RecordAttributeValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-attribute-validator.ts:70
validateRecordFieldDefinition​
â–¸ Const
validateRecordFieldDefinition(input
, options?
): undefined
| RecordFieldDefinitionIssue
[]
Parameters​
Name | Type |
---|---|
input | RecordFieldDefinitionInput |
options? | RecordFieldDefinitionValidationOptions |
Returns​
undefined
| RecordFieldDefinitionIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-field-definition-validator.ts:28
validateRecordIdentity​
â–¸ Const
validateRecordIdentity(input
, options?
): undefined
| RecordIdentityValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | RecordIdentity |
options? | RecordIdentityValidationOptions |
Returns​
undefined
| RecordIdentityValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-identity-validator.ts:44
validateRecordKey​
â–¸ Const
validateRecordKey(input
, options?
): undefined
| RecordKeyValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | RecordKeyInput |
options? | RecordKeyValidationOptions |
Returns​
undefined
| RecordKeyValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-key-validator.ts:64
validateRecordOperation​
â–¸ Const
validateRecordOperation(input
, options?
): undefined
| RecordOperationValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | RecordOperation |
options? | RecordOperationValidationOptions |
Returns​
undefined
| RecordOperationValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-operation-validator.ts:54
validateRecordRelationship​
â–¸ Const
validateRecordRelationship(input
, options?
): undefined
| RecordRelationshipValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | RecordRelationshipInput |
options? | RecordRelationshipValidationOptions |
Returns​
undefined
| RecordRelationshipValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-relationship-validator.ts:69
validateRecordType​
â–¸ Const
validateRecordType(input
, options?
): undefined
| RecordTypeValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | string |
options? | RecordTypeValidationOptions |
Returns​
undefined
| RecordTypeValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/record-type-validator.ts:31
validateRelatedRecord​
â–¸ Const
validateRelatedRecord(input
, options?
): undefined
| RelatedRecordValidationIssue
[]
Parameters​
Name | Type |
---|---|
input | RelatedRecordInput |
options? | RelatedRecordValidationOptions |
Returns​
undefined
| RelatedRecordValidationIssue
[]
Defined in​
packages/@orbit/records/src/record-validators/related-record-validator.ts:65