@valentine-efagene/qshelter-common 2.0.10 → 2.0.12
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/dist/generated/client/browser.d.ts +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +81 -1
- package/dist/generated/client/internal/prismaNamespace.js +11 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +13 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +11 -0
- package/dist/generated/client/models/OAuthState.d.ts +864 -0
- package/dist/generated/client/models/OAuthState.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +11 -0
- package/dist/generated/client/models/index.d.ts +0 -34
- package/dist/generated/client/models/index.js +0 -34
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -10,6 +10,7 @@ export type * from './models/UserSuspension.js';
|
|
|
10
10
|
export type * from './models/EmailPreference.js';
|
|
11
11
|
export type * from './models/DeviceEndpoint.js';
|
|
12
12
|
export type * from './models/Social.js';
|
|
13
|
+
export type * from './models/OAuthState.js';
|
|
13
14
|
export type * from './models/Wallet.js';
|
|
14
15
|
export type * from './models/Transaction.js';
|
|
15
16
|
export type * from './models/Settings.js';
|
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -205,6 +205,17 @@ model Social {
|
|
|
205
205
|
@@map("socials")
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
model OAuthState {
|
|
209
|
+
id String @id @default(cuid())
|
|
210
|
+
state String @unique
|
|
211
|
+
expiresAt DateTime
|
|
212
|
+
createdAt DateTime @default(now())
|
|
213
|
+
|
|
214
|
+
@@index([state])
|
|
215
|
+
@@index([expiresAt])
|
|
216
|
+
@@map("oauth_states")
|
|
217
|
+
}
|
|
218
|
+
|
|
208
219
|
model Wallet {
|
|
209
220
|
id String @id @default(cuid())
|
|
210
221
|
balance Float @default(0)
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export * from './Amenity';
|
|
2
|
-
export * from './Contract';
|
|
3
|
-
export * from './ContractDocument';
|
|
4
|
-
export * from './DeviceEndpoint';
|
|
5
|
-
export * from './EmailPreference';
|
|
6
|
-
export * from './Mortgage';
|
|
7
|
-
export * from './MortgageDocument';
|
|
8
|
-
export * from './MortgageDownpaymentInstallment';
|
|
9
|
-
export * from './MortgageDownpaymentPayment';
|
|
10
|
-
export * from './MortgageDownpaymentPlan';
|
|
11
|
-
export * from './MortgageStep';
|
|
12
|
-
export * from './MortgageTransition';
|
|
13
|
-
export * from './MortgageTransitionEvent';
|
|
14
|
-
export * from './MortgageType';
|
|
15
|
-
export * from './PasswordReset';
|
|
16
|
-
export * from './Payment';
|
|
17
|
-
export * from './PaymentInstallment';
|
|
18
|
-
export * from './PaymentPlan';
|
|
19
|
-
export * from './PaymentSchedule';
|
|
20
|
-
export * from './Permission';
|
|
21
|
-
export * from './Property';
|
|
22
|
-
export * from './PropertyAmenity';
|
|
23
|
-
export * from './PropertyDocument';
|
|
24
|
-
export * from './PropertyMedia';
|
|
25
|
-
export * from './RefreshToken';
|
|
26
|
-
export * from './Role';
|
|
27
|
-
export * from './RolePermission';
|
|
28
|
-
export * from './Settings';
|
|
29
|
-
export * from './Social';
|
|
30
|
-
export * from './Tenant';
|
|
31
|
-
export * from './Transaction';
|
|
32
|
-
export * from './User';
|
|
33
|
-
export * from './UserSuspension';
|
|
34
|
-
export * from './Wallet';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export * from './Amenity';
|
|
2
|
-
export * from './Contract';
|
|
3
|
-
export * from './ContractDocument';
|
|
4
|
-
export * from './DeviceEndpoint';
|
|
5
|
-
export * from './EmailPreference';
|
|
6
|
-
export * from './Mortgage';
|
|
7
|
-
export * from './MortgageDocument';
|
|
8
|
-
export * from './MortgageDownpaymentInstallment';
|
|
9
|
-
export * from './MortgageDownpaymentPayment';
|
|
10
|
-
export * from './MortgageDownpaymentPlan';
|
|
11
|
-
export * from './MortgageStep';
|
|
12
|
-
export * from './MortgageTransition';
|
|
13
|
-
export * from './MortgageTransitionEvent';
|
|
14
|
-
export * from './MortgageType';
|
|
15
|
-
export * from './PasswordReset';
|
|
16
|
-
export * from './Payment';
|
|
17
|
-
export * from './PaymentInstallment';
|
|
18
|
-
export * from './PaymentPlan';
|
|
19
|
-
export * from './PaymentSchedule';
|
|
20
|
-
export * from './Permission';
|
|
21
|
-
export * from './Property';
|
|
22
|
-
export * from './PropertyAmenity';
|
|
23
|
-
export * from './PropertyDocument';
|
|
24
|
-
export * from './PropertyMedia';
|
|
25
|
-
export * from './RefreshToken';
|
|
26
|
-
export * from './Role';
|
|
27
|
-
export * from './RolePermission';
|
|
28
|
-
export * from './Settings';
|
|
29
|
-
export * from './Social';
|
|
30
|
-
export * from './Tenant';
|
|
31
|
-
export * from './Transaction';
|
|
32
|
-
export * from './User';
|
|
33
|
-
export * from './UserSuspension';
|
|
34
|
-
export * from './Wallet';
|