@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
package/README.md
CHANGED
|
@@ -71,6 +71,7 @@ See the [Getting Started guide](https://svelar.dev/docs/getting-started) for a c
|
|
|
71
71
|
| **Uploads** | `svelar/uploads` | File upload handling with validation (local + S3) |
|
|
72
72
|
| **Dashboard** | `svelar/dashboard` | Admin dashboard with job/scheduler monitoring and log viewer |
|
|
73
73
|
| **Search** | `svelar/search` | Meilisearch integration with auto-syncing `Searchable` mixin |
|
|
74
|
+
| **Stripe** | `svelar/stripe` | Billing, subscriptions, checkout, invoices, webhook handling |
|
|
74
75
|
|
|
75
76
|
## CLI
|
|
76
77
|
|
package/dist/cli/Command.d.ts
CHANGED
|
@@ -33,4 +33,18 @@ export declare abstract class Command {
|
|
|
33
33
|
protected error(message: string): void;
|
|
34
34
|
protected table(headers: string[], rows: string[][]): void;
|
|
35
35
|
protected newLine(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Detect whether the project uses DDD (src/lib/modules/) or flat structure.
|
|
38
|
+
*/
|
|
39
|
+
protected isDDD(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Resolve a "shared" directory path (jobs, scheduler, middleware, etc.)
|
|
42
|
+
* DDD: src/lib/shared/{type}/ | Flat: src/lib/{type}/
|
|
43
|
+
*/
|
|
44
|
+
protected sharedDir(type: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* Resolve a module directory path (models, controllers, services, etc.)
|
|
47
|
+
* DDD: src/lib/modules/{module}/ | Flat: src/lib/{type}/
|
|
48
|
+
*/
|
|
49
|
+
protected moduleDir(moduleName: string, flatType: string): string;
|
|
36
50
|
}
|