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