@free-drivers-ed-california/types 0.0.221 → 0.0.223
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/emails/interfaces/database-email.interface.d.ts +2 -4
- package/dist/emails/interfaces/database-email.interface.d.ts.map +1 -1
- package/dist/generics/interfaces/base-database-object.interface.d.ts +6 -0
- package/dist/generics/interfaces/base-database-object.interface.d.ts.map +1 -0
- package/dist/generics/interfaces/base-database-object.interface.js +0 -0
- package/dist/generics/interfaces/index.d.ts +1 -0
- package/dist/generics/interfaces/index.d.ts.map +1 -1
- package/dist/generics/interfaces/index.js +1 -0
- package/dist/products/enums/index.d.ts +2 -0
- package/dist/products/enums/index.d.ts.map +1 -0
- package/dist/products/enums/index.js +1 -0
- package/dist/products/enums/payment-flow.enum.d.ts +5 -0
- package/dist/products/enums/payment-flow.enum.d.ts.map +1 -0
- package/dist/products/enums/payment-flow.enum.js +5 -0
- package/dist/products/index.d.ts +1 -0
- package/dist/products/index.d.ts.map +1 -1
- package/dist/products/index.js +1 -0
- package/dist/products/interfaces/database-product.interface.d.ts +4 -6
- package/dist/products/interfaces/database-product.interface.d.ts.map +1 -1
- package/dist/products/interfaces/product.interface.d.ts +4 -3
- package/dist/products/interfaces/product.interface.d.ts.map +1 -1
- package/dist/student/interfaces/student.interface.d.ts +2 -2
- package/dist/student/interfaces/student.interface.d.ts.map +1 -1
- package/dist/user/interfaces/database-user.interface.d.ts +2 -4
- package/dist/user/interfaces/database-user.interface.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { EmailTriggers } from '../enums';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
created_at: string;
|
|
5
|
-
updated_at: string;
|
|
2
|
+
import { BaseDatabaseObject } from '../../generics';
|
|
3
|
+
export interface DatabaseEmail extends BaseDatabaseObject {
|
|
6
4
|
name?: string;
|
|
7
5
|
active?: boolean;
|
|
8
6
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-email.interface.d.ts","sourceRoot":"","sources":["../../../src/emails/interfaces/database-email.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"database-email.interface.d.ts","sourceRoot":"","sources":["../../../src/emails/interfaces/database-email.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-database-object.interface.d.ts","sourceRoot":"","sources":["../../../src/generics/interfaces/base-database-object.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generics/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generics/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/products/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './payment-flow.enum';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-flow.enum.d.ts","sourceRoot":"","sources":["../../../src/products/enums/payment-flow.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;CAC1C"}
|
package/dist/products/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
package/dist/products/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
updated_at: string;
|
|
1
|
+
import { BaseDatabaseObject } from '../../generics';
|
|
2
|
+
import { PaymentFlow } from "../enums";
|
|
3
|
+
export interface DatabaseProduct extends BaseDatabaseObject {
|
|
5
4
|
name?: string;
|
|
6
5
|
description?: string;
|
|
7
|
-
price?: number;
|
|
8
6
|
stripe_product_id?: string;
|
|
9
7
|
test_stripe_product_id?: string;
|
|
10
8
|
stripe_price_id?: string;
|
|
11
9
|
test_stripe_price_id?: string;
|
|
12
10
|
active?: boolean;
|
|
13
|
-
|
|
11
|
+
payment_flow?: PaymentFlow;
|
|
14
12
|
}
|
|
15
13
|
//# sourceMappingURL=database-product.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-product.interface.d.ts","sourceRoot":"","sources":["../../../src/products/interfaces/database-product.interface.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"database-product.interface.d.ts","sourceRoot":"","sources":["../../../src/products/interfaces/database-product.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,MAAM,WAAW,eAAgB,SAAQ,kBAAkB;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,WAAW,CAAC;CAC9B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { BaseObject } from "../../generics";
|
|
2
|
+
import { PaymentFlow } from "../enums";
|
|
3
|
+
export interface Product extends BaseObject {
|
|
3
4
|
name?: string;
|
|
4
5
|
description?: string;
|
|
5
6
|
price?: number;
|
|
@@ -7,7 +8,7 @@ export interface Product {
|
|
|
7
8
|
testStripeProductId?: string;
|
|
8
9
|
testStripePriceId?: string;
|
|
9
10
|
stripePriceId?: string;
|
|
11
|
+
paymentFlow?: PaymentFlow;
|
|
10
12
|
active?: boolean;
|
|
11
|
-
lastUpdated?: string;
|
|
12
13
|
}
|
|
13
14
|
//# sourceMappingURL=product.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.interface.d.ts","sourceRoot":"","sources":["../../../src/products/interfaces/product.interface.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"product.interface.d.ts","sourceRoot":"","sources":["../../../src/products/interfaces/product.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,MAAM,WAAW,OAAQ,SAAQ,UAAU;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Address } from "../../generics";
|
|
1
|
+
import { Address, BaseObject } from "../../generics";
|
|
2
2
|
import { CurriculumTracking } from "../../curriculum";
|
|
3
|
-
export interface Student {
|
|
3
|
+
export interface Student extends BaseObject {
|
|
4
4
|
userId: number;
|
|
5
5
|
address: Address;
|
|
6
6
|
dateOfBirth: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"student.interface.d.ts","sourceRoot":"","sources":["../../../src/student/interfaces/student.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"student.interface.d.ts","sourceRoot":"","sources":["../../../src/student/interfaces/student.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,UAAU,EAAC,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,OAAQ,SAAQ,UAAU;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { UserRoles } from "../enums";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
created_at: string;
|
|
5
|
-
updated_at: string;
|
|
2
|
+
import { BaseDatabaseObject } from "../../generics";
|
|
3
|
+
export interface DatabaseUser extends BaseDatabaseObject {
|
|
6
4
|
first_name: string;
|
|
7
5
|
last_name: string;
|
|
8
6
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-user.interface.d.ts","sourceRoot":"","sources":["../../../src/user/interfaces/database-user.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"database-user.interface.d.ts","sourceRoot":"","sources":["../../../src/user/interfaces/database-user.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|