@pipeline-builder/pipeline-data 4.1.15 → 4.1.16
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/lib/api/access-control-builder.d.ts +18 -1
- package/lib/api/access-control-builder.js +19 -6
- package/lib/api/crud-service.d.ts +94 -36
- package/lib/api/crud-service.js +188 -166
- package/lib/api/plugin-resolution.d.ts +253 -0
- package/lib/api/plugin-resolution.js +649 -0
- package/lib/api/public-directory.d.ts +281 -0
- package/lib/api/public-directory.js +457 -0
- package/lib/api/query-builders.d.ts +13 -0
- package/lib/api/query-builders.js +74 -9
- package/lib/api/reporting/caches.js +4 -4
- package/lib/api/reporting/dora-scoring.d.ts +3 -3
- package/lib/api/reporting/dora-scoring.js +4 -4
- package/lib/api/reporting/dora.d.ts +6 -6
- package/lib/api/reporting/dora.js +97 -73
- package/lib/api/reporting/plugin-runtime.d.ts +25 -0
- package/lib/api/reporting/plugin-runtime.js +106 -0
- package/lib/api/reporting/query-scope.d.ts +8 -2
- package/lib/api/reporting/query-scope.js +16 -7
- package/lib/api/reporting/retention.d.ts +4 -10
- package/lib/api/reporting/retention.js +8 -11
- package/lib/api/reporting/sql-helpers.d.ts +4 -7
- package/lib/api/reporting/sql-helpers.js +8 -9
- package/lib/api/reporting/types.d.ts +55 -17
- package/lib/api/reporting/types.js +1 -1
- package/lib/api/reporting-service.d.ts +35 -26
- package/lib/api/reporting-service.js +245 -161
- package/lib/api/semver-range.d.ts +73 -0
- package/lib/api/semver-range.js +227 -0
- package/lib/api/soft-delete-sweep.js +8 -20
- package/lib/core/query-filters.d.ts +18 -3
- package/lib/core/query-filters.js +1 -1
- package/lib/database/drizzle-schema.d.ts +7790 -2461
- package/lib/database/drizzle-schema.js +29 -1
- package/lib/database/index.d.ts +4 -2
- package/lib/database/index.js +5 -3
- package/lib/database/pg-result.d.ts +19 -0
- package/lib/database/pg-result.js +32 -0
- package/lib/database/postgres-connection.js +14 -24
- package/lib/database/public-reader.d.ts +14 -0
- package/lib/database/public-reader.js +68 -0
- package/lib/database/retry-strategy.d.ts +3 -5
- package/lib/database/retry-strategy.js +4 -6
- package/lib/database/schema/compliance.d.ts +16 -34
- package/lib/database/schema/compliance.js +4 -4
- package/lib/database/schema/dashboard.js +4 -2
- package/lib/database/schema/ecosystem.d.ts +6586 -0
- package/lib/database/schema/ecosystem.js +709 -0
- package/lib/database/schema/message.d.ts +6 -12
- package/lib/database/schema/message.js +3 -1
- package/lib/database/schema/pipeline.d.ts +79 -5
- package/lib/database/schema/pipeline.js +46 -25
- package/lib/database/schema/plugin.d.ts +587 -3
- package/lib/database/schema/plugin.js +86 -14
- package/lib/database/tenancy.d.ts +6 -7
- package/lib/database/tenancy.js +13 -14
- package/lib/index.d.ts +7 -4
- package/lib/index.js +7 -4
- package/lib/testing/exports.json +146 -0
- package/package.json +44 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputeType, PluginType, type EntityLabels, type EntityLink } from '@pipeline-builder/api-core';
|
|
1
|
+
import { ComputeType, PluginType, type EntityLabels, type EntityLink, type Lifecycle } from '@pipeline-builder/api-core';
|
|
2
2
|
/**
|
|
3
3
|
* Secret requirement for a plugin.
|
|
4
4
|
* Declares named secrets the plugin expects at build time.
|
|
@@ -14,6 +14,33 @@ export interface PluginSecret {
|
|
|
14
14
|
* only — the platform never saw the build).
|
|
15
15
|
*/
|
|
16
16
|
export type ImageSource = 'built' | 'uploaded';
|
|
17
|
+
/**
|
|
18
|
+
* Plugin lifecycle: the shared catalog {@link Lifecycle} plus `yanked`, which
|
|
19
|
+
* only plugin versions can reach (a yanked version stops resolving for new
|
|
20
|
+
* synths). `yankedAt` / `deprecatedAt` are the authoritative timestamps; the
|
|
21
|
+
* lifecycle value mirrors them for catalog filtering.
|
|
22
|
+
*/
|
|
23
|
+
export type PluginLifecycle = Lifecycle | 'yanked';
|
|
24
|
+
/** Coercion type a `requiredMetadata` / `requiredVars` key is declared as. */
|
|
25
|
+
export type PluginContractValueType = 'string' | 'number' | 'bool' | 'json';
|
|
26
|
+
/**
|
|
27
|
+
* The spec's smoke-test declaration. Today a bare command string; stored as
|
|
28
|
+
* JSONB so a structured form can follow without another column.
|
|
29
|
+
*/
|
|
30
|
+
export type PluginSmokeTest = string | Record<string, unknown>;
|
|
31
|
+
/** A curated icon: a key into the curated set, plus an optional badge. */
|
|
32
|
+
export interface PluginIcon {
|
|
33
|
+
key: string;
|
|
34
|
+
badge?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Storage keys of an uploaded icon's re-encoded WebP renditions (image-registry
|
|
38
|
+
* decodes + re-encodes every upload; the raw file and SVG are never stored).
|
|
39
|
+
*/
|
|
40
|
+
export interface PluginUploadedIcon {
|
|
41
|
+
key256: string;
|
|
42
|
+
key64: string;
|
|
43
|
+
}
|
|
17
44
|
/**
|
|
18
45
|
* Table for storing reusable plugin configurations.
|
|
19
46
|
* Plugins define the behavior of synth/build steps in CDK pipelines.
|
|
@@ -485,6 +512,342 @@ export declare const plugin: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
485
512
|
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
486
513
|
size: undefined;
|
|
487
514
|
}>;
|
|
515
|
+
requiredMetadata: import("drizzle-orm/pg-core").PgColumn<{
|
|
516
|
+
name: "required_metadata";
|
|
517
|
+
tableName: "plugins";
|
|
518
|
+
dataType: "json";
|
|
519
|
+
columnType: "PgJsonb";
|
|
520
|
+
data: string[];
|
|
521
|
+
driverParam: unknown;
|
|
522
|
+
notNull: true;
|
|
523
|
+
hasDefault: true;
|
|
524
|
+
isPrimaryKey: false;
|
|
525
|
+
isAutoincrement: false;
|
|
526
|
+
hasRuntimeDefault: false;
|
|
527
|
+
enumValues: undefined;
|
|
528
|
+
baseColumn: never;
|
|
529
|
+
identity: undefined;
|
|
530
|
+
generated: undefined;
|
|
531
|
+
}, {}, {
|
|
532
|
+
$type: string[];
|
|
533
|
+
}>;
|
|
534
|
+
requiredVars: import("drizzle-orm/pg-core").PgColumn<{
|
|
535
|
+
name: "required_vars";
|
|
536
|
+
tableName: "plugins";
|
|
537
|
+
dataType: "json";
|
|
538
|
+
columnType: "PgJsonb";
|
|
539
|
+
data: string[];
|
|
540
|
+
driverParam: unknown;
|
|
541
|
+
notNull: true;
|
|
542
|
+
hasDefault: true;
|
|
543
|
+
isPrimaryKey: false;
|
|
544
|
+
isAutoincrement: false;
|
|
545
|
+
hasRuntimeDefault: false;
|
|
546
|
+
enumValues: undefined;
|
|
547
|
+
baseColumn: never;
|
|
548
|
+
identity: undefined;
|
|
549
|
+
generated: undefined;
|
|
550
|
+
}, {}, {
|
|
551
|
+
$type: string[];
|
|
552
|
+
}>;
|
|
553
|
+
metadataTypes: import("drizzle-orm/pg-core").PgColumn<{
|
|
554
|
+
name: "metadata_types";
|
|
555
|
+
tableName: "plugins";
|
|
556
|
+
dataType: "json";
|
|
557
|
+
columnType: "PgJsonb";
|
|
558
|
+
data: Record<string, PluginContractValueType>;
|
|
559
|
+
driverParam: unknown;
|
|
560
|
+
notNull: true;
|
|
561
|
+
hasDefault: true;
|
|
562
|
+
isPrimaryKey: false;
|
|
563
|
+
isAutoincrement: false;
|
|
564
|
+
hasRuntimeDefault: false;
|
|
565
|
+
enumValues: undefined;
|
|
566
|
+
baseColumn: never;
|
|
567
|
+
identity: undefined;
|
|
568
|
+
generated: undefined;
|
|
569
|
+
}, {}, {
|
|
570
|
+
$type: Record<string, PluginContractValueType>;
|
|
571
|
+
}>;
|
|
572
|
+
varsTypes: import("drizzle-orm/pg-core").PgColumn<{
|
|
573
|
+
name: "vars_types";
|
|
574
|
+
tableName: "plugins";
|
|
575
|
+
dataType: "json";
|
|
576
|
+
columnType: "PgJsonb";
|
|
577
|
+
data: Record<string, PluginContractValueType>;
|
|
578
|
+
driverParam: unknown;
|
|
579
|
+
notNull: true;
|
|
580
|
+
hasDefault: true;
|
|
581
|
+
isPrimaryKey: false;
|
|
582
|
+
isAutoincrement: false;
|
|
583
|
+
hasRuntimeDefault: false;
|
|
584
|
+
enumValues: undefined;
|
|
585
|
+
baseColumn: never;
|
|
586
|
+
identity: undefined;
|
|
587
|
+
generated: undefined;
|
|
588
|
+
}, {}, {
|
|
589
|
+
$type: Record<string, PluginContractValueType>;
|
|
590
|
+
}>;
|
|
591
|
+
smokeTest: import("drizzle-orm/pg-core").PgColumn<{
|
|
592
|
+
name: "smoke_test";
|
|
593
|
+
tableName: "plugins";
|
|
594
|
+
dataType: "json";
|
|
595
|
+
columnType: "PgJsonb";
|
|
596
|
+
data: PluginSmokeTest;
|
|
597
|
+
driverParam: unknown;
|
|
598
|
+
notNull: false;
|
|
599
|
+
hasDefault: false;
|
|
600
|
+
isPrimaryKey: false;
|
|
601
|
+
isAutoincrement: false;
|
|
602
|
+
hasRuntimeDefault: false;
|
|
603
|
+
enumValues: undefined;
|
|
604
|
+
baseColumn: never;
|
|
605
|
+
identity: undefined;
|
|
606
|
+
generated: undefined;
|
|
607
|
+
}, {}, {
|
|
608
|
+
$type: PluginSmokeTest;
|
|
609
|
+
}>;
|
|
610
|
+
networkEgress: import("drizzle-orm/pg-core").PgColumn<{
|
|
611
|
+
name: "network_egress";
|
|
612
|
+
tableName: "plugins";
|
|
613
|
+
dataType: "json";
|
|
614
|
+
columnType: "PgJsonb";
|
|
615
|
+
data: string[];
|
|
616
|
+
driverParam: unknown;
|
|
617
|
+
notNull: true;
|
|
618
|
+
hasDefault: true;
|
|
619
|
+
isPrimaryKey: false;
|
|
620
|
+
isAutoincrement: false;
|
|
621
|
+
hasRuntimeDefault: false;
|
|
622
|
+
enumValues: undefined;
|
|
623
|
+
baseColumn: never;
|
|
624
|
+
identity: undefined;
|
|
625
|
+
generated: undefined;
|
|
626
|
+
}, {}, {
|
|
627
|
+
$type: string[];
|
|
628
|
+
}>;
|
|
629
|
+
readmeMd: import("drizzle-orm/pg-core").PgColumn<{
|
|
630
|
+
name: "readme_md";
|
|
631
|
+
tableName: "plugins";
|
|
632
|
+
dataType: "string";
|
|
633
|
+
columnType: "PgText";
|
|
634
|
+
data: string;
|
|
635
|
+
driverParam: string;
|
|
636
|
+
notNull: false;
|
|
637
|
+
hasDefault: false;
|
|
638
|
+
isPrimaryKey: false;
|
|
639
|
+
isAutoincrement: false;
|
|
640
|
+
hasRuntimeDefault: false;
|
|
641
|
+
enumValues: [string, ...string[]];
|
|
642
|
+
baseColumn: never;
|
|
643
|
+
identity: undefined;
|
|
644
|
+
generated: undefined;
|
|
645
|
+
}, {}, {}>;
|
|
646
|
+
readmeHtml: import("drizzle-orm/pg-core").PgColumn<{
|
|
647
|
+
name: "readme_html";
|
|
648
|
+
tableName: "plugins";
|
|
649
|
+
dataType: "string";
|
|
650
|
+
columnType: "PgText";
|
|
651
|
+
data: string;
|
|
652
|
+
driverParam: string;
|
|
653
|
+
notNull: false;
|
|
654
|
+
hasDefault: false;
|
|
655
|
+
isPrimaryKey: false;
|
|
656
|
+
isAutoincrement: false;
|
|
657
|
+
hasRuntimeDefault: false;
|
|
658
|
+
enumValues: [string, ...string[]];
|
|
659
|
+
baseColumn: never;
|
|
660
|
+
identity: undefined;
|
|
661
|
+
generated: undefined;
|
|
662
|
+
}, {}, {}>;
|
|
663
|
+
license: import("drizzle-orm/pg-core").PgColumn<{
|
|
664
|
+
name: "license";
|
|
665
|
+
tableName: "plugins";
|
|
666
|
+
dataType: "string";
|
|
667
|
+
columnType: "PgVarchar";
|
|
668
|
+
data: string;
|
|
669
|
+
driverParam: string;
|
|
670
|
+
notNull: false;
|
|
671
|
+
hasDefault: false;
|
|
672
|
+
isPrimaryKey: false;
|
|
673
|
+
isAutoincrement: false;
|
|
674
|
+
hasRuntimeDefault: false;
|
|
675
|
+
enumValues: [string, ...string[]];
|
|
676
|
+
baseColumn: never;
|
|
677
|
+
identity: undefined;
|
|
678
|
+
generated: undefined;
|
|
679
|
+
}, {}, {
|
|
680
|
+
length: 64;
|
|
681
|
+
}>;
|
|
682
|
+
changelog: import("drizzle-orm/pg-core").PgColumn<{
|
|
683
|
+
name: "changelog";
|
|
684
|
+
tableName: "plugins";
|
|
685
|
+
dataType: "string";
|
|
686
|
+
columnType: "PgText";
|
|
687
|
+
data: string;
|
|
688
|
+
driverParam: string;
|
|
689
|
+
notNull: false;
|
|
690
|
+
hasDefault: false;
|
|
691
|
+
isPrimaryKey: false;
|
|
692
|
+
isAutoincrement: false;
|
|
693
|
+
hasRuntimeDefault: false;
|
|
694
|
+
enumValues: [string, ...string[]];
|
|
695
|
+
baseColumn: never;
|
|
696
|
+
identity: undefined;
|
|
697
|
+
generated: undefined;
|
|
698
|
+
}, {}, {}>;
|
|
699
|
+
homepageUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
700
|
+
name: "homepage_url";
|
|
701
|
+
tableName: "plugins";
|
|
702
|
+
dataType: "string";
|
|
703
|
+
columnType: "PgVarchar";
|
|
704
|
+
data: string;
|
|
705
|
+
driverParam: string;
|
|
706
|
+
notNull: false;
|
|
707
|
+
hasDefault: false;
|
|
708
|
+
isPrimaryKey: false;
|
|
709
|
+
isAutoincrement: false;
|
|
710
|
+
hasRuntimeDefault: false;
|
|
711
|
+
enumValues: [string, ...string[]];
|
|
712
|
+
baseColumn: never;
|
|
713
|
+
identity: undefined;
|
|
714
|
+
generated: undefined;
|
|
715
|
+
}, {}, {
|
|
716
|
+
length: 2048;
|
|
717
|
+
}>;
|
|
718
|
+
sourceUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
719
|
+
name: "source_url";
|
|
720
|
+
tableName: "plugins";
|
|
721
|
+
dataType: "string";
|
|
722
|
+
columnType: "PgVarchar";
|
|
723
|
+
data: string;
|
|
724
|
+
driverParam: string;
|
|
725
|
+
notNull: false;
|
|
726
|
+
hasDefault: false;
|
|
727
|
+
isPrimaryKey: false;
|
|
728
|
+
isAutoincrement: false;
|
|
729
|
+
hasRuntimeDefault: false;
|
|
730
|
+
enumValues: [string, ...string[]];
|
|
731
|
+
baseColumn: never;
|
|
732
|
+
identity: undefined;
|
|
733
|
+
generated: undefined;
|
|
734
|
+
}, {}, {
|
|
735
|
+
length: 2048;
|
|
736
|
+
}>;
|
|
737
|
+
icon: import("drizzle-orm/pg-core").PgColumn<{
|
|
738
|
+
name: "icon";
|
|
739
|
+
tableName: "plugins";
|
|
740
|
+
dataType: "json";
|
|
741
|
+
columnType: "PgJsonb";
|
|
742
|
+
data: PluginIcon;
|
|
743
|
+
driverParam: unknown;
|
|
744
|
+
notNull: false;
|
|
745
|
+
hasDefault: false;
|
|
746
|
+
isPrimaryKey: false;
|
|
747
|
+
isAutoincrement: false;
|
|
748
|
+
hasRuntimeDefault: false;
|
|
749
|
+
enumValues: undefined;
|
|
750
|
+
baseColumn: never;
|
|
751
|
+
identity: undefined;
|
|
752
|
+
generated: undefined;
|
|
753
|
+
}, {}, {
|
|
754
|
+
$type: PluginIcon;
|
|
755
|
+
}>;
|
|
756
|
+
uploadedIcon: import("drizzle-orm/pg-core").PgColumn<{
|
|
757
|
+
name: "uploaded_icon";
|
|
758
|
+
tableName: "plugins";
|
|
759
|
+
dataType: "json";
|
|
760
|
+
columnType: "PgJsonb";
|
|
761
|
+
data: PluginUploadedIcon;
|
|
762
|
+
driverParam: unknown;
|
|
763
|
+
notNull: false;
|
|
764
|
+
hasDefault: false;
|
|
765
|
+
isPrimaryKey: false;
|
|
766
|
+
isAutoincrement: false;
|
|
767
|
+
hasRuntimeDefault: false;
|
|
768
|
+
enumValues: undefined;
|
|
769
|
+
baseColumn: never;
|
|
770
|
+
identity: undefined;
|
|
771
|
+
generated: undefined;
|
|
772
|
+
}, {}, {
|
|
773
|
+
$type: PluginUploadedIcon;
|
|
774
|
+
}>;
|
|
775
|
+
summary: import("drizzle-orm/pg-core").PgColumn<{
|
|
776
|
+
name: "summary";
|
|
777
|
+
tableName: "plugins";
|
|
778
|
+
dataType: "string";
|
|
779
|
+
columnType: "PgVarchar";
|
|
780
|
+
data: string;
|
|
781
|
+
driverParam: string;
|
|
782
|
+
notNull: false;
|
|
783
|
+
hasDefault: false;
|
|
784
|
+
isPrimaryKey: false;
|
|
785
|
+
isAutoincrement: false;
|
|
786
|
+
hasRuntimeDefault: false;
|
|
787
|
+
enumValues: [string, ...string[]];
|
|
788
|
+
baseColumn: never;
|
|
789
|
+
identity: undefined;
|
|
790
|
+
generated: undefined;
|
|
791
|
+
}, {}, {
|
|
792
|
+
length: 160;
|
|
793
|
+
}>;
|
|
794
|
+
displayName: import("drizzle-orm/pg-core").PgColumn<{
|
|
795
|
+
name: "display_name";
|
|
796
|
+
tableName: "plugins";
|
|
797
|
+
dataType: "string";
|
|
798
|
+
columnType: "PgVarchar";
|
|
799
|
+
data: string;
|
|
800
|
+
driverParam: string;
|
|
801
|
+
notNull: false;
|
|
802
|
+
hasDefault: false;
|
|
803
|
+
isPrimaryKey: false;
|
|
804
|
+
isAutoincrement: false;
|
|
805
|
+
hasRuntimeDefault: false;
|
|
806
|
+
enumValues: [string, ...string[]];
|
|
807
|
+
baseColumn: never;
|
|
808
|
+
identity: undefined;
|
|
809
|
+
generated: undefined;
|
|
810
|
+
}, {}, {
|
|
811
|
+
length: 100;
|
|
812
|
+
}>;
|
|
813
|
+
documentationUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
814
|
+
name: "documentation_url";
|
|
815
|
+
tableName: "plugins";
|
|
816
|
+
dataType: "string";
|
|
817
|
+
columnType: "PgVarchar";
|
|
818
|
+
data: string;
|
|
819
|
+
driverParam: string;
|
|
820
|
+
notNull: false;
|
|
821
|
+
hasDefault: false;
|
|
822
|
+
isPrimaryKey: false;
|
|
823
|
+
isAutoincrement: false;
|
|
824
|
+
hasRuntimeDefault: false;
|
|
825
|
+
enumValues: [string, ...string[]];
|
|
826
|
+
baseColumn: never;
|
|
827
|
+
identity: undefined;
|
|
828
|
+
generated: undefined;
|
|
829
|
+
}, {}, {
|
|
830
|
+
length: 2048;
|
|
831
|
+
}>;
|
|
832
|
+
metadataSources: import("drizzle-orm/pg-core").PgColumn<{
|
|
833
|
+
name: "metadata_sources";
|
|
834
|
+
tableName: "plugins";
|
|
835
|
+
dataType: "json";
|
|
836
|
+
columnType: "PgJsonb";
|
|
837
|
+
data: Partial<Record<"category" | "changelog" | "description" | "displayName" | "documentationUrl" | "homepageUrl" | "icon" | "keywords" | "license" | "readme" | "sourceUrl" | "summary", "derived" | "dockerfile" | "readme" | "spec" | "user">>;
|
|
838
|
+
driverParam: unknown;
|
|
839
|
+
notNull: true;
|
|
840
|
+
hasDefault: true;
|
|
841
|
+
isPrimaryKey: false;
|
|
842
|
+
isAutoincrement: false;
|
|
843
|
+
hasRuntimeDefault: false;
|
|
844
|
+
enumValues: undefined;
|
|
845
|
+
baseColumn: never;
|
|
846
|
+
identity: undefined;
|
|
847
|
+
generated: undefined;
|
|
848
|
+
}, {}, {
|
|
849
|
+
$type: Partial<Record<"category" | "changelog" | "description" | "displayName" | "documentationUrl" | "homepageUrl" | "icon" | "keywords" | "license" | "readme" | "sourceUrl" | "summary", "derived" | "dockerfile" | "readme" | "spec" | "user">>;
|
|
850
|
+
}>;
|
|
488
851
|
dockerfile: import("drizzle-orm/pg-core").PgColumn<{
|
|
489
852
|
name: "dockerfile";
|
|
490
853
|
tableName: "plugins";
|
|
@@ -560,6 +923,210 @@ export declare const plugin: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
560
923
|
length: 10;
|
|
561
924
|
$type: ImageSource;
|
|
562
925
|
}>;
|
|
926
|
+
vulnCritical: import("drizzle-orm/pg-core").PgColumn<{
|
|
927
|
+
name: "vuln_critical";
|
|
928
|
+
tableName: "plugins";
|
|
929
|
+
dataType: "number";
|
|
930
|
+
columnType: "PgInteger";
|
|
931
|
+
data: number;
|
|
932
|
+
driverParam: string | number;
|
|
933
|
+
notNull: false;
|
|
934
|
+
hasDefault: false;
|
|
935
|
+
isPrimaryKey: false;
|
|
936
|
+
isAutoincrement: false;
|
|
937
|
+
hasRuntimeDefault: false;
|
|
938
|
+
enumValues: undefined;
|
|
939
|
+
baseColumn: never;
|
|
940
|
+
identity: undefined;
|
|
941
|
+
generated: undefined;
|
|
942
|
+
}, {}, {}>;
|
|
943
|
+
vulnHigh: import("drizzle-orm/pg-core").PgColumn<{
|
|
944
|
+
name: "vuln_high";
|
|
945
|
+
tableName: "plugins";
|
|
946
|
+
dataType: "number";
|
|
947
|
+
columnType: "PgInteger";
|
|
948
|
+
data: number;
|
|
949
|
+
driverParam: string | number;
|
|
950
|
+
notNull: false;
|
|
951
|
+
hasDefault: false;
|
|
952
|
+
isPrimaryKey: false;
|
|
953
|
+
isAutoincrement: false;
|
|
954
|
+
hasRuntimeDefault: false;
|
|
955
|
+
enumValues: undefined;
|
|
956
|
+
baseColumn: never;
|
|
957
|
+
identity: undefined;
|
|
958
|
+
generated: undefined;
|
|
959
|
+
}, {}, {}>;
|
|
960
|
+
vulnMedium: import("drizzle-orm/pg-core").PgColumn<{
|
|
961
|
+
name: "vuln_medium";
|
|
962
|
+
tableName: "plugins";
|
|
963
|
+
dataType: "number";
|
|
964
|
+
columnType: "PgInteger";
|
|
965
|
+
data: number;
|
|
966
|
+
driverParam: string | number;
|
|
967
|
+
notNull: false;
|
|
968
|
+
hasDefault: false;
|
|
969
|
+
isPrimaryKey: false;
|
|
970
|
+
isAutoincrement: false;
|
|
971
|
+
hasRuntimeDefault: false;
|
|
972
|
+
enumValues: undefined;
|
|
973
|
+
baseColumn: never;
|
|
974
|
+
identity: undefined;
|
|
975
|
+
generated: undefined;
|
|
976
|
+
}, {}, {}>;
|
|
977
|
+
vulnLow: import("drizzle-orm/pg-core").PgColumn<{
|
|
978
|
+
name: "vuln_low";
|
|
979
|
+
tableName: "plugins";
|
|
980
|
+
dataType: "number";
|
|
981
|
+
columnType: "PgInteger";
|
|
982
|
+
data: number;
|
|
983
|
+
driverParam: string | number;
|
|
984
|
+
notNull: false;
|
|
985
|
+
hasDefault: false;
|
|
986
|
+
isPrimaryKey: false;
|
|
987
|
+
isAutoincrement: false;
|
|
988
|
+
hasRuntimeDefault: false;
|
|
989
|
+
enumValues: undefined;
|
|
990
|
+
baseColumn: never;
|
|
991
|
+
identity: undefined;
|
|
992
|
+
generated: undefined;
|
|
993
|
+
}, {}, {}>;
|
|
994
|
+
scannedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
995
|
+
name: "scanned_at";
|
|
996
|
+
tableName: "plugins";
|
|
997
|
+
dataType: "date";
|
|
998
|
+
columnType: "PgTimestamp";
|
|
999
|
+
data: Date;
|
|
1000
|
+
driverParam: string;
|
|
1001
|
+
notNull: false;
|
|
1002
|
+
hasDefault: false;
|
|
1003
|
+
isPrimaryKey: false;
|
|
1004
|
+
isAutoincrement: false;
|
|
1005
|
+
hasRuntimeDefault: false;
|
|
1006
|
+
enumValues: undefined;
|
|
1007
|
+
baseColumn: never;
|
|
1008
|
+
identity: undefined;
|
|
1009
|
+
generated: undefined;
|
|
1010
|
+
}, {}, {}>;
|
|
1011
|
+
runAsRoot: import("drizzle-orm/pg-core").PgColumn<{
|
|
1012
|
+
name: "run_as_root";
|
|
1013
|
+
tableName: "plugins";
|
|
1014
|
+
dataType: "boolean";
|
|
1015
|
+
columnType: "PgBoolean";
|
|
1016
|
+
data: boolean;
|
|
1017
|
+
driverParam: boolean;
|
|
1018
|
+
notNull: false;
|
|
1019
|
+
hasDefault: false;
|
|
1020
|
+
isPrimaryKey: false;
|
|
1021
|
+
isAutoincrement: false;
|
|
1022
|
+
hasRuntimeDefault: false;
|
|
1023
|
+
enumValues: undefined;
|
|
1024
|
+
baseColumn: never;
|
|
1025
|
+
identity: undefined;
|
|
1026
|
+
generated: undefined;
|
|
1027
|
+
}, {}, {}>;
|
|
1028
|
+
breaking: import("drizzle-orm/pg-core").PgColumn<{
|
|
1029
|
+
name: "breaking";
|
|
1030
|
+
tableName: "plugins";
|
|
1031
|
+
dataType: "boolean";
|
|
1032
|
+
columnType: "PgBoolean";
|
|
1033
|
+
data: boolean;
|
|
1034
|
+
driverParam: boolean;
|
|
1035
|
+
notNull: true;
|
|
1036
|
+
hasDefault: true;
|
|
1037
|
+
isPrimaryKey: false;
|
|
1038
|
+
isAutoincrement: false;
|
|
1039
|
+
hasRuntimeDefault: false;
|
|
1040
|
+
enumValues: undefined;
|
|
1041
|
+
baseColumn: never;
|
|
1042
|
+
identity: undefined;
|
|
1043
|
+
generated: undefined;
|
|
1044
|
+
}, {}, {}>;
|
|
1045
|
+
frozenAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1046
|
+
name: "frozen_at";
|
|
1047
|
+
tableName: "plugins";
|
|
1048
|
+
dataType: "date";
|
|
1049
|
+
columnType: "PgTimestamp";
|
|
1050
|
+
data: Date;
|
|
1051
|
+
driverParam: string;
|
|
1052
|
+
notNull: false;
|
|
1053
|
+
hasDefault: false;
|
|
1054
|
+
isPrimaryKey: false;
|
|
1055
|
+
isAutoincrement: false;
|
|
1056
|
+
hasRuntimeDefault: false;
|
|
1057
|
+
enumValues: undefined;
|
|
1058
|
+
baseColumn: never;
|
|
1059
|
+
identity: undefined;
|
|
1060
|
+
generated: undefined;
|
|
1061
|
+
}, {}, {}>;
|
|
1062
|
+
yankedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1063
|
+
name: "yanked_at";
|
|
1064
|
+
tableName: "plugins";
|
|
1065
|
+
dataType: "date";
|
|
1066
|
+
columnType: "PgTimestamp";
|
|
1067
|
+
data: Date;
|
|
1068
|
+
driverParam: string;
|
|
1069
|
+
notNull: false;
|
|
1070
|
+
hasDefault: false;
|
|
1071
|
+
isPrimaryKey: false;
|
|
1072
|
+
isAutoincrement: false;
|
|
1073
|
+
hasRuntimeDefault: false;
|
|
1074
|
+
enumValues: undefined;
|
|
1075
|
+
baseColumn: never;
|
|
1076
|
+
identity: undefined;
|
|
1077
|
+
generated: undefined;
|
|
1078
|
+
}, {}, {}>;
|
|
1079
|
+
yankReason: import("drizzle-orm/pg-core").PgColumn<{
|
|
1080
|
+
name: "yank_reason";
|
|
1081
|
+
tableName: "plugins";
|
|
1082
|
+
dataType: "string";
|
|
1083
|
+
columnType: "PgText";
|
|
1084
|
+
data: string;
|
|
1085
|
+
driverParam: string;
|
|
1086
|
+
notNull: false;
|
|
1087
|
+
hasDefault: false;
|
|
1088
|
+
isPrimaryKey: false;
|
|
1089
|
+
isAutoincrement: false;
|
|
1090
|
+
hasRuntimeDefault: false;
|
|
1091
|
+
enumValues: [string, ...string[]];
|
|
1092
|
+
baseColumn: never;
|
|
1093
|
+
identity: undefined;
|
|
1094
|
+
generated: undefined;
|
|
1095
|
+
}, {}, {}>;
|
|
1096
|
+
deprecatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1097
|
+
name: "deprecated_at";
|
|
1098
|
+
tableName: "plugins";
|
|
1099
|
+
dataType: "date";
|
|
1100
|
+
columnType: "PgTimestamp";
|
|
1101
|
+
data: Date;
|
|
1102
|
+
driverParam: string;
|
|
1103
|
+
notNull: false;
|
|
1104
|
+
hasDefault: false;
|
|
1105
|
+
isPrimaryKey: false;
|
|
1106
|
+
isAutoincrement: false;
|
|
1107
|
+
hasRuntimeDefault: false;
|
|
1108
|
+
enumValues: undefined;
|
|
1109
|
+
baseColumn: never;
|
|
1110
|
+
identity: undefined;
|
|
1111
|
+
generated: undefined;
|
|
1112
|
+
}, {}, {}>;
|
|
1113
|
+
deprecationMessage: import("drizzle-orm/pg-core").PgColumn<{
|
|
1114
|
+
name: "deprecation_message";
|
|
1115
|
+
tableName: "plugins";
|
|
1116
|
+
dataType: "string";
|
|
1117
|
+
columnType: "PgText";
|
|
1118
|
+
data: string;
|
|
1119
|
+
driverParam: string;
|
|
1120
|
+
notNull: false;
|
|
1121
|
+
hasDefault: false;
|
|
1122
|
+
isPrimaryKey: false;
|
|
1123
|
+
isAutoincrement: false;
|
|
1124
|
+
hasRuntimeDefault: false;
|
|
1125
|
+
enumValues: [string, ...string[]];
|
|
1126
|
+
baseColumn: never;
|
|
1127
|
+
identity: undefined;
|
|
1128
|
+
generated: undefined;
|
|
1129
|
+
}, {}, {}>;
|
|
563
1130
|
ownerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
564
1131
|
name: "owner_id";
|
|
565
1132
|
tableName: "plugins";
|
|
@@ -602,7 +1169,7 @@ export declare const plugin: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
602
1169
|
tableName: "plugins";
|
|
603
1170
|
dataType: "string";
|
|
604
1171
|
columnType: "PgVarchar";
|
|
605
|
-
data:
|
|
1172
|
+
data: PluginLifecycle;
|
|
606
1173
|
driverParam: string;
|
|
607
1174
|
notNull: true;
|
|
608
1175
|
hasDefault: true;
|
|
@@ -615,7 +1182,7 @@ export declare const plugin: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
615
1182
|
generated: undefined;
|
|
616
1183
|
}, {}, {
|
|
617
1184
|
length: 20;
|
|
618
|
-
$type:
|
|
1185
|
+
$type: PluginLifecycle;
|
|
619
1186
|
}>;
|
|
620
1187
|
criticality: import("drizzle-orm/pg-core").PgColumn<{
|
|
621
1188
|
name: "criticality";
|
|
@@ -780,6 +1347,23 @@ export declare const plugin: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
780
1347
|
identity: undefined;
|
|
781
1348
|
generated: undefined;
|
|
782
1349
|
}, {}, {}>;
|
|
1350
|
+
quotaResetAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1351
|
+
name: "quota_reset_at";
|
|
1352
|
+
tableName: "plugins";
|
|
1353
|
+
dataType: "date";
|
|
1354
|
+
columnType: "PgTimestamp";
|
|
1355
|
+
data: Date;
|
|
1356
|
+
driverParam: string;
|
|
1357
|
+
notNull: false;
|
|
1358
|
+
hasDefault: false;
|
|
1359
|
+
isPrimaryKey: false;
|
|
1360
|
+
isAutoincrement: false;
|
|
1361
|
+
hasRuntimeDefault: false;
|
|
1362
|
+
enumValues: undefined;
|
|
1363
|
+
baseColumn: never;
|
|
1364
|
+
identity: undefined;
|
|
1365
|
+
generated: undefined;
|
|
1366
|
+
}, {}, {}>;
|
|
783
1367
|
};
|
|
784
1368
|
dialect: 'pg';
|
|
785
1369
|
}>;
|