@brimble/models 1.5.38 → 1.5.39
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/.turbo/turbo-build.log +1 -0
- package/brimble.json +3 -0
- package/dist/project/index.js +3 -2
- package/dist/project/preview.js +1 -0
- package/dist/server.js +1 -0
- package/dist/types/project/index.d.ts +1 -0
- package/dist/types/project/preview.d.ts +1 -0
- package/dist/types/server.d.ts +2 -0
- package/package.json +1 -1
- package/project/index.ts +5 -4
- package/project/preview.ts +1 -0
- package/server.ts +2 -0
- package/types/project/index.ts +1 -0
- package/types/project/preview.ts +1 -0
- package/types/server.ts +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$ rm -rf dist && tsc -p .
|
package/brimble.json
ADDED
package/dist/project/index.js
CHANGED
|
@@ -97,7 +97,7 @@ const projectSchema = new mongoose_1.Schema({
|
|
|
97
97
|
from: mongoose_1.Schema.Types.ObjectId,
|
|
98
98
|
container_stats_schedule_id: {
|
|
99
99
|
type: String,
|
|
100
|
-
default: null
|
|
100
|
+
default: null,
|
|
101
101
|
},
|
|
102
102
|
previews: [
|
|
103
103
|
{
|
|
@@ -109,6 +109,7 @@ const projectSchema = new mongoose_1.Schema({
|
|
|
109
109
|
type: Number,
|
|
110
110
|
default: 3,
|
|
111
111
|
},
|
|
112
|
-
specs: Object
|
|
112
|
+
specs: Object,
|
|
113
|
+
last_requested: mongoose_1.Schema.Types.Date,
|
|
113
114
|
}, { timestamps: true });
|
|
114
115
|
exports.default = (0, mongoose_1.model)("Project", projectSchema);
|
package/dist/project/preview.js
CHANGED
package/dist/server.js
CHANGED
package/dist/types/server.d.ts
CHANGED
package/package.json
CHANGED
package/project/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { model, Schema } from "mongoose";
|
|
1
|
+
import { model, Schema, } from "mongoose";
|
|
2
2
|
import { PROJECT_STATUS } from "../enum";
|
|
3
3
|
import { IProject } from "../types";
|
|
4
4
|
|
|
@@ -97,8 +97,8 @@ const projectSchema = new Schema(
|
|
|
97
97
|
tracking_token: String,
|
|
98
98
|
from: Schema.Types.ObjectId,
|
|
99
99
|
container_stats_schedule_id: {
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
type: String,
|
|
101
|
+
default: null,
|
|
102
102
|
},
|
|
103
103
|
previews: [
|
|
104
104
|
{
|
|
@@ -110,7 +110,8 @@ const projectSchema = new Schema(
|
|
|
110
110
|
type: Number,
|
|
111
111
|
default: 3,
|
|
112
112
|
},
|
|
113
|
-
specs: Object
|
|
113
|
+
specs: Object,
|
|
114
|
+
last_requested: Schema.Types.Date,
|
|
114
115
|
},
|
|
115
116
|
{ timestamps: true },
|
|
116
117
|
);
|
package/project/preview.ts
CHANGED
package/server.ts
CHANGED
package/types/project/index.ts
CHANGED
package/types/project/preview.ts
CHANGED