Skip to content

Commit ee4ad64

Browse files
committed
fix: merge conflict
1 parent fcd7393 commit ee4ad64

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

api/src/graphql/generated/api/types.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ export type ApiSettingsInput = {
9797
extraOrigins?: InputMaybe<Array<Scalars['String']['input']>>;
9898
/** The type of port forwarding to use for Remote Access. */
9999
forwardType?: InputMaybe<WAN_FORWARD_TYPE>;
100-
/** The port to use for Remote Access. */
100+
/**
101+
* The port to use for Remote Access. Not required for UPNP forwardType. Required for STATIC forwardType.
102+
* Ignored if accessType is DISABLED or forwardType is UPNP.
103+
*/
101104
port?: InputMaybe<Scalars['Port']['input']>;
102105
/**
103106
* If true, the GraphQL sandbox will be enabled and available at /graphql.
@@ -330,10 +333,18 @@ export type ConnectSettings = Node & {
330333
/** Intersection type of ApiSettings and RemoteAccess */
331334
export type ConnectSettingsValues = {
332335
__typename?: 'ConnectSettingsValues';
336+
/** The type of WAN access used for Remote Access. */
333337
accessType: WAN_ACCESS_TYPE;
338+
/** A list of origins allowed to interact with the API. */
334339
extraOrigins: Array<Scalars['String']['output']>;
340+
/** The type of port forwarding used for Remote Access. */
335341
forwardType?: Maybe<WAN_FORWARD_TYPE>;
342+
/** The port used for Remote Access. */
336343
port?: Maybe<Scalars['Port']['output']>;
344+
/**
345+
* If true, the GraphQL sandbox is enabled and available at /graphql.
346+
* If false, the GraphQL sandbox is disabled and only the production API will be available.
347+
*/
337348
sandbox: Scalars['Boolean']['output'];
338349
};
339350

@@ -654,6 +665,8 @@ export type LogFileContent = {
654665
content: Scalars['String']['output'];
655666
/** Path to the log file */
656667
path: Scalars['String']['output'];
668+
/** Starting line number of the content (1-indexed) */
669+
startLine?: Maybe<Scalars['Int']['output']>;
657670
/** Total number of lines in the file */
658671
totalLines: Scalars['Int']['output'];
659672
};
@@ -768,6 +781,10 @@ export type Mutation = {
768781
unmountArrayDisk?: Maybe<Disk>;
769782
/** Marks a notification as unread. */
770783
unreadNotification: Notification;
784+
/**
785+
* Update the API settings.
786+
* Some setting combinations may be required or disallowed. Please refer to each setting for more information.
787+
*/
771788
updateApiSettings: ConnectSettingsValues;
772789
};
773790

@@ -1141,6 +1158,7 @@ export type Query = {
11411158
* Get the content of a specific log file
11421159
* @param path Path to the log file
11431160
* @param lines Number of lines to read from the end of the file (default: 100)
1161+
* @param startLine Optional starting line number (1-indexed)
11441162
*/
11451163
logFile: LogFileContent;
11461164
/** List all available log files */
@@ -1198,6 +1216,7 @@ export type QuerydockerNetworksArgs = {
11981216
export type QuerylogFileArgs = {
11991217
lines?: InputMaybe<Scalars['Int']['input']>;
12001218
path: Scalars['String']['input'];
1219+
startLine?: InputMaybe<Scalars['Int']['input']>;
12011220
};
12021221

12031222

@@ -2544,6 +2563,7 @@ export type LogFileResolvers<ContextType = Context, ParentType extends Resolvers
25442563
export type LogFileContentResolvers<ContextType = Context, ParentType extends ResolversParentTypes['LogFileContent'] = ResolversParentTypes['LogFileContent']> = ResolversObject<{
25452564
content?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
25462565
path?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
2566+
startLine?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
25472567
totalLines?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
25482568
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
25492569
}>;

api/src/unraid-api/graph/resolvers/resolvers.module.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,9 @@ import { VmsResolver } from '@app/unraid-api/graph/resolvers/vms/vms.resolver.js
4444
VmsResolver,
4545
NotificationsService,
4646
MeResolver,
47-
<<<<<<< HEAD
4847
LogsResolver,
4948
LogsService,
50-
=======
5149
ConnectSettingsService,
52-
>>>>>>> main
5350
],
5451
exports: [AuthModule, ApiKeyResolver],
5552
})

0 commit comments

Comments
 (0)