Updated the backend and select enabled
This commit is contained in:
@@ -24,7 +24,8 @@ interface IBackup {
|
||||
projectName: string,
|
||||
projectURL: string,
|
||||
volumeName: string,
|
||||
volumeURL: string
|
||||
volumeURL: string,
|
||||
day: string
|
||||
}
|
||||
|
||||
interface IUpdate {
|
||||
@@ -50,7 +51,8 @@ const backupSchema = new mongoose.Schema<IBackup>({
|
||||
projectName: String,
|
||||
projectURL: String,
|
||||
volumeName: String,
|
||||
volumeURL: String
|
||||
volumeURL: String,
|
||||
day:
|
||||
},
|
||||
{
|
||||
toJSON: { virtuals: true },
|
||||
|
||||
12
jenkinsFile
12
jenkinsFile
@@ -1,16 +1,18 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
|
||||
tools {
|
||||
nodejs 'nodejs'
|
||||
}
|
||||
stages{
|
||||
stage('Build') {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
echo 'Building...'
|
||||
git branch: 'jenkins-build' url: 'https://github.com/dumsilor/link-manage.git'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
stage('Install Dependencies') {
|
||||
steps {
|
||||
echo 'Testing...'
|
||||
sh 'npm install'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
|
||||
@@ -66,9 +66,9 @@ td:nth-child(3):active {
|
||||
|
||||
td {
|
||||
padding: 0.7rem 0.5rem;
|
||||
-webkit-user-select: none; /* Safari */
|
||||
-ms-user-select: none; /* IE 10 and IE 11 */
|
||||
user-select: none; /* Standard syntax */
|
||||
// -webkit-user-select: none; /* Safari */
|
||||
// -ms-user-select: none; /* IE 10 and IE 11 */
|
||||
// user-select: none; /* Standard syntax */
|
||||
}
|
||||
|
||||
a{
|
||||
|
||||
@@ -3,4 +3,5 @@ export class Backup{
|
||||
projectURL!: string;
|
||||
volumeName!: string;
|
||||
volumeURL!: string;
|
||||
day!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user