SyncOperationSchema top-level constant

CollectionSchema<SyncOperation> const SyncOperationSchema

Implementation

const SyncOperationSchema = CollectionSchema(
  name: r'SyncOperation',
  id: 564399705184180324,
  properties: {
    r'collectionName': PropertySchema(
      id: 0,
      name: r'collectionName',
      type: IsarType.string,
    ),
    r'errorMessage': PropertySchema(
      id: 1,
      name: r'errorMessage',
      type: IsarType.string,
    ),
    r'operationType': PropertySchema(
      id: 2,
      name: r'operationType',
      type: IsarType.string,
    ),
    r'payload': PropertySchema(
      id: 3,
      name: r'payload',
      type: IsarType.string,
    ),
    r'recordId': PropertySchema(
      id: 4,
      name: r'recordId',
      type: IsarType.string,
    ),
    r'retryCount': PropertySchema(
      id: 5,
      name: r'retryCount',
      type: IsarType.long,
    ),
    r'status': PropertySchema(
      id: 6,
      name: r'status',
      type: IsarType.string,
    ),
    r'timestamp': PropertySchema(
      id: 7,
      name: r'timestamp',
      type: IsarType.dateTime,
    )
  },
  estimateSize: _syncOperationEstimateSize,
  serialize: _syncOperationSerialize,
  deserialize: _syncOperationDeserialize,
  deserializeProp: _syncOperationDeserializeProp,
  idName: r'id',
  indexes: {
    r'collectionName': IndexSchema(
      id: -4238329797778617380,
      name: r'collectionName',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'collectionName',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r'status': IndexSchema(
      id: -107785170620420283,
      name: r'status',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'status',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    )
  },
  links: {},
  embeddedSchemas: {},
  getId: _syncOperationGetId,
  getLinks: _syncOperationGetLinks,
  attach: _syncOperationAttach,
  version: '3.1.0+1',
);