@eventcatalog/linter 0.0.3 → 0.0.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.
Files changed (51) hide show
  1. package/README.md +223 -27
  2. package/dist/cli/index.js +22 -4
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/config/index.d.ts +22 -0
  5. package/dist/config/index.d.ts.map +1 -0
  6. package/dist/config/index.js +155 -0
  7. package/dist/config/index.js.map +1 -0
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +1 -0
  11. package/dist/index.js.map +1 -1
  12. package/dist/reporters/index.d.ts.map +1 -1
  13. package/dist/reporters/index.js +4 -0
  14. package/dist/reporters/index.js.map +1 -1
  15. package/dist/scanner/index.d.ts.map +1 -1
  16. package/dist/scanner/index.js +1 -0
  17. package/dist/scanner/index.js.map +1 -1
  18. package/dist/schemas/data-store.d.ts +348 -0
  19. package/dist/schemas/data-store.d.ts.map +1 -0
  20. package/dist/schemas/data-store.js +17 -0
  21. package/dist/schemas/data-store.js.map +1 -0
  22. package/dist/schemas/index.d.ts +386 -3
  23. package/dist/schemas/index.d.ts.map +1 -1
  24. package/dist/schemas/index.js +3 -0
  25. package/dist/schemas/index.js.map +1 -1
  26. package/dist/schemas/service.d.ts +36 -0
  27. package/dist/schemas/service.d.ts.map +1 -1
  28. package/dist/schemas/service.js +2 -0
  29. package/dist/schemas/service.js.map +1 -1
  30. package/dist/schemas/team.js +1 -1
  31. package/dist/schemas/team.js.map +1 -1
  32. package/dist/schemas/user.d.ts +3 -3
  33. package/dist/schemas/user.js +2 -2
  34. package/dist/schemas/user.js.map +1 -1
  35. package/dist/types/index.d.ts +1 -0
  36. package/dist/types/index.d.ts.map +1 -1
  37. package/dist/validators/best-practices-validator.d.ts +4 -0
  38. package/dist/validators/best-practices-validator.d.ts.map +1 -0
  39. package/dist/validators/best-practices-validator.js +36 -0
  40. package/dist/validators/best-practices-validator.js.map +1 -0
  41. package/dist/validators/index.d.ts +1 -0
  42. package/dist/validators/index.d.ts.map +1 -1
  43. package/dist/validators/index.js +4 -1
  44. package/dist/validators/index.js.map +1 -1
  45. package/dist/validators/reference-validator.d.ts.map +1 -1
  46. package/dist/validators/reference-validator.js +18 -2
  47. package/dist/validators/reference-validator.js.map +1 -1
  48. package/dist/validators/schema-validator.d.ts.map +1 -1
  49. package/dist/validators/schema-validator.js +12 -0
  50. package/dist/validators/schema-validator.js.map +1 -1
  51. package/package.json +1 -1
@@ -7,6 +7,7 @@ export * from './flow';
7
7
  export * from './entity';
8
8
  export * from './user';
9
9
  export * from './team';
10
+ export * from './data-store';
10
11
  export declare const schemas: {
11
12
  readonly domain: import("zod").ZodObject<{
12
13
  services: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
@@ -418,6 +419,26 @@ export declare const schemas: {
418
419
  id: string;
419
420
  version?: string | undefined;
420
421
  }>, "many">>;
422
+ writesTo: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
423
+ id: import("zod").ZodString;
424
+ version: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
425
+ }, "strip", import("zod").ZodTypeAny, {
426
+ id: string;
427
+ version: string;
428
+ }, {
429
+ id: string;
430
+ version?: string | undefined;
431
+ }>, "many">>;
432
+ readsFrom: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
433
+ id: import("zod").ZodString;
434
+ version: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
435
+ }, "strip", import("zod").ZodTypeAny, {
436
+ id: string;
437
+ version: string;
438
+ }, {
439
+ id: string;
440
+ version?: string | undefined;
441
+ }>, "many">>;
421
442
  } & {
422
443
  id: import("zod").ZodString;
423
444
  name: import("zod").ZodString;
@@ -684,6 +705,14 @@ export declare const schemas: {
684
705
  id: string;
685
706
  version: string;
686
707
  }[] | undefined;
708
+ writesTo?: {
709
+ id: string;
710
+ version: string;
711
+ }[] | undefined;
712
+ readsFrom?: {
713
+ id: string;
714
+ version: string;
715
+ }[] | undefined;
687
716
  }, {
688
717
  id: string;
689
718
  name: string;
@@ -765,6 +794,14 @@ export declare const schemas: {
765
794
  id: string;
766
795
  version?: string | undefined;
767
796
  }[] | undefined;
797
+ writesTo?: {
798
+ id: string;
799
+ version?: string | undefined;
800
+ }[] | undefined;
801
+ readsFrom?: {
802
+ id: string;
803
+ version?: string | undefined;
804
+ }[] | undefined;
768
805
  }>;
