@pg-atlas/data-sdk 0.4.1 → 0.6.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.
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/schemas.gen.d.ts +372 -8
- package/dist/generated/schemas.gen.js +473 -7
- package/dist/generated/sdk.gen.d.ts +40 -11
- package/dist/generated/sdk.gen.js +39 -10
- package/dist/generated/types.gen.d.ts +489 -6
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { getContributor, getMetadata, getProject, getProjectDependsOn, getProjectHasDependents, getProjectRepos, getRepo, getRepoDependsOn, getRepoHasDependents, getSbomSubmission, health, ingestSbom, listProjects, listRepos, listSbomSubmissions, type Options } from './sdk.gen';
|
|
2
|
-
export type { ActivityStatus, ClientOptions, ContributionEntry, ContributorDetailResponse, ContributorSummary, DepCounts, EdgeConfidence, GetContributorData, GetContributorError, GetContributorErrors, GetContributorResponse, GetContributorResponses, GetMetadataData, GetMetadataResponse, GetMetadataResponses, GetProjectData, GetProjectDependsOnData, GetProjectDependsOnError, GetProjectDependsOnErrors, GetProjectDependsOnResponse, GetProjectDependsOnResponses, GetProjectError, GetProjectErrors, GetProjectHasDependentsData, GetProjectHasDependentsError, GetProjectHasDependentsErrors, GetProjectHasDependentsResponse, GetProjectHasDependentsResponses, GetProjectReposData, GetProjectReposError, GetProjectReposErrors, GetProjectReposResponse, GetProjectReposResponses, GetProjectResponse, GetProjectResponses, GetRepoData, GetRepoDependsOnData, GetRepoDependsOnError, GetRepoDependsOnErrors, GetRepoDependsOnResponse, GetRepoDependsOnResponses, GetRepoError, GetRepoErrors, GetRepoHasDependentsData, GetRepoHasDependentsError, GetRepoHasDependentsErrors, GetRepoHasDependentsResponse, GetRepoHasDependentsResponses, GetRepoResponse, GetRepoResponses, GetSbomSubmissionData, GetSbomSubmissionError, GetSbomSubmissionErrors, GetSbomSubmissionResponse, GetSbomSubmissionResponses, HealthData, HealthResponse, HealthResponse2, HealthResponses, HttpValidationError, IngestSbomData, IngestSbomError, IngestSbomErrors, IngestSbomResponse, IngestSbomResponses, ListProjectsData, ListProjectsError, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListReposData, ListReposError, ListReposErrors, ListReposResponse, ListReposResponses, ListSbomSubmissionsData, ListSbomSubmissionsError, ListSbomSubmissionsErrors, ListSbomSubmissionsResponse, ListSbomSubmissionsResponses, MetadataResponse, PaginatedResponseProjectSummary, PaginatedResponseRepoSummary, ProjectDependency, ProjectDetailResponse, ProjectMetadata, ProjectSummary, ProjectType, RepoDependency, RepoDetailResponse, RepoSummary, RepoVertexType, SbomAcceptedResponse, SbomSubmissionDetailResponse, SbomSubmissionListResponse, SbomSubmissionResponse, ScfSubmission, SubmissionStatus, ValidationError, Visibility } from './types.gen';
|
|
1
|
+
export { getContributor, getGitlogArtifact, getMetadata, getProject, getProjectContributors, getProjectDependsOn, getProjectHasDependents, getProjectRepos, getRepo, getRepoContributors, getRepoDependsOn, getRepoHasDependents, getSbomSubmission, health, ingestSbom, listContributors, listGitlogArtifacts, listProjects, listRepos, listSbomSubmissions, type Options } from './sdk.gen';
|
|
2
|
+
export type { ActivityStatus, ClientOptions, ContributionEntry, ContributorDetailResponse, ContributorSummary, DepCounts, EdgeConfidence, GetContributorData, GetContributorError, GetContributorErrors, GetContributorResponse, GetContributorResponses, GetGitlogArtifactData, GetGitlogArtifactError, GetGitlogArtifactErrors, GetGitlogArtifactResponse, GetGitlogArtifactResponses, GetMetadataData, GetMetadataResponse, GetMetadataResponses, GetProjectContributorsData, GetProjectContributorsError, GetProjectContributorsErrors, GetProjectContributorsResponse, GetProjectContributorsResponses, GetProjectData, GetProjectDependsOnData, GetProjectDependsOnError, GetProjectDependsOnErrors, GetProjectDependsOnResponse, GetProjectDependsOnResponses, GetProjectError, GetProjectErrors, GetProjectHasDependentsData, GetProjectHasDependentsError, GetProjectHasDependentsErrors, GetProjectHasDependentsResponse, GetProjectHasDependentsResponses, GetProjectReposData, GetProjectReposError, GetProjectReposErrors, GetProjectReposResponse, GetProjectReposResponses, GetProjectResponse, GetProjectResponses, GetRepoContributorsData, GetRepoContributorsError, GetRepoContributorsErrors, GetRepoContributorsResponse, GetRepoContributorsResponses, GetRepoData, GetRepoDependsOnData, GetRepoDependsOnError, GetRepoDependsOnErrors, GetRepoDependsOnResponse, GetRepoDependsOnResponses, GetRepoError, GetRepoErrors, GetRepoHasDependentsData, GetRepoHasDependentsError, GetRepoHasDependentsErrors, GetRepoHasDependentsResponse, GetRepoHasDependentsResponses, GetRepoResponse, GetRepoResponses, GetSbomSubmissionData, GetSbomSubmissionError, GetSbomSubmissionErrors, GetSbomSubmissionResponse, GetSbomSubmissionResponses, GitLogArtifactDetailResponse, GitLogArtifactSummary, HealthComponents, HealthData, HealthResponse, HealthResponse2, HealthResponses, HttpValidationError, IngestSbomData, IngestSbomError, IngestSbomErrors, IngestSbomResponse, IngestSbomResponses, ListContributorsData, ListContributorsError, ListContributorsErrors, ListContributorsResponse, ListContributorsResponses, ListGitlogArtifactsData, ListGitlogArtifactsError, ListGitlogArtifactsErrors, ListGitlogArtifactsResponse, ListGitlogArtifactsResponses, ListProjectsData, ListProjectsError, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListReposData, ListReposError, ListReposErrors, ListReposResponse, ListReposResponses, ListSbomSubmissionsData, ListSbomSubmissionsError, ListSbomSubmissionsErrors, ListSbomSubmissionsResponse, ListSbomSubmissionsResponses, MetadataResponse, PaginatedResponseContributorSummary, PaginatedResponseGitLogArtifactSummary, PaginatedResponseProjectContributorSummary, PaginatedResponseProjectSummary, PaginatedResponseRepoContributorSummary, PaginatedResponseRepoSummary, ProjectContributorSummary, ProjectDependency, ProjectDetailResponse, ProjectMetadata, ProjectSummary, ProjectType, RepoContributorSummary, RepoDependency, RepoDetailResponse, RepoSummary, RepoVertexType, SbomAcceptedResponse, SbomSubmissionDetailResponse, SbomSubmissionListResponse, SbomSubmissionResponse, ScfSubmission, SubmissionStatus, ValidationError, Visibility } from './types.gen';
|
package/dist/generated/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { getContributor, getMetadata, getProject, getProjectDependsOn, getProjectHasDependents, getProjectRepos, getRepo, getRepoDependsOn, getRepoHasDependents, getSbomSubmission, health, ingestSbom, listProjects, listRepos, listSbomSubmissions } from './sdk.gen';
|
|
2
|
+
export { getContributor, getGitlogArtifact, getMetadata, getProject, getProjectContributors, getProjectDependsOn, getProjectHasDependents, getProjectRepos, getRepo, getRepoContributors, getRepoDependsOn, getRepoHasDependents, getSbomSubmission, health, ingestSbom, listContributors, listGitlogArtifacts, listProjects, listRepos, listSbomSubmissions } from './sdk.gen';
|
|
@@ -41,7 +41,7 @@ export declare const SubmissionStatusSchema: {
|
|
|
41
41
|
readonly type: "string";
|
|
42
42
|
readonly enum: readonly ["pending", "processed", "failed"];
|
|
43
43
|
readonly title: "SubmissionStatus";
|
|
44
|
-
readonly description: "Processing state of an
|
|
44
|
+
readonly description: "Processing state of an artifact-linked audit record.";
|
|
45
45
|
};
|
|
46
46
|
export declare const ScfSubmissionSchema: {
|
|
47
47
|
readonly properties: {
|
|
@@ -409,8 +409,22 @@ export declare const RepoDetailResponseSchema: {
|
|
|
409
409
|
readonly releases: {
|
|
410
410
|
readonly anyOf: readonly [{
|
|
411
411
|
readonly items: {
|
|
412
|
-
readonly
|
|
412
|
+
readonly properties: {
|
|
413
|
+
readonly purl: {
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
};
|
|
416
|
+
readonly version: {
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
};
|
|
419
|
+
readonly release_date: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
readonly default: "";
|
|
422
|
+
};
|
|
423
|
+
};
|
|
413
424
|
readonly type: "object";
|
|
425
|
+
readonly required: readonly ["purl", "version"];
|
|
426
|
+
readonly title: "Release";
|
|
427
|
+
readonly description: "One normalized release record keyed by package PURL + version.";
|
|
414
428
|
};
|
|
415
429
|
readonly type: "array";
|
|
416
430
|
}, {
|
|
@@ -438,11 +452,19 @@ export declare const RepoDetailResponseSchema: {
|
|
|
438
452
|
readonly incoming_dep_counts: {
|
|
439
453
|
readonly $ref: "#/components/schemas/DepCounts";
|
|
440
454
|
};
|
|
455
|
+
readonly active_contributors_30d: {
|
|
456
|
+
readonly type: "integer";
|
|
457
|
+
readonly title: "Active Contributors 30D";
|
|
458
|
+
};
|
|
459
|
+
readonly active_contributors_90d: {
|
|
460
|
+
readonly type: "integer";
|
|
461
|
+
readonly title: "Active Contributors 90D";
|
|
462
|
+
};
|
|
441
463
|
};
|
|
442
464
|
readonly type: "object";
|
|
443
|
-
readonly required: readonly ["canonical_id", "display_name", "visibility", "latest_version", "latest_commit_date", "repo_url", "project_id", "pony_factor", "criticality_score", "adoption_downloads", "adoption_stars", "adoption_forks", "updated_at", "releases", "parent_project", "contributors", "outgoing_dep_counts", "incoming_dep_counts"];
|
|
465
|
+
readonly required: readonly ["canonical_id", "display_name", "visibility", "latest_version", "latest_commit_date", "repo_url", "project_id", "pony_factor", "criticality_score", "adoption_downloads", "adoption_stars", "adoption_forks", "updated_at", "releases", "parent_project", "contributors", "outgoing_dep_counts", "incoming_dep_counts", "active_contributors_30d", "active_contributors_90d"];
|
|
444
466
|
readonly title: "RepoDetailResponse";
|
|
445
|
-
readonly description: "Full repo detail with parent project, contributors, releases,
|
|
467
|
+
readonly description: "Full repo detail with parent project, contributors, releases, dependency counts,\nand active contributor stats.";
|
|
446
468
|
};
|
|
447
469
|
export declare const DepCountsSchema: {
|
|
448
470
|
readonly properties: {
|
|
@@ -595,6 +617,40 @@ export declare const EdgeConfidenceSchema: {
|
|
|
595
617
|
readonly title: "EdgeConfidence";
|
|
596
618
|
readonly description: "How firmly an edge was established.";
|
|
597
619
|
};
|
|
620
|
+
export declare const RepoContributorSummarySchema: {
|
|
621
|
+
readonly properties: {
|
|
622
|
+
readonly id: {
|
|
623
|
+
readonly type: "integer";
|
|
624
|
+
readonly title: "Id";
|
|
625
|
+
};
|
|
626
|
+
readonly name: {
|
|
627
|
+
readonly type: "string";
|
|
628
|
+
readonly title: "Name";
|
|
629
|
+
};
|
|
630
|
+
readonly email_hash: {
|
|
631
|
+
readonly type: "string";
|
|
632
|
+
readonly title: "Email Hash";
|
|
633
|
+
};
|
|
634
|
+
readonly number_of_commits: {
|
|
635
|
+
readonly type: "integer";
|
|
636
|
+
readonly title: "Number Of Commits";
|
|
637
|
+
};
|
|
638
|
+
readonly first_commit_date: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly format: "date-time";
|
|
641
|
+
readonly title: "First Commit Date";
|
|
642
|
+
};
|
|
643
|
+
readonly last_commit_date: {
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
readonly format: "date-time";
|
|
646
|
+
readonly title: "Last Commit Date";
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
readonly type: "object";
|
|
650
|
+
readonly required: readonly ["id", "name", "email_hash", "number_of_commits", "first_commit_date", "last_commit_date"];
|
|
651
|
+
readonly title: "RepoContributorSummary";
|
|
652
|
+
readonly description: "Contributor summary with commit counts for one repo.";
|
|
653
|
+
};
|
|
598
654
|
export declare const ProjectMetadataSchema: {
|
|
599
655
|
readonly properties: {
|
|
600
656
|
readonly scf_submissions: {
|
|
@@ -776,14 +832,22 @@ export declare const ProjectDetailResponseSchema: {
|
|
|
776
832
|
readonly type: "integer";
|
|
777
833
|
readonly title: "Project Id";
|
|
778
834
|
};
|
|
835
|
+
readonly active_contributors_30d: {
|
|
836
|
+
readonly type: "integer";
|
|
837
|
+
readonly title: "Active Contributors 30D";
|
|
838
|
+
};
|
|
839
|
+
readonly active_contributors_90d: {
|
|
840
|
+
readonly type: "integer";
|
|
841
|
+
readonly title: "Active Contributors 90D";
|
|
842
|
+
};
|
|
779
843
|
readonly metadata: {
|
|
780
844
|
readonly $ref: "#/components/schemas/ProjectMetadata";
|
|
781
845
|
};
|
|
782
846
|
};
|
|
783
847
|
readonly type: "object";
|
|
784
|
-
readonly required: readonly ["canonical_id", "display_name", "project_type", "activity_status", "category", "git_owner_url", "pony_factor", "criticality_score", "adoption_score", "updated_at", "project_id", "metadata"];
|
|
848
|
+
readonly required: readonly ["canonical_id", "display_name", "project_type", "activity_status", "category", "git_owner_url", "pony_factor", "criticality_score", "adoption_score", "updated_at", "project_id", "active_contributors_30d", "active_contributors_90d", "metadata"];
|
|
785
849
|
readonly title: "ProjectDetailResponse";
|
|
786
|
-
readonly description: "Full project detail including
|
|
850
|
+
readonly description: "Full project detail including contributor stats and metadata.\n\n``metadata`` is the normalised form of the ``project_metadata`` JSONB column.";
|
|
787
851
|
};
|
|
788
852
|
export declare const ProjectDependencySchema: {
|
|
789
853
|
readonly properties: {
|
|
@@ -800,6 +864,30 @@ export declare const ProjectDependencySchema: {
|
|
|
800
864
|
readonly title: "ProjectDependency";
|
|
801
865
|
readonly description: "A collapsed project-level dependency: aggregates repo-level edges\nbetween two projects into a single summary.";
|
|
802
866
|
};
|
|
867
|
+
export declare const ProjectContributorSummarySchema: {
|
|
868
|
+
readonly properties: {
|
|
869
|
+
readonly id: {
|
|
870
|
+
readonly type: "integer";
|
|
871
|
+
readonly title: "Id";
|
|
872
|
+
};
|
|
873
|
+
readonly name: {
|
|
874
|
+
readonly type: "string";
|
|
875
|
+
readonly title: "Name";
|
|
876
|
+
};
|
|
877
|
+
readonly email_hash: {
|
|
878
|
+
readonly type: "string";
|
|
879
|
+
readonly title: "Email Hash";
|
|
880
|
+
};
|
|
881
|
+
readonly total_commits_in_project: {
|
|
882
|
+
readonly type: "integer";
|
|
883
|
+
readonly title: "Total Commits In Project";
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
readonly type: "object";
|
|
887
|
+
readonly required: readonly ["id", "name", "email_hash", "total_commits_in_project"];
|
|
888
|
+
readonly title: "ProjectContributorSummary";
|
|
889
|
+
readonly description: "Contributor summary aggregated across all repos in a project.";
|
|
890
|
+
};
|
|
803
891
|
export declare const PaginatedResponse_RepoSummary_Schema: {
|
|
804
892
|
readonly properties: {
|
|
805
893
|
readonly items: {
|
|
@@ -826,6 +914,32 @@ export declare const PaginatedResponse_RepoSummary_Schema: {
|
|
|
826
914
|
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
827
915
|
readonly title: "PaginatedResponse[RepoSummary]";
|
|
828
916
|
};
|
|
917
|
+
export declare const PaginatedResponse_RepoContributorSummary_Schema: {
|
|
918
|
+
readonly properties: {
|
|
919
|
+
readonly items: {
|
|
920
|
+
readonly items: {
|
|
921
|
+
readonly $ref: "#/components/schemas/RepoContributorSummary";
|
|
922
|
+
};
|
|
923
|
+
readonly type: "array";
|
|
924
|
+
readonly title: "Items";
|
|
925
|
+
};
|
|
926
|
+
readonly total: {
|
|
927
|
+
readonly type: "integer";
|
|
928
|
+
readonly title: "Total";
|
|
929
|
+
};
|
|
930
|
+
readonly limit: {
|
|
931
|
+
readonly type: "integer";
|
|
932
|
+
readonly title: "Limit";
|
|
933
|
+
};
|
|
934
|
+
readonly offset: {
|
|
935
|
+
readonly type: "integer";
|
|
936
|
+
readonly title: "Offset";
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
readonly type: "object";
|
|
940
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
941
|
+
readonly title: "PaginatedResponse[RepoContributorSummary]";
|
|
942
|
+
};
|
|
829
943
|
export declare const PaginatedResponse_ProjectSummary_Schema: {
|
|
830
944
|
readonly properties: {
|
|
831
945
|
readonly items: {
|
|
@@ -852,6 +966,145 @@ export declare const PaginatedResponse_ProjectSummary_Schema: {
|
|
|
852
966
|
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
853
967
|
readonly title: "PaginatedResponse[ProjectSummary]";
|
|
854
968
|
};
|
|
969
|
+
export declare const PaginatedResponse_ProjectContributorSummary_Schema: {
|
|
970
|
+
readonly properties: {
|
|
971
|
+
readonly items: {
|
|
972
|
+
readonly items: {
|
|
973
|
+
readonly $ref: "#/components/schemas/ProjectContributorSummary";
|
|
974
|
+
};
|
|
975
|
+
readonly type: "array";
|
|
976
|
+
readonly title: "Items";
|
|
977
|
+
};
|
|
978
|
+
readonly total: {
|
|
979
|
+
readonly type: "integer";
|
|
980
|
+
readonly title: "Total";
|
|
981
|
+
};
|
|
982
|
+
readonly limit: {
|
|
983
|
+
readonly type: "integer";
|
|
984
|
+
readonly title: "Limit";
|
|
985
|
+
};
|
|
986
|
+
readonly offset: {
|
|
987
|
+
readonly type: "integer";
|
|
988
|
+
readonly title: "Offset";
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
readonly type: "object";
|
|
992
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
993
|
+
readonly title: "PaginatedResponse[ProjectContributorSummary]";
|
|
994
|
+
};
|
|
995
|
+
export declare const PaginatedResponse_GitLogArtifactSummary_Schema: {
|
|
996
|
+
readonly properties: {
|
|
997
|
+
readonly items: {
|
|
998
|
+
readonly items: {
|
|
999
|
+
readonly $ref: "#/components/schemas/GitLogArtifactSummary";
|
|
1000
|
+
};
|
|
1001
|
+
readonly type: "array";
|
|
1002
|
+
readonly title: "Items";
|
|
1003
|
+
};
|
|
1004
|
+
readonly total: {
|
|
1005
|
+
readonly type: "integer";
|
|
1006
|
+
readonly title: "Total";
|
|
1007
|
+
};
|
|
1008
|
+
readonly limit: {
|
|
1009
|
+
readonly type: "integer";
|
|
1010
|
+
readonly title: "Limit";
|
|
1011
|
+
};
|
|
1012
|
+
readonly offset: {
|
|
1013
|
+
readonly type: "integer";
|
|
1014
|
+
readonly title: "Offset";
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
readonly type: "object";
|
|
1018
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
1019
|
+
readonly title: "PaginatedResponse[GitLogArtifactSummary]";
|
|
1020
|
+
};
|
|
1021
|
+
export declare const GitLogArtifactSummarySchema: {
|
|
1022
|
+
readonly properties: {
|
|
1023
|
+
readonly id: {
|
|
1024
|
+
readonly type: "integer";
|
|
1025
|
+
readonly title: "Id";
|
|
1026
|
+
};
|
|
1027
|
+
readonly repo_id: {
|
|
1028
|
+
readonly type: "integer";
|
|
1029
|
+
readonly title: "Repo Id";
|
|
1030
|
+
};
|
|
1031
|
+
readonly repo_canonical_id: {
|
|
1032
|
+
readonly type: "string";
|
|
1033
|
+
readonly title: "Repo Canonical Id";
|
|
1034
|
+
};
|
|
1035
|
+
readonly repo_display_name: {
|
|
1036
|
+
readonly type: "string";
|
|
1037
|
+
readonly title: "Repo Display Name";
|
|
1038
|
+
};
|
|
1039
|
+
readonly artifact_path: {
|
|
1040
|
+
readonly anyOf: readonly [{
|
|
1041
|
+
readonly type: "string";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly type: "null";
|
|
1044
|
+
}];
|
|
1045
|
+
readonly title: "Artifact Path";
|
|
1046
|
+
};
|
|
1047
|
+
readonly status: {
|
|
1048
|
+
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
1049
|
+
};
|
|
1050
|
+
readonly error_detail: {
|
|
1051
|
+
readonly anyOf: readonly [{
|
|
1052
|
+
readonly type: "string";
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly type: "null";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly title: "Error Detail";
|
|
1057
|
+
};
|
|
1058
|
+
readonly since_months: {
|
|
1059
|
+
readonly type: "integer";
|
|
1060
|
+
readonly title: "Since Months";
|
|
1061
|
+
};
|
|
1062
|
+
readonly submitted_at: {
|
|
1063
|
+
readonly type: "string";
|
|
1064
|
+
readonly format: "date-time";
|
|
1065
|
+
readonly title: "Submitted At";
|
|
1066
|
+
};
|
|
1067
|
+
readonly processed_at: {
|
|
1068
|
+
readonly anyOf: readonly [{
|
|
1069
|
+
readonly type: "string";
|
|
1070
|
+
readonly format: "date-time";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly type: "null";
|
|
1073
|
+
}];
|
|
1074
|
+
readonly title: "Processed At";
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
readonly type: "object";
|
|
1078
|
+
readonly required: readonly ["id", "repo_id", "repo_canonical_id", "repo_display_name", "artifact_path", "status", "error_detail", "since_months", "submitted_at", "processed_at"];
|
|
1079
|
+
readonly title: "GitLogArtifactSummary";
|
|
1080
|
+
readonly description: "Compact gitlog artifact audit record for list endpoints.";
|
|
1081
|
+
};
|
|
1082
|
+
export declare const PaginatedResponse_ContributorSummary_Schema: {
|
|
1083
|
+
readonly properties: {
|
|
1084
|
+
readonly items: {
|
|
1085
|
+
readonly items: {
|
|
1086
|
+
readonly $ref: "#/components/schemas/ContributorSummary";
|
|
1087
|
+
};
|
|
1088
|
+
readonly type: "array";
|
|
1089
|
+
readonly title: "Items";
|
|
1090
|
+
};
|
|
1091
|
+
readonly total: {
|
|
1092
|
+
readonly type: "integer";
|
|
1093
|
+
readonly title: "Total";
|
|
1094
|
+
};
|
|
1095
|
+
readonly limit: {
|
|
1096
|
+
readonly type: "integer";
|
|
1097
|
+
readonly title: "Limit";
|
|
1098
|
+
};
|
|
1099
|
+
readonly offset: {
|
|
1100
|
+
readonly type: "integer";
|
|
1101
|
+
readonly title: "Offset";
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
readonly type: "object";
|
|
1105
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
1106
|
+
readonly title: "PaginatedResponse[ContributorSummary]";
|
|
1107
|
+
};
|
|
855
1108
|
export declare const MetadataResponseSchema: {
|
|
856
1109
|
readonly properties: {
|
|
857
1110
|
readonly total_projects: {
|
|
@@ -866,6 +1119,10 @@ export declare const MetadataResponseSchema: {
|
|
|
866
1119
|
readonly type: "integer";
|
|
867
1120
|
readonly title: "Total Repos";
|
|
868
1121
|
};
|
|
1122
|
+
readonly active_repos_90d: {
|
|
1123
|
+
readonly type: "integer";
|
|
1124
|
+
readonly title: "Active Repos 90D";
|
|
1125
|
+
};
|
|
869
1126
|
readonly total_external_repos: {
|
|
870
1127
|
readonly type: "integer";
|
|
871
1128
|
readonly title: "Total External Repos";
|
|
@@ -878,6 +1135,14 @@ export declare const MetadataResponseSchema: {
|
|
|
878
1135
|
readonly type: "integer";
|
|
879
1136
|
readonly title: "Total Contributor Edges";
|
|
880
1137
|
};
|
|
1138
|
+
readonly active_contributors_30d: {
|
|
1139
|
+
readonly type: "integer";
|
|
1140
|
+
readonly title: "Active Contributors 30D";
|
|
1141
|
+
};
|
|
1142
|
+
readonly active_contributors_90d: {
|
|
1143
|
+
readonly type: "integer";
|
|
1144
|
+
readonly title: "Active Contributors 90D";
|
|
1145
|
+
};
|
|
881
1146
|
readonly last_updated: {
|
|
882
1147
|
readonly anyOf: readonly [{
|
|
883
1148
|
readonly type: "string";
|
|
@@ -889,7 +1154,7 @@ export declare const MetadataResponseSchema: {
|
|
|
889
1154
|
};
|
|
890
1155
|
};
|
|
891
1156
|
readonly type: "object";
|
|
892
|
-
readonly required: readonly ["total_projects", "active_projects", "total_repos", "total_external_repos", "total_dependency_edges", "total_contributor_edges", "last_updated"];
|
|
1157
|
+
readonly required: readonly ["total_projects", "active_projects", "total_repos", "active_repos_90d", "total_external_repos", "total_dependency_edges", "total_contributor_edges", "active_contributors_30d", "active_contributors_90d", "last_updated"];
|
|
893
1158
|
readonly title: "MetadataResponse";
|
|
894
1159
|
readonly description: "Ecosystem-wide summary statistics returned by ``GET /metadata``.";
|
|
895
1160
|
};
|
|
@@ -897,18 +1162,48 @@ export declare const HealthResponseSchema: {
|
|
|
897
1162
|
readonly properties: {
|
|
898
1163
|
readonly status: {
|
|
899
1164
|
readonly type: "string";
|
|
1165
|
+
readonly enum: readonly ["live", "ready"];
|
|
900
1166
|
readonly title: "Status";
|
|
901
1167
|
};
|
|
902
1168
|
readonly version: {
|
|
903
1169
|
readonly type: "string";
|
|
904
1170
|
readonly title: "Version";
|
|
905
1171
|
};
|
|
1172
|
+
readonly components: {
|
|
1173
|
+
readonly $ref: "#/components/schemas/HealthComponents";
|
|
1174
|
+
};
|
|
906
1175
|
};
|
|
907
1176
|
readonly type: "object";
|
|
908
|
-
readonly required: readonly ["status", "version"];
|
|
1177
|
+
readonly required: readonly ["status", "version", "components"];
|
|
909
1178
|
readonly title: "HealthResponse";
|
|
910
1179
|
readonly description: "Response body for GET /health.";
|
|
911
1180
|
};
|
|
1181
|
+
export declare const HealthComponentsSchema: {
|
|
1182
|
+
readonly properties: {
|
|
1183
|
+
readonly artifact_store: {
|
|
1184
|
+
readonly type: "string";
|
|
1185
|
+
readonly enum: readonly ["local", "IPFS"];
|
|
1186
|
+
readonly title: "Artifact Store";
|
|
1187
|
+
};
|
|
1188
|
+
readonly database: {
|
|
1189
|
+
readonly type: "string";
|
|
1190
|
+
readonly enum: readonly ["ready", "not-configured"];
|
|
1191
|
+
readonly title: "Database";
|
|
1192
|
+
};
|
|
1193
|
+
readonly schema_version: {
|
|
1194
|
+
readonly anyOf: readonly [{
|
|
1195
|
+
readonly type: "string";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly type: "null";
|
|
1198
|
+
}];
|
|
1199
|
+
readonly title: "Schema Version";
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
readonly type: "object";
|
|
1203
|
+
readonly required: readonly ["artifact_store", "database", "schema_version"];
|
|
1204
|
+
readonly title: "HealthComponents";
|
|
1205
|
+
readonly description: "Component-level readiness details for GET /health.";
|
|
1206
|
+
};
|
|
912
1207
|
export declare const HTTPValidationErrorSchema: {
|
|
913
1208
|
readonly properties: {
|
|
914
1209
|
readonly detail: {
|
|
@@ -922,6 +1217,75 @@ export declare const HTTPValidationErrorSchema: {
|
|
|
922
1217
|
readonly type: "object";
|
|
923
1218
|
readonly title: "HTTPValidationError";
|
|
924
1219
|
};
|
|
1220
|
+
export declare const GitLogArtifactDetailResponseSchema: {
|
|
1221
|
+
readonly properties: {
|
|
1222
|
+
readonly id: {
|
|
1223
|
+
readonly type: "integer";
|
|
1224
|
+
readonly title: "Id";
|
|
1225
|
+
};
|
|
1226
|
+
readonly repo_id: {
|
|
1227
|
+
readonly type: "integer";
|
|
1228
|
+
readonly title: "Repo Id";
|
|
1229
|
+
};
|
|
1230
|
+
readonly repo_canonical_id: {
|
|
1231
|
+
readonly type: "string";
|
|
1232
|
+
readonly title: "Repo Canonical Id";
|
|
1233
|
+
};
|
|
1234
|
+
readonly repo_display_name: {
|
|
1235
|
+
readonly type: "string";
|
|
1236
|
+
readonly title: "Repo Display Name";
|
|
1237
|
+
};
|
|
1238
|
+
readonly artifact_path: {
|
|
1239
|
+
readonly anyOf: readonly [{
|
|
1240
|
+
readonly type: "string";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly type: "null";
|
|
1243
|
+
}];
|
|
1244
|
+
readonly title: "Artifact Path";
|
|
1245
|
+
};
|
|
1246
|
+
readonly status: {
|
|
1247
|
+
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
1248
|
+
};
|
|
1249
|
+
readonly error_detail: {
|
|
1250
|
+
readonly anyOf: readonly [{
|
|
1251
|
+
readonly type: "string";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly type: "null";
|
|
1254
|
+
}];
|
|
1255
|
+
readonly title: "Error Detail";
|
|
1256
|
+
};
|
|
1257
|
+
readonly since_months: {
|
|
1258
|
+
readonly type: "integer";
|
|
1259
|
+
readonly title: "Since Months";
|
|
1260
|
+
};
|
|
1261
|
+
readonly submitted_at: {
|
|
1262
|
+
readonly type: "string";
|
|
1263
|
+
readonly format: "date-time";
|
|
1264
|
+
readonly title: "Submitted At";
|
|
1265
|
+
};
|
|
1266
|
+
readonly processed_at: {
|
|
1267
|
+
readonly anyOf: readonly [{
|
|
1268
|
+
readonly type: "string";
|
|
1269
|
+
readonly format: "date-time";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly type: "null";
|
|
1272
|
+
}];
|
|
1273
|
+
readonly title: "Processed At";
|
|
1274
|
+
};
|
|
1275
|
+
readonly raw_artifact: {
|
|
1276
|
+
readonly anyOf: readonly [{
|
|
1277
|
+
readonly type: "string";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly type: "null";
|
|
1280
|
+
}];
|
|
1281
|
+
readonly title: "Raw Artifact";
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
readonly type: "object";
|
|
1285
|
+
readonly required: readonly ["id", "repo_id", "repo_canonical_id", "repo_display_name", "artifact_path", "status", "error_detail", "since_months", "submitted_at", "processed_at"];
|
|
1286
|
+
readonly title: "GitLogArtifactDetailResponse";
|
|
1287
|
+
readonly description: "Full gitlog artifact audit record including raw artifact content.";
|
|
1288
|
+
};
|
|
925
1289
|
export declare const ContributorDetailResponseSchema: {
|
|
926
1290
|
readonly properties: {
|
|
927
1291
|
readonly id: {
|