@peasant-labs/schema 0.42.0 → 0.43.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.
|
@@ -188,6 +188,23 @@ export interface paths {
|
|
|
188
188
|
patch?: never;
|
|
189
189
|
trace?: never;
|
|
190
190
|
};
|
|
191
|
+
"/api/v1/quality": {
|
|
192
|
+
parameters: {
|
|
193
|
+
query?: never;
|
|
194
|
+
header?: never;
|
|
195
|
+
path?: never;
|
|
196
|
+
cookie?: never;
|
|
197
|
+
};
|
|
198
|
+
/** @description Read one bounded page of stored session quality rows beside the library-wide analytics summary at the page revision. The summary is computed over the whole library and the rows are the requested page, so no client receives every stored row. page is one-based and omitted defaults to 1; a request past the last page is served the last page. maxItems is omitted or 0 for the default of 25; only 25, 50, and 100 are accepted, and a negative, non-member, or malformed value returns 400. 500 when the page or its summary cannot be read, and 503 when the configured provider cannot serve the paginated quality read. */
|
|
199
|
+
get: operations["getQualityPage"];
|
|
200
|
+
put?: never;
|
|
201
|
+
post?: never;
|
|
202
|
+
delete?: never;
|
|
203
|
+
options?: never;
|
|
204
|
+
head?: never;
|
|
205
|
+
patch?: never;
|
|
206
|
+
trace?: never;
|
|
207
|
+
};
|
|
191
208
|
"/api/v1/review/{projectHash}": {
|
|
192
209
|
parameters: {
|
|
193
210
|
query?: never;
|
|
@@ -669,6 +686,7 @@ export interface components {
|
|
|
669
686
|
* @enum {string}
|
|
670
687
|
*/
|
|
671
688
|
SchemaActorOrigin: Schema.ActorOrigin;
|
|
689
|
+
SchemaAnalyticsSessionStats: Schema.AnalyticsSessionStats;
|
|
672
690
|
/**
|
|
673
691
|
* Annotation Axis
|
|
674
692
|
* @description Subscription dimension for annotation channels
|
|
@@ -935,6 +953,7 @@ export interface components {
|
|
|
935
953
|
SchemaContentProvenance: Schema.ContentProvenance;
|
|
936
954
|
/** @description Opaque versioned selected-category traversal token; not cacheRevision or authority */
|
|
937
955
|
SchemaContributionTraversalRevision: Schema.ContributionTraversalRevision;
|
|
956
|
+
SchemaContributorBreakdown: Schema.ContributorBreakdown;
|
|
938
957
|
SchemaCreateAnnotationRequest: Schema.CreateAnnotationRequest;
|
|
939
958
|
SchemaCreateAnnotationResponse: Schema.CreateAnnotationResponse;
|
|
940
959
|
SchemaDayStats: Schema.DayStats;
|
|
@@ -1140,6 +1159,7 @@ export interface components {
|
|
|
1140
1159
|
SchemaLocalSyncSummary: Schema.LocalSyncSummary;
|
|
1141
1160
|
SchemaLocalVillageCollective: Schema.LocalVillageCollective;
|
|
1142
1161
|
SchemaLocalVillageCollectivesResponse: Schema.LocalVillageCollectivesResponse;
|
|
1162
|
+
SchemaLongestStreak: Schema.LongestStreak;
|
|
1143
1163
|
SchemaMapEdge: Schema.MapEdge;
|
|
1144
1164
|
SchemaMapGraphPayload: Schema.MapGraphPayload;
|
|
1145
1165
|
SchemaMapNode: Schema.MapNode;
|
|
@@ -1154,6 +1174,7 @@ export interface components {
|
|
|
1154
1174
|
*/
|
|
1155
1175
|
SchemaMapNodeKind: Schema.MapNodeKind;
|
|
1156
1176
|
SchemaMapSlice: Schema.MapSlice;
|
|
1177
|
+
SchemaMedianP90: Schema.MedianP90;
|
|
1157
1178
|
/**
|
|
1158
1179
|
* Message Type
|
|
1159
1180
|
* @description WebSocket message discriminator
|
|
@@ -1224,6 +1245,7 @@ export interface components {
|
|
|
1224
1245
|
* @enum {string}
|
|
1225
1246
|
*/
|
|
1226
1247
|
SchemaOperationIssueCode: Schema.OperationIssueCode;
|
|
1248
|
+
SchemaOutcomeDistribution: Schema.OutcomeDistribution;
|
|
1227
1249
|
/**
|
|
1228
1250
|
* Page Size
|
|
1229
1251
|
* @description Closed page size set for local list reads: 25, 50, or 100. The value is a number on the wire; an omitted maximum maps to 25 before validation.
|
|
@@ -1234,6 +1256,7 @@ export interface components {
|
|
|
1234
1256
|
*/
|
|
1235
1257
|
SchemaPageSize: Schema.PageSize;
|
|
1236
1258
|
SchemaPersonalMedians: Schema.PersonalMedians;
|
|
1259
|
+
SchemaProjectAnalytics: Schema.ProjectAnalytics;
|
|
1237
1260
|
/**
|
|
1238
1261
|
* Project Hash
|
|
1239
1262
|
* @description SHA-256 hex digest of the project's origin URL or local path
|
|
@@ -1260,6 +1283,7 @@ export interface components {
|
|
|
1260
1283
|
* @enum {string}
|
|
1261
1284
|
*/
|
|
1262
1285
|
SchemaPublicSourceAnchorKind: Schema.PublicSourceAnchorKind;
|
|
1286
|
+
SchemaQualityPage: Schema.QualityPage;
|
|
1263
1287
|
SchemaQualitySession: Schema.QualitySession;
|
|
1264
1288
|
/**
|
|
1265
1289
|
* Read Attribution State
|
|
@@ -1305,6 +1329,7 @@ export interface components {
|
|
|
1305
1329
|
*/
|
|
1306
1330
|
SchemaRelationshipTargetState: Schema.RelationshipTargetState;
|
|
1307
1331
|
SchemaRetainedUnknownRecord: Schema.RetainedUnknownRecord;
|
|
1332
|
+
SchemaReturningContributorRate: Schema.ReturningContributorRate;
|
|
1308
1333
|
SchemaReviewListPayload: Schema.ReviewListPayload;
|
|
1309
1334
|
/**
|
|
1310
1335
|
* Rewrite Method
|
|
@@ -1420,6 +1445,7 @@ export interface components {
|
|
|
1420
1445
|
* @enum {string}
|
|
1421
1446
|
*/
|
|
1422
1447
|
SchemaSessionTeammateEvidence: Schema.SessionTeammateEvidence;
|
|
1448
|
+
SchemaSessionToCommitRate: Schema.SessionToCommitRate;
|
|
1423
1449
|
SchemaSessionsPayload: Schema.SessionsPayload;
|
|
1424
1450
|
SchemaShutdownResponse: Schema.ShutdownResponse;
|
|
1425
1451
|
/**
|
|
@@ -1696,6 +1722,10 @@ export interface components {
|
|
|
1696
1722
|
*/
|
|
1697
1723
|
SchemaVillageUUID: Schema.VillageUUID;
|
|
1698
1724
|
SchemaVillageUserCollective: Schema.VillageUserCollective;
|
|
1725
|
+
SchemaWeekAvgDuration: Schema.WeekAvgDuration;
|
|
1726
|
+
SchemaWeekContributors: Schema.WeekContributors;
|
|
1727
|
+
SchemaWeekCount: Schema.WeekCount;
|
|
1728
|
+
SchemaWeekNewContributors: Schema.WeekNewContributors;
|
|
1699
1729
|
SearchPayload: Schema.SearchPayload;
|
|
1700
1730
|
ServerMessage: Schema.ServerMessage;
|
|
1701
1731
|
SessionDetailHeaderPayload: Schema.SessionDetailHeaderPayload;
|
|
@@ -2031,6 +2061,58 @@ export interface operations {
|
|
|
2031
2061
|
};
|
|
2032
2062
|
};
|
|
2033
2063
|
};
|
|
2064
|
+
getQualityPage: {
|
|
2065
|
+
parameters: {
|
|
2066
|
+
query?: {
|
|
2067
|
+
/** @description One-based page number; omitted defaults to 1 */
|
|
2068
|
+
page?: number;
|
|
2069
|
+
/** @description Rows per page: omitted or 0 uses 25; only 25, 50, and 100 are accepted */
|
|
2070
|
+
maxItems?: number;
|
|
2071
|
+
};
|
|
2072
|
+
header?: never;
|
|
2073
|
+
path?: never;
|
|
2074
|
+
cookie?: never;
|
|
2075
|
+
};
|
|
2076
|
+
requestBody?: never;
|
|
2077
|
+
responses: {
|
|
2078
|
+
/** @description OK */
|
|
2079
|
+
200: {
|
|
2080
|
+
headers: {
|
|
2081
|
+
[name: string]: unknown;
|
|
2082
|
+
};
|
|
2083
|
+
content: {
|
|
2084
|
+
"application/json": components["schemas"]["SchemaQualityPage"];
|
|
2085
|
+
};
|
|
2086
|
+
};
|
|
2087
|
+
/** @description Bad Request */
|
|
2088
|
+
400: {
|
|
2089
|
+
headers: {
|
|
2090
|
+
[name: string]: unknown;
|
|
2091
|
+
};
|
|
2092
|
+
content: {
|
|
2093
|
+
"application/json": components["schemas"]["OpenapiLocalErrorResponse"];
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
/** @description Internal Server Error */
|
|
2097
|
+
500: {
|
|
2098
|
+
headers: {
|
|
2099
|
+
[name: string]: unknown;
|
|
2100
|
+
};
|
|
2101
|
+
content: {
|
|
2102
|
+
"application/json": components["schemas"]["OpenapiLocalErrorResponse"];
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
/** @description Service Unavailable */
|
|
2106
|
+
503: {
|
|
2107
|
+
headers: {
|
|
2108
|
+
[name: string]: unknown;
|
|
2109
|
+
};
|
|
2110
|
+
content: {
|
|
2111
|
+
"application/json": components["schemas"]["OpenapiLocalErrorResponse"];
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
};
|
|
2034
2116
|
listReviewChanges: {
|
|
2035
2117
|
parameters: {
|
|
2036
2118
|
query?: never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
2
|
export const VillageAPIVersion = "0.35.0";
|
|
3
|
-
export const PeasantLocalAPIVersion = "0.
|
|
3
|
+
export const PeasantLocalAPIVersion = "0.30.0";
|
|
4
4
|
export const TypesVersion = "0.44.0";
|
|
5
5
|
export const MetadataSchemaVersion = 12;
|