feat(gitea): add domain model classes, helpers, and refactor GiteaClient internals; expand README with usage and docs
This commit is contained in:
24
ts/index.ts
24
ts/index.ts
@@ -1,4 +1,26 @@
|
||||
// Main client
|
||||
export { GiteaClient } from './gitea.classes.giteaclient.js';
|
||||
|
||||
// Domain classes
|
||||
export { GiteaOrganization } from './gitea.classes.organization.js';
|
||||
export { GiteaRepository } from './gitea.classes.repository.js';
|
||||
export { GiteaActionRun } from './gitea.classes.actionrun.js';
|
||||
export { GiteaActionRunJob, GiteaActionRunJobStep } from './gitea.classes.actionrunjob.js';
|
||||
export { GiteaBranch } from './gitea.classes.branch.js';
|
||||
export { GiteaTag } from './gitea.classes.tag.js';
|
||||
export { GiteaSecret } from './gitea.classes.secret.js';
|
||||
|
||||
// Helpers
|
||||
export {
|
||||
autoPaginate,
|
||||
computeDuration,
|
||||
resolveGiteaStatus,
|
||||
extractRefFromPath,
|
||||
extractWorkflowIdFromPath,
|
||||
toGiteaApiStatus,
|
||||
} from './gitea.helpers.js';
|
||||
|
||||
// Interfaces (raw API types)
|
||||
export type {
|
||||
IGiteaUser,
|
||||
IGiteaRepository,
|
||||
@@ -13,4 +35,6 @@ export type {
|
||||
IListOptions,
|
||||
IActionRunListOptions,
|
||||
} from './gitea.interfaces.js';
|
||||
|
||||
// Commit info
|
||||
export { commitinfo } from './00_commitinfo_data.js';
|
||||
|
||||
Reference in New Issue
Block a user