@devpad/api 2.3.3 → 2.3.4
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/{chunk-ZPDYJASJ.js → chunk-XHTCNYWS.js} +50 -1
- package/dist/index.d.ts +21 -4
- package/dist/index.js +18 -1
- package/dist/schema/blog.d.ts +199 -0
- package/dist/schema/index.d.ts +2 -2
- package/dist/schema/index.js +7 -1
- package/dist/schema/media.d.ts +2 -2
- package/dist/{schema.d-D3xGKqB8.d.ts → schema.d-DfzLWuRW.d.ts} +200 -1
- package/dist/{types.d-8FWQKyCL.d.ts → types.d-BJ3g4B0G.d.ts} +133 -28
- package/dist/{types.d-BZOIiHoO.d.ts → types.d-ip2SzstN.d.ts} +31 -31
- package/package.json +2 -2
|
@@ -2794,6 +2794,205 @@ declare const apply_log: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2794
2794
|
};
|
|
2795
2795
|
dialect: "sqlite";
|
|
2796
2796
|
}>;
|
|
2797
|
+
declare const TASK_EVENT_KINDS: readonly ["task.created", "task.updated", "task.completed", "task.reopened", "task.claimed", "edge.created", "edge.removed", "node.children_all_done", "policy.fired", "node.completion_stale"];
|
|
2798
|
+
type TaskEventKind = (typeof TASK_EVENT_KINDS)[number];
|
|
2799
|
+
declare const TASK_EVENT_ACTORS: readonly ["user", "api", "policy", "github"];
|
|
2800
|
+
type TaskEventActor = (typeof TASK_EVENT_ACTORS)[number];
|
|
2801
|
+
declare const TASK_EVENT_DISPATCH_STATUSES: readonly ["pending", "dispatched"];
|
|
2802
|
+
type TaskEventDispatchStatus = (typeof TASK_EVENT_DISPATCH_STATUSES)[number];
|
|
2803
|
+
declare const task_event: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2804
|
+
name: "task_event";
|
|
2805
|
+
schema: undefined;
|
|
2806
|
+
columns: {
|
|
2807
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2808
|
+
name: "id";
|
|
2809
|
+
tableName: "task_event";
|
|
2810
|
+
dataType: "number";
|
|
2811
|
+
columnType: "SQLiteInteger";
|
|
2812
|
+
data: number;
|
|
2813
|
+
driverParam: number;
|
|
2814
|
+
notNull: true;
|
|
2815
|
+
hasDefault: true;
|
|
2816
|
+
isPrimaryKey: true;
|
|
2817
|
+
isAutoincrement: false;
|
|
2818
|
+
hasRuntimeDefault: false;
|
|
2819
|
+
enumValues: undefined;
|
|
2820
|
+
baseColumn: never;
|
|
2821
|
+
identity: undefined;
|
|
2822
|
+
generated: undefined;
|
|
2823
|
+
}, {}, {}>;
|
|
2824
|
+
event_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2825
|
+
name: "event_id";
|
|
2826
|
+
tableName: "task_event";
|
|
2827
|
+
dataType: "string";
|
|
2828
|
+
columnType: "SQLiteText";
|
|
2829
|
+
data: string;
|
|
2830
|
+
driverParam: string;
|
|
2831
|
+
notNull: true;
|
|
2832
|
+
hasDefault: true;
|
|
2833
|
+
isPrimaryKey: false;
|
|
2834
|
+
isAutoincrement: false;
|
|
2835
|
+
hasRuntimeDefault: true;
|
|
2836
|
+
enumValues: [string, ...string[]];
|
|
2837
|
+
baseColumn: never;
|
|
2838
|
+
identity: undefined;
|
|
2839
|
+
generated: undefined;
|
|
2840
|
+
}, {}, {
|
|
2841
|
+
length: number | undefined;
|
|
2842
|
+
}>;
|
|
2843
|
+
kind: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2844
|
+
name: "kind";
|
|
2845
|
+
tableName: "task_event";
|
|
2846
|
+
dataType: "string";
|
|
2847
|
+
columnType: "SQLiteText";
|
|
2848
|
+
data: "task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale";
|
|
2849
|
+
driverParam: string;
|
|
2850
|
+
notNull: true;
|
|
2851
|
+
hasDefault: false;
|
|
2852
|
+
isPrimaryKey: false;
|
|
2853
|
+
isAutoincrement: false;
|
|
2854
|
+
hasRuntimeDefault: false;
|
|
2855
|
+
enumValues: ["task.created", "task.updated", "task.completed", "task.reopened", "task.claimed", "edge.created", "edge.removed", "node.children_all_done", "policy.fired", "node.completion_stale"];
|
|
2856
|
+
baseColumn: never;
|
|
2857
|
+
identity: undefined;
|
|
2858
|
+
generated: undefined;
|
|
2859
|
+
}, {}, {
|
|
2860
|
+
length: number | undefined;
|
|
2861
|
+
}>;
|
|
2862
|
+
subject_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2863
|
+
name: "subject_id";
|
|
2864
|
+
tableName: "task_event";
|
|
2865
|
+
dataType: "string";
|
|
2866
|
+
columnType: "SQLiteText";
|
|
2867
|
+
data: string;
|
|
2868
|
+
driverParam: string;
|
|
2869
|
+
notNull: true;
|
|
2870
|
+
hasDefault: false;
|
|
2871
|
+
isPrimaryKey: false;
|
|
2872
|
+
isAutoincrement: false;
|
|
2873
|
+
hasRuntimeDefault: false;
|
|
2874
|
+
enumValues: [string, ...string[]];
|
|
2875
|
+
baseColumn: never;
|
|
2876
|
+
identity: undefined;
|
|
2877
|
+
generated: undefined;
|
|
2878
|
+
}, {}, {
|
|
2879
|
+
length: number | undefined;
|
|
2880
|
+
}>;
|
|
2881
|
+
project_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2882
|
+
name: "project_id";
|
|
2883
|
+
tableName: "task_event";
|
|
2884
|
+
dataType: "string";
|
|
2885
|
+
columnType: "SQLiteText";
|
|
2886
|
+
data: string;
|
|
2887
|
+
driverParam: string;
|
|
2888
|
+
notNull: false;
|
|
2889
|
+
hasDefault: false;
|
|
2890
|
+
isPrimaryKey: false;
|
|
2891
|
+
isAutoincrement: false;
|
|
2892
|
+
hasRuntimeDefault: false;
|
|
2893
|
+
enumValues: [string, ...string[]];
|
|
2894
|
+
baseColumn: never;
|
|
2895
|
+
identity: undefined;
|
|
2896
|
+
generated: undefined;
|
|
2897
|
+
}, {}, {
|
|
2898
|
+
length: number | undefined;
|
|
2899
|
+
}>;
|
|
2900
|
+
actor: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2901
|
+
name: "actor";
|
|
2902
|
+
tableName: "task_event";
|
|
2903
|
+
dataType: "string";
|
|
2904
|
+
columnType: "SQLiteText";
|
|
2905
|
+
data: "user" | "api" | "policy" | "github";
|
|
2906
|
+
driverParam: string;
|
|
2907
|
+
notNull: true;
|
|
2908
|
+
hasDefault: false;
|
|
2909
|
+
isPrimaryKey: false;
|
|
2910
|
+
isAutoincrement: false;
|
|
2911
|
+
hasRuntimeDefault: false;
|
|
2912
|
+
enumValues: ["user", "api", "policy", "github"];
|
|
2913
|
+
baseColumn: never;
|
|
2914
|
+
identity: undefined;
|
|
2915
|
+
generated: undefined;
|
|
2916
|
+
}, {}, {
|
|
2917
|
+
length: number | undefined;
|
|
2918
|
+
}>;
|
|
2919
|
+
payload: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2920
|
+
name: "payload";
|
|
2921
|
+
tableName: "task_event";
|
|
2922
|
+
dataType: "json";
|
|
2923
|
+
columnType: "SQLiteTextJson";
|
|
2924
|
+
data: unknown;
|
|
2925
|
+
driverParam: string;
|
|
2926
|
+
notNull: true;
|
|
2927
|
+
hasDefault: false;
|
|
2928
|
+
isPrimaryKey: false;
|
|
2929
|
+
isAutoincrement: false;
|
|
2930
|
+
hasRuntimeDefault: false;
|
|
2931
|
+
enumValues: undefined;
|
|
2932
|
+
baseColumn: never;
|
|
2933
|
+
identity: undefined;
|
|
2934
|
+
generated: undefined;
|
|
2935
|
+
}, {}, {}>;
|
|
2936
|
+
occurred_at: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2937
|
+
name: "occurred_at";
|
|
2938
|
+
tableName: "task_event";
|
|
2939
|
+
dataType: "string";
|
|
2940
|
+
columnType: "SQLiteText";
|
|
2941
|
+
data: string;
|
|
2942
|
+
driverParam: string;
|
|
2943
|
+
notNull: true;
|
|
2944
|
+
hasDefault: true;
|
|
2945
|
+
isPrimaryKey: false;
|
|
2946
|
+
isAutoincrement: false;
|
|
2947
|
+
hasRuntimeDefault: false;
|
|
2948
|
+
enumValues: [string, ...string[]];
|
|
2949
|
+
baseColumn: never;
|
|
2950
|
+
identity: undefined;
|
|
2951
|
+
generated: undefined;
|
|
2952
|
+
}, {}, {
|
|
2953
|
+
length: number | undefined;
|
|
2954
|
+
}>;
|
|
2955
|
+
dispatch_status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2956
|
+
name: "dispatch_status";
|
|
2957
|
+
tableName: "task_event";
|
|
2958
|
+
dataType: "string";
|
|
2959
|
+
columnType: "SQLiteText";
|
|
2960
|
+
data: "pending" | "dispatched";
|
|
2961
|
+
driverParam: string;
|
|
2962
|
+
notNull: true;
|
|
2963
|
+
hasDefault: true;
|
|
2964
|
+
isPrimaryKey: false;
|
|
2965
|
+
isAutoincrement: false;
|
|
2966
|
+
hasRuntimeDefault: false;
|
|
2967
|
+
enumValues: ["pending", "dispatched"];
|
|
2968
|
+
baseColumn: never;
|
|
2969
|
+
identity: undefined;
|
|
2970
|
+
generated: undefined;
|
|
2971
|
+
}, {}, {
|
|
2972
|
+
length: number | undefined;
|
|
2973
|
+
}>;
|
|
2974
|
+
dispatched_at: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2975
|
+
name: "dispatched_at";
|
|
2976
|
+
tableName: "task_event";
|
|
2977
|
+
dataType: "string";
|
|
2978
|
+
columnType: "SQLiteText";
|
|
2979
|
+
data: string;
|
|
2980
|
+
driverParam: string;
|
|
2981
|
+
notNull: false;
|
|
2982
|
+
hasDefault: false;
|
|
2983
|
+
isPrimaryKey: false;
|
|
2984
|
+
isAutoincrement: false;
|
|
2985
|
+
hasRuntimeDefault: false;
|
|
2986
|
+
enumValues: [string, ...string[]];
|
|
2987
|
+
baseColumn: never;
|
|
2988
|
+
identity: undefined;
|
|
2989
|
+
generated: undefined;
|
|
2990
|
+
}, {}, {
|
|
2991
|
+
length: number | undefined;
|
|
2992
|
+
}>;
|
|
2993
|
+
};
|
|
2994
|
+
dialect: "sqlite";
|
|
2995
|
+
}>;
|
|
2797
2996
|
declare const codebase_tasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2798
2997
|
name: "codebase_tasks";
|
|
2799
2998
|
schema: undefined;
|
|
@@ -5328,4 +5527,4 @@ declare const pipeline_oidc_trust: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
5328
5527
|
dialect: "sqlite";
|
|
5329
5528
|
}>;
|
|
5330
5529
|
|
|
5331
|
-
export { type ActionType as A,
|
|
5530
|
+
export { type ActionType as A, task as B, type CompletedVia as C, task_event as D, task_link as E, type ForcedAtomicReason as F, GRAPH_CHILDREN_CAP as G, task_rollup as H, task_tag as I, todo_updates as J, tracker_result as K, user as L, type PipelineOidcProvider as P, type RolloutShape as R, type StageEventKind as S, type TaskEventActor as T, type ApprovalDecision as a, type CompletionPolicy as b, GRAPH_DEPTH_CAP as c, type RunStatus as d, type TaskEventDispatchStatus as e, type TaskEventKind as f, type TaskKind as g, type TaskLinkKind as h, action as i, api_keys as j, apply_log as k, codebase_tasks as l, goal as m, ignore_path as n, milestone as o, pipeline_analysis_template as p, pipeline_approval as q, pipeline_grant as r, pipeline_oidc_trust as s, pipeline_package as t, pipeline_run as u, pipeline_stage_event as v, project as w, session as x, tag as y, tag_config as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InferSelectModel } from 'drizzle-orm';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { j as api_keys, w as project, J as todo_updates, i as action, A as ActionType, o as milestone, m as goal, B as task, l as codebase_tasks, E as task_link, y as tag, u as pipeline_run, v as pipeline_stage_event, r as pipeline_grant, t as pipeline_package, p as pipeline_analysis_template, s as pipeline_oidc_trust, k as apply_log, n as ignore_path, q as pipeline_approval, x as session, z as tag_config, D as task_event, H as task_rollup, I as task_tag, K as tracker_result, L as user } from './schema.d-DfzLWuRW.js';
|
|
4
4
|
|
|
5
5
|
declare const upsert_project: z.ZodObject<{
|
|
6
6
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -771,71 +771,71 @@ declare const dashboard_response: z.ZodObject<{
|
|
|
771
771
|
fail: z.ZodNumber;
|
|
772
772
|
pending: z.ZodNumber;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
+
pending: number;
|
|
774
775
|
pass: number;
|
|
775
776
|
fail: number;
|
|
776
|
-
pending: number;
|
|
777
777
|
}, {
|
|
778
|
+
pending: number;
|
|
778
779
|
pass: number;
|
|
779
780
|
fail: number;
|
|
780
|
-
pending: number;
|
|
781
781
|
}>;
|
|
782
782
|
auto: z.ZodObject<{
|
|
783
783
|
pass: z.ZodNumber;
|
|
784
784
|
fail: z.ZodNumber;
|
|
785
785
|
pending: z.ZodNumber;
|
|
786
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
pending: number;
|
|
787
788
|
pass: number;
|
|
788
789
|
fail: number;
|
|
789
|
-
pending: number;
|
|
790
790
|
}, {
|
|
791
|
+
pending: number;
|
|
791
792
|
pass: number;
|
|
792
793
|
fail: number;
|
|
793
|
-
pending: number;
|
|
794
794
|
}>;
|
|
795
795
|
analysis: z.ZodObject<{
|
|
796
796
|
pass: z.ZodNumber;
|
|
797
797
|
fail: z.ZodNumber;
|
|
798
798
|
pending: z.ZodNumber;
|
|
799
799
|
}, "strip", z.ZodTypeAny, {
|
|
800
|
+
pending: number;
|
|
800
801
|
pass: number;
|
|
801
802
|
fail: number;
|
|
802
|
-
pending: number;
|
|
803
803
|
}, {
|
|
804
|
+
pending: number;
|
|
804
805
|
pass: number;
|
|
805
806
|
fail: number;
|
|
806
|
-
pending: number;
|
|
807
807
|
}>;
|
|
808
808
|
}, "strip", z.ZodTypeAny, {
|
|
809
809
|
manual: {
|
|
810
|
+
pending: number;
|
|
810
811
|
pass: number;
|
|
811
812
|
fail: number;
|
|
812
|
-
pending: number;
|
|
813
813
|
};
|
|
814
814
|
auto: {
|
|
815
|
+
pending: number;
|
|
815
816
|
pass: number;
|
|
816
817
|
fail: number;
|
|
817
|
-
pending: number;
|
|
818
818
|
};
|
|
819
819
|
analysis: {
|
|
820
|
+
pending: number;
|
|
820
821
|
pass: number;
|
|
821
822
|
fail: number;
|
|
822
|
-
pending: number;
|
|
823
823
|
};
|
|
824
824
|
}, {
|
|
825
825
|
manual: {
|
|
826
|
+
pending: number;
|
|
826
827
|
pass: number;
|
|
827
828
|
fail: number;
|
|
828
|
-
pending: number;
|
|
829
829
|
};
|
|
830
830
|
auto: {
|
|
831
|
+
pending: number;
|
|
831
832
|
pass: number;
|
|
832
833
|
fail: number;
|
|
833
|
-
pending: number;
|
|
834
834
|
};
|
|
835
835
|
analysis: {
|
|
836
|
+
pending: number;
|
|
836
837
|
pass: number;
|
|
837
838
|
fail: number;
|
|
838
|
-
pending: number;
|
|
839
839
|
};
|
|
840
840
|
}>;
|
|
841
841
|
latency_p50_ms: z.ZodNullable<z.ZodNumber>;
|
|
@@ -853,19 +853,19 @@ declare const dashboard_response: z.ZodObject<{
|
|
|
853
853
|
};
|
|
854
854
|
verdict_counts: {
|
|
855
855
|
manual: {
|
|
856
|
+
pending: number;
|
|
856
857
|
pass: number;
|
|
857
858
|
fail: number;
|
|
858
|
-
pending: number;
|
|
859
859
|
};
|
|
860
860
|
auto: {
|
|
861
|
+
pending: number;
|
|
861
862
|
pass: number;
|
|
862
863
|
fail: number;
|
|
863
|
-
pending: number;
|
|
864
864
|
};
|
|
865
865
|
analysis: {
|
|
866
|
+
pending: number;
|
|
866
867
|
pass: number;
|
|
867
868
|
fail: number;
|
|
868
|
-
pending: number;
|
|
869
869
|
};
|
|
870
870
|
};
|
|
871
871
|
latency_p50_ms: number | null;
|
|
@@ -883,19 +883,19 @@ declare const dashboard_response: z.ZodObject<{
|
|
|
883
883
|
};
|
|
884
884
|
verdict_counts: {
|
|
885
885
|
manual: {
|
|
886
|
+
pending: number;
|
|
886
887
|
pass: number;
|
|
887
888
|
fail: number;
|
|
888
|
-
pending: number;
|
|
889
889
|
};
|
|
890
890
|
auto: {
|
|
891
|
+
pending: number;
|
|
891
892
|
pass: number;
|
|
892
893
|
fail: number;
|
|
893
|
-
pending: number;
|
|
894
894
|
};
|
|
895
895
|
analysis: {
|
|
896
|
+
pending: number;
|
|
896
897
|
pass: number;
|
|
897
898
|
fail: number;
|
|
898
|
-
pending: number;
|
|
899
899
|
};
|
|
900
900
|
};
|
|
901
901
|
latency_p50_ms: number | null;
|
|
@@ -1480,14 +1480,14 @@ declare const apply_op: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
1480
1480
|
base_rev: z.ZodNumber;
|
|
1481
1481
|
}, "strip", z.ZodTypeAny, {
|
|
1482
1482
|
id: string;
|
|
1483
|
+
actor: string;
|
|
1483
1484
|
op: "claim";
|
|
1484
1485
|
base_rev: number;
|
|
1485
|
-
actor: string;
|
|
1486
1486
|
}, {
|
|
1487
1487
|
id: string;
|
|
1488
|
+
actor: string;
|
|
1488
1489
|
op: "claim";
|
|
1489
1490
|
base_rev: number;
|
|
1490
|
-
actor: string;
|
|
1491
1491
|
}>, z.ZodObject<{
|
|
1492
1492
|
op: z.ZodLiteral<"complete">;
|
|
1493
1493
|
id: z.ZodString;
|
|
@@ -1913,14 +1913,14 @@ declare const apply_request: z.ZodObject<{
|
|
|
1913
1913
|
base_rev: z.ZodNumber;
|
|
1914
1914
|
}, "strip", z.ZodTypeAny, {
|
|
1915
1915
|
id: string;
|
|
1916
|
+
actor: string;
|
|
1916
1917
|
op: "claim";
|
|
1917
1918
|
base_rev: number;
|
|
1918
|
-
actor: string;
|
|
1919
1919
|
}, {
|
|
1920
1920
|
id: string;
|
|
1921
|
+
actor: string;
|
|
1921
1922
|
op: "claim";
|
|
1922
1923
|
base_rev: number;
|
|
1923
|
-
actor: string;
|
|
1924
1924
|
}>, z.ZodObject<{
|
|
1925
1925
|
op: z.ZodLiteral<"complete">;
|
|
1926
1926
|
id: z.ZodString;
|
|
@@ -2019,9 +2019,9 @@ declare const apply_request: z.ZodObject<{
|
|
|
2019
2019
|
op: "unlink";
|
|
2020
2020
|
} | {
|
|
2021
2021
|
id: string;
|
|
2022
|
+
actor: string;
|
|
2022
2023
|
op: "claim";
|
|
2023
2024
|
base_rev: number;
|
|
2024
|
-
actor: string;
|
|
2025
2025
|
} | {
|
|
2026
2026
|
id: string;
|
|
2027
2027
|
op: "complete";
|
|
@@ -2113,9 +2113,9 @@ declare const apply_request: z.ZodObject<{
|
|
|
2113
2113
|
op: "unlink";
|
|
2114
2114
|
} | {
|
|
2115
2115
|
id: string;
|
|
2116
|
+
actor: string;
|
|
2116
2117
|
op: "claim";
|
|
2117
2118
|
base_rev: number;
|
|
2118
|
-
actor: string;
|
|
2119
2119
|
} | {
|
|
2120
2120
|
id: string;
|
|
2121
2121
|
op: "complete";
|
|
@@ -2128,13 +2128,117 @@ declare const claim_request: z.ZodObject<{
|
|
|
2128
2128
|
actor: z.ZodString;
|
|
2129
2129
|
base_rev: z.ZodNumber;
|
|
2130
2130
|
}, "strip", z.ZodTypeAny, {
|
|
2131
|
-
base_rev: number;
|
|
2132
2131
|
actor: string;
|
|
2133
|
-
}, {
|
|
2134
2132
|
base_rev: number;
|
|
2133
|
+
}, {
|
|
2135
2134
|
actor: string;
|
|
2135
|
+
base_rev: number;
|
|
2136
2136
|
}>;
|
|
2137
2137
|
type ClaimRequest = z.infer<typeof claim_request>;
|
|
2138
|
+
declare const done_request: z.ZodObject<{
|
|
2139
|
+
base_rev: z.ZodNumber;
|
|
2140
|
+
}, "strip", z.ZodTypeAny, {
|
|
2141
|
+
base_rev: number;
|
|
2142
|
+
}, {
|
|
2143
|
+
base_rev: number;
|
|
2144
|
+
}>;
|
|
2145
|
+
type DoneRequest = z.infer<typeof done_request>;
|
|
2146
|
+
declare const task_event_actor: z.ZodEnum<["user", "api", "policy", "github"]>;
|
|
2147
|
+
declare const task_event_payload: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2148
|
+
kind: z.ZodLiteral<"task.created">;
|
|
2149
|
+
title: z.ZodString;
|
|
2150
|
+
}, "strip", z.ZodTypeAny, {
|
|
2151
|
+
kind: "task.created";
|
|
2152
|
+
title: string;
|
|
2153
|
+
}, {
|
|
2154
|
+
kind: "task.created";
|
|
2155
|
+
title: string;
|
|
2156
|
+
}>, z.ZodObject<{
|
|
2157
|
+
kind: z.ZodLiteral<"task.updated">;
|
|
2158
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
2159
|
+
}, "strip", z.ZodTypeAny, {
|
|
2160
|
+
kind: "task.updated";
|
|
2161
|
+
fields: string[];
|
|
2162
|
+
}, {
|
|
2163
|
+
kind: "task.updated";
|
|
2164
|
+
fields: string[];
|
|
2165
|
+
}>, z.ZodObject<{
|
|
2166
|
+
kind: z.ZodLiteral<"task.completed">;
|
|
2167
|
+
via: z.ZodEnum<["user", "api", "policy"]>;
|
|
2168
|
+
}, "strip", z.ZodTypeAny, {
|
|
2169
|
+
kind: "task.completed";
|
|
2170
|
+
via: "user" | "api" | "policy";
|
|
2171
|
+
}, {
|
|
2172
|
+
kind: "task.completed";
|
|
2173
|
+
via: "user" | "api" | "policy";
|
|
2174
|
+
}>, z.ZodObject<{
|
|
2175
|
+
kind: z.ZodLiteral<"task.reopened">;
|
|
2176
|
+
via: z.ZodEnum<["user", "api", "policy"]>;
|
|
2177
|
+
}, "strip", z.ZodTypeAny, {
|
|
2178
|
+
kind: "task.reopened";
|
|
2179
|
+
via: "user" | "api" | "policy";
|
|
2180
|
+
}, {
|
|
2181
|
+
kind: "task.reopened";
|
|
2182
|
+
via: "user" | "api" | "policy";
|
|
2183
|
+
}>, z.ZodObject<{
|
|
2184
|
+
kind: z.ZodLiteral<"task.claimed">;
|
|
2185
|
+
actor: z.ZodString;
|
|
2186
|
+
}, "strip", z.ZodTypeAny, {
|
|
2187
|
+
kind: "task.claimed";
|
|
2188
|
+
actor: string;
|
|
2189
|
+
}, {
|
|
2190
|
+
kind: "task.claimed";
|
|
2191
|
+
actor: string;
|
|
2192
|
+
}>, z.ZodObject<{
|
|
2193
|
+
kind: z.ZodLiteral<"edge.created">;
|
|
2194
|
+
link_kind: z.ZodEnum<["blocks", "relates_to", "references", "discovered_from", "tracks_metric"]>;
|
|
2195
|
+
dst_id: z.ZodNullable<z.ZodString>;
|
|
2196
|
+
}, "strip", z.ZodTypeAny, {
|
|
2197
|
+
kind: "edge.created";
|
|
2198
|
+
dst_id: string | null;
|
|
2199
|
+
link_kind: "blocks" | "relates_to" | "references" | "discovered_from" | "tracks_metric";
|
|
2200
|
+
}, {
|
|
2201
|
+
kind: "edge.created";
|
|
2202
|
+
dst_id: string | null;
|
|
2203
|
+
link_kind: "blocks" | "relates_to" | "references" | "discovered_from" | "tracks_metric";
|
|
2204
|
+
}>, z.ZodObject<{
|
|
2205
|
+
kind: z.ZodLiteral<"edge.removed">;
|
|
2206
|
+
link_kind: z.ZodEnum<["blocks", "relates_to", "references", "discovered_from", "tracks_metric"]>;
|
|
2207
|
+
dst_id: z.ZodNullable<z.ZodString>;
|
|
2208
|
+
}, "strip", z.ZodTypeAny, {
|
|
2209
|
+
kind: "edge.removed";
|
|
2210
|
+
dst_id: string | null;
|
|
2211
|
+
link_kind: "blocks" | "relates_to" | "references" | "discovered_from" | "tracks_metric";
|
|
2212
|
+
}, {
|
|
2213
|
+
kind: "edge.removed";
|
|
2214
|
+
dst_id: string | null;
|
|
2215
|
+
link_kind: "blocks" | "relates_to" | "references" | "discovered_from" | "tracks_metric";
|
|
2216
|
+
}>, z.ZodObject<{
|
|
2217
|
+
kind: z.ZodLiteral<"node.children_all_done">;
|
|
2218
|
+
}, "strip", z.ZodTypeAny, {
|
|
2219
|
+
kind: "node.children_all_done";
|
|
2220
|
+
}, {
|
|
2221
|
+
kind: "node.children_all_done";
|
|
2222
|
+
}>, z.ZodObject<{
|
|
2223
|
+
kind: z.ZodLiteral<"policy.fired">;
|
|
2224
|
+
policy: z.ZodEnum<["manual", "auto_children"]>;
|
|
2225
|
+
}, "strip", z.ZodTypeAny, {
|
|
2226
|
+
kind: "policy.fired";
|
|
2227
|
+
policy: "manual" | "auto_children";
|
|
2228
|
+
}, {
|
|
2229
|
+
kind: "policy.fired";
|
|
2230
|
+
policy: "manual" | "auto_children";
|
|
2231
|
+
}>, z.ZodObject<{
|
|
2232
|
+
kind: z.ZodLiteral<"node.completion_stale">;
|
|
2233
|
+
child_id: z.ZodString;
|
|
2234
|
+
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
kind: "node.completion_stale";
|
|
2236
|
+
child_id: string;
|
|
2237
|
+
}, {
|
|
2238
|
+
kind: "node.completion_stale";
|
|
2239
|
+
child_id: string;
|
|
2240
|
+
}>]>;
|
|
2241
|
+
type TaskEventPayload = z.infer<typeof task_event_payload>;
|
|
2138
2242
|
|
|
2139
2243
|
type User = InferSelectModel<typeof user>;
|
|
2140
2244
|
type Session = InferSelectModel<typeof session>;
|
|
@@ -2154,6 +2258,7 @@ type IgnorePath = InferSelectModel<typeof ignore_path>;
|
|
|
2154
2258
|
type TaskLink = InferSelectModel<typeof task_link>;
|
|
2155
2259
|
type TaskRollup = InferSelectModel<typeof task_rollup>;
|
|
2156
2260
|
type ApplyLog = InferSelectModel<typeof apply_log>;
|
|
2261
|
+
type TaskEvent = InferSelectModel<typeof task_event>;
|
|
2157
2262
|
type PipelinePackage = InferSelectModel<typeof pipeline_package>;
|
|
2158
2263
|
type PipelineRun = InferSelectModel<typeof pipeline_run>;
|
|
2159
2264
|
type PipelineStageEvent = InferSelectModel<typeof pipeline_stage_event>;
|
|
@@ -2290,4 +2395,4 @@ type UpdateData = {
|
|
|
2290
2395
|
type UpdateUser = z.infer<typeof update_user>;
|
|
2291
2396
|
type ConfigSchemaType = z.infer<typeof config_schema>;
|
|
2292
2397
|
|
|
2293
|
-
export { type
|
|
2398
|
+
export { type UpsertGoal as $, type Action as A, type TagWithTypedColor as B, type ClaimRequest as C, type DashboardResponse as D, type ExternalRef as E, type Task as F, type GetConfigResult as G, type HistoryAction as H, type IgnorePath as I, type TaskEvent as J, type TaskEventPayload as K, type TaskLink as L, type Milestone as M, type Nullable as N, type TaskRollup as O, type PipelineAnalysisTemplate as P, type TaskTag as Q, type RolloutShapeZ as R, type SaveConfigRequest as S, TAG_COLOURS as T, type TaskView as U, type TaskWithDetails as V, type TodoUpdate as W, type TrackerResult as X, type UpdateAction as Y, type UpdateData as Z, type UpdateUser as _, type ApiKey as a, type UpsertMilestone as a0, type UpsertPipelineAnalysisTemplate as a1, type UpsertPipelineApproval as a2, type UpsertPipelineGrant as a3, type UpsertPipelineOidcTrust as a4, type UpsertPipelinePackage as a5, type UpsertPipelineRun as a6, type UpsertProject as a7, type UpsertTag as a8, type UpsertTaskLink as a9, stage_event_kind as aA, task_event_actor as aB, task_event_payload as aC, task_link_kind as aD, update_action as aE, update_user as aF, upsert_goal as aG, upsert_milestone as aH, upsert_pipeline_analysis_template as aI, upsert_pipeline_approval as aJ, upsert_pipeline_grant as aK, upsert_pipeline_oidc_trust as aL, upsert_pipeline_package as aM, upsert_pipeline_run as aN, upsert_project as aO, upsert_tag as aP, upsert_task_link as aQ, upsert_todo as aR, webhook_event_body as aS, type UpsertTodo as aa, type User as ab, type WebhookEventBody as ac, apply_op as ad, apply_request as ae, approval_decision as af, claim_request as ag, config_schema as ah, dashboard_response as ai, dashboard_window_query as aj, done_request as ak, external_ref as al, forced_atomic_reason as am, gate_descriptor as an, grant_scope as ao, insert_pipeline_stage_event as ap, pipeline_oidc_provider as aq, project_config as ar, resolved_gates as as, resolved_rollout as at, rollout_shape as au, rollout_stage as av, run_kind as aw, run_status as ax, save_config_request as ay, save_tags_request as az, type ApplyLog as b, type ApplyOp as c, type ApplyRequest as d, type CodebaseTask as e, type ConfigSchemaType as f, type DashboardWindowQuery as g, type DoneRequest as h, type Goal as i, type InsertPipelineStageEvent as j, type PipelineApproval as k, type PipelineGrant as l, type PipelineOidcTrust as m, type PipelinePackage as n, type PipelineRun as o, type PipelineStageEvent as p, type Project as q, type ProjectConfig as r, type ProjectWithTasks as s, type RunKindZ as t, type ScanStatus as u, type Session as v, type Tag as w, type TagColor as x, type TagConfig as y, type TagWithColor as z };
|