769
806
  readonly event: import("zod").ZodObject<{
770
807
  producers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
@@ -3341,7 +3378,7 @@ export declare const schemas: {
3341
3378
  readonly user: import("zod").ZodObject<{
3342
3379
  id: import("zod").ZodString;
3343
3380
  name: import("zod").ZodString;
3344
- avatarUrl: import("zod").ZodString;
3381
+ avatarUrl: import("zod").ZodOptional<import("zod").ZodString>;
3345
3382
  role: import("zod").ZodOptional<import("zod").ZodString>;
3346
3383
  hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
3347
3384
  email: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3356,8 +3393,8 @@ export declare const schemas: {
3356
3393
  }, "strip", import("zod").ZodTypeAny, {
3357
3394
  id: string;
3358
3395
  name: string;
3359
- avatarUrl: string;
3360
3396
  hidden?: boolean | undefined;
3397
+ avatarUrl?: string | undefined;
3361
3398
  role?: string | undefined;
3362
3399
  email?: string | undefined;
3363
3400
  slackDirectMessageUrl?: string | undefined;
@@ -3371,8 +3408,8 @@ export declare const schemas: {
3371
3408
  }, {
3372
3409
  id: string;
3373
3410
  name: string;
3374
- avatarUrl: string;
3375
3411
  hidden?: boolean | undefined;
3412
+ avatarUrl?: string | undefined;
3376
3413
  role?: string | undefined;
3377
3414
  email?: string | undefined;
3378
3415
  slackDirectMessageUrl?: string | undefined;
@@ -3427,6 +3464,352 @@ export declare const schemas: {
3427
3464
  ownedQueries?: any[] | undefined;
3428
3465
  members?: any[] | undefined;
3429
3466
  }>;
3467
+ readonly dataStore: import("zod").ZodObject<{
3468
+ container_type: import("zod").ZodEnum<["database", "cache", "objectStore", "searchIndex", "dataWarehouse", "dataLake", "externalSaaS"]>;
3469
+ technology: import("zod").ZodOptional<import("zod").ZodString>;
3470
+ authoritative: import("zod").ZodOptional<import("zod").ZodBoolean>;
3471
+ access_mode: import("zod").ZodEnum<["read", "write", "readWrite", "appendOnly"]>;
3472
+ classification: import("zod").ZodEnum<["public", "internal", "confidential", "regulated"]>;
3473
+ residency: import("zod").ZodOptional<import("zod").ZodString>;
3474
+ retention: import("zod").ZodOptional<import("zod").ZodString>;
3475
+ } & {
3476
+ id: import("zod").ZodString;
3477
+ name: import("zod").ZodString;
3478
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
3479
+ version: import("zod").ZodEffects<import("zod").ZodString, string, string>;
3480
+ draft: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodObject<{
3481
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3482
+ message: import("zod").ZodString;
3483
+ }, "strip", import("zod").ZodTypeAny, {
3484
+ message: string;
3485
+ title?: string | undefined;
3486
+ }, {
3487
+ message: string;
3488
+ title?: string | undefined;
3489
+ }>]>>;
3490
+ badges: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3491
+ content: import("zod").ZodString;
3492
+ backgroundColor: import("zod").ZodString;
3493
+ textColor: import("zod").ZodString;
3494
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
3495
+ }, "strip", import("zod").ZodTypeAny, {
3496
+ content: string;
3497
+ backgroundColor: string;
3498
+ textColor: string;
3499
+ icon?: string | undefined;
3500
+ }, {
3501
+ content: string;
3502
+ backgroundColor: string;
3503
+ textColor: string;
3504
+ icon?: string | undefined;
3505
+ }>, "many">>;
3506
+ owners: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
3507
+ id: import("zod").ZodString;
3508
+ collection: import("zod").ZodEnum<["users", "teams"]>;
3509
+ }, "strip", import("zod").ZodTypeAny, {
3510
+ id: string;
3511
+ collection: "users" | "teams";
3512
+ }, {
3513
+ id: string;
3514
+ collection: "users" | "teams";
3515
+ }>]>, {
3516
+ id: string;
3517
+ }, string | {
3518
+ id: string;
3519
+ collection: "users" | "teams";
3520
+ }>, "many">>;
3521
+ schemaPath: import("zod").ZodOptional<import("zod").ZodString>;
3522
+ sidebar: import("zod").ZodOptional<import("zod").ZodObject<{
3523
+ label: import("zod").ZodOptional<import("zod").ZodString>;
3524
+ badge: import("zod").ZodOptional<import("zod").ZodString>;
3525
+ }, "strip", import("zod").ZodTypeAny, {
3526
+ label?: string | undefined;
3527
+ badge?: string | undefined;
3528
+ }, {
3529
+ label?: string | undefined;
3530
+ badge?: string | undefined;
3531
+ }>>;
3532
+ repository: import("zod").ZodOptional<import("zod").ZodObject<{
3533
+ language: import("zod").ZodOptional<import("zod").ZodString>;
3534
+ url: import("zod").ZodOptional<import("zod").ZodString>;
3535
+ }, "strip", import("zod").ZodTypeAny, {
3536
+ language?: string | undefined;
3537
+ url?: string | undefined;
3538
+ }, {
3539
+ language?: string | undefined;
3540
+ url?: string | undefined;
3541
+ }>>;
3542
+ specifications: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3543
+ openapiPath: import("zod").ZodOptional<import("zod").ZodString>;
3544
+ asyncapiPath: import("zod").ZodOptional<import("zod").ZodString>;
3545
+ }, "strip", import("zod").ZodTypeAny, {
3546
+ openapiPath?: string | undefined;
3547
+ asyncapiPath?: string | undefined;
3548
+ }, {
3549
+ openapiPath?: string | undefined;
3550
+ asyncapiPath?: string | undefined;
3551
+ }>, import("zod").ZodArray<import("zod").ZodObject<{
3552
+ type: import("zod").ZodEnum<["openapi", "asyncapi"]>;
3553
+ path: import("zod").ZodString;
3554
+ name: import("zod").ZodOptional<import("zod").ZodString>;
3555
+ }, "strip", import("zod").ZodTypeAny, {
3556
+ path: string;
3557
+ type: "asyncapi" | "openapi";
3558
+ name?: string | undefined;
3559
+ }, {
3560
+ path: string;
3561
+ type: "asyncapi" | "openapi";
3562
+ name?: string | undefined;
3563
+ }>, "many">]>>;
3564
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
3565
+ resourceGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3566
+ id: import("zod").ZodOptional<import("zod").ZodString>;
3567
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3568
+ items: import("zod").ZodArray<import("zod").ZodObject<{
3569
+ id: import("zod").ZodString;
3570
+ version: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
3571
+ type: import("zod").ZodEnum<["service", "event", "command", "query", "flow", "channel", "domain", "user", "team"]>;
3572
+ }, "strip", import("zod").ZodTypeAny, {
3573
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3574
+ id: string;
3575
+ version: string;
3576
+ }, {
3577
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3578
+ id: string;
3579
+ version?: string | undefined;
3580
+ }>, "many">;
3581
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
3582
+ sidebar: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
3583
+ }, "strip", import("zod").ZodTypeAny, {
3584
+ items: {
3585
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3586
+ id: string;
3587
+ version: string;
3588
+ }[];
3589
+ limit: number;
3590
+ sidebar: boolean;
3591
+ id?: string | undefined;
3592
+ title?: string | undefined;
3593
+ }, {
3594
+ items: {
3595
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3596
+ id: string;
3597
+ version?: string | undefined;
3598
+ }[];
3599
+ id?: string | undefined;
3600
+ title?: string | undefined;
3601
+ limit?: number | undefined;
3602
+ sidebar?: boolean | undefined;
3603
+ }>, "many">>;
3604
+ styles: import("zod").ZodOptional<import("zod").ZodObject<{
3605
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
3606
+ node: import("zod").ZodOptional<import("zod").ZodObject<{
3607
+ color: import("zod").ZodOptional<import("zod").ZodString>;
3608
+ label: import("zod").ZodOptional<import("zod").ZodString>;
3609
+ }, "strip", import("zod").ZodTypeAny, {
3610
+ label?: string | undefined;
3611
+ color?: string | undefined;
3612
+ }, {
3613
+ label?: string | undefined;
3614
+ color?: string | undefined;
3615
+ }>>;
3616
+ }, "strip", import("zod").ZodTypeAny, {
3617
+ icon?: string | undefined;
3618
+ node?: {
3619
+ label?: string | undefined;
3620
+ color?: string | undefined;
3621
+ } | undefined;
3622
+ }, {
3623
+ icon?: string | undefined;
3624
+ node?: {
3625
+ label?: string | undefined;
3626
+ color?: string | undefined;
3627
+ } | undefined;
3628
+ }>>;
3629
+ deprecated: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3630
+ message: import("zod").ZodOptional<import("zod").ZodString>;
3631
+ date: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
3632
+ }, "strip", import("zod").ZodTypeAny, {
3633
+ message?: string | undefined;
3634
+ date?: string | Date | undefined;
3635
+ }, {
3636
+ message?: string | undefined;
3637
+ date?: string | Date | undefined;
3638
+ }>, import("zod").ZodOptional<import("zod").ZodBoolean>]>>;
3639
+ visualiser: import("zod").ZodOptional<import("zod").ZodBoolean>;
3640
+ versions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3641
+ latestVersion: import("zod").ZodOptional<import("zod").ZodString>;
3642
+ catalog: import("zod").ZodOptional<import("zod").ZodObject<{
3643
+ path: import("zod").ZodString;
3644
+ filePath: import("zod").ZodString;
3645
+ astroContentFilePath: import("zod").ZodString;
3646
+ publicPath: import("zod").ZodString;
3647
+ type: import("zod").ZodString;
3648
+ }, "strip", import("zod").ZodTypeAny, {
3649
+ path: string;
3650
+ type: string;
3651
+ filePath: string;
3652
+ astroContentFilePath: string;
3653
+ publicPath: string;
3654
+ }, {
3655
+ path: string;
3656
+ type: string;
3657
+ filePath: string;
3658
+ astroContentFilePath: string;
3659
+ publicPath: string;
3660
+ }>>;
3661
+ }, "strip", import("zod").ZodTypeAny, {
3662
+ id: string;
3663
+ name: string;
3664
+ version: string;
3665
+ container_type: "database" | "cache" | "objectStore" | "searchIndex" | "dataWarehouse" | "dataLake" | "externalSaaS";
3666
+ access_mode: "read" | "write" | "readWrite" | "appendOnly";
3667
+ classification: "public" | "internal" | "confidential" | "regulated";
3668
+ sidebar?: {
3669
+ label?: string | undefined;
3670
+ badge?: string | undefined;
3671
+ } | undefined;
3672
+ summary?: string | undefined;
3673
+ draft?: boolean | {
3674
+ message: string;
3675
+ title?: string | undefined;
3676
+ } | undefined;
3677
+ badges?: {
3678
+ content: string;
3679
+ backgroundColor: string;
3680
+ textColor: string;
3681
+ icon?: string | undefined;
3682
+ }[] | undefined;
3683
+ owners?: {
3684
+ id: string;
3685
+ }[] | undefined;
3686
+ schemaPath?: string | undefined;
3687
+ repository?: {
3688
+ language?: string | undefined;
3689
+ url?: string | undefined;
3690
+ } | undefined;
3691
+ specifications?: {
3692
+ openapiPath?: string | undefined;
3693
+ asyncapiPath?: string | undefined;
3694
+ } | {
3695
+ path: string;
3696
+ type: "asyncapi" | "openapi";
3697
+ name?: string | undefined;
3698
+ }[] | undefined;
3699
+ hidden?: boolean | undefined;
3700
+ resourceGroups?: {
3701
+ items: {
3702
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3703
+ id: string;
3704
+ version: string;
3705
+ }[];
3706
+ limit: number;
3707
+ sidebar: boolean;
3708
+ id?: string | undefined;
3709
+ title?: string | undefined;
3710
+ }[] | undefined;
3711
+ styles?: {
3712
+ icon?: string | undefined;
3713
+ node?: {
3714
+ label?: string | undefined;
3715
+ color?: string | undefined;
3716
+ } | undefined;
3717
+ } | undefined;
3718
+ deprecated?: boolean | {
3719
+ message?: string | undefined;
3720
+ date?: string | Date | undefined;
3721
+ } | undefined;
3722
+ visualiser?: boolean | undefined;
3723
+ versions?: string[] | undefined;
3724
+ latestVersion?: string | undefined;
3725
+ catalog?: {
3726
+ path: string;
3727
+ type: string;
3728
+ filePath: string;
3729
+ astroContentFilePath: string;
3730
+ publicPath: string;
3731
+ } | undefined;
3732
+ technology?: string | undefined;
3733
+ authoritative?: boolean | undefined;
3734
+ residency?: string | undefined;
3735
+ retention?: string | undefined;
3736
+ }, {
3737
+ id: string;
3738
+ name: string;
3739
+ version: string;
3740
+ container_type: "database" | "cache" | "objectStore" | "searchIndex" | "dataWarehouse" | "dataLake" | "externalSaaS";
3741
+ access_mode: "read" | "write" | "readWrite" | "appendOnly";
3742
+ classification: "public" | "internal" | "confidential" | "regulated";
3743
+ sidebar?: {
3744
+ label?: string | undefined;
3745
+ badge?: string | undefined;
3746
+ } | undefined;
3747
+ summary?: string | undefined;
3748
+ draft?: boolean | {
3749
+ message: string;
3750
+ title?: string | undefined;
3751
+ } | undefined;
3752
+ badges?: {
3753
+ content: string;
3754
+ backgroundColor: string;
3755
+ textColor: string;
3756
+ icon?: string | undefined;
3757
+ }[] | undefined;
3758
+ owners?: (string | {
3759
+ id: string;
3760
+ collection: "users" | "teams";
3761
+ })[] | undefined;
3762
+ schemaPath?: string | undefined;
3763
+ repository?: {
3764
+ language?: string | undefined;
3765
+ url?: string | undefined;
3766
+ } | undefined;
3767
+ specifications?: {
3768
+ openapiPath?: string | undefined;
3769
+ asyncapiPath?: string | undefined;
3770
+ } | {
3771
+ path: string;
3772
+ type: "asyncapi" | "openapi";
3773
+ name?: string | undefined;
3774
+ }[] | undefined;
3775
+ hidden?: boolean | undefined;
3776
+ resourceGroups?: {
3777
+ items: {
3778
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3779
+ id: string;
3780
+ version?: string | undefined;
3781
+ }[];
3782
+ id?: string | undefined;
3783
+ title?: string | undefined;
3784
+ limit?: number | undefined;
3785
+ sidebar?: boolean | undefined;
3786
+ }[] | undefined;
3787
+ styles?: {
3788
+ icon?: string | undefined;
3789
+ node?: {
3790
+ label?: string | undefined;
3791
+ color?: string | undefined;
3792
+ } | undefined;
3793
+ } | undefined;
3794
+ deprecated?: boolean | {
3795
+ message?: string | undefined;
3796
+ date?: string | Date | undefined;
3797
+ } | undefined;
3798
+ visualiser?: boolean | undefined;
3799
+ versions?: string[] | undefined;
3800
+ latestVersion?: string | undefined;
3801
+ catalog?: {
3802
+ path: string;
3803
+ type: string;
3804
+ filePath: string;
3805
+ astroContentFilePath: string;
3806
+ publicPath: string;
3807
+ } | undefined;
3808
+ technology?: string | undefined;
3809
+ authoritative?: boolean | undefined;
3810
+ residency?: string | undefined;
3811
+ retention?: string | undefined;
3812
+ }>;
3430
3813
  };
