@show-karma/karma-gap-sdk 0.3.36 → 0.3.38
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.
|
@@ -32,8 +32,11 @@ export interface ISummaryProject {
|
|
|
32
32
|
uid: Hex;
|
|
33
33
|
}
|
|
34
34
|
export interface IMilestoneCompleted extends IAttestationResponse {
|
|
35
|
-
type: "
|
|
36
|
-
|
|
35
|
+
type: "MilestoneStatus";
|
|
36
|
+
data: {
|
|
37
|
+
type: "approved" | "rejected" | "completed";
|
|
38
|
+
reason?: string;
|
|
39
|
+
};
|
|
37
40
|
}
|
|
38
41
|
export interface IMilestoneResponse extends IAttestationResponse {
|
|
39
42
|
type: "Milestone";
|
|
@@ -45,15 +48,25 @@ export interface IMilestoneResponse extends IAttestationResponse {
|
|
|
45
48
|
title: string;
|
|
46
49
|
description: string;
|
|
47
50
|
endsAt: number;
|
|
51
|
+
startsAt?: number;
|
|
48
52
|
type: "milestone";
|
|
49
53
|
};
|
|
50
54
|
}
|
|
55
|
+
export interface IGrantUpdateStatus extends IAttestationResponse {
|
|
56
|
+
type: `grant-update-${IStatus}`;
|
|
57
|
+
reason?: string;
|
|
58
|
+
data: {
|
|
59
|
+
type: "approved" | "rejected" | "completed";
|
|
60
|
+
reason?: string;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
51
63
|
export interface IGrantUpdate extends IAttestationResponse {
|
|
52
64
|
data: {
|
|
53
65
|
text: string;
|
|
54
66
|
title: string;
|
|
55
67
|
type: "grant-update";
|
|
56
68
|
};
|
|
69
|
+
verified?: IGrantUpdateStatus[];
|
|
57
70
|
}
|
|
58
71
|
export interface IGrantDetails extends IAttestationResponse {
|
|
59
72
|
type: "GrantDetails";
|
|
@@ -103,6 +116,10 @@ export interface IProjectDetails extends IAttestationResponse {
|
|
|
103
116
|
data: {
|
|
104
117
|
title: string;
|
|
105
118
|
description: string;
|
|
119
|
+
problem?: string;
|
|
120
|
+
solution?: string;
|
|
121
|
+
missionSummary?: string;
|
|
122
|
+
locationOfImpact?: string;
|
|
106
123
|
imageURL: string;
|
|
107
124
|
links?: ExternalLink[];
|
|
108
125
|
tags?: ITag[];
|
|
@@ -114,6 +131,11 @@ export interface IProjectDetails extends IAttestationResponse {
|
|
|
114
131
|
pathToTake?: string;
|
|
115
132
|
};
|
|
116
133
|
}
|
|
134
|
+
type IStatus = "verified";
|
|
135
|
+
export interface IProjectImpactStatus extends IAttestationResponse {
|
|
136
|
+
type: `project-impact-${IStatus}`;
|
|
137
|
+
reason?: string;
|
|
138
|
+
}
|
|
117
139
|
export interface IProjectImpact extends IAttestationResponse {
|
|
118
140
|
type: "ProjectImpact";
|
|
119
141
|
data: {
|
|
@@ -124,6 +146,7 @@ export interface IProjectImpact extends IAttestationResponse {
|
|
|
124
146
|
completedAt: number;
|
|
125
147
|
type: "project-impact";
|
|
126
148
|
};
|
|
149
|
+
verified: IProjectImpactStatus[];
|
|
127
150
|
}
|
|
128
151
|
export interface IProjectEndorsement extends IAttestationResponse {
|
|
129
152
|
type: "ProjectEndorsement";
|
|
@@ -139,7 +162,7 @@ export interface IProjectResponse extends IAttestationResponse {
|
|
|
139
162
|
};
|
|
140
163
|
details?: IProjectDetails;
|
|
141
164
|
members: IMemberOf[];
|
|
142
|
-
grants:
|
|
165
|
+
grants: IGrantResponse[];
|
|
143
166
|
grantee: any;
|
|
144
167
|
impacts: IProjectImpact[];
|
|
145
168
|
endorsements: IProjectEndorsement[];
|
|
@@ -174,3 +197,4 @@ export interface ISearchResponse {
|
|
|
174
197
|
projects: IProjectResponse[];
|
|
175
198
|
communities: ICommunityResponse[];
|
|
176
199
|
}
|
|
200
|
+
export {};
|