entropic-bond 1.50.0 → 1.50.1
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.
- package/lib/auth/auth-mock.d.ts +22 -0
- package/lib/auth/auth-mock.spec.d.ts +1 -0
- package/lib/auth/auth.d.ts +131 -0
- package/lib/auth/user-auth-types.d.ts +19 -0
- package/lib/cloud-functions/cloud-functions-mock.d.ts +11 -0
- package/lib/cloud-functions/cloud-functions-mock.spec.d.ts +1 -0
- package/lib/cloud-functions/cloud-functions.d.ts +19 -0
- package/lib/cloud-storage/cloud-storage.d.ts +24 -0
- package/lib/cloud-storage/cloud-storage.spec.d.ts +1 -0
- package/lib/cloud-storage/mock-cloud-storage.d.ts +20 -0
- package/lib/cloud-storage/stored-file.d.ts +39 -0
- package/lib/entropic-bond.js +1667 -0
- package/lib/entropic-bond.umd.cjs +7 -0
- package/lib/index.d.ts +19 -0
- package/lib/observable/observable.d.ts +52 -0
- package/lib/observable/observable.spec.d.ts +1 -0
- package/lib/persistent/entropic-component.d.ts +76 -0
- package/lib/persistent/entropic-component.spec.d.ts +1 -0
- package/lib/persistent/persistent.d.ts +281 -0
- package/lib/persistent/persistent.spec.d.ts +67 -0
- package/lib/server-auth/server-auth-mock.d.ts +12 -0
- package/lib/server-auth/server-auth-mock.spec.d.ts +1 -0
- package/lib/server-auth/server-auth.d.ts +24 -0
- package/lib/store/data-source.d.ts +137 -0
- package/lib/store/json-data-source.d.ts +68 -0
- package/lib/store/json-data-source.spec.d.ts +1 -0
- package/lib/store/mocks/test-user.d.ts +49 -0
- package/lib/store/model.d.ts +238 -0
- package/lib/store/model.spec.d.ts +1 -0
- package/lib/store/store.d.ts +62 -0
- package/lib/store/store.spec.d.ts +1 -0
- package/lib/types/utility-types.d.ts +45 -0
- package/lib/types/utility-types.spec.d.ts +1 -0
- package/lib/utils/test-utils/test-person.d.ts +33 -0
- package/{src/utils/utils.ts → lib/utils/utils.d.ts} +10 -34
- package/lib/utils/utils.spec.d.ts +1 -0
- package/package.json +4 -1
- package/.github/workflows/release.yml +0 -26
- package/CHANGELOG.md +0 -1151
- package/docs/.nojekyll +0 -1
- package/docs/README.md +0 -94
- package/docs/classes/Auth.md +0 -391
- package/docs/classes/AuthMock.md +0 -278
- package/docs/classes/AuthService.md +0 -188
- package/docs/classes/CloudFunctions.md +0 -123
- package/docs/classes/CloudFunctionsMock.md +0 -97
- package/docs/classes/CloudStorage.md +0 -215
- package/docs/classes/DataSource.md +0 -248
- package/docs/classes/EntropicComponent.md +0 -666
- package/docs/classes/JsonDataSource.md +0 -328
- package/docs/classes/MockCloudStorage.md +0 -279
- package/docs/classes/Model.md +0 -274
- package/docs/classes/Observable.md +0 -120
- package/docs/classes/Persistent.md +0 -420
- package/docs/classes/ServerAuth.md +0 -211
- package/docs/classes/ServerAuthMock.md +0 -176
- package/docs/classes/ServerAuthService.md +0 -130
- package/docs/classes/Store.md +0 -218
- package/docs/classes/StoredFile.md +0 -636
- package/docs/enums/StoredFileEvent.md +0 -41
- package/docs/interfaces/AuthError.md +0 -30
- package/docs/interfaces/CloudFunctionsService.md +0 -69
- package/docs/interfaces/Collection.md +0 -13
- package/docs/interfaces/CustomCredentials.md +0 -7
- package/docs/interfaces/DocumentReference.md +0 -49
- package/docs/interfaces/JsonRawData.md +0 -7
- package/docs/interfaces/SignData.md +0 -63
- package/docs/interfaces/StoreParams.md +0 -52
- package/docs/interfaces/StoredFileChange.md +0 -41
- package/docs/interfaces/UploadControl.md +0 -90
- package/docs/interfaces/UserCredentials.md +0 -113
- package/docs/interfaces/Values.md +0 -17
- package/docs/modules.md +0 -1273
- package/src/auth/auth-mock.spec.ts +0 -168
- package/src/auth/auth-mock.ts +0 -129
- package/src/auth/auth.ts +0 -185
- package/src/auth/user-auth-types.ts +0 -21
- package/src/cloud-functions/cloud-functions-mock.spec.ts +0 -136
- package/src/cloud-functions/cloud-functions-mock.ts +0 -23
- package/src/cloud-functions/cloud-functions.ts +0 -83
- package/src/cloud-storage/cloud-storage.spec.ts +0 -207
- package/src/cloud-storage/cloud-storage.ts +0 -60
- package/src/cloud-storage/mock-cloud-storage.ts +0 -72
- package/src/cloud-storage/stored-file.ts +0 -102
- package/src/index.ts +0 -19
- package/src/observable/observable.spec.ts +0 -105
- package/src/observable/observable.ts +0 -67
- package/src/persistent/entropic-component.spec.ts +0 -143
- package/src/persistent/entropic-component.ts +0 -135
- package/src/persistent/persistent.spec.ts +0 -828
- package/src/persistent/persistent.ts +0 -650
- package/src/server-auth/server-auth-mock.spec.ts +0 -53
- package/src/server-auth/server-auth-mock.ts +0 -45
- package/src/server-auth/server-auth.ts +0 -49
- package/src/store/data-source.ts +0 -186
- package/src/store/json-data-source.spec.ts +0 -100
- package/src/store/json-data-source.ts +0 -256
- package/src/store/mocks/mock-data.json +0 -155
- package/src/store/mocks/test-user.ts +0 -122
- package/src/store/model.spec.ts +0 -659
- package/src/store/model.ts +0 -462
- package/src/store/store.spec.ts +0 -30
- package/src/store/store.ts +0 -113
- package/src/types/utility-types.spec.ts +0 -117
- package/src/types/utility-types.ts +0 -116
- package/src/utils/test-utils/test-person.ts +0 -44
- package/src/utils/utils.spec.ts +0 -95
- package/tsconfig-build.json +0 -7
- package/tsconfig-cjs.json +0 -9
- package/tsconfig.json +0 -33
- package/vite.config.ts +0 -22
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / CloudFunctionsService
|
|
2
|
-
|
|
3
|
-
# Interface: CloudFunctionsService
|
|
4
|
-
|
|
5
|
-
## Implemented by
|
|
6
|
-
|
|
7
|
-
- [`CloudFunctionsMock`](../classes/CloudFunctionsMock.md)
|
|
8
|
-
|
|
9
|
-
## Table of contents
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [callFunction](CloudFunctionsService.md#callfunction)
|
|
14
|
-
- [retrieveFunction](CloudFunctionsService.md#retrievefunction)
|
|
15
|
-
|
|
16
|
-
## Methods
|
|
17
|
-
|
|
18
|
-
### callFunction
|
|
19
|
-
|
|
20
|
-
▸ **callFunction**<`P`, `R`\>(`func`, `params`): `Promise`<`R`\>
|
|
21
|
-
|
|
22
|
-
#### Type parameters
|
|
23
|
-
|
|
24
|
-
| Name |
|
|
25
|
-
| :------ |
|
|
26
|
-
| `P` |
|
|
27
|
-
| `R` |
|
|
28
|
-
|
|
29
|
-
#### Parameters
|
|
30
|
-
|
|
31
|
-
| Name | Type |
|
|
32
|
-
| :------ | :------ |
|
|
33
|
-
| `func` | [`CloudFunction`](../modules.md#cloudfunction)<`P`, `R`\> |
|
|
34
|
-
| `params` | `P` |
|
|
35
|
-
|
|
36
|
-
#### Returns
|
|
37
|
-
|
|
38
|
-
`Promise`<`R`\>
|
|
39
|
-
|
|
40
|
-
#### Defined in
|
|
41
|
-
|
|
42
|
-
[cloud-functions/cloud-functions.ts:8](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-functions/cloud-functions.ts#L8)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### retrieveFunction
|
|
47
|
-
|
|
48
|
-
▸ **retrieveFunction**<`P`, `R`\>(`cloudFunction`): [`CloudFunction`](../modules.md#cloudfunction)<`P`, `R`\>
|
|
49
|
-
|
|
50
|
-
#### Type parameters
|
|
51
|
-
|
|
52
|
-
| Name |
|
|
53
|
-
| :------ |
|
|
54
|
-
| `P` |
|
|
55
|
-
| `R` |
|
|
56
|
-
|
|
57
|
-
#### Parameters
|
|
58
|
-
|
|
59
|
-
| Name | Type |
|
|
60
|
-
| :------ | :------ |
|
|
61
|
-
| `cloudFunction` | `string` |
|
|
62
|
-
|
|
63
|
-
#### Returns
|
|
64
|
-
|
|
65
|
-
[`CloudFunction`](../modules.md#cloudfunction)<`P`, `R`\>
|
|
66
|
-
|
|
67
|
-
#### Defined in
|
|
68
|
-
|
|
69
|
-
[cloud-functions/cloud-functions.ts:7](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-functions/cloud-functions.ts#L7)
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / DocumentReference
|
|
2
|
-
|
|
3
|
-
# Interface: DocumentReference
|
|
4
|
-
|
|
5
|
-
Stores information about a reference in another collection.
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [\_\_className](DocumentReference.md#__classname)
|
|
12
|
-
- [\_\_documentReference](DocumentReference.md#__documentreference)
|
|
13
|
-
- [id](DocumentReference.md#id)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### \_\_className
|
|
18
|
-
|
|
19
|
-
• **\_\_className**: `string`
|
|
20
|
-
|
|
21
|
-
#### Defined in
|
|
22
|
-
|
|
23
|
-
[persistent/persistent.ts:45](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/persistent/persistent.ts#L45)
|
|
24
|
-
|
|
25
|
-
___
|
|
26
|
-
|
|
27
|
-
### \_\_documentReference
|
|
28
|
-
|
|
29
|
-
• **\_\_documentReference**: `Object`
|
|
30
|
-
|
|
31
|
-
#### Type declaration
|
|
32
|
-
|
|
33
|
-
| Name | Type |
|
|
34
|
-
| :------ | :------ |
|
|
35
|
-
| `storedInCollection` | `string` |
|
|
36
|
-
|
|
37
|
-
#### Defined in
|
|
38
|
-
|
|
39
|
-
[persistent/persistent.ts:46](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/persistent/persistent.ts#L46)
|
|
40
|
-
|
|
41
|
-
___
|
|
42
|
-
|
|
43
|
-
### id
|
|
44
|
-
|
|
45
|
-
• **id**: `string`
|
|
46
|
-
|
|
47
|
-
#### Defined in
|
|
48
|
-
|
|
49
|
-
[persistent/persistent.ts:44](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/persistent/persistent.ts#L44)
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / JsonRawData
|
|
2
|
-
|
|
3
|
-
# Interface: JsonRawData
|
|
4
|
-
|
|
5
|
-
## Indexable
|
|
6
|
-
|
|
7
|
-
▪ [collection: `string`]: { `[documentId: string]`: [`PersistentObject`](../modules.md#persistentobject)<[`Persistent`](../classes/Persistent.md)\>; }
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / SignData
|
|
2
|
-
|
|
3
|
-
# Interface: SignData
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [authProvider](SignData.md#authprovider)
|
|
10
|
-
- [email](SignData.md#email)
|
|
11
|
-
- [name](SignData.md#name)
|
|
12
|
-
- [password](SignData.md#password)
|
|
13
|
-
- [verificationLink](SignData.md#verificationlink)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### authProvider
|
|
18
|
-
|
|
19
|
-
• **authProvider**: [`AuthProvider`](../modules.md#authprovider)
|
|
20
|
-
|
|
21
|
-
#### Defined in
|
|
22
|
-
|
|
23
|
-
[auth/user-auth-types.ts:16](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L16)
|
|
24
|
-
|
|
25
|
-
___
|
|
26
|
-
|
|
27
|
-
### email
|
|
28
|
-
|
|
29
|
-
• `Optional` **email**: `string`
|
|
30
|
-
|
|
31
|
-
#### Defined in
|
|
32
|
-
|
|
33
|
-
[auth/user-auth-types.ts:17](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L17)
|
|
34
|
-
|
|
35
|
-
___
|
|
36
|
-
|
|
37
|
-
### name
|
|
38
|
-
|
|
39
|
-
• `Optional` **name**: `string`
|
|
40
|
-
|
|
41
|
-
#### Defined in
|
|
42
|
-
|
|
43
|
-
[auth/user-auth-types.ts:19](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L19)
|
|
44
|
-
|
|
45
|
-
___
|
|
46
|
-
|
|
47
|
-
### password
|
|
48
|
-
|
|
49
|
-
• `Optional` **password**: `string`
|
|
50
|
-
|
|
51
|
-
#### Defined in
|
|
52
|
-
|
|
53
|
-
[auth/user-auth-types.ts:18](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L18)
|
|
54
|
-
|
|
55
|
-
___
|
|
56
|
-
|
|
57
|
-
### verificationLink
|
|
58
|
-
|
|
59
|
-
• `Optional` **verificationLink**: `string`
|
|
60
|
-
|
|
61
|
-
#### Defined in
|
|
62
|
-
|
|
63
|
-
[auth/user-auth-types.ts:20](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L20)
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / StoreParams
|
|
2
|
-
|
|
3
|
-
# Interface: StoreParams
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [cloudStorageProvider](StoreParams.md#cloudstorageprovider)
|
|
10
|
-
- [data](StoreParams.md#data)
|
|
11
|
-
- [fileName](StoreParams.md#filename)
|
|
12
|
-
- [progress](StoreParams.md#progress)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### cloudStorageProvider
|
|
17
|
-
|
|
18
|
-
• `Optional` **cloudStorageProvider**: [`CloudStorage`](../classes/CloudStorage.md)
|
|
19
|
-
|
|
20
|
-
#### Defined in
|
|
21
|
-
|
|
22
|
-
[cloud-storage/stored-file.ts:16](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L16)
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### data
|
|
27
|
-
|
|
28
|
-
• `Optional` **data**: [`StorableData`](../modules.md#storabledata)
|
|
29
|
-
|
|
30
|
-
#### Defined in
|
|
31
|
-
|
|
32
|
-
[cloud-storage/stored-file.ts:13](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L13)
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### fileName
|
|
37
|
-
|
|
38
|
-
• `Optional` **fileName**: `string`
|
|
39
|
-
|
|
40
|
-
#### Defined in
|
|
41
|
-
|
|
42
|
-
[cloud-storage/stored-file.ts:14](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L14)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### progress
|
|
47
|
-
|
|
48
|
-
• `Optional` **progress**: [`UploadProgress`](../modules.md#uploadprogress)
|
|
49
|
-
|
|
50
|
-
#### Defined in
|
|
51
|
-
|
|
52
|
-
[cloud-storage/stored-file.ts:15](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L15)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / StoredFileChange
|
|
2
|
-
|
|
3
|
-
# Interface: StoredFileChange
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [event](StoredFileChange.md#event)
|
|
10
|
-
- [pendingData](StoredFileChange.md#pendingdata)
|
|
11
|
-
- [storedFile](StoredFileChange.md#storedfile)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### event
|
|
16
|
-
|
|
17
|
-
• **event**: [`StoredFileEvent`](../enums/StoredFileEvent.md)
|
|
18
|
-
|
|
19
|
-
#### Defined in
|
|
20
|
-
|
|
21
|
-
[cloud-storage/stored-file.ts:7](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L7)
|
|
22
|
-
|
|
23
|
-
___
|
|
24
|
-
|
|
25
|
-
### pendingData
|
|
26
|
-
|
|
27
|
-
• `Optional` **pendingData**: [`StorableData`](../modules.md#storabledata)
|
|
28
|
-
|
|
29
|
-
#### Defined in
|
|
30
|
-
|
|
31
|
-
[cloud-storage/stored-file.ts:8](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L8)
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### storedFile
|
|
36
|
-
|
|
37
|
-
• **storedFile**: [`StoredFile`](../classes/StoredFile.md)
|
|
38
|
-
|
|
39
|
-
#### Defined in
|
|
40
|
-
|
|
41
|
-
[cloud-storage/stored-file.ts:9](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/stored-file.ts#L9)
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / UploadControl
|
|
2
|
-
|
|
3
|
-
# Interface: UploadControl
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [cancel](UploadControl.md#cancel)
|
|
10
|
-
- [onProgress](UploadControl.md#onprogress)
|
|
11
|
-
- [pause](UploadControl.md#pause)
|
|
12
|
-
- [resume](UploadControl.md#resume)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### cancel
|
|
17
|
-
|
|
18
|
-
• **cancel**: () => `void`
|
|
19
|
-
|
|
20
|
-
#### Type declaration
|
|
21
|
-
|
|
22
|
-
▸ (): `void`
|
|
23
|
-
|
|
24
|
-
##### Returns
|
|
25
|
-
|
|
26
|
-
`void`
|
|
27
|
-
|
|
28
|
-
#### Defined in
|
|
29
|
-
|
|
30
|
-
[cloud-storage/cloud-storage.ts:12](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/cloud-storage.ts#L12)
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### onProgress
|
|
35
|
-
|
|
36
|
-
• **onProgress**: (`callback`: [`UploadProgress`](../modules.md#uploadprogress)) => `void`
|
|
37
|
-
|
|
38
|
-
#### Type declaration
|
|
39
|
-
|
|
40
|
-
▸ (`callback`): `void`
|
|
41
|
-
|
|
42
|
-
##### Parameters
|
|
43
|
-
|
|
44
|
-
| Name | Type |
|
|
45
|
-
| :------ | :------ |
|
|
46
|
-
| `callback` | [`UploadProgress`](../modules.md#uploadprogress) |
|
|
47
|
-
|
|
48
|
-
##### Returns
|
|
49
|
-
|
|
50
|
-
`void`
|
|
51
|
-
|
|
52
|
-
#### Defined in
|
|
53
|
-
|
|
54
|
-
[cloud-storage/cloud-storage.ts:13](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/cloud-storage.ts#L13)
|
|
55
|
-
|
|
56
|
-
___
|
|
57
|
-
|
|
58
|
-
### pause
|
|
59
|
-
|
|
60
|
-
• **pause**: () => `void`
|
|
61
|
-
|
|
62
|
-
#### Type declaration
|
|
63
|
-
|
|
64
|
-
▸ (): `void`
|
|
65
|
-
|
|
66
|
-
##### Returns
|
|
67
|
-
|
|
68
|
-
`void`
|
|
69
|
-
|
|
70
|
-
#### Defined in
|
|
71
|
-
|
|
72
|
-
[cloud-storage/cloud-storage.ts:10](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/cloud-storage.ts#L10)
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### resume
|
|
77
|
-
|
|
78
|
-
• **resume**: () => `void`
|
|
79
|
-
|
|
80
|
-
#### Type declaration
|
|
81
|
-
|
|
82
|
-
▸ (): `void`
|
|
83
|
-
|
|
84
|
-
##### Returns
|
|
85
|
-
|
|
86
|
-
`void`
|
|
87
|
-
|
|
88
|
-
#### Defined in
|
|
89
|
-
|
|
90
|
-
[cloud-storage/cloud-storage.ts:11](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/cloud-storage/cloud-storage.ts#L11)
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / UserCredentials
|
|
2
|
-
|
|
3
|
-
# Interface: UserCredentials<T\>
|
|
4
|
-
|
|
5
|
-
## Type parameters
|
|
6
|
-
|
|
7
|
-
| Name | Type |
|
|
8
|
-
| :------ | :------ |
|
|
9
|
-
| `T` | extends `Object` = {} |
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [creationDate](UserCredentials.md#creationdate)
|
|
16
|
-
- [customData](UserCredentials.md#customdata)
|
|
17
|
-
- [email](UserCredentials.md#email)
|
|
18
|
-
- [emailVerified](UserCredentials.md#emailverified)
|
|
19
|
-
- [id](UserCredentials.md#id)
|
|
20
|
-
- [lastLogin](UserCredentials.md#lastlogin)
|
|
21
|
-
- [name](UserCredentials.md#name)
|
|
22
|
-
- [phoneNumber](UserCredentials.md#phonenumber)
|
|
23
|
-
- [pictureUrl](UserCredentials.md#pictureurl)
|
|
24
|
-
|
|
25
|
-
## Properties
|
|
26
|
-
|
|
27
|
-
### creationDate
|
|
28
|
-
|
|
29
|
-
• `Optional` **creationDate**: `number`
|
|
30
|
-
|
|
31
|
-
#### Defined in
|
|
32
|
-
|
|
33
|
-
[auth/user-auth-types.ts:10](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L10)
|
|
34
|
-
|
|
35
|
-
___
|
|
36
|
-
|
|
37
|
-
### customData
|
|
38
|
-
|
|
39
|
-
• `Optional` **customData**: `T`
|
|
40
|
-
|
|
41
|
-
#### Defined in
|
|
42
|
-
|
|
43
|
-
[auth/user-auth-types.ts:8](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L8)
|
|
44
|
-
|
|
45
|
-
___
|
|
46
|
-
|
|
47
|
-
### email
|
|
48
|
-
|
|
49
|
-
• **email**: `string`
|
|
50
|
-
|
|
51
|
-
#### Defined in
|
|
52
|
-
|
|
53
|
-
[auth/user-auth-types.ts:3](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L3)
|
|
54
|
-
|
|
55
|
-
___
|
|
56
|
-
|
|
57
|
-
### emailVerified
|
|
58
|
-
|
|
59
|
-
• `Optional` **emailVerified**: `boolean`
|
|
60
|
-
|
|
61
|
-
#### Defined in
|
|
62
|
-
|
|
63
|
-
[auth/user-auth-types.ts:7](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L7)
|
|
64
|
-
|
|
65
|
-
___
|
|
66
|
-
|
|
67
|
-
### id
|
|
68
|
-
|
|
69
|
-
• **id**: `string`
|
|
70
|
-
|
|
71
|
-
#### Defined in
|
|
72
|
-
|
|
73
|
-
[auth/user-auth-types.ts:2](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L2)
|
|
74
|
-
|
|
75
|
-
___
|
|
76
|
-
|
|
77
|
-
### lastLogin
|
|
78
|
-
|
|
79
|
-
• `Optional` **lastLogin**: `number`
|
|
80
|
-
|
|
81
|
-
#### Defined in
|
|
82
|
-
|
|
83
|
-
[auth/user-auth-types.ts:9](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L9)
|
|
84
|
-
|
|
85
|
-
___
|
|
86
|
-
|
|
87
|
-
### name
|
|
88
|
-
|
|
89
|
-
• `Optional` **name**: `string`
|
|
90
|
-
|
|
91
|
-
#### Defined in
|
|
92
|
-
|
|
93
|
-
[auth/user-auth-types.ts:4](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L4)
|
|
94
|
-
|
|
95
|
-
___
|
|
96
|
-
|
|
97
|
-
### phoneNumber
|
|
98
|
-
|
|
99
|
-
• `Optional` **phoneNumber**: `string`
|
|
100
|
-
|
|
101
|
-
#### Defined in
|
|
102
|
-
|
|
103
|
-
[auth/user-auth-types.ts:6](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L6)
|
|
104
|
-
|
|
105
|
-
___
|
|
106
|
-
|
|
107
|
-
### pictureUrl
|
|
108
|
-
|
|
109
|
-
• `Optional` **pictureUrl**: `string`
|
|
110
|
-
|
|
111
|
-
#### Defined in
|
|
112
|
-
|
|
113
|
-
[auth/user-auth-types.ts:5](https://github.com/entropic-bond/entropic-bond/blob/c9dd385/src/auth/user-auth-types.ts#L5)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[entropic-bond](../README.md) / [Exports](../modules.md) / Values
|
|
2
|
-
|
|
3
|
-
# Interface: Values
|
|
4
|
-
|
|
5
|
-
A map of key-value pairs
|
|
6
|
-
|
|
7
|
-
**`Param`**
|
|
8
|
-
|
|
9
|
-
the name of the variable
|
|
10
|
-
|
|
11
|
-
**`Param`**
|
|
12
|
-
|
|
13
|
-
the value of the variable
|
|
14
|
-
|
|
15
|
-
## Indexable
|
|
16
|
-
|
|
17
|
-
▪ [varName: `string`]: `string`
|