@m5kdev/web-ui 0.8.10 → 0.9.0
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/packages/backend/dist/src/modules/auth/auth.dto.d.mts +6 -6
- package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +6 -6
- package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.mts +10 -10
- package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +10 -10
- package/dist/packages/backend/dist/src/modules/billing/billing.service.d.mts +6 -6
- package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +6 -6
- package/dist/packages/backend/dist/src/types.d.mts +17 -17
- package/dist/packages/backend/dist/src/types.d.ts +17 -17
- package/package.json +5 -5
|
@@ -13,11 +13,11 @@ declare const waitlistSchema: z.ZodObject<{
|
|
|
13
13
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const waitlistOutputSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
16
|
name: z.ZodNullable<z.ZodString>;
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
email: z.ZodNullable<z.ZodString>;
|
|
18
19
|
createdAt: z.ZodDate;
|
|
19
20
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
20
|
-
email: z.ZodNullable<z.ZodString>;
|
|
21
21
|
status: z.ZodString;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
type WaitlistOutput = z.infer<typeof waitlistOutputSchema>;
|
|
@@ -35,10 +35,10 @@ declare const accountClaimSchema: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
declare const accountClaimOutputSchema: z.ZodObject<{
|
|
37
37
|
id: z.ZodString;
|
|
38
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
39
38
|
createdAt: z.ZodDate;
|
|
40
39
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
41
40
|
status: z.ZodString;
|
|
41
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
42
42
|
claimUserId: z.ZodNullable<z.ZodString>;
|
|
43
43
|
claimedAt: z.ZodNullable<z.ZodDate>;
|
|
44
44
|
claimedEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -57,10 +57,10 @@ declare const accountClaimMagicLinkSchema: z.ZodObject<{
|
|
|
57
57
|
}, z.core.$strip>;
|
|
58
58
|
declare const accountClaimMagicLinkOutputSchema: z.ZodObject<{
|
|
59
59
|
id: z.ZodString;
|
|
60
|
-
userId: z.ZodString;
|
|
61
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
62
|
-
createdAt: z.ZodDate;
|
|
63
60
|
email: z.ZodString;
|
|
61
|
+
createdAt: z.ZodDate;
|
|
62
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
63
|
+
userId: z.ZodString;
|
|
64
64
|
claimId: z.ZodString;
|
|
65
65
|
url: z.ZodString;
|
|
66
66
|
}, z.core.$strip>;
|
|
@@ -13,11 +13,11 @@ declare const waitlistSchema: z.ZodObject<{
|
|
|
13
13
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const waitlistOutputSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
16
|
name: z.ZodNullable<z.ZodString>;
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
email: z.ZodNullable<z.ZodString>;
|
|
18
19
|
createdAt: z.ZodDate;
|
|
19
20
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
20
|
-
email: z.ZodNullable<z.ZodString>;
|
|
21
21
|
status: z.ZodString;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
type WaitlistOutput = z.infer<typeof waitlistOutputSchema>;
|
|
@@ -35,10 +35,10 @@ declare const accountClaimSchema: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
declare const accountClaimOutputSchema: z.ZodObject<{
|
|
37
37
|
id: z.ZodString;
|
|
38
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
39
38
|
createdAt: z.ZodDate;
|
|
40
39
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
41
40
|
status: z.ZodString;
|
|
41
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
42
42
|
claimUserId: z.ZodNullable<z.ZodString>;
|
|
43
43
|
claimedAt: z.ZodNullable<z.ZodDate>;
|
|
44
44
|
claimedEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -57,10 +57,10 @@ declare const accountClaimMagicLinkSchema: z.ZodObject<{
|
|
|
57
57
|
}, z.core.$strip>;
|
|
58
58
|
declare const accountClaimMagicLinkOutputSchema: z.ZodObject<{
|
|
59
59
|
id: z.ZodString;
|
|
60
|
-
userId: z.ZodString;
|
|
61
|
-
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
62
|
-
createdAt: z.ZodDate;
|
|
63
60
|
email: z.ZodString;
|
|
61
|
+
createdAt: z.ZodDate;
|
|
62
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
63
|
+
userId: z.ZodString;
|
|
64
64
|
claimId: z.ZodString;
|
|
65
65
|
url: z.ZodString;
|
|
66
66
|
}, z.core.$strip>;
|
|
@@ -2714,7 +2714,7 @@ declare const schema: {
|
|
|
2714
2714
|
type Schema = typeof schema;
|
|
2715
2715
|
type Orm = LibSQLDatabase<Schema>;
|
|
2716
2716
|
declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<string, never>, Schema["subscriptions"]> {
|
|
2717
|
-
stripe: Stripe;
|
|
2717
|
+
stripe: Stripe$1;
|
|
2718
2718
|
plans: StripePlan[];
|
|
2719
2719
|
trial?: StripePlan;
|
|
2720
2720
|
constructor(options: {
|
|
@@ -2722,7 +2722,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2722
2722
|
schema: Schema;
|
|
2723
2723
|
table: Schema["subscriptions"];
|
|
2724
2724
|
libs: {
|
|
2725
|
-
stripe: Stripe;
|
|
2725
|
+
stripe: Stripe$1;
|
|
2726
2726
|
};
|
|
2727
2727
|
config: {
|
|
2728
2728
|
trial?: StripePlan;
|
|
@@ -2731,7 +2731,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2731
2731
|
});
|
|
2732
2732
|
hasTrial(): boolean;
|
|
2733
2733
|
getPlanByPriceId(priceId: string): StripePlan | undefined;
|
|
2734
|
-
getCustomerByEmail(email: string): ServerResultAsync<Stripe.Customer | null>;
|
|
2734
|
+
getCustomerByEmail(email: string): ServerResultAsync<Stripe$1.Customer | null>;
|
|
2735
2735
|
getUserByCustomerId(customerId: string): ServerResultAsync<InferSelectModel<Schema["users"]> | null>;
|
|
2736
2736
|
createCustomer({
|
|
2737
2737
|
email,
|
|
@@ -2741,8 +2741,8 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2741
2741
|
email: string;
|
|
2742
2742
|
name?: string;
|
|
2743
2743
|
userId: string;
|
|
2744
|
-
}): ServerResultAsync<Stripe.Customer>;
|
|
2745
|
-
createTrialSubscription(customerId: string): ServerResultAsync<Stripe.Subscription>;
|
|
2744
|
+
}): ServerResultAsync<Stripe$1.Customer>;
|
|
2745
|
+
createTrialSubscription(customerId: string): ServerResultAsync<Stripe$1.Subscription>;
|
|
2746
2746
|
createSubscription({
|
|
2747
2747
|
customerId,
|
|
2748
2748
|
priceId,
|
|
@@ -2753,7 +2753,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2753
2753
|
priceId: string;
|
|
2754
2754
|
quantity?: number;
|
|
2755
2755
|
trialDays?: number;
|
|
2756
|
-
}): ServerResultAsync<Stripe.Subscription>;
|
|
2756
|
+
}): ServerResultAsync<Stripe$1.Subscription>;
|
|
2757
2757
|
updateUserCustomerId({
|
|
2758
2758
|
userId,
|
|
2759
2759
|
customerId
|
|
@@ -2763,7 +2763,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2763
2763
|
}): ServerResultAsync<InferSelectModel<Schema["users"]>>;
|
|
2764
2764
|
getLatestSubscription(referenceId: string): ServerResultAsync<BillingSchema | null>;
|
|
2765
2765
|
getActiveSubscription(referenceId: string): ServerResultAsync<BillingSchema | null>;
|
|
2766
|
-
listInvoices(customerId: string): ServerResultAsync<Stripe.Invoice[]>;
|
|
2766
|
+
listInvoices(customerId: string): ServerResultAsync<Stripe$1.Invoice[]>;
|
|
2767
2767
|
createCheckoutSession({
|
|
2768
2768
|
customerId,
|
|
2769
2769
|
priceId,
|
|
@@ -2772,8 +2772,8 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2772
2772
|
customerId: string;
|
|
2773
2773
|
priceId: string;
|
|
2774
2774
|
userId: string;
|
|
2775
|
-
}): ServerResultAsync<Stripe.Checkout.Session>;
|
|
2776
|
-
createBillingPortalSession(customerId: string): ServerResultAsync<Stripe.BillingPortal.Session>;
|
|
2775
|
+
}): ServerResultAsync<Stripe$1.Checkout.Session>;
|
|
2776
|
+
createBillingPortalSession(customerId: string): ServerResultAsync<Stripe$1.BillingPortal.Session>;
|
|
2777
2777
|
syncStripeData({
|
|
2778
2778
|
customerId,
|
|
2779
2779
|
userId
|
|
@@ -2781,7 +2781,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2781
2781
|
customerId: string;
|
|
2782
2782
|
userId: string;
|
|
2783
2783
|
}): ServerResultAsync<boolean>;
|
|
2784
|
-
constructEvent(body: Buffer | string, signature: string, secret: string): ServerResult<Stripe.Event>;
|
|
2784
|
+
constructEvent(body: Buffer | string, signature: string, secret: string): ServerResult<Stripe$1.Event>;
|
|
2785
2785
|
} //#endregion
|
|
2786
2786
|
//#endregion
|
|
2787
2787
|
export { BillingRepository };
|
|
@@ -2714,7 +2714,7 @@ declare const schema: {
|
|
|
2714
2714
|
type Schema = typeof schema;
|
|
2715
2715
|
type Orm = LibSQLDatabase<Schema>;
|
|
2716
2716
|
declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<string, never>, Schema["subscriptions"]> {
|
|
2717
|
-
stripe: Stripe;
|
|
2717
|
+
stripe: Stripe$1;
|
|
2718
2718
|
plans: StripePlan[];
|
|
2719
2719
|
trial?: StripePlan;
|
|
2720
2720
|
constructor(options: {
|
|
@@ -2722,7 +2722,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2722
2722
|
schema: Schema;
|
|
2723
2723
|
table: Schema["subscriptions"];
|
|
2724
2724
|
libs: {
|
|
2725
|
-
stripe: Stripe;
|
|
2725
|
+
stripe: Stripe$1;
|
|
2726
2726
|
};
|
|
2727
2727
|
config: {
|
|
2728
2728
|
trial?: StripePlan;
|
|
@@ -2731,7 +2731,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2731
2731
|
});
|
|
2732
2732
|
hasTrial(): boolean;
|
|
2733
2733
|
getPlanByPriceId(priceId: string): StripePlan | undefined;
|
|
2734
|
-
getCustomerByEmail(email: string): ServerResultAsync<Stripe.Customer | null>;
|
|
2734
|
+
getCustomerByEmail(email: string): ServerResultAsync<Stripe$1.Customer | null>;
|
|
2735
2735
|
getUserByCustomerId(customerId: string): ServerResultAsync<InferSelectModel<Schema["users"]> | null>;
|
|
2736
2736
|
createCustomer({
|
|
2737
2737
|
email,
|
|
@@ -2741,8 +2741,8 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2741
2741
|
email: string;
|
|
2742
2742
|
name?: string;
|
|
2743
2743
|
userId: string;
|
|
2744
|
-
}): ServerResultAsync<Stripe.Customer>;
|
|
2745
|
-
createTrialSubscription(customerId: string): ServerResultAsync<Stripe.Subscription>;
|
|
2744
|
+
}): ServerResultAsync<Stripe$1.Customer>;
|
|
2745
|
+
createTrialSubscription(customerId: string): ServerResultAsync<Stripe$1.Subscription>;
|
|
2746
2746
|
createSubscription({
|
|
2747
2747
|
customerId,
|
|
2748
2748
|
priceId,
|
|
@@ -2753,7 +2753,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2753
2753
|
priceId: string;
|
|
2754
2754
|
quantity?: number;
|
|
2755
2755
|
trialDays?: number;
|
|
2756
|
-
}): ServerResultAsync<Stripe.Subscription>;
|
|
2756
|
+
}): ServerResultAsync<Stripe$1.Subscription>;
|
|
2757
2757
|
updateUserCustomerId({
|
|
2758
2758
|
userId,
|
|
2759
2759
|
customerId
|
|
@@ -2763,7 +2763,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2763
2763
|
}): ServerResultAsync<InferSelectModel<Schema["users"]>>;
|
|
2764
2764
|
getLatestSubscription(referenceId: string): ServerResultAsync<BillingSchema | null>;
|
|
2765
2765
|
getActiveSubscription(referenceId: string): ServerResultAsync<BillingSchema | null>;
|
|
2766
|
-
listInvoices(customerId: string): ServerResultAsync<Stripe.Invoice[]>;
|
|
2766
|
+
listInvoices(customerId: string): ServerResultAsync<Stripe$1.Invoice[]>;
|
|
2767
2767
|
createCheckoutSession({
|
|
2768
2768
|
customerId,
|
|
2769
2769
|
priceId,
|
|
@@ -2772,8 +2772,8 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2772
2772
|
customerId: string;
|
|
2773
2773
|
priceId: string;
|
|
2774
2774
|
userId: string;
|
|
2775
|
-
}): ServerResultAsync<Stripe.Checkout.Session>;
|
|
2776
|
-
createBillingPortalSession(customerId: string): ServerResultAsync<Stripe.BillingPortal.Session>;
|
|
2775
|
+
}): ServerResultAsync<Stripe$1.Checkout.Session>;
|
|
2776
|
+
createBillingPortalSession(customerId: string): ServerResultAsync<Stripe$1.BillingPortal.Session>;
|
|
2777
2777
|
syncStripeData({
|
|
2778
2778
|
customerId,
|
|
2779
2779
|
userId
|
|
@@ -2781,7 +2781,7 @@ declare class BillingRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
2781
2781
|
customerId: string;
|
|
2782
2782
|
userId: string;
|
|
2783
2783
|
}): ServerResultAsync<boolean>;
|
|
2784
|
-
constructEvent(body: Buffer | string, signature: string, secret: string): ServerResult<Stripe.Event>;
|
|
2784
|
+
constructEvent(body: Buffer | string, signature: string, secret: string): ServerResult<Stripe$1.Event>;
|
|
2785
2785
|
} //#endregion
|
|
2786
2786
|
//#endregion
|
|
2787
2787
|
export { BillingRepository };
|
|
@@ -18,7 +18,7 @@ declare class BillingService extends BaseService<{
|
|
|
18
18
|
email: string;
|
|
19
19
|
name?: string;
|
|
20
20
|
};
|
|
21
|
-
}): ServerResultAsync<Stripe
|
|
21
|
+
}): ServerResultAsync<Stripe.Customer>;
|
|
22
22
|
createUserHook({
|
|
23
23
|
user
|
|
24
24
|
}: {
|
|
@@ -29,7 +29,7 @@ declare class BillingService extends BaseService<{
|
|
|
29
29
|
};
|
|
30
30
|
}): ServerResultAsync<boolean>;
|
|
31
31
|
getActiveSubscription(ctx: Context): ServerResultAsync<BillingSchema | null>;
|
|
32
|
-
listInvoices(ctx: Context): ServerResultAsync<Stripe
|
|
32
|
+
listInvoices(ctx: Context): ServerResultAsync<Stripe.Invoice[]>;
|
|
33
33
|
createCheckoutSession({
|
|
34
34
|
priceId
|
|
35
35
|
}: {
|
|
@@ -38,15 +38,15 @@ declare class BillingService extends BaseService<{
|
|
|
38
38
|
user
|
|
39
39
|
}: {
|
|
40
40
|
user: User;
|
|
41
|
-
}): ServerResultAsync<Stripe
|
|
41
|
+
}): ServerResultAsync<Stripe.Checkout.Session>;
|
|
42
42
|
createBillingPortalSession({
|
|
43
43
|
user
|
|
44
44
|
}: {
|
|
45
45
|
user: User;
|
|
46
|
-
}): ServerResultAsync<Stripe
|
|
47
|
-
constructEvent(body: Buffer | string, signature: string): ServerResult<Stripe
|
|
46
|
+
}): ServerResultAsync<Stripe.BillingPortal.Session>;
|
|
47
|
+
constructEvent(body: Buffer | string, signature: string): ServerResult<Stripe.Event>;
|
|
48
48
|
syncStripeData(customerId: string, eventType?: string): ServerResultAsync<boolean>;
|
|
49
|
-
processEvent(event: Stripe
|
|
49
|
+
processEvent(event: Stripe.Event): ServerResultAsync<boolean>;
|
|
50
50
|
} //#endregion
|
|
51
51
|
//#endregion
|
|
52
52
|
export { BillingService };
|
|
@@ -18,7 +18,7 @@ declare class BillingService extends BaseService<{
|
|
|
18
18
|
email: string;
|
|
19
19
|
name?: string;
|
|
20
20
|
};
|
|
21
|
-
}): ServerResultAsync<Stripe
|
|
21
|
+
}): ServerResultAsync<Stripe.Customer>;
|
|
22
22
|
createUserHook({
|
|
23
23
|
user
|
|
24
24
|
}: {
|
|
@@ -29,7 +29,7 @@ declare class BillingService extends BaseService<{
|
|
|
29
29
|
};
|
|
30
30
|
}): ServerResultAsync<boolean>;
|
|
31
31
|
getActiveSubscription(ctx: Context): ServerResultAsync<BillingSchema | null>;
|
|
32
|
-
listInvoices(ctx: Context): ServerResultAsync<Stripe
|
|
32
|
+
listInvoices(ctx: Context): ServerResultAsync<Stripe.Invoice[]>;
|
|
33
33
|
createCheckoutSession({
|
|
34
34
|
priceId
|
|
35
35
|
}: {
|
|
@@ -38,15 +38,15 @@ declare class BillingService extends BaseService<{
|
|
|
38
38
|
user
|
|
39
39
|
}: {
|
|
40
40
|
user: User;
|
|
41
|
-
}): ServerResultAsync<Stripe
|
|
41
|
+
}): ServerResultAsync<Stripe.Checkout.Session>;
|
|
42
42
|
createBillingPortalSession({
|
|
43
43
|
user
|
|
44
44
|
}: {
|
|
45
45
|
user: User;
|
|
46
|
-
}): ServerResultAsync<Stripe
|
|
47
|
-
constructEvent(body: Buffer | string, signature: string): ServerResult<Stripe
|
|
46
|
+
}): ServerResultAsync<Stripe.BillingPortal.Session>;
|
|
47
|
+
constructEvent(body: Buffer | string, signature: string): ServerResult<Stripe.Event>;
|
|
48
48
|
syncStripeData(customerId: string, eventType?: string): ServerResultAsync<boolean>;
|
|
49
|
-
processEvent(event: Stripe
|
|
49
|
+
processEvent(event: Stripe.Event): ServerResultAsync<boolean>;
|
|
50
50
|
} //#endregion
|
|
51
51
|
//#endregion
|
|
52
52
|
export { BillingService };
|
|
@@ -60,10 +60,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
60
60
|
input: void;
|
|
61
61
|
output: {
|
|
62
62
|
id: string;
|
|
63
|
-
expiresAt: Date | null;
|
|
64
63
|
createdAt: Date;
|
|
65
64
|
updatedAt: Date | null;
|
|
66
65
|
status: string;
|
|
66
|
+
expiresAt: Date | null;
|
|
67
67
|
claimUserId: string | null;
|
|
68
68
|
claimedAt: Date | null;
|
|
69
69
|
claimedEmail: string | null;
|
|
@@ -77,10 +77,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
77
77
|
};
|
|
78
78
|
output: {
|
|
79
79
|
id: string;
|
|
80
|
-
userId: string;
|
|
81
|
-
expiresAt: Date | null;
|
|
82
|
-
createdAt: Date;
|
|
83
80
|
email: string;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
expiresAt: Date | null;
|
|
83
|
+
userId: string;
|
|
84
84
|
claimId: string;
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
@@ -92,10 +92,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
92
92
|
};
|
|
93
93
|
output: {
|
|
94
94
|
id: string;
|
|
95
|
-
userId: string;
|
|
96
|
-
expiresAt: Date | null;
|
|
97
|
-
createdAt: Date;
|
|
98
95
|
email: string;
|
|
96
|
+
createdAt: Date;
|
|
97
|
+
expiresAt: Date | null;
|
|
98
|
+
userId: string;
|
|
99
99
|
claimId: string;
|
|
100
100
|
url: string;
|
|
101
101
|
}[];
|
|
@@ -149,11 +149,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
149
149
|
listAdminWaitlist: QueryProcedure<{
|
|
150
150
|
input: void;
|
|
151
151
|
output: {
|
|
152
|
-
id: string;
|
|
153
152
|
name: string | null;
|
|
153
|
+
id: string;
|
|
154
|
+
email: string | null;
|
|
154
155
|
createdAt: Date;
|
|
155
156
|
updatedAt: Date | null;
|
|
156
|
-
email: string | null;
|
|
157
157
|
status: string;
|
|
158
158
|
}[];
|
|
159
159
|
meta: any;
|
|
@@ -163,11 +163,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
163
163
|
email: string;
|
|
164
164
|
};
|
|
165
165
|
output: {
|
|
166
|
-
id: string;
|
|
167
166
|
name: string | null;
|
|
167
|
+
id: string;
|
|
168
|
+
email: string | null;
|
|
168
169
|
createdAt: Date;
|
|
169
170
|
updatedAt: Date | null;
|
|
170
|
-
email: string | null;
|
|
171
171
|
status: string;
|
|
172
172
|
};
|
|
173
173
|
meta: any;
|
|
@@ -194,11 +194,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
194
194
|
id: string;
|
|
195
195
|
};
|
|
196
196
|
output: {
|
|
197
|
-
id: string;
|
|
198
197
|
name: string | null;
|
|
198
|
+
id: string;
|
|
199
|
+
email: string | null;
|
|
199
200
|
createdAt: Date;
|
|
200
201
|
updatedAt: Date | null;
|
|
201
|
-
email: string | null;
|
|
202
202
|
status: string;
|
|
203
203
|
};
|
|
204
204
|
meta: any;
|
|
@@ -208,11 +208,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
208
208
|
id: string;
|
|
209
209
|
};
|
|
210
210
|
output: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string | null;
|
|
212
|
+
id: string;
|
|
213
|
+
email: string | null;
|
|
213
214
|
createdAt: Date;
|
|
214
215
|
updatedAt: Date | null;
|
|
215
|
-
email: string | null;
|
|
216
216
|
status: string;
|
|
217
217
|
};
|
|
218
218
|
meta: any;
|
|
@@ -222,11 +222,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
222
222
|
email: string;
|
|
223
223
|
};
|
|
224
224
|
output: {
|
|
225
|
-
id: string;
|
|
226
225
|
name: string | null;
|
|
226
|
+
id: string;
|
|
227
|
+
email: string | null;
|
|
227
228
|
createdAt: Date;
|
|
228
229
|
updatedAt: Date | null;
|
|
229
|
-
email: string | null;
|
|
230
230
|
status: string;
|
|
231
231
|
};
|
|
232
232
|
meta: any;
|
|
@@ -60,10 +60,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
60
60
|
input: void;
|
|
61
61
|
output: {
|
|
62
62
|
id: string;
|
|
63
|
-
expiresAt: Date | null;
|
|
64
63
|
createdAt: Date;
|
|
65
64
|
updatedAt: Date | null;
|
|
66
65
|
status: string;
|
|
66
|
+
expiresAt: Date | null;
|
|
67
67
|
claimUserId: string | null;
|
|
68
68
|
claimedAt: Date | null;
|
|
69
69
|
claimedEmail: string | null;
|
|
@@ -77,10 +77,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
77
77
|
};
|
|
78
78
|
output: {
|
|
79
79
|
id: string;
|
|
80
|
-
userId: string;
|
|
81
|
-
expiresAt: Date | null;
|
|
82
|
-
createdAt: Date;
|
|
83
80
|
email: string;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
expiresAt: Date | null;
|
|
83
|
+
userId: string;
|
|
84
84
|
claimId: string;
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
@@ -92,10 +92,10 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
92
92
|
};
|
|
93
93
|
output: {
|
|
94
94
|
id: string;
|
|
95
|
-
userId: string;
|
|
96
|
-
expiresAt: Date | null;
|
|
97
|
-
createdAt: Date;
|
|
98
95
|
email: string;
|
|
96
|
+
createdAt: Date;
|
|
97
|
+
expiresAt: Date | null;
|
|
98
|
+
userId: string;
|
|
99
99
|
claimId: string;
|
|
100
100
|
url: string;
|
|
101
101
|
}[];
|
|
@@ -149,11 +149,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
149
149
|
listAdminWaitlist: QueryProcedure<{
|
|
150
150
|
input: void;
|
|
151
151
|
output: {
|
|
152
|
-
id: string;
|
|
153
152
|
name: string | null;
|
|
153
|
+
id: string;
|
|
154
|
+
email: string | null;
|
|
154
155
|
createdAt: Date;
|
|
155
156
|
updatedAt: Date | null;
|
|
156
|
-
email: string | null;
|
|
157
157
|
status: string;
|
|
158
158
|
}[];
|
|
159
159
|
meta: any;
|
|
@@ -163,11 +163,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
163
163
|
email: string;
|
|
164
164
|
};
|
|
165
165
|
output: {
|
|
166
|
-
id: string;
|
|
167
166
|
name: string | null;
|
|
167
|
+
id: string;
|
|
168
|
+
email: string | null;
|
|
168
169
|
createdAt: Date;
|
|
169
170
|
updatedAt: Date | null;
|
|
170
|
-
email: string | null;
|
|
171
171
|
status: string;
|
|
172
172
|
};
|
|
173
173
|
meta: any;
|
|
@@ -194,11 +194,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
194
194
|
id: string;
|
|
195
195
|
};
|
|
196
196
|
output: {
|
|
197
|
-
id: string;
|
|
198
197
|
name: string | null;
|
|
198
|
+
id: string;
|
|
199
|
+
email: string | null;
|
|
199
200
|
createdAt: Date;
|
|
200
201
|
updatedAt: Date | null;
|
|
201
|
-
email: string | null;
|
|
202
202
|
status: string;
|
|
203
203
|
};
|
|
204
204
|
meta: any;
|
|
@@ -208,11 +208,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
208
208
|
id: string;
|
|
209
209
|
};
|
|
210
210
|
output: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string | null;
|
|
212
|
+
id: string;
|
|
213
|
+
email: string | null;
|
|
213
214
|
createdAt: Date;
|
|
214
215
|
updatedAt: Date | null;
|
|
215
|
-
email: string | null;
|
|
216
216
|
status: string;
|
|
217
217
|
};
|
|
218
218
|
meta: any;
|
|
@@ -222,11 +222,11 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
222
222
|
email: string;
|
|
223
223
|
};
|
|
224
224
|
output: {
|
|
225
|
-
id: string;
|
|
226
225
|
name: string | null;
|
|
226
|
+
id: string;
|
|
227
|
+
email: string | null;
|
|
227
228
|
createdAt: Date;
|
|
228
229
|
updatedAt: Date | null;
|
|
229
|
-
email: string | null;
|
|
230
230
|
status: string;
|
|
231
231
|
};
|
|
232
232
|
meta: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m5kdev/web-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"license": "GPL-3.0-only",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"zod": "4.2.1",
|
|
68
68
|
"@tanstack/react-query": "5.83.0",
|
|
69
69
|
"@trpc/tanstack-react-query": "11.4.3",
|
|
70
|
-
"@m5kdev/
|
|
71
|
-
"@m5kdev/
|
|
70
|
+
"@m5kdev/frontend": "0.9.0",
|
|
71
|
+
"@m5kdev/commons": "0.9.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@tsdown/css": "0.21.7",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"globals": "16.3.0",
|
|
81
81
|
"tsdown": "0.21.7",
|
|
82
82
|
"vite": "7.0.4",
|
|
83
|
-
"@m5kdev/backend": "0.
|
|
84
|
-
"@m5kdev/config": "0.
|
|
83
|
+
"@m5kdev/backend": "0.9.0",
|
|
84
|
+
"@m5kdev/config": "0.9.0"
|
|
85
85
|
},
|
|
86
86
|
"exports": {
|
|
87
87
|
"./components/*": {
|