Skip to content

Latest commit

 

History

History
279 lines (171 loc) · 7.29 KB

README.md

File metadata and controls

279 lines (171 loc) · 7.29 KB

EmberFire

Index

Enumerations

Classes

Type aliases

Functions


Type aliases

BoundOp

Ƭ BoundOp: string | number | boolean | null | [string | number | boolean | null, string]

Defined in adapters/firestore.ts:205 Defined in adapters/realtime-database.ts:168


CollectionReferenceOrQuery

Ƭ CollectionReferenceOrQuery: CollectionReference | Query

Defined in adapters/firestore.ts:199


DocumentSnapshot

Ƭ DocumentSnapshot: DocumentSnapshot | QueryDocumentSnapshot

Defined in serializers/firestore.ts:4


OrderOp

Ƭ OrderOp: string | object

Defined in adapters/firestore.ts:204


QueryFn

Ƭ QueryFn: function

Defined in adapters/firestore.ts:200 Defined in adapters/realtime-database.ts:163

Type declaration

▸(ref: Reference): ReferenceOrQuery

Parameters:

Name Type
ref Reference

Returns: ReferenceOrQuery


QueryOptions

Ƭ QueryOptions: object | object & object

Defined in adapters/firestore.ts:212 Defined in adapters/realtime-database.ts:175


QueryOptionsOnlyQuery

Ƭ QueryOptionsOnlyQuery: object

Defined in adapters/firestore.ts:207 Defined in adapters/realtime-database.ts:170

Type declaration


QueryRecordFn

Ƭ QueryRecordFn: function

Defined in adapters/firestore.ts:201

Type declaration

▸(ref: CollectionReference): DocumentReference

Parameters:

Name Type
ref CollectionReference

Returns: DocumentReference


QueryRecordOptions

Ƭ QueryRecordOptions: object

Defined in adapters/firestore.ts:223

Type declaration


ReferenceOrQuery

Ƭ ReferenceOrQuery: Reference | Query

Defined in adapters/realtime-database.ts:161


ReferenceOrQueryFn

Ƭ ReferenceOrQueryFn: function

Defined in adapters/realtime-database.ts:162

Type declaration

▸(ref: ReferenceOrQuery): ReferenceOrQuery

Parameters:

Name Type
ref ReferenceOrQuery

Returns: ReferenceOrQuery


Snapshot

Ƭ Snapshot: DocumentSnapshot | QuerySnapshot

Defined in serializers/firestore.ts:5


WhereOp

Ƭ WhereOp: [string | FieldPath, firestore.WhereFilterOp, any]

Defined in adapters/firestore.ts:203


Functions

<Const> normalize

normalize(store: Store, modelClass: Model, snapshot: DocumentSnapshot): object

normalize(store: Store, modelClass: Model, snapshot: DataSnapshot): object

Defined in serializers/firestore.ts:32

Parameters:

Name Type
store Store
modelClass Model
snapshot DocumentSnapshot

Returns: object

Defined in serializers/realtime-database.ts:31

Parameters:

Name Type
store Store
modelClass Model
snapshot DataSnapshot

Returns: object


<Const> subscribe

subscribe(route: Object, model: Model): false | void

Defined in services/realtime-listener.ts:18

Parameters:

Name Type
route Object
model Model

Returns: false | void


<Const> unsubscribe

unsubscribe(route: Object): false | void

Defined in services/realtime-listener.ts:19

Parameters:

Name Type
route Object

Returns: false | void