Skip to content

Commit 196a0aa

Browse files
1 parent 2bcc5d6 commit 196a0aa

38 files changed

Lines changed: 5098 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

tasks/vanilla/build/src/fetcher.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/vanilla/build/src/fetcher.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export declare function getJsonLdField(entry: object, pred: string, subPred: string): string | undefined;
2+
export declare function getJsonLdId(entry: object): string | undefined;
3+
export declare function getJsonLdType(entry: object): string | undefined;
4+
export declare function getJsonLdFieldMulti(entry: object, pred: string, subPred: string): string[] | undefined;
5+
export declare function getJsonLdLinkField(entry: object, pred: string): string | undefined;
6+
export declare function getJsonLdStringField(entry: object, pred: string): string | undefined;
7+
export declare function getJsonLdStringFieldMulti(entry: object, pred: string): string[] | undefined;
8+
export declare function getJsonLdDateField(entry: object, pred: string): Date | undefined;

tasks/vanilla/build/src/jsonld.js

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/vanilla/build/src/jsonld.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/vanilla/build/src/main.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './tasks.js';

tasks/vanilla/build/src/main.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/vanilla/build/src/main.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/vanilla/build/src/tasks.d.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
export type InterpretedComment = {
2+
uri: string;
3+
author: string;
4+
created: Date;
5+
text: string;
6+
issueUri: string;
7+
};
8+
export type InterpretedIssue = {
9+
uri: string;
10+
author: string;
11+
title: string;
12+
created: Date;
13+
description: string;
14+
trackerIndexUri: string;
15+
commentUris: string[];
16+
};
17+
export type InterpretedTracker = {
18+
indexUri: string;
19+
stateUri: string;
20+
author: string;
21+
created: Date;
22+
issueClass: string;
23+
initialState: string;
24+
assigneeClass: string;
25+
};
26+
export type Interpretation = {
27+
tracker: InterpretedTracker;
28+
issues: {
29+
[uri: string]: InterpretedIssue;
30+
};
31+
};
32+
export declare function fetchTracker(uri: string, authenticatedFetcher: typeof globalThis.fetch): Promise<Interpretation>;
33+
export declare function addIssue(localState: Interpretation, { title, description }: {
34+
title: string;
35+
description: string;
36+
}, authenticatedFetcher: typeof globalThis.fetch): Promise<string>;
37+
export declare function addComment(localState: Interpretation, { issueUri, author, text, }: {
38+
issueUri: string;
39+
author: string;
40+
text: string;
41+
}, authenticatedFetcher: typeof globalThis.fetch): Promise<string>;

0 commit comments

Comments
 (0)