@nl-design-system/component-progress 1.0.1-alpha.81 → 1.0.1-alpha.83

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.
@@ -0,0 +1,35 @@
1
+ export interface ProjectFieldValue {
2
+ field: {
3
+ dataType: string;
4
+ name: string;
5
+ id: number;
6
+ };
7
+ value?: string;
8
+ color?: string;
9
+ }
10
+ export interface ProjectItem {
11
+ project: {
12
+ title: string;
13
+ number: number;
14
+ url: string;
15
+ };
16
+ fieldValues: {
17
+ nodes: ProjectFieldValue[];
18
+ };
19
+ }
20
+ export interface ComponentIssue {
21
+ title: string;
22
+ backlog: string;
23
+ number: number;
24
+ projectItems: {
25
+ nodes: ProjectItem[];
26
+ };
27
+ }
28
+ export interface ComponentProgress {
29
+ repository: {
30
+ issues: {
31
+ nodes: ComponentIssue[];
32
+ };
33
+ };
34
+ }
35
+ export declare const getComponentIssues: () => Promise<ComponentIssue[]>;
@@ -0,0 +1,27 @@
1
+ export interface ProjectV2FieldCommon {
2
+ dataType: string;
3
+ name: string;
4
+ id: string;
5
+ }
6
+ export interface Project {
7
+ number: number;
8
+ title: string;
9
+ shortDescription: string;
10
+ url: string;
11
+ updatedAt: string;
12
+ views: {
13
+ nodes: {
14
+ fields: {
15
+ nodes: ProjectV2FieldCommon[];
16
+ };
17
+ }[];
18
+ };
19
+ }
20
+ export interface ProjectResponse {
21
+ organization: {
22
+ projectsV2: {
23
+ nodes: Project[];
24
+ };
25
+ };
26
+ }
27
+ export declare const getProjects: () => Promise<Project[]>;
@@ -0,0 +1,2 @@
1
+ import { Octokit } from '@octokit/core';
2
+ export declare const graphqlWithAuth: () => Octokit & import("@octokit/plugin-paginate-graphql").paginateGraphQLInterface;
@@ -0,0 +1,3 @@
1
+ export * from './graphqlWithAuth.js';
2
+ export * from './getProjects.js';
3
+ export * from './getComponentIssues.js';
@@ -0,0 +1 @@
1
+ export {};