@pg-atlas/data-sdk 0.4.0 → 0.5.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/README.md +1 -1
- package/dist/generated/client.gen.js +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/schemas.gen.d.ts +326 -6
- package/dist/generated/schemas.gen.js +406 -4
- package/dist/generated/sdk.gen.d.ts +31 -1
- package/dist/generated/sdk.gen.js +30 -0
- package/dist/generated/types.gen.d.ts +448 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ Configure the shared generated client using `client.setConfig(...)`, or create p
|
|
|
54
54
|
|
|
55
55
|
| Attribute | Default | Description |
|
|
56
56
|
| ---------------------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
57
|
-
| `baseUrl` | `https://
|
|
57
|
+
| `baseUrl` | `https://api.pgatlas.xyz` | The root URL of the PG Atlas API. |
|
|
58
58
|
| `Authorization` header | `unset` | Bearer token used for authenticated requests (for example GitHub OIDC JWT on ingest endpoints). |
|
|
59
59
|
|
|
60
60
|
## License
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { createClient, createConfig } from './client';
|
|
3
|
-
export const client = createClient(createConfig({ baseUrl: 'https://
|
|
3
|
+
export const client = createClient(createConfig({ baseUrl: 'https://api.pgatlas.xyz' }));
|
|
@@ -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, 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: {
|
|
@@ -438,11 +438,19 @@ export declare const RepoDetailResponseSchema: {
|
|
|
438
438
|
readonly incoming_dep_counts: {
|
|
439
439
|
readonly $ref: "#/components/schemas/DepCounts";
|
|
440
440
|
};
|
|
441
|
+
readonly active_contributors_30d: {
|
|
442
|
+
readonly type: "integer";
|
|
443
|
+
readonly title: "Active Contributors 30D";
|
|
444
|
+
};
|
|
445
|
+
readonly active_contributors_90d: {
|
|
446
|
+
readonly type: "integer";
|
|
447
|
+
readonly title: "Active Contributors 90D";
|
|
448
|
+
};
|
|
441
449
|
};
|
|
442
450
|
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"];
|
|
451
|
+
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
452
|
readonly title: "RepoDetailResponse";
|
|
445
|
-
readonly description: "Full repo detail with parent project, contributors, releases,
|
|
453
|
+
readonly description: "Full repo detail with parent project, contributors, releases, dependency counts,\nand active contributor stats.";
|
|
446
454
|
};
|
|
447
455
|
export declare const DepCountsSchema: {
|
|
448
456
|
readonly properties: {
|
|
@@ -595,6 +603,40 @@ export declare const EdgeConfidenceSchema: {
|
|
|
595
603
|
readonly title: "EdgeConfidence";
|
|
596
604
|
readonly description: "How firmly an edge was established.";
|
|
597
605
|
};
|
|
606
|
+
export declare const RepoContributorSummarySchema: {
|
|
607
|
+
readonly properties: {
|
|
608
|
+
readonly id: {
|
|
609
|
+
readonly type: "integer";
|
|
610
|
+
readonly title: "Id";
|
|
611
|
+
};
|
|
612
|
+
readonly name: {
|
|
613
|
+
readonly type: "string";
|
|
614
|
+
readonly title: "Name";
|
|
615
|
+
};
|
|
616
|
+
readonly email_hash: {
|
|
617
|
+
readonly type: "string";
|
|
618
|
+
readonly title: "Email Hash";
|
|
619
|
+
};
|
|
620
|
+
readonly number_of_commits: {
|
|
621
|
+
readonly type: "integer";
|
|
622
|
+
readonly title: "Number Of Commits";
|
|
623
|
+
};
|
|
624
|
+
readonly first_commit_date: {
|
|
625
|
+
readonly type: "string";
|
|
626
|
+
readonly format: "date-time";
|
|
627
|
+
readonly title: "First Commit Date";
|
|
628
|
+
};
|
|
629
|
+
readonly last_commit_date: {
|
|
630
|
+
readonly type: "string";
|
|
631
|
+
readonly format: "date-time";
|
|
632
|
+
readonly title: "Last Commit Date";
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
readonly type: "object";
|
|
636
|
+
readonly required: readonly ["id", "name", "email_hash", "number_of_commits", "first_commit_date", "last_commit_date"];
|
|
637
|
+
readonly title: "RepoContributorSummary";
|
|
638
|
+
readonly description: "Contributor summary with commit counts for one repo.";
|
|
639
|
+
};
|
|
598
640
|
export declare const ProjectMetadataSchema: {
|
|
599
641
|
readonly properties: {
|
|
600
642
|
readonly scf_submissions: {
|
|
@@ -776,14 +818,22 @@ export declare const ProjectDetailResponseSchema: {
|
|
|
776
818
|
readonly type: "integer";
|
|
777
819
|
readonly title: "Project Id";
|
|
778
820
|
};
|
|
821
|
+
readonly active_contributors_30d: {
|
|
822
|
+
readonly type: "integer";
|
|
823
|
+
readonly title: "Active Contributors 30D";
|
|
824
|
+
};
|
|
825
|
+
readonly active_contributors_90d: {
|
|
826
|
+
readonly type: "integer";
|
|
827
|
+
readonly title: "Active Contributors 90D";
|
|
828
|
+
};
|
|
779
829
|
readonly metadata: {
|
|
780
830
|
readonly $ref: "#/components/schemas/ProjectMetadata";
|
|
781
831
|
};
|
|
782
832
|
};
|
|
783
833
|
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"];
|
|
834
|
+
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
835
|
readonly title: "ProjectDetailResponse";
|
|
786
|
-
readonly description: "Full project detail including
|
|
836
|
+
readonly description: "Full project detail including contributor stats and metadata.\n\n``metadata`` is the normalised form of the ``project_metadata`` JSONB column.";
|
|
787
837
|
};
|
|
788
838
|
export declare const ProjectDependencySchema: {
|
|
789
839
|
readonly properties: {
|
|
@@ -800,6 +850,30 @@ export declare const ProjectDependencySchema: {
|
|
|
800
850
|
readonly title: "ProjectDependency";
|
|
801
851
|
readonly description: "A collapsed project-level dependency: aggregates repo-level edges\nbetween two projects into a single summary.";
|
|
802
852
|
};
|
|
853
|
+
export declare const ProjectContributorSummarySchema: {
|
|
854
|
+
readonly properties: {
|
|
855
|
+
readonly id: {
|
|
856
|
+
readonly type: "integer";
|
|
857
|
+
readonly title: "Id";
|
|
858
|
+
};
|
|
859
|
+
readonly name: {
|
|
860
|
+
readonly type: "string";
|
|
861
|
+
readonly title: "Name";
|
|
862
|
+
};
|
|
863
|
+
readonly email_hash: {
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
readonly title: "Email Hash";
|
|
866
|
+
};
|
|
867
|
+
readonly total_commits_in_project: {
|
|
868
|
+
readonly type: "integer";
|
|
869
|
+
readonly title: "Total Commits In Project";
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
readonly type: "object";
|
|
873
|
+
readonly required: readonly ["id", "name", "email_hash", "total_commits_in_project"];
|
|
874
|
+
readonly title: "ProjectContributorSummary";
|
|
875
|
+
readonly description: "Contributor summary aggregated across all repos in a project.";
|
|
876
|
+
};
|
|
803
877
|
export declare const PaginatedResponse_RepoSummary_Schema: {
|
|
804
878
|
readonly properties: {
|
|
805
879
|
readonly items: {
|
|
@@ -826,6 +900,32 @@ export declare const PaginatedResponse_RepoSummary_Schema: {
|
|
|
826
900
|
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
827
901
|
readonly title: "PaginatedResponse[RepoSummary]";
|
|
828
902
|
};
|
|
903
|
+
export declare const PaginatedResponse_RepoContributorSummary_Schema: {
|
|
904
|
+
readonly properties: {
|
|
905
|
+
readonly items: {
|
|
906
|
+
readonly items: {
|
|
907
|
+
readonly $ref: "#/components/schemas/RepoContributorSummary";
|
|
908
|
+
};
|
|
909
|
+
readonly type: "array";
|
|
910
|
+
readonly title: "Items";
|
|
911
|
+
};
|
|
912
|
+
readonly total: {
|
|
913
|
+
readonly type: "integer";
|
|
914
|
+
readonly title: "Total";
|
|
915
|
+
};
|
|
916
|
+
readonly limit: {
|
|
917
|
+
readonly type: "integer";
|
|
918
|
+
readonly title: "Limit";
|
|
919
|
+
};
|
|
920
|
+
readonly offset: {
|
|
921
|
+
readonly type: "integer";
|
|
922
|
+
readonly title: "Offset";
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
readonly type: "object";
|
|
926
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
927
|
+
readonly title: "PaginatedResponse[RepoContributorSummary]";
|
|
928
|
+
};
|
|
829
929
|
export declare const PaginatedResponse_ProjectSummary_Schema: {
|
|
830
930
|
readonly properties: {
|
|
831
931
|
readonly items: {
|
|
@@ -852,6 +952,145 @@ export declare const PaginatedResponse_ProjectSummary_Schema: {
|
|
|
852
952
|
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
853
953
|
readonly title: "PaginatedResponse[ProjectSummary]";
|
|
854
954
|
};
|
|
955
|
+
export declare const PaginatedResponse_ProjectContributorSummary_Schema: {
|
|
956
|
+
readonly properties: {
|
|
957
|
+
readonly items: {
|
|
958
|
+
readonly items: {
|
|
959
|
+
readonly $ref: "#/components/schemas/ProjectContributorSummary";
|
|
960
|
+
};
|
|
961
|
+
readonly type: "array";
|
|
962
|
+
readonly title: "Items";
|
|
963
|
+
};
|
|
964
|
+
readonly total: {
|
|
965
|
+
readonly type: "integer";
|
|
966
|
+
readonly title: "Total";
|
|
967
|
+
};
|
|
968
|
+
readonly limit: {
|
|
969
|
+
readonly type: "integer";
|
|
970
|
+
readonly title: "Limit";
|
|
971
|
+
};
|
|
972
|
+
readonly offset: {
|
|
973
|
+
readonly type: "integer";
|
|
974
|
+
readonly title: "Offset";
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly type: "object";
|
|
978
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
979
|
+
readonly title: "PaginatedResponse[ProjectContributorSummary]";
|
|
980
|
+
};
|
|
981
|
+
export declare const PaginatedResponse_GitLogArtifactSummary_Schema: {
|
|
982
|
+
readonly properties: {
|
|
983
|
+
readonly items: {
|
|
984
|
+
readonly items: {
|
|
985
|
+
readonly $ref: "#/components/schemas/GitLogArtifactSummary";
|
|
986
|
+
};
|
|
987
|
+
readonly type: "array";
|
|
988
|
+
readonly title: "Items";
|
|
989
|
+
};
|
|
990
|
+
readonly total: {
|
|
991
|
+
readonly type: "integer";
|
|
992
|
+
readonly title: "Total";
|
|
993
|
+
};
|
|
994
|
+
readonly limit: {
|
|
995
|
+
readonly type: "integer";
|
|
996
|
+
readonly title: "Limit";
|
|
997
|
+
};
|
|
998
|
+
readonly offset: {
|
|
999
|
+
readonly type: "integer";
|
|
1000
|
+
readonly title: "Offset";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
readonly type: "object";
|
|
1004
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
1005
|
+
readonly title: "PaginatedResponse[GitLogArtifactSummary]";
|
|
1006
|
+
};
|
|
1007
|
+
export declare const GitLogArtifactSummarySchema: {
|
|
1008
|
+
readonly properties: {
|
|
1009
|
+
readonly id: {
|
|
1010
|
+
readonly type: "integer";
|
|
1011
|
+
readonly title: "Id";
|
|
1012
|
+
};
|
|
1013
|
+
readonly repo_id: {
|
|
1014
|
+
readonly type: "integer";
|
|
1015
|
+
readonly title: "Repo Id";
|
|
1016
|
+
};
|
|
1017
|
+
readonly repo_canonical_id: {
|
|
1018
|
+
readonly type: "string";
|
|
1019
|
+
readonly title: "Repo Canonical Id";
|
|
1020
|
+
};
|
|
1021
|
+
readonly repo_display_name: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
readonly title: "Repo Display Name";
|
|
1024
|
+
};
|
|
1025
|
+
readonly artifact_path: {
|
|
1026
|
+
readonly anyOf: readonly [{
|
|
1027
|
+
readonly type: "string";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly type: "null";
|
|
1030
|
+
}];
|
|
1031
|
+
readonly title: "Artifact Path";
|
|
1032
|
+
};
|
|
1033
|
+
readonly status: {
|
|
1034
|
+
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
1035
|
+
};
|
|
1036
|
+
readonly error_detail: {
|
|
1037
|
+
readonly anyOf: readonly [{
|
|
1038
|
+
readonly type: "string";
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly type: "null";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly title: "Error Detail";
|
|
1043
|
+
};
|
|
1044
|
+
readonly since_months: {
|
|
1045
|
+
readonly type: "integer";
|
|
1046
|
+
readonly title: "Since Months";
|
|
1047
|
+
};
|
|
1048
|
+
readonly submitted_at: {
|
|
1049
|
+
readonly type: "string";
|
|
1050
|
+
readonly format: "date-time";
|
|
1051
|
+
readonly title: "Submitted At";
|
|
1052
|
+
};
|
|
1053
|
+
readonly processed_at: {
|
|
1054
|
+
readonly anyOf: readonly [{
|
|
1055
|
+
readonly type: "string";
|
|
1056
|
+
readonly format: "date-time";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly type: "null";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly title: "Processed At";
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
readonly type: "object";
|
|
1064
|
+
readonly required: readonly ["id", "repo_id", "repo_canonical_id", "repo_display_name", "artifact_path", "status", "error_detail", "since_months", "submitted_at", "processed_at"];
|
|
1065
|
+
readonly title: "GitLogArtifactSummary";
|
|
1066
|
+
readonly description: "Compact gitlog artifact audit record for list endpoints.";
|
|
1067
|
+
};
|
|
1068
|
+
export declare const PaginatedResponse_ContributorSummary_Schema: {
|
|
1069
|
+
readonly properties: {
|
|
1070
|
+
readonly items: {
|
|
1071
|
+
readonly items: {
|
|
1072
|
+
readonly $ref: "#/components/schemas/ContributorSummary";
|
|
1073
|
+
};
|
|
1074
|
+
readonly type: "array";
|
|
1075
|
+
readonly title: "Items";
|
|
1076
|
+
};
|
|
1077
|
+
readonly total: {
|
|
1078
|
+
readonly type: "integer";
|
|
1079
|
+
readonly title: "Total";
|
|
1080
|
+
};
|
|
1081
|
+
readonly limit: {
|
|
1082
|
+
readonly type: "integer";
|
|
1083
|
+
readonly title: "Limit";
|
|
1084
|
+
};
|
|
1085
|
+
readonly offset: {
|
|
1086
|
+
readonly type: "integer";
|
|
1087
|
+
readonly title: "Offset";
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
readonly type: "object";
|
|
1091
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
1092
|
+
readonly title: "PaginatedResponse[ContributorSummary]";
|
|
1093
|
+
};
|
|
855
1094
|
export declare const MetadataResponseSchema: {
|
|
856
1095
|
readonly properties: {
|
|
857
1096
|
readonly total_projects: {
|
|
@@ -866,6 +1105,10 @@ export declare const MetadataResponseSchema: {
|
|
|
866
1105
|
readonly type: "integer";
|
|
867
1106
|
readonly title: "Total Repos";
|
|
868
1107
|
};
|
|
1108
|
+
readonly active_repos_90d: {
|
|
1109
|
+
readonly type: "integer";
|
|
1110
|
+
readonly title: "Active Repos 90D";
|
|
1111
|
+
};
|
|
869
1112
|
readonly total_external_repos: {
|
|
870
1113
|
readonly type: "integer";
|
|
871
1114
|
readonly title: "Total External Repos";
|
|
@@ -878,6 +1121,14 @@ export declare const MetadataResponseSchema: {
|
|
|
878
1121
|
readonly type: "integer";
|
|
879
1122
|
readonly title: "Total Contributor Edges";
|
|
880
1123
|
};
|
|
1124
|
+
readonly active_contributors_30d: {
|
|
1125
|
+
readonly type: "integer";
|
|
1126
|
+
readonly title: "Active Contributors 30D";
|
|
1127
|
+
};
|
|
1128
|
+
readonly active_contributors_90d: {
|
|
1129
|
+
readonly type: "integer";
|
|
1130
|
+
readonly title: "Active Contributors 90D";
|
|
1131
|
+
};
|
|
881
1132
|
readonly last_updated: {
|
|
882
1133
|
readonly anyOf: readonly [{
|
|
883
1134
|
readonly type: "string";
|
|
@@ -889,7 +1140,7 @@ export declare const MetadataResponseSchema: {
|
|
|
889
1140
|
};
|
|
890
1141
|
};
|
|
891
1142
|
readonly type: "object";
|
|
892
|
-
readonly required: readonly ["total_projects", "active_projects", "total_repos", "total_external_repos", "total_dependency_edges", "total_contributor_edges", "last_updated"];
|
|
1143
|
+
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
1144
|
readonly title: "MetadataResponse";
|
|
894
1145
|
readonly description: "Ecosystem-wide summary statistics returned by ``GET /metadata``.";
|
|
895
1146
|
};
|
|
@@ -922,6 +1173,75 @@ export declare const HTTPValidationErrorSchema: {
|
|
|
922
1173
|
readonly type: "object";
|
|
923
1174
|
readonly title: "HTTPValidationError";
|
|
924
1175
|
};
|
|
1176
|
+
export declare const GitLogArtifactDetailResponseSchema: {
|
|
1177
|
+
readonly properties: {
|
|
1178
|
+
readonly id: {
|
|
1179
|
+
readonly type: "integer";
|
|
1180
|
+
readonly title: "Id";
|
|
1181
|
+
};
|
|
1182
|
+
readonly repo_id: {
|
|
1183
|
+
readonly type: "integer";
|
|
1184
|
+
readonly title: "Repo Id";
|
|
1185
|
+
};
|
|
1186
|
+
readonly repo_canonical_id: {
|
|
1187
|
+
readonly type: "string";
|
|
1188
|
+
readonly title: "Repo Canonical Id";
|
|
1189
|
+
};
|
|
1190
|
+
readonly repo_display_name: {
|
|
1191
|
+
readonly type: "string";
|
|
1192
|
+
readonly title: "Repo Display Name";
|
|
1193
|
+
};
|
|
1194
|
+
readonly artifact_path: {
|
|
1195
|
+
readonly anyOf: readonly [{
|
|
1196
|
+
readonly type: "string";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly type: "null";
|
|
1199
|
+
}];
|
|
1200
|
+
readonly title: "Artifact Path";
|
|
1201
|
+
};
|
|
1202
|
+
readonly status: {
|
|
1203
|
+
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
1204
|
+
};
|
|
1205
|
+
readonly error_detail: {
|
|
1206
|
+
readonly anyOf: readonly [{
|
|
1207
|
+
readonly type: "string";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly type: "null";
|
|
1210
|
+
}];
|
|
1211
|
+
readonly title: "Error Detail";
|
|
1212
|
+
};
|
|
1213
|
+
readonly since_months: {
|
|
1214
|
+
readonly type: "integer";
|
|
1215
|
+
readonly title: "Since Months";
|
|
1216
|
+
};
|
|
1217
|
+
readonly submitted_at: {
|
|
1218
|
+
readonly type: "string";
|
|
1219
|
+
readonly format: "date-time";
|
|
1220
|
+
readonly title: "Submitted At";
|
|
1221
|
+
};
|
|
1222
|
+
readonly processed_at: {
|
|
1223
|
+
readonly anyOf: readonly [{
|
|
1224
|
+
readonly type: "string";
|
|
1225
|
+
readonly format: "date-time";
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly type: "null";
|
|
1228
|
+
}];
|
|
1229
|
+
readonly title: "Processed At";
|
|
1230
|
+
};
|
|
1231
|
+
readonly raw_artifact: {
|
|
1232
|
+
readonly anyOf: readonly [{
|
|
1233
|
+
readonly type: "string";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly type: "null";
|
|
1236
|
+
}];
|
|
1237
|
+
readonly title: "Raw Artifact";
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
readonly type: "object";
|
|
1241
|
+
readonly required: readonly ["id", "repo_id", "repo_canonical_id", "repo_display_name", "artifact_path", "status", "error_detail", "since_months", "submitted_at", "processed_at"];
|
|
1242
|
+
readonly title: "GitLogArtifactDetailResponse";
|
|
1243
|
+
readonly description: "Full gitlog artifact audit record including raw artifact content.";
|
|
1244
|
+
};
|
|
925
1245
|
export declare const ContributorDetailResponseSchema: {
|
|
926
1246
|
readonly properties: {
|
|
927
1247
|
readonly id: {
|