DbMetadataSchema top-level constant
IsarGeneratedSchema
const DbMetadataSchema
Implementation
const DbMetadataSchema = IsarGeneratedSchema(
schema: IsarSchema(
name: 'DbMetadata',
idName: 'id',
embedded: false,
properties: [
IsarPropertySchema(
name: 'id',
type: IsarType.string,
),
IsarPropertySchema(
name: 'splitDisplayNameWords',
type: IsarType.stringList,
),
IsarPropertySchema(
name: 'splitNameWords',
type: IsarType.stringList,
),
IsarPropertySchema(
name: 'pubKey',
type: IsarType.string,
),
IsarPropertySchema(
name: 'name',
type: IsarType.string,
),
IsarPropertySchema(
name: 'displayName',
type: IsarType.string,
),
IsarPropertySchema(
name: 'picture',
type: IsarType.string,
),
IsarPropertySchema(
name: 'banner',
type: IsarType.string,
),
IsarPropertySchema(
name: 'website',
type: IsarType.string,
),
IsarPropertySchema(
name: 'about',
type: IsarType.string,
),
IsarPropertySchema(
name: 'nip05',
type: IsarType.string,
),
IsarPropertySchema(
name: 'lud16',
type: IsarType.string,
),
IsarPropertySchema(
name: 'lud06',
type: IsarType.string,
),
IsarPropertySchema(
name: 'updatedAt',
type: IsarType.long,
),
IsarPropertySchema(
name: 'refreshedTimestamp',
type: IsarType.long,
),
IsarPropertySchema(
name: 'cleanNip05',
type: IsarType.string,
),
],
indexes: [],
),
converter: IsarObjectConverter<String, DbMetadata>(
serialize: serializeDbMetadata,
deserialize: deserializeDbMetadata,
deserializeProperty: deserializeDbMetadataProp,
),
embeddedSchemas: [],
);