graphlit-client 1.0.20250930003 → 1.0.20251002001
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/dist/client.d.ts
CHANGED
|
@@ -205,6 +205,7 @@ declare class Graphlit {
|
|
|
205
205
|
queryDiscordChannels(properties: Types.DiscordChannelsInput): Promise<Types.QueryDiscordChannelsQuery>;
|
|
206
206
|
querySlackChannels(properties: Types.SlackChannelsInput): Promise<Types.QuerySlackChannelsQuery>;
|
|
207
207
|
queryLinearProjects(properties: Types.LinearProjectsInput): Promise<Types.QueryLinearProjectsQuery>;
|
|
208
|
+
queryGitHubRepositories(properties: Types.GitHubRepositoriesInput, sortBy?: Types.GitHubRepositorySortTypes): Promise<Types.QueryGitHubRepositoriesQuery>;
|
|
208
209
|
queryNotionDatabases(properties: Types.NotionDatabasesInput): Promise<Types.QueryNotionDatabasesQuery>;
|
|
209
210
|
queryNotionPages(properties: Types.NotionPagesInput, identifier: string): Promise<Types.QueryNotionPagesQuery>;
|
|
210
211
|
createFeed(feed: Types.FeedInput, correlationId?: string): Promise<Types.CreateFeedMutation>;
|
package/dist/client.js
CHANGED
|
@@ -1003,6 +1003,12 @@ class Graphlit {
|
|
|
1003
1003
|
async queryLinearProjects(properties) {
|
|
1004
1004
|
return this.queryAndCheckError(Documents.QueryLinearProjects, { properties: properties });
|
|
1005
1005
|
}
|
|
1006
|
+
async queryGitHubRepositories(properties, sortBy) {
|
|
1007
|
+
return this.queryAndCheckError(Documents.QueryGitHubRepositories, {
|
|
1008
|
+
properties: properties,
|
|
1009
|
+
sortBy: sortBy,
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
1006
1012
|
async queryNotionDatabases(properties) {
|
|
1007
1013
|
return this.queryAndCheckError(Documents.QueryNotionDatabases, { properties: properties });
|
|
1008
1014
|
}
|
|
@@ -111,6 +111,7 @@ export declare const QueryDiscordChannels: import("graphql").DocumentNode;
|
|
|
111
111
|
export declare const QueryDiscordGuilds: import("graphql").DocumentNode;
|
|
112
112
|
export declare const QueryDropboxFolders: import("graphql").DocumentNode;
|
|
113
113
|
export declare const QueryFeeds: import("graphql").DocumentNode;
|
|
114
|
+
export declare const QueryGitHubRepositories: import("graphql").DocumentNode;
|
|
114
115
|
export declare const QueryGoogleCalendars: import("graphql").DocumentNode;
|
|
115
116
|
export declare const QueryGoogleDriveFolders: import("graphql").DocumentNode;
|
|
116
117
|
export declare const QueryLinearProjects: import("graphql").DocumentNode;
|
|
@@ -7160,6 +7160,25 @@ export const QueryFeeds = gql `
|
|
|
7160
7160
|
}
|
|
7161
7161
|
}
|
|
7162
7162
|
`;
|
|
7163
|
+
export const QueryGitHubRepositories = gql `
|
|
7164
|
+
query QueryGitHubRepositories($properties: GitHubRepositoriesInput!, $sortBy: GitHubRepositorySortTypes) {
|
|
7165
|
+
gitHubRepositories(properties: $properties, sortBy: $sortBy) {
|
|
7166
|
+
results {
|
|
7167
|
+
repositoryOwner
|
|
7168
|
+
repositoryName
|
|
7169
|
+
repositoryFullName
|
|
7170
|
+
description
|
|
7171
|
+
isPrivate
|
|
7172
|
+
stargazersCount
|
|
7173
|
+
forksCount
|
|
7174
|
+
pushedAt
|
|
7175
|
+
createdAt
|
|
7176
|
+
isOwner
|
|
7177
|
+
language
|
|
7178
|
+
}
|
|
7179
|
+
}
|
|
7180
|
+
}
|
|
7181
|
+
`;
|
|
7163
7182
|
export const QueryGoogleCalendars = gql `
|
|
7164
7183
|
query QueryGoogleCalendars($properties: GoogleCalendarsInput!) {
|
|
7165
7184
|
googleCalendars(properties: $properties) {
|
|
@@ -4869,6 +4869,58 @@ export type GitHubIssuesFeedPropertiesUpdateInput = {
|
|
|
4869
4869
|
/** GitHub Enterprise URI, optional. */
|
|
4870
4870
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
|
4871
4871
|
};
|
|
4872
|
+
/** Represents GitHub repositories properties. */
|
|
4873
|
+
export type GitHubRepositoriesInput = {
|
|
4874
|
+
/** GitHub authentication type. */
|
|
4875
|
+
authenticationType: GitHubAuthenticationTypes;
|
|
4876
|
+
/** Authentication identifier, for Connector authentication type. */
|
|
4877
|
+
authorizationId?: InputMaybe<Scalars['String']['input']>;
|
|
4878
|
+
/** GitHub personal access token, requires PersonalAccessToken authentication type. */
|
|
4879
|
+
personalAccessToken?: InputMaybe<Scalars['String']['input']>;
|
|
4880
|
+
/** GitHub OAuth refresh token, requires OAuth authentication type. */
|
|
4881
|
+
refreshToken?: InputMaybe<Scalars['String']['input']>;
|
|
4882
|
+
/** GitHub API URI, optional. Defaults to https://api.github.com/. */
|
|
4883
|
+
uri?: InputMaybe<Scalars['String']['input']>;
|
|
4884
|
+
};
|
|
4885
|
+
/** Represents a GitHub repository. */
|
|
4886
|
+
export type GitHubRepositoryResult = {
|
|
4887
|
+
__typename?: 'GitHubRepositoryResult';
|
|
4888
|
+
/** The date the repository was created. */
|
|
4889
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4890
|
+
/** The repository description. */
|
|
4891
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
4892
|
+
/** The number of forks the repository has. */
|
|
4893
|
+
forksCount?: Maybe<Scalars['Int']['output']>;
|
|
4894
|
+
/** Whether the authenticated user is the owner of the repository. */
|
|
4895
|
+
isOwner?: Maybe<Scalars['Boolean']['output']>;
|
|
4896
|
+
/** Whether the repository is private. */
|
|
4897
|
+
isPrivate?: Maybe<Scalars['Boolean']['output']>;
|
|
4898
|
+
/** The primary programming language of the repository. */
|
|
4899
|
+
language?: Maybe<Scalars['String']['output']>;
|
|
4900
|
+
/** The last time the repository was pushed to. */
|
|
4901
|
+
pushedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4902
|
+
/** The repository full name (e.g., 'owner/repo'). */
|
|
4903
|
+
repositoryFullName?: Maybe<Scalars['String']['output']>;
|
|
4904
|
+
/** The repository name. */
|
|
4905
|
+
repositoryName?: Maybe<Scalars['String']['output']>;
|
|
4906
|
+
/** The repository owner/organization name. */
|
|
4907
|
+
repositoryOwner?: Maybe<Scalars['String']['output']>;
|
|
4908
|
+
/** The number of stars the repository has. */
|
|
4909
|
+
stargazersCount?: Maybe<Scalars['Int']['output']>;
|
|
4910
|
+
};
|
|
4911
|
+
/** Represents GitHub repositories. */
|
|
4912
|
+
export type GitHubRepositoryResults = {
|
|
4913
|
+
__typename?: 'GitHubRepositoryResults';
|
|
4914
|
+
/** The GitHub repositories. */
|
|
4915
|
+
results?: Maybe<Array<Maybe<GitHubRepositoryResult>>>;
|
|
4916
|
+
};
|
|
4917
|
+
/** GitHub repository sort type */
|
|
4918
|
+
export declare enum GitHubRepositorySortTypes {
|
|
4919
|
+
/** Sort alphabetically by repository name */
|
|
4920
|
+
Alphabetical = "ALPHABETICAL",
|
|
4921
|
+
/** Sort by activity ranking (stars, recency, ownership) */
|
|
4922
|
+
Ranked = "RANKED"
|
|
4923
|
+
}
|
|
4872
4924
|
/** Represents Google authentication properties. */
|
|
4873
4925
|
export type GoogleAuthenticationProperties = {
|
|
4874
4926
|
__typename?: 'GoogleAuthenticationProperties';
|
|
@@ -12258,6 +12310,8 @@ export type Query = {
|
|
|
12258
12310
|
feedExists?: Maybe<BooleanResult>;
|
|
12259
12311
|
/** Retrieves feeds based on the provided filter criteria. */
|
|
12260
12312
|
feeds?: Maybe<FeedResults>;
|
|
12313
|
+
/** Retrieves available GitHub repositories for the authenticated user. */
|
|
12314
|
+
gitHubRepositories?: Maybe<GitHubRepositoryResults>;
|
|
12261
12315
|
/** Retrieves available Google calendars. */
|
|
12262
12316
|
googleCalendars?: Maybe<CalendarResults>;
|
|
12263
12317
|
/** Retrieves available Google Drive folders. */
|
|
@@ -12619,6 +12673,10 @@ export type QueryFeedsArgs = {
|
|
|
12619
12673
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
12620
12674
|
filter?: InputMaybe<FeedFilter>;
|
|
12621
12675
|
};
|
|
12676
|
+
export type QueryGitHubRepositoriesArgs = {
|
|
12677
|
+
properties: GitHubRepositoriesInput;
|
|
12678
|
+
sortBy?: InputMaybe<GitHubRepositorySortTypes>;
|
|
12679
|
+
};
|
|
12622
12680
|
export type QueryGoogleCalendarsArgs = {
|
|
12623
12681
|
properties: GoogleCalendarsInput;
|
|
12624
12682
|
};
|
|
@@ -13509,6 +13567,8 @@ export declare enum SearchQueryTypes {
|
|
|
13509
13567
|
export declare enum SearchServiceTypes {
|
|
13510
13568
|
/** Exa search feed service */
|
|
13511
13569
|
Exa = "EXA",
|
|
13570
|
+
/** Exa Code context search service */
|
|
13571
|
+
ExaCode = "EXA_CODE",
|
|
13512
13572
|
/** Podscan search feed service */
|
|
13513
13573
|
Podscan = "PODSCAN",
|
|
13514
13574
|
/** Tavily search feed service */
|
|
@@ -15039,7 +15099,7 @@ export type WebSearchResult = {
|
|
|
15039
15099
|
/** The content title. */
|
|
15040
15100
|
title?: Maybe<Scalars['String']['output']>;
|
|
15041
15101
|
/** The web search result URI, may be a web page or podcast episode. */
|
|
15042
|
-
uri
|
|
15102
|
+
uri?: Maybe<Scalars['URL']['output']>;
|
|
15043
15103
|
};
|
|
15044
15104
|
/** Represents web search results. */
|
|
15045
15105
|
export type WebSearchResults = {
|
|
@@ -23542,6 +23602,30 @@ export type QueryFeedsQuery = {
|
|
|
23542
23602
|
}> | null;
|
|
23543
23603
|
} | null;
|
|
23544
23604
|
};
|
|
23605
|
+
export type QueryGitHubRepositoriesQueryVariables = Exact<{
|
|
23606
|
+
properties: GitHubRepositoriesInput;
|
|
23607
|
+
sortBy?: InputMaybe<GitHubRepositorySortTypes>;
|
|
23608
|
+
}>;
|
|
23609
|
+
export type QueryGitHubRepositoriesQuery = {
|
|
23610
|
+
__typename?: 'Query';
|
|
23611
|
+
gitHubRepositories?: {
|
|
23612
|
+
__typename?: 'GitHubRepositoryResults';
|
|
23613
|
+
results?: Array<{
|
|
23614
|
+
__typename?: 'GitHubRepositoryResult';
|
|
23615
|
+
repositoryOwner?: string | null;
|
|
23616
|
+
repositoryName?: string | null;
|
|
23617
|
+
repositoryFullName?: string | null;
|
|
23618
|
+
description?: string | null;
|
|
23619
|
+
isPrivate?: boolean | null;
|
|
23620
|
+
stargazersCount?: number | null;
|
|
23621
|
+
forksCount?: number | null;
|
|
23622
|
+
pushedAt?: any | null;
|
|
23623
|
+
createdAt?: any | null;
|
|
23624
|
+
isOwner?: boolean | null;
|
|
23625
|
+
language?: string | null;
|
|
23626
|
+
} | null> | null;
|
|
23627
|
+
} | null;
|
|
23628
|
+
};
|
|
23545
23629
|
export type QueryGoogleCalendarsQueryVariables = Exact<{
|
|
23546
23630
|
properties: GoogleCalendarsInput;
|
|
23547
23631
|
}>;
|
|
@@ -26028,7 +26112,7 @@ export type SearchWebQuery = {
|
|
|
26028
26112
|
__typename?: 'WebSearchResults';
|
|
26029
26113
|
results?: Array<{
|
|
26030
26114
|
__typename?: 'WebSearchResult';
|
|
26031
|
-
uri
|
|
26115
|
+
uri?: any | null;
|
|
26032
26116
|
text?: string | null;
|
|
26033
26117
|
title?: string | null;
|
|
26034
26118
|
score?: number | null;
|
|
@@ -1033,6 +1033,14 @@ export var GitHubIssueAuthenticationTypes;
|
|
|
1033
1033
|
GitHubIssueAuthenticationTypes["OAuth"] = "O_AUTH";
|
|
1034
1034
|
GitHubIssueAuthenticationTypes["PersonalAccessToken"] = "PERSONAL_ACCESS_TOKEN";
|
|
1035
1035
|
})(GitHubIssueAuthenticationTypes || (GitHubIssueAuthenticationTypes = {}));
|
|
1036
|
+
/** GitHub repository sort type */
|
|
1037
|
+
export var GitHubRepositorySortTypes;
|
|
1038
|
+
(function (GitHubRepositorySortTypes) {
|
|
1039
|
+
/** Sort alphabetically by repository name */
|
|
1040
|
+
GitHubRepositorySortTypes["Alphabetical"] = "ALPHABETICAL";
|
|
1041
|
+
/** Sort by activity ranking (stars, recency, ownership) */
|
|
1042
|
+
GitHubRepositorySortTypes["Ranked"] = "RANKED";
|
|
1043
|
+
})(GitHubRepositorySortTypes || (GitHubRepositorySortTypes = {}));
|
|
1036
1044
|
export var GoogleCalendarAuthenticationTypes;
|
|
1037
1045
|
(function (GoogleCalendarAuthenticationTypes) {
|
|
1038
1046
|
GoogleCalendarAuthenticationTypes["Connector"] = "CONNECTOR";
|
|
@@ -2042,6 +2050,8 @@ export var SearchServiceTypes;
|
|
|
2042
2050
|
(function (SearchServiceTypes) {
|
|
2043
2051
|
/** Exa search feed service */
|
|
2044
2052
|
SearchServiceTypes["Exa"] = "EXA";
|
|
2053
|
+
/** Exa Code context search service */
|
|
2054
|
+
SearchServiceTypes["ExaCode"] = "EXA_CODE";
|
|
2045
2055
|
/** Podscan search feed service */
|
|
2046
2056
|
SearchServiceTypes["Podscan"] = "PODSCAN";
|
|
2047
2057
|
/** Tavily search feed service */
|