graphlit-client 1.0.20250930002 → 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;
|
|
@@ -6606,7 +6606,6 @@ export const GetFeed = gql `
|
|
|
6606
6606
|
appKey
|
|
6607
6607
|
appSecret
|
|
6608
6608
|
refreshToken
|
|
6609
|
-
redirectUri
|
|
6610
6609
|
}
|
|
6611
6610
|
box {
|
|
6612
6611
|
authenticationType
|
|
@@ -6951,7 +6950,6 @@ export const QueryFeeds = gql `
|
|
|
6951
6950
|
appKey
|
|
6952
6951
|
appSecret
|
|
6953
6952
|
refreshToken
|
|
6954
|
-
redirectUri
|
|
6955
6953
|
}
|
|
6956
6954
|
box {
|
|
6957
6955
|
authenticationType
|
|
@@ -7162,6 +7160,25 @@ export const QueryFeeds = gql `
|
|
|
7162
7160
|
}
|
|
7163
7161
|
}
|
|
7164
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
|
+
`;
|
|
7165
7182
|
export const QueryGoogleCalendars = gql `
|
|
7166
7183
|
query QueryGoogleCalendars($properties: GoogleCalendarsInput!) {
|
|
7167
7184
|
googleCalendars(properties: $properties) {
|
|
@@ -3366,7 +3366,10 @@ export type DropboxFeedProperties = {
|
|
|
3366
3366
|
authenticationType?: Maybe<DropboxAuthenticationTypes>;
|
|
3367
3367
|
/** Dropbox folder path. */
|
|
3368
3368
|
path?: Maybe<Scalars['ID']['output']>;
|
|
3369
|
-
/**
|
|
3369
|
+
/**
|
|
3370
|
+
* Dropbox redirect URI.
|
|
3371
|
+
* @deprecated No longer required. Will be removed in future.
|
|
3372
|
+
*/
|
|
3370
3373
|
redirectUri?: Maybe<Scalars['String']['output']>;
|
|
3371
3374
|
/** Dropbox refresh token. */
|
|
3372
3375
|
refreshToken?: Maybe<Scalars['String']['output']>;
|
|
@@ -3381,8 +3384,6 @@ export type DropboxFeedPropertiesInput = {
|
|
|
3381
3384
|
authenticationType?: InputMaybe<DropboxAuthenticationTypes>;
|
|
3382
3385
|
/** Dropbox folder path. */
|
|
3383
3386
|
path?: InputMaybe<Scalars['ID']['input']>;
|
|
3384
|
-
/** Dropbox redirect URI. */
|
|
3385
|
-
redirectUri?: InputMaybe<Scalars['String']['input']>;
|
|
3386
3387
|
/** Dropbox refresh token. */
|
|
3387
3388
|
refreshToken?: InputMaybe<Scalars['String']['input']>;
|
|
3388
3389
|
};
|
|
@@ -3396,8 +3397,6 @@ export type DropboxFeedPropertiesUpdateInput = {
|
|
|
3396
3397
|
authenticationType?: InputMaybe<DropboxAuthenticationTypes>;
|
|
3397
3398
|
/** Dropbox folder path. */
|
|
3398
3399
|
path?: InputMaybe<Scalars['ID']['input']>;
|
|
3399
|
-
/** Dropbox redirect URI. */
|
|
3400
|
-
redirectUri?: InputMaybe<Scalars['String']['input']>;
|
|
3401
3400
|
/** Dropbox refresh token. */
|
|
3402
3401
|
refreshToken?: InputMaybe<Scalars['String']['input']>;
|
|
3403
3402
|
};
|
|
@@ -4870,6 +4869,58 @@ export type GitHubIssuesFeedPropertiesUpdateInput = {
|
|
|
4870
4869
|
/** GitHub Enterprise URI, optional. */
|
|
4871
4870
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
|
4872
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
|
+
}
|
|
4873
4924
|
/** Represents Google authentication properties. */
|
|
4874
4925
|
export type GoogleAuthenticationProperties = {
|
|
4875
4926
|
__typename?: 'GoogleAuthenticationProperties';
|
|
@@ -12259,6 +12310,8 @@ export type Query = {
|
|
|
12259
12310
|
feedExists?: Maybe<BooleanResult>;
|
|
12260
12311
|
/** Retrieves feeds based on the provided filter criteria. */
|
|
12261
12312
|
feeds?: Maybe<FeedResults>;
|
|
12313
|
+
/** Retrieves available GitHub repositories for the authenticated user. */
|
|
12314
|
+
gitHubRepositories?: Maybe<GitHubRepositoryResults>;
|
|
12262
12315
|
/** Retrieves available Google calendars. */
|
|
12263
12316
|
googleCalendars?: Maybe<CalendarResults>;
|
|
12264
12317
|
/** Retrieves available Google Drive folders. */
|
|
@@ -12620,6 +12673,10 @@ export type QueryFeedsArgs = {
|
|
|
12620
12673
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
12621
12674
|
filter?: InputMaybe<FeedFilter>;
|
|
12622
12675
|
};
|
|
12676
|
+
export type QueryGitHubRepositoriesArgs = {
|
|
12677
|
+
properties: GitHubRepositoriesInput;
|
|
12678
|
+
sortBy?: InputMaybe<GitHubRepositorySortTypes>;
|
|
12679
|
+
};
|
|
12623
12680
|
export type QueryGoogleCalendarsArgs = {
|
|
12624
12681
|
properties: GoogleCalendarsInput;
|
|
12625
12682
|
};
|
|
@@ -13510,6 +13567,8 @@ export declare enum SearchQueryTypes {
|
|
|
13510
13567
|
export declare enum SearchServiceTypes {
|
|
13511
13568
|
/** Exa search feed service */
|
|
13512
13569
|
Exa = "EXA",
|
|
13570
|
+
/** Exa Code context search service */
|
|
13571
|
+
ExaCode = "EXA_CODE",
|
|
13513
13572
|
/** Podscan search feed service */
|
|
13514
13573
|
Podscan = "PODSCAN",
|
|
13515
13574
|
/** Tavily search feed service */
|
|
@@ -15040,7 +15099,7 @@ export type WebSearchResult = {
|
|
|
15040
15099
|
/** The content title. */
|
|
15041
15100
|
title?: Maybe<Scalars['String']['output']>;
|
|
15042
15101
|
/** The web search result URI, may be a web page or podcast episode. */
|
|
15043
|
-
uri
|
|
15102
|
+
uri?: Maybe<Scalars['URL']['output']>;
|
|
15044
15103
|
};
|
|
15045
15104
|
/** Represents web search results. */
|
|
15046
15105
|
export type WebSearchResults = {
|
|
@@ -22898,7 +22957,6 @@ export type GetFeedQuery = {
|
|
|
22898
22957
|
appKey?: string | null;
|
|
22899
22958
|
appSecret?: string | null;
|
|
22900
22959
|
refreshToken?: string | null;
|
|
22901
|
-
redirectUri?: string | null;
|
|
22902
22960
|
} | null;
|
|
22903
22961
|
box?: {
|
|
22904
22962
|
__typename?: 'BoxFeedProperties';
|
|
@@ -23311,7 +23369,6 @@ export type QueryFeedsQuery = {
|
|
|
23311
23369
|
appKey?: string | null;
|
|
23312
23370
|
appSecret?: string | null;
|
|
23313
23371
|
refreshToken?: string | null;
|
|
23314
|
-
redirectUri?: string | null;
|
|
23315
23372
|
} | null;
|
|
23316
23373
|
box?: {
|
|
23317
23374
|
__typename?: 'BoxFeedProperties';
|
|
@@ -23545,6 +23602,30 @@ export type QueryFeedsQuery = {
|
|
|
23545
23602
|
}> | null;
|
|
23546
23603
|
} | null;
|
|
23547
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
|
+
};
|
|
23548
23629
|
export type QueryGoogleCalendarsQueryVariables = Exact<{
|
|
23549
23630
|
properties: GoogleCalendarsInput;
|
|
23550
23631
|
}>;
|
|
@@ -26031,7 +26112,7 @@ export type SearchWebQuery = {
|
|
|
26031
26112
|
__typename?: 'WebSearchResults';
|
|
26032
26113
|
results?: Array<{
|
|
26033
26114
|
__typename?: 'WebSearchResult';
|
|
26034
|
-
uri
|
|
26115
|
+
uri?: any | null;
|
|
26035
26116
|
text?: string | null;
|
|
26036
26117
|
title?: string | null;
|
|
26037
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 */
|