@velastack/patterns 0.9.0 → 0.10.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/index.d.ts CHANGED
@@ -843,6 +843,43 @@ export declare const byCategory: Record<"auth" | "api" | "backend" | "i18n" | "p
843
843
  tests: number;
844
844
  baseline: "velastack";
845
845
  generate: typeof generate;
846
+ } | {
847
+ version: string;
848
+ slug: "enable-orders";
849
+ source: string;
850
+ docs: string;
851
+ plan: "pro";
852
+ title: string;
853
+ summary: string;
854
+ requires: {
855
+ auth: false;
856
+ api: false;
857
+ apiKeys: false;
858
+ backend: true;
859
+ i18n: false;
860
+ teams: false;
861
+ payments: true;
862
+ blog: false;
863
+ contentNegotiation: false;
864
+ cms: false;
865
+ workflows: true;
866
+ ecommerce: true;
867
+ ui: "shadcn";
868
+ providers: {
869
+ payments: string[];
870
+ };
871
+ };
872
+ category: "payments";
873
+ tags: string[];
874
+ command: {
875
+ raw: string;
876
+ base: string;
877
+ argv: never[];
878
+ };
879
+ examples: never[];
880
+ tests: number;
881
+ baseline: "velastack";
882
+ generate: typeof generate;
846
883
  } | {
847
884
  version: string;
848
885
  slug: "enable-teams";
@@ -1435,7 +1472,7 @@ export declare const byCategory: Record<"auth" | "api" | "backend" | "i18n" | "p
1435
1472
  contentNegotiation: false;
1436
1473
  cms: false;
1437
1474
  };
1438
- blockedBy: "ecommerce"[];
1475
+ blockedBy: ("ecommerce" | "subscriptions" | "orders")[];
1439
1476
  category: "payments";
1440
1477
  tags: string[];
1441
1478
  command: {
@@ -1468,6 +1505,7 @@ export declare const byCategory: Record<"auth" | "api" | "backend" | "i18n" | "p
1468
1505
  cms: false;
1469
1506
  ecommerce: true;
1470
1507
  };
1508
+ blockedBy: "orders"[];
1471
1509
  category: "payments";
1472
1510
  tags: string[];
