mirror of
https://github.com/opf/openproject.git
synced 2026-06-16 12:35:55 +00:00
17 lines
580 B
TypeScript
17 lines
580 B
TypeScript
import { EntityStore, StoreConfig } from '@datorama/akita';
|
|
import { IGithubPullRequest } from 'core-app/features/plugins/linked/openproject-github_integration/state/github-pull-request.model';
|
|
import {
|
|
createInitialResourceState,
|
|
ResourceState,
|
|
} from 'core-app/core/state/resource-store';
|
|
|
|
export interface GithubPullRequestsState extends ResourceState<IGithubPullRequest> {
|
|
}
|
|
|
|
@StoreConfig({ name: 'github-pull-requests' })
|
|
export class GithubPullRequestsStore extends EntityStore<GithubPullRequestsState> {
|
|
constructor() {
|
|
super(createInitialResourceState());
|
|
}
|
|
}
|