-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/resource-mapping-component' into NODE-398-resou…
…rce-mapper-ui-P2 * feature/resource-mapping-component: feat(core): Manage version control settings (#6079) ci: Fix linting error on `master` (no-changelog) (#6075) ci: Increase the timeout on the release process (no-changelog) (#6078) fix(editor): Update LDAP and Log streaming paywalls (#6069) feat(core): Add instanceId to n8n.ready hook (no-changelog) (#6007) ci: Update linting dependencies, and setup eslint-plugin-unicorn (no-changelog) (#6070)
- Loading branch information
Showing
19 changed files
with
502 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
permissions: | ||
contents: write | ||
|
||
timeout-minutes: 10 | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- name: Checkout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,7 @@ | |
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"@sentry/[email protected]": "patches/@[email protected]", | ||
"@typescript-eslint/eslint-plugin@5.45.0": "patches/@typescript-eslint__eslint-plugin@5.45.0.patch" | ||
"@typescript-eslint/eslint-plugin@5.59.0": "patches/@typescript-eslint__eslint-plugin@5.59.0.patch" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
packages/cli/src/environments/versionControl/middleware/versionControlEnabledMiddleware.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/cli/src/environments/versionControl/types/requests.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { AuthenticatedRequest } from '@/requests'; | ||
import type { VersionControlPreferences } from './versionControlPreferences'; | ||
|
||
export declare namespace VersionControlRequest { | ||
type UpdatePreferences = AuthenticatedRequest<{}, {}, Partial<VersionControlPreferences>, {}>; | ||
} |
33 changes: 30 additions & 3 deletions
33
packages/cli/src/environments/versionControl/types/versionControlPreferences.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
import { IsString } from 'class-validator'; | ||
import { IsBoolean, IsEmail, IsHexColor, IsOptional, IsString } from 'class-validator'; | ||
|
||
export class VersionControlPreferences { | ||
constructor(preferences: Partial<VersionControlPreferences> | undefined = undefined) { | ||
if (preferences) Object.assign(this, preferences); | ||
} | ||
|
||
@IsBoolean() | ||
connected: boolean; | ||
|
||
@IsString() | ||
repositoryUrl: string; | ||
|
||
@IsString() | ||
authorName: string; | ||
|
||
@IsEmail() | ||
authorEmail: string; | ||
|
||
@IsString() | ||
branchName: string; | ||
|
||
@IsBoolean() | ||
branchReadOnly: boolean; | ||
|
||
@IsHexColor() | ||
branchColor: string; | ||
|
||
@IsOptional() | ||
@IsString() | ||
privateKey: string; | ||
readonly privateKey?: string; | ||
|
||
@IsOptional() | ||
@IsString() | ||
publicKey: string; | ||
readonly publicKey?: string; | ||
} |
29 changes: 22 additions & 7 deletions
29
packages/cli/src/environments/versionControl/versionControl.controller.ee.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.