1473
1511
  command: {
@@ -1513,6 +1551,37 @@ export declare const byCategory: Record<"auth" | "api" | "backend" | "i18n" | "p
1513
1551
  tests: number;
1514
1552
  baseline: "velastack";
1515
1553
  generate: typeof generate;
1554
+ } | {
1555
+ version: string;
1556
+ slug: "disable-orders";
1557
+ source: string;
1558
+ docs: string;
1559
+ plan: "pro";
1560
+ title: string;
1561
+ summary: string;
1562
+ requires: {
1563
+ auth: false;
1564
+ api: false;
1565
+ apiKeys: false;
1566
+ backend: false;
1567
+ i18n: false;
1568
+ teams: false;
1569
+ payments: false;
1570
+ blog: false;
1571
+ contentNegotiation: false;
1572
+ cms: false;
1573
+ };
1574
+ category: "payments";
1575
+ tags: string[];
1576
+ command: {
1577
+ raw: string;
1578
+ base: string;
1579
+ argv: never[];
1580
+ };
1581
+ examples: never[];
1582
+ tests: number;
1583
+ baseline: "velastack";
1584
+ generate: typeof generate;
1516
1585
  } | {
1517
1586
  version: string;
1518
1587
  slug: "disable-whatsapp";
@@ -1723,6 +1792,22 @@ declare interface Features {
1723
1792
  * the `requires` of patterns need not mention it.
1724
1793
  */
1725
1794
  ecommerce?: boolean;
1795
+ /**
1796
+ * In-app notifications (`src/lib/server/notifications.ts`, from
1797
+ * `enable-notifications`). Optional so the `requires` of patterns need not
1798
+ * mention it.
1799
+ */
1800
+ notifications?: boolean;
1801
+ /**
1802
+ * Stripe subscriptions (`enable-subscriptions`), detected by its sync
1803
+ * workflow. Optional so the `requires` of patterns need not mention it.
1804
+ */
1805
+ subscriptions?: boolean;
1806
+ /**
1807
+ * Orders recorded from Stripe Checkout (`enable-orders`), detected by its
1808
+ * webhook handlers. Optional so the `requires` of patterns need not mention it.
1809
+ */
1810
+ orders?: boolean;
1726
1811
  /**
1727
1812
  * The component kit the project has: `shadcn` is shadcn-svelte (a
1728
1813
  * `components.json` plus the package), `plain` is neither. Detected by the
@@ -2840,6 +2925,43 @@ export declare const patterns: ({
2840
2925
  tests: number;
2841
2926
  baseline: "velastack";
2842
2927
  generate: typeof generate;
2928
+ } | {
2929
+ version: string;
2930
+ slug: "enable-orders";
2931
+ source: string;
2932
+ docs: string;
2933
+ plan: "pro";
2934
+ title: string;
2935
+ summary: string;
2936
+ requires: {
2937
+ auth: false;
2938
+ api: false;
2939
+ apiKeys: false;
2940
+ backend: true;
2941
+ i18n: false;
2942
+ teams: false;
2943
+ payments: true;
2944
+ blog: false;
2945
+ contentNegotiation: false;
2946
+ cms: false;
2947
+ workflows: true;
2948
+ ecommerce: true;
2949
+ ui: "shadcn";
2950
+ providers: {
2951
+ payments: string[];
2952
+ };
2953
+ };
2954
+ category: "payments";
2955
+ tags: string[];
2956
+ command: {
2957
+ raw: string;
2958
+ base: string;
2959
+ argv: never[];
2960
+ };
2961
+ examples: never[];
2962
+ tests: number;
2963
+ baseline: "velastack";
2964
+ generate: typeof generate;
2843
2965
  } | {
2844
2966
  version: string;
2845
2967
  slug: "enable-teams";
@@ -3432,7 +3554,7 @@ export declare const patterns: ({
3432
3554
  contentNegotiation: false;
3433
3555
  cms: false;
3434
3556
  };
3435
- blockedBy: "ecommerce"[];
3557
+ blockedBy: ("ecommerce" | "subscriptions" | "orders")[];
3436
3558
  category: "payments";
3437
3559
  tags: string[];
3438
3560
  command: {
@@ -3465,6 +3587,7 @@ export declare const patterns: ({
3465
3587
  cms: false;
3466
3588
  ecommerce: true;
3467
3589
  };
3590
+ blockedBy: "orders"[];
3468
3591
  category: "payments";
3469
3592
  tags: string[];
3470
3593
  command: {
@@ -3510,6 +3633,37 @@ export declare const patterns: ({
3510
3633
  tests: number;
3511
3634
  baseline: "velastack";
3512
3635
  generate: typeof generate;
3636
+ } | {
3637
+ version: string;
3638
+ slug: "disable-orders";
3639
+ source: string;
3640
+ docs: string;
3641
+ plan: "pro";
3642
+ title: string;
3643
+ summary: string;
3644
+ requires: {
3645
+ auth: false;
3646
+ api: false;
3647
+ apiKeys: false;
3648
+ backend: false;
3649
+ i18n: false;
3650
+ teams: false;
3651
+ payments: false;
3652
+ blog: false;
3653
+ contentNegotiation: false;
3654
+ cms: false;
3655
+ };
3656
+ category: "payments";
3657
+ tags: string[];
3658
+ command: {
3659
+ raw: string;
3660
+ base: string;
3661
+ argv: never[];
3662
+ };
3663
+ examples: never[];
3664
+ tests: number;
3665
+ baseline: "velastack";
3666
+ generate: typeof generate;
3513
3667
  } | {
3514
3668
  version: string;
3515
3669
  slug: "disable-whatsapp";