3431
3814
  export type ResourceType = keyof typeof schemas;
3432
3815
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AAWvB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYV,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,OAAO,CAAC"}
@@ -24,6 +24,7 @@ __exportStar(require("./flow"), exports);
24
24
  __exportStar(require("./entity"), exports);
25
25
  __exportStar(require("./user"), exports);
26
26
  __exportStar(require("./team"), exports);
27
+ __exportStar(require("./data-store"), exports);
27
28
  const domain_1 = require("./domain");
28
29
  const service_1 = require("./service");
29
30
  const message_1 = require("./message");
@@ -32,6 +33,7 @@ const flow_1 = require("./flow");
32
33
  const entity_1 = require("./entity");
33
34
  const user_1 = require("./user");
34
35
  const team_1 = require("./team");
36
+ const data_store_1 = require("./data-store");
35
37
  exports.schemas = {
36
38
  domain: domain_1.domainSchema,
37
39
  service: service_1.serviceSchema,
@@ -43,5 +45,6 @@ exports.schemas = {
43
45
  entity: entity_1.entitySchema,
44
46
  user: user_1.userSchema,
45
47
  team: team_1.teamSchema,
48
+ dataStore: data_store_1.dataStoreSchema,
46
49
  };
47
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AAEvB,qCAAwC;AACxC,uCAA0C;AAC1C,uCAAoE;AACpE,uCAA0C;AAC1C,iCAAoC;AACpC,qCAAwC;AACxC,iCAAoC;AACpC,iCAAoC;AAEvB,QAAA,OAAO,GAAG;IACrB,MAAM,EAAE,qBAAY;IACpB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,IAAI,EAAE,iBAAU;IAChB,MAAM,EAAE,qBAAY;IACpB,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,iBAAU;CACR,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAE7B,qCAAwC;AACxC,uCAA0C;AAC1C,uCAAoE;AACpE,uCAA0C;AAC1C,iCAAoC;AACpC,qCAAwC;AACxC,iCAAoC;AACpC,iCAAoC;AACpC,6CAA+C;AAElC,QAAA,OAAO,GAAG;IACrB,MAAM,EAAE,qBAAY;IACpB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,IAAI,EAAE,iBAAU;IAChB,MAAM,EAAE,qBAAY;IACpB,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,iBAAU;IAChB,SAAS,EAAE,4BAAe;CAClB,CAAC"}
@@ -30,6 +30,26 @@ export declare const serviceSchema: z.ZodObject<{
30
30
  id: string;
31
31
  version?: string | undefined;
32
32
  }>, "many">>;
33
+ writesTo: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
+ id: z.ZodString;
35
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ version: string;
39
+ }, {
40
+ id: string;
41
+ version?: string | undefined;
42
+ }>, "many">>;
43
+ readsFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ id: string;
48
+ version: string;
49
+ }, {
50
+ id: string;
51
+ version?: string | undefined;
52
+ }>, "many">>;
33
53
  } & {
34
54
  id: z.ZodString;
35
55
  name: z.ZodString;
@@ -296,6 +316,14 @@ export declare const serviceSchema: z.ZodObject<{
296
316
  id: string;
297
317
  version: string;
298
318
  }[] | undefined;
319
+ writesTo?: {
320
+ id: string;
321
+ version: string;
322
+ }[] | undefined;
323
+ readsFrom?: {
324
+ id: string;
325
+ version: string;
326
+ }[] | undefined;
299
327
  }, {
300
328
  id: string;
301
329
  name: string;
@@ -377,5 +405,13 @@ export declare const serviceSchema: z.ZodObject<{
377
405
  id: string;
378
406
  version?: string | undefined;
379
407
  }[] | undefined;
408
+ writesTo?: {
409
+ id: string;
410
+ version?: string | undefined;
411
+ }[] | undefined;
412
+ readsFrom?: {
413
+ id: string;
414
+ version?: string | undefined;
415
+ }[] | undefined;
380
416
  }>;
