@beeblock/svelar 0.4.3 → 0.4.5
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/README.md +1 -0
- package/dist/cli/Command.d.ts +14 -0
- package/dist/cli/bin.js +838 -210
- package/dist/cli/commands/MakeEventCommand.d.ts +6 -2
- package/dist/cli/commands/MakeListenerCommand.d.ts +7 -2
- package/dist/cli/commands/NewCommand.d.ts +9 -2
- package/dist/cli/commands/NewCommandTemplates.d.ts +15 -0
- package/dist/cli/index.js +81 -78
- package/dist/cli/ts-resolve-hook.mjs +22 -1
- package/dist/stripe/Invoice.d.ts +44 -0
- package/dist/stripe/StripeService.d.ts +52 -0
- package/dist/stripe/StripeWebhookHandler.d.ts +14 -0
- package/dist/stripe/Subscription.d.ts +40 -0
- package/dist/stripe/SubscriptionManager.d.ts +39 -0
- package/dist/stripe/SubscriptionPlan.d.ts +41 -0
- package/dist/stripe/SyncStripeCustomerJob.d.ts +11 -0
- package/dist/stripe/index.d.ts +22 -0
- package/dist/stripe/index.js +1 -0
- package/package.json +17 -4
|
@@ -6,6 +6,10 @@ export declare class MakeEventCommand extends Command {
|
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
arguments: string[];
|
|
9
|
-
flags:
|
|
10
|
-
|
|
9
|
+
flags: {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
type: "string";
|
|
13
|
+
}[];
|
|
14
|
+
handle(args: string[], flags: Record<string, any>): Promise<void>;
|
|
11
15
|
}
|
|
@@ -6,11 +6,16 @@ export declare class MakeListenerCommand extends Command {
|
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
arguments: string[];
|
|
9
|
-
flags: {
|
|
9
|
+
flags: ({
|
|
10
10
|
name: string;
|
|
11
11
|
alias: string;
|
|
12
12
|
description: string;
|
|
13
13
|
type: "string";
|
|
14
|
-
}
|
|
14
|
+
} | {
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
type: "string";
|
|
18
|
+
alias?: undefined;
|
|
19
|
+
})[];
|
|
15
20
|
handle(args: string[], flags: Record<string, any>): Promise<void>;
|
|
16
21
|
}
|
|
@@ -4,18 +4,25 @@
|
|
|
4
4
|
* Scaffolds a complete SvelteKit + Svelar SaaS project with auth,
|
|
5
5
|
* dashboard, admin panel, jobs, tasks, and 90+ API endpoints.
|
|
6
6
|
* Usage: npx svelar new my-app
|
|
7
|
+
* npx svelar new my-app --flat
|
|
7
8
|
*/
|
|
8
9
|
import { Command } from '../Command.js';
|
|
9
10
|
export declare class NewCommand extends Command {
|
|
10
11
|
name: string;
|
|
11
12
|
description: string;
|
|
12
13
|
arguments: string[];
|
|
13
|
-
flags: {
|
|
14
|
+
flags: ({
|
|
14
15
|
name: string;
|
|
15
16
|
alias: string;
|
|
16
17
|
description: string;
|
|
17
18
|
type: "boolean";
|
|
18
19
|
default: boolean;
|
|
19
|
-
}
|
|
20
|
+
} | {
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
type: "boolean";
|
|
24
|
+
default: boolean;
|
|
25
|
+
alias?: undefined;
|
|
26
|
+
})[];
|
|
20
27
|
handle(args: string[], flags: Record<string, any>): Promise<void>;
|
|
21
28
|
}
|
|
@@ -10,6 +10,7 @@ export declare class NewCommandTemplates {
|
|
|
10
10
|
static viteConfig(): string;
|
|
11
11
|
static tsConfig(): string;
|
|
12
12
|
static appHtml(): string;
|
|
13
|
+
static faviconSvg(): string;
|
|
13
14
|
static appCss(): string;
|
|
14
15
|
static appTs(): string;
|
|
15
16
|
static hooksServerTs(): string;
|
|
@@ -27,6 +28,10 @@ export declare class NewCommandTemplates {
|
|
|
27
28
|
static adminController(): string;
|
|
28
29
|
static registerRequest(): string;
|
|
29
30
|
static loginRequest(): string;
|
|
31
|
+
static forgotPasswordRequest(): string;
|
|
32
|
+
static resetPasswordRequest(): string;
|
|
33
|
+
static otpSendRequest(): string;
|
|
34
|
+
static otpVerifyRequest(): string;
|
|
30
35
|
static createPostRequest(): string;
|
|
31
36
|
static updatePostRequest(): string;
|
|
32
37
|
static registerUserAction(): string;
|
|
@@ -131,4 +136,14 @@ export declare class NewCommandTemplates {
|
|
|
131
136
|
static welcomeNotification(): string;
|
|
132
137
|
static eventServiceProvider(): string;
|
|
133
138
|
static homePage(name: string): string;
|
|
139
|
+
static addStripeToUsers(): string;
|
|
140
|
+
static createSubscriptionPlansTable(): string;
|
|
141
|
+
static createSubscriptionsTable(): string;
|
|
142
|
+
static createInvoicesTable(): string;
|
|
143
|
+
static billingPageServer(): string;
|
|
144
|
+
static billingPageSvelte(): string;
|
|
145
|
+
static stripeWebhookRoute(): string;
|
|
146
|
+
static apiAdminBillingSubscriptions(): string;
|
|
147
|
+
static apiAdminBillingRefund(): string;
|
|
148
|
+
static apiAdminBillingCancel(): string;
|
|
134
149
|
}
|