@taiger-common/model 1.0.28 → 1.0.29

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.
@@ -4,6 +4,7 @@ exports.applicationSchema = void 0;
4
4
  var mongoose_1 = require("mongoose");
5
5
  exports.applicationSchema = new mongoose_1.Schema({
6
6
  programId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Program' },
7
+ studentId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User' },
7
8
  uni_assist: {
8
9
  status: {
9
10
  type: String,
@@ -1,6 +1,7 @@
1
1
  import { Schema } from 'mongoose';
2
2
  export var applicationSchema = new Schema({
3
3
  programId: { type: Schema.Types.ObjectId, ref: 'Program' },
4
+ studentId: { type: Schema.Types.ObjectId, ref: 'User' },
4
5
  uni_assist: {
5
6
  status: {
6
7
  type: String,
@@ -51,6 +51,7 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
51
51
  admission: string;
52
52
  application_year: string;
53
53
  programId?: import("mongoose").Types.ObjectId | null | undefined;
54
+ studentId?: import("mongoose").Types.ObjectId | null | undefined;
54
55
  uni_assist?: {
55
56
  status: string;
56
57
  vpd_file_path: string;
@@ -102,6 +103,7 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
102
103
  admission: string;
103
104
  application_year: string;
104
105
  programId?: import("mongoose").Types.ObjectId | null | undefined;
106
+ studentId?: import("mongoose").Types.ObjectId | null | undefined;
105
107
  uni_assist?: {
106
108
  status: string;
107
109
  vpd_file_path: string;
@@ -153,6 +155,7 @@ export declare const applicationSchema: Schema<any, import("mongoose").Model<any
153
155
  admission: string;
154
156
  application_year: string;
155
157
  programId?: import("mongoose").Types.ObjectId | null | undefined;
158
+ studentId?: import("mongoose").Types.ObjectId | null | undefined;
156
159
  uni_assist?: {
157
160
  status: string;
158
161
  vpd_file_path: string;
@@ -27,8 +27,8 @@ import { Schema } from 'mongoose';
27
27
  export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
28
28
  createdAt: NativeDate;
29
29
  updatedAt: NativeDate;
30
- isFinalVersion: boolean;
31
30
  studentId: import("mongoose").Types.ObjectId;
31
+ isFinalVersion: boolean;
32
32
  fileType: string;
33
33
  surveyContent: import("mongoose").Types.DocumentArray<{
34
34
  _id?: unknown;
@@ -57,8 +57,8 @@ export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any
57
57
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
58
58
  createdAt: NativeDate;
59
59
  updatedAt: NativeDate;
60
- isFinalVersion: boolean;
61
60
  studentId: import("mongoose").Types.ObjectId;
61
+ isFinalVersion: boolean;
62
62
  fileType: string;
63
63
  surveyContent: import("mongoose").Types.DocumentArray<{
64
64
  _id?: unknown;
@@ -87,8 +87,8 @@ export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any
87
87
  }>> & import("mongoose").FlatRecord<{
88
88
  createdAt: NativeDate;
89
89
  updatedAt: NativeDate;
90
- isFinalVersion: boolean;
91
90
  studentId: import("mongoose").Types.ObjectId;
91
+ isFinalVersion: boolean;
92
92
  fileType: string;
93
93
  surveyContent: import("mongoose").Types.DocumentArray<{
94
94
  _id?: unknown;