381
417
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMN,CAAC"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQN,CAAC"}
@@ -8,6 +8,8 @@ exports.serviceSchema = zod_1.z
8
8
  sends: zod_1.z.array(common_1.pointerSchema).optional(),
9
9
  receives: zod_1.z.array(common_1.pointerSchema).optional(),
10
10
  entities: zod_1.z.array(common_1.pointerSchema).optional(),
11
+ writesTo: zod_1.z.array(common_1.pointerSchema).optional(),
12
+ readsFrom: zod_1.z.array(common_1.pointerSchema).optional(),
11
13
  })
12
14
  .merge(common_1.baseSchema);
13
15
  //# sourceMappingURL=service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAAqD;AAExC,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,CAAC;IACN,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,mBAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAAqD;AAExC,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,CAAC;IACN,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC;KACD,KAAK,CAAC,mBAAU,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.teamSchema = zod_1.z.object({
6
6
  id: zod_1.z.string(),
7
7
  name: zod_1.z.string(),
8
8
  summary: zod_1.z.string().optional(),
9
- email: zod_1.z.string().optional(),
9
+ email: zod_1.z.string().email().optional(),
10
10
  hidden: zod_1.z.boolean().optional(),
11
11
  slackDirectMessageUrl: zod_1.z.string().optional(),
12
12
  msTeamsDirectMessageUrl: zod_1.z.string().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"team.js","sourceRoot":"","sources":["../../src/schemas/team.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,EAAE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EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,qBAAqB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C,uBAAuB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,qBAAqB;IAC3D,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,wBAAwB;IACpE,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,uBAAuB;IAClE,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,uBAAuB;IAClE,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,wBAAwB;IACpE,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,sBAAsB;CACjE,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const userSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  name: z.ZodString;
5
- avatarUrl: z.ZodString;
5
+ avatarUrl: z.ZodOptional<z.ZodString>;
6
6
  role: z.ZodOptional<z.ZodString>;
7
7
  hidden: z.ZodOptional<z.ZodBoolean>;
8
8
  email: z.ZodOptional<z.ZodString>;
@@ -17,8 +17,8 @@ export declare const userSchema: z.ZodObject<{
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  id: string;
19
19
  name: string;
20
- avatarUrl: string;
21
20
  hidden?: boolean | undefined;
21
+ avatarUrl?: string | undefined;
22
22
  role?: string | undefined;
23
23
  email?: string | undefined;
24
24
  slackDirectMessageUrl?: string | undefined;
@@ -32,8 +32,8 @@ export declare const userSchema: z.ZodObject<{
32
32
  }, {
33
33
  id: string;
34
34
  name: string;
35
- avatarUrl: string;
36
35
  hidden?: boolean | undefined;
36
+ avatarUrl?: string | undefined;
37
37
  role?: string | undefined;
38
38
  email?: string | undefined;
39
39
  slackDirectMessageUrl?: string | undefined;
@@ -5,10 +5,10 @@ const zod_1 = require("zod");
5
5
  exports.userSchema = zod_1.z.object({
6
6
  id: zod_1.z.string(),
7
7
  name: zod_1.z.string(),
8
- avatarUrl: zod_1.z.string(),
8
+ avatarUrl: zod_1.z.string().optional(),
9
9
  role: zod_1.z.string().optional(),
10
10
  hidden: zod_1.z.boolean().optional(),
11
- email: zod_1.z.string().optional(),
11
+ email: zod_1.z.string().email().optional(),
12
12
  slackDirectMessageUrl: zod_1.z.string().optional(),
13
13
  msTeamsDirectMessageUrl: zod_1.z.string().optional(),
14
14
  ownedDomains: zod_1.z.array(zod_1.z.any()).optional(), // reference('domains')
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/schemas/user.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,OAAC,CAAC,OAAO,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OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,qBAAqB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C,uBAAuB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,uBAAuB;IAClE,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,wBAAwB;IACpE,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,sBAAsB;IAChE,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,wBAAwB;IACpE,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,uBAAuB;IAClE,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,qBAAqB;CACpE,CAAC,CAAC"}
@@ -72,6 +72,7 @@ export interface ValidationError {
72
72
  file: string;
73
73
  line?: number;
74
74
  severity?: 'error' | 'warning';
75
+ rule?: string;
75
76
  }
76
77
  export interface LinterOptions {
77
78
  rootDir: string;