@jobsearch-works/firestore-models 1.0.8 → 1.0.10
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/dist/index.d.mts +1 -80
- package/dist/index.d.ts +1 -80
- package/dist/index.js +20 -56
- package/dist/index.mjs +16 -58
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -47,13 +47,6 @@ declare namespace Application {
|
|
47
47
|
const updateStatus: (application: Application.Model, newStatus: Application.Model["status"]) => Application.Model;
|
48
48
|
}
|
49
49
|
|
50
|
-
declare const Application$1_Application: typeof Application;
|
51
|
-
declare namespace Application$1 {
|
52
|
-
export {
|
53
|
-
Application$1_Application as Application,
|
54
|
-
};
|
55
|
-
}
|
56
|
-
|
57
50
|
interface FirestoreTimestamp {
|
58
51
|
seconds: number;
|
59
52
|
nanoseconds: number;
|
@@ -84,19 +77,6 @@ declare const AuthUserUtils: {
|
|
84
77
|
fromFirestore: (data: Record<string, any>) => AuthUser;
|
85
78
|
};
|
86
79
|
|
87
|
-
type AuthUser$1_AuthUser = AuthUser;
|
88
|
-
declare const AuthUser$1_AuthUserCollectionPath: typeof AuthUserCollectionPath;
|
89
|
-
declare const AuthUser$1_AuthUserUtils: typeof AuthUserUtils;
|
90
|
-
declare const AuthUser$1_getAuthUserDocumentPath: typeof getAuthUserDocumentPath;
|
91
|
-
declare namespace AuthUser$1 {
|
92
|
-
export {
|
93
|
-
AuthUser$1_AuthUser as AuthUser,
|
94
|
-
AuthUser$1_AuthUserCollectionPath as AuthUserCollectionPath,
|
95
|
-
AuthUser$1_AuthUserUtils as AuthUserUtils,
|
96
|
-
AuthUser$1_getAuthUserDocumentPath as getAuthUserDocumentPath,
|
97
|
-
};
|
98
|
-
}
|
99
|
-
|
100
80
|
declare namespace Client {
|
101
81
|
interface Model extends BaseModel {
|
102
82
|
name: string;
|
@@ -110,13 +90,6 @@ declare namespace Client {
|
|
110
90
|
const createNew: (name: string, email: string) => Client.Model;
|
111
91
|
}
|
112
92
|
|
113
|
-
declare const Client$1_Client: typeof Client;
|
114
|
-
declare namespace Client$1 {
|
115
|
-
export {
|
116
|
-
Client$1_Client as Client,
|
117
|
-
};
|
118
|
-
}
|
119
|
-
|
120
93
|
declare namespace ClientData {
|
121
94
|
/**
|
122
95
|
* Represents a user's personal data.
|
@@ -143,13 +116,6 @@ declare namespace ClientData {
|
|
143
116
|
const createNew: (firstName: string, lastName: string, email: string, phone: string, address: string, city: string, state: string, zip: string, country: string, countryPhoneCode: string, suburb: string) => ClientData.Model;
|
144
117
|
}
|
145
118
|
|
146
|
-
declare const ClientData$1_ClientData: typeof ClientData;
|
147
|
-
declare namespace ClientData$1 {
|
148
|
-
export {
|
149
|
-
ClientData$1_ClientData as ClientData,
|
150
|
-
};
|
151
|
-
}
|
152
|
-
|
153
119
|
declare namespace ClientLogin {
|
154
120
|
/**
|
155
121
|
* Represents login credentials for a client website
|
@@ -168,13 +134,6 @@ declare namespace ClientLogin {
|
|
168
134
|
const createNew: (userId: string, url: string, domain: string, password: string, username?: string, email?: string) => ClientLogin.Model;
|
169
135
|
}
|
170
136
|
|
171
|
-
declare const ClientLogin$1_ClientLogin: typeof ClientLogin;
|
172
|
-
declare namespace ClientLogin$1 {
|
173
|
-
export {
|
174
|
-
ClientLogin$1_ClientLogin as ClientLogin,
|
175
|
-
};
|
176
|
-
}
|
177
|
-
|
178
137
|
/**
|
179
138
|
* QuestionData interface defines the core data fields for a generic question.
|
180
139
|
*/
|
@@ -209,21 +168,6 @@ interface ClientQuestionAnswerPair {
|
|
209
168
|
createdAt?: Date;
|
210
169
|
}
|
211
170
|
|
212
|
-
type Question$1_ApplicationQuestion = ApplicationQuestion;
|
213
|
-
type Question$1_ApplicationQuestionDocument = ApplicationQuestionDocument;
|
214
|
-
type Question$1_ClientQuestionAnswerPair = ClientQuestionAnswerPair;
|
215
|
-
type Question$1_Question = Question;
|
216
|
-
type Question$1_QuestionData = QuestionData;
|
217
|
-
declare namespace Question$1 {
|
218
|
-
export {
|
219
|
-
Question$1_ApplicationQuestion as ApplicationQuestion,
|
220
|
-
Question$1_ApplicationQuestionDocument as ApplicationQuestionDocument,
|
221
|
-
Question$1_ClientQuestionAnswerPair as ClientQuestionAnswerPair,
|
222
|
-
Question$1_Question as Question,
|
223
|
-
Question$1_QuestionData as QuestionData,
|
224
|
-
};
|
225
|
-
}
|
226
|
-
|
227
171
|
/**
|
228
172
|
* UserQuestionData interface defines the core data fields for a user question.
|
229
173
|
*/
|
@@ -239,15 +183,6 @@ interface UserQuestionData {
|
|
239
183
|
interface UserQuestion extends BaseModel, UserQuestionData {
|
240
184
|
}
|
241
185
|
|
242
|
-
type UserQuestion$1_UserQuestion = UserQuestion;
|
243
|
-
type UserQuestion$1_UserQuestionData = UserQuestionData;
|
244
|
-
declare namespace UserQuestion$1 {
|
245
|
-
export {
|
246
|
-
UserQuestion$1_UserQuestion as UserQuestion,
|
247
|
-
UserQuestion$1_UserQuestionData as UserQuestionData,
|
248
|
-
};
|
249
|
-
}
|
250
|
-
|
251
186
|
declare namespace Vacancy {
|
252
187
|
/**
|
253
188
|
* Represents a job vacancy
|
@@ -272,13 +207,6 @@ declare namespace Vacancy {
|
|
272
207
|
const createNew: (company: string, position: string, location: string, description: string, advertisingUrl: string, applicationUrl: string, applicationDomain: string, advertisingDomain: string, fullPageText: string, jobId: string) => Vacancy.Model;
|
273
208
|
}
|
274
209
|
|
275
|
-
declare const Vacancy$1_Vacancy: typeof Vacancy;
|
276
|
-
declare namespace Vacancy$1 {
|
277
|
-
export {
|
278
|
-
Vacancy$1_Vacancy as Vacancy,
|
279
|
-
};
|
280
|
-
}
|
281
|
-
|
282
210
|
declare namespace VacancySuggestion {
|
283
211
|
/**
|
284
212
|
* Represents a job vacancy suggestion for a client
|
@@ -298,11 +226,4 @@ declare namespace VacancySuggestion {
|
|
298
226
|
const createNew: (clientId: string, vacancyId: string, vacancyCompany: string, vacancyPosition: string, status?: string) => VacancySuggestion.Model;
|
299
227
|
}
|
300
228
|
|
301
|
-
|
302
|
-
declare namespace VacancySuggestion$1 {
|
303
|
-
export {
|
304
|
-
VacancySuggestion$1_VacancySuggestion as VacancySuggestion,
|
305
|
-
};
|
306
|
-
}
|
307
|
-
|
308
|
-
export { Application$1 as Application, AuthUser$1 as AuthUser, BaseModel, Client$1 as Client, ClientData$1 as ClientData, ClientLogin$1 as ClientLogin, Question$1 as Question, UserQuestion$1 as UserQuestion, Vacancy$1 as Vacancy, VacancySuggestion$1 as VacancySuggestion };
|
229
|
+
export { Application, ApplicationQuestion, ApplicationQuestionDocument, AuthUser, AuthUserCollectionPath, AuthUserUtils, Client, ClientData, ClientLogin, ClientQuestionAnswerPair, Question, QuestionData, UserQuestion, UserQuestionData, Vacancy, VacancySuggestion, getAuthUserDocumentPath };
|
package/dist/index.d.ts
CHANGED
@@ -47,13 +47,6 @@ declare namespace Application {
|
|
47
47
|
const updateStatus: (application: Application.Model, newStatus: Application.Model["status"]) => Application.Model;
|
48
48
|
}
|
49
49
|
|
50
|
-
declare const Application$1_Application: typeof Application;
|
51
|
-
declare namespace Application$1 {
|
52
|
-
export {
|
53
|
-
Application$1_Application as Application,
|
54
|
-
};
|
55
|
-
}
|
56
|
-
|
57
50
|
interface FirestoreTimestamp {
|
58
51
|
seconds: number;
|
59
52
|
nanoseconds: number;
|
@@ -84,19 +77,6 @@ declare const AuthUserUtils: {
|
|
84
77
|
fromFirestore: (data: Record<string, any>) => AuthUser;
|
85
78
|
};
|
86
79
|
|
87
|
-
type AuthUser$1_AuthUser = AuthUser;
|
88
|
-
declare const AuthUser$1_AuthUserCollectionPath: typeof AuthUserCollectionPath;
|
89
|
-
declare const AuthUser$1_AuthUserUtils: typeof AuthUserUtils;
|
90
|
-
declare const AuthUser$1_getAuthUserDocumentPath: typeof getAuthUserDocumentPath;
|
91
|
-
declare namespace AuthUser$1 {
|
92
|
-
export {
|
93
|
-
AuthUser$1_AuthUser as AuthUser,
|
94
|
-
AuthUser$1_AuthUserCollectionPath as AuthUserCollectionPath,
|
95
|
-
AuthUser$1_AuthUserUtils as AuthUserUtils,
|
96
|
-
AuthUser$1_getAuthUserDocumentPath as getAuthUserDocumentPath,
|
97
|
-
};
|
98
|
-
}
|
99
|
-
|
100
80
|
declare namespace Client {
|
101
81
|
interface Model extends BaseModel {
|
102
82
|
name: string;
|
@@ -110,13 +90,6 @@ declare namespace Client {
|
|
110
90
|
const createNew: (name: string, email: string) => Client.Model;
|
111
91
|
}
|
112
92
|
|
113
|
-
declare const Client$1_Client: typeof Client;
|
114
|
-
declare namespace Client$1 {
|
115
|
-
export {
|
116
|
-
Client$1_Client as Client,
|
117
|
-
};
|
118
|
-
}
|
119
|
-
|
120
93
|
declare namespace ClientData {
|
121
94
|
/**
|
122
95
|
* Represents a user's personal data.
|
@@ -143,13 +116,6 @@ declare namespace ClientData {
|
|
143
116
|
const createNew: (firstName: string, lastName: string, email: string, phone: string, address: string, city: string, state: string, zip: string, country: string, countryPhoneCode: string, suburb: string) => ClientData.Model;
|
144
117
|
}
|
145
118
|
|
146
|
-
declare const ClientData$1_ClientData: typeof ClientData;
|
147
|
-
declare namespace ClientData$1 {
|
148
|
-
export {
|
149
|
-
ClientData$1_ClientData as ClientData,
|
150
|
-
};
|
151
|
-
}
|
152
|
-
|
153
119
|
declare namespace ClientLogin {
|
154
120
|
/**
|
155
121
|
* Represents login credentials for a client website
|
@@ -168,13 +134,6 @@ declare namespace ClientLogin {
|
|
168
134
|
const createNew: (userId: string, url: string, domain: string, password: string, username?: string, email?: string) => ClientLogin.Model;
|
169
135
|
}
|
170
136
|
|
171
|
-
declare const ClientLogin$1_ClientLogin: typeof ClientLogin;
|
172
|
-
declare namespace ClientLogin$1 {
|
173
|
-
export {
|
174
|
-
ClientLogin$1_ClientLogin as ClientLogin,
|
175
|
-
};
|
176
|
-
}
|
177
|
-
|
178
137
|
/**
|
179
138
|
* QuestionData interface defines the core data fields for a generic question.
|
180
139
|
*/
|
@@ -209,21 +168,6 @@ interface ClientQuestionAnswerPair {
|
|
209
168
|
createdAt?: Date;
|
210
169
|
}
|
211
170
|
|
212
|
-
type Question$1_ApplicationQuestion = ApplicationQuestion;
|
213
|
-
type Question$1_ApplicationQuestionDocument = ApplicationQuestionDocument;
|
214
|
-
type Question$1_ClientQuestionAnswerPair = ClientQuestionAnswerPair;
|
215
|
-
type Question$1_Question = Question;
|
216
|
-
type Question$1_QuestionData = QuestionData;
|
217
|
-
declare namespace Question$1 {
|
218
|
-
export {
|
219
|
-
Question$1_ApplicationQuestion as ApplicationQuestion,
|
220
|
-
Question$1_ApplicationQuestionDocument as ApplicationQuestionDocument,
|
221
|
-
Question$1_ClientQuestionAnswerPair as ClientQuestionAnswerPair,
|
222
|
-
Question$1_Question as Question,
|
223
|
-
Question$1_QuestionData as QuestionData,
|
224
|
-
};
|
225
|
-
}
|
226
|
-
|
227
171
|
/**
|
228
172
|
* UserQuestionData interface defines the core data fields for a user question.
|
229
173
|
*/
|
@@ -239,15 +183,6 @@ interface UserQuestionData {
|
|
239
183
|
interface UserQuestion extends BaseModel, UserQuestionData {
|
240
184
|
}
|
241
185
|
|
242
|
-
type UserQuestion$1_UserQuestion = UserQuestion;
|
243
|
-
type UserQuestion$1_UserQuestionData = UserQuestionData;
|
244
|
-
declare namespace UserQuestion$1 {
|
245
|
-
export {
|
246
|
-
UserQuestion$1_UserQuestion as UserQuestion,
|
247
|
-
UserQuestion$1_UserQuestionData as UserQuestionData,
|
248
|
-
};
|
249
|
-
}
|
250
|
-
|
251
186
|
declare namespace Vacancy {
|
252
187
|
/**
|
253
188
|
* Represents a job vacancy
|
@@ -272,13 +207,6 @@ declare namespace Vacancy {
|
|
272
207
|
const createNew: (company: string, position: string, location: string, description: string, advertisingUrl: string, applicationUrl: string, applicationDomain: string, advertisingDomain: string, fullPageText: string, jobId: string) => Vacancy.Model;
|
273
208
|
}
|
274
209
|
|
275
|
-
declare const Vacancy$1_Vacancy: typeof Vacancy;
|
276
|
-
declare namespace Vacancy$1 {
|
277
|
-
export {
|
278
|
-
Vacancy$1_Vacancy as Vacancy,
|
279
|
-
};
|
280
|
-
}
|
281
|
-
|
282
210
|
declare namespace VacancySuggestion {
|
283
211
|
/**
|
284
212
|
* Represents a job vacancy suggestion for a client
|
@@ -298,11 +226,4 @@ declare namespace VacancySuggestion {
|
|
298
226
|
const createNew: (clientId: string, vacancyId: string, vacancyCompany: string, vacancyPosition: string, status?: string) => VacancySuggestion.Model;
|
299
227
|
}
|
300
228
|
|
301
|
-
|
302
|
-
declare namespace VacancySuggestion$1 {
|
303
|
-
export {
|
304
|
-
VacancySuggestion$1_VacancySuggestion as VacancySuggestion,
|
305
|
-
};
|
306
|
-
}
|
307
|
-
|
308
|
-
export { Application$1 as Application, AuthUser$1 as AuthUser, BaseModel, Client$1 as Client, ClientData$1 as ClientData, ClientLogin$1 as ClientLogin, Question$1 as Question, UserQuestion$1 as UserQuestion, Vacancy$1 as Vacancy, VacancySuggestion$1 as VacancySuggestion };
|
229
|
+
export { Application, ApplicationQuestion, ApplicationQuestionDocument, AuthUser, AuthUserCollectionPath, AuthUserUtils, Client, ClientData, ClientLogin, ClientQuestionAnswerPair, Question, QuestionData, UserQuestion, UserQuestionData, Vacancy, VacancySuggestion, getAuthUserDocumentPath };
|
package/dist/index.js
CHANGED
@@ -20,23 +20,19 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
20
20
|
// src/index.ts
|
21
21
|
var src_exports = {};
|
22
22
|
__export(src_exports, {
|
23
|
-
Application: () =>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
23
|
+
Application: () => Application,
|
24
|
+
AuthUserCollectionPath: () => AuthUserCollectionPath,
|
25
|
+
AuthUserUtils: () => AuthUserUtils,
|
26
|
+
Client: () => Client,
|
27
|
+
ClientData: () => ClientData,
|
28
|
+
ClientLogin: () => ClientLogin,
|
29
|
+
Vacancy: () => Vacancy,
|
30
|
+
VacancySuggestion: () => VacancySuggestion,
|
31
|
+
getAuthUserDocumentPath: () => getAuthUserDocumentPath
|
32
32
|
});
|
33
33
|
module.exports = __toCommonJS(src_exports);
|
34
34
|
|
35
|
-
// src/
|
36
|
-
var Application_exports = {};
|
37
|
-
__export(Application_exports, {
|
38
|
-
Application: () => Application
|
39
|
-
});
|
35
|
+
// src/models/Application.ts
|
40
36
|
var Application;
|
41
37
|
((Application2) => {
|
42
38
|
Application2.collection = (clientId) => `clients/${clientId}/applications`;
|
@@ -75,13 +71,7 @@ var Application;
|
|
75
71
|
};
|
76
72
|
})(Application || (Application = {}));
|
77
73
|
|
78
|
-
// src/
|
79
|
-
var AuthUser_exports = {};
|
80
|
-
__export(AuthUser_exports, {
|
81
|
-
AuthUserCollectionPath: () => AuthUserCollectionPath,
|
82
|
-
AuthUserUtils: () => AuthUserUtils,
|
83
|
-
getAuthUserDocumentPath: () => getAuthUserDocumentPath
|
84
|
-
});
|
74
|
+
// src/models/AuthUser.ts
|
85
75
|
var AuthUserCollectionPath = "users";
|
86
76
|
var getAuthUserDocumentPath = (userId) => `users/${userId}`;
|
87
77
|
var AuthUserUtils = {
|
@@ -153,11 +143,7 @@ var AuthUserUtils = {
|
|
153
143
|
}
|
154
144
|
};
|
155
145
|
|
156
|
-
// src/
|
157
|
-
var Client_exports = {};
|
158
|
-
__export(Client_exports, {
|
159
|
-
Client: () => Client
|
160
|
-
});
|
146
|
+
// src/models/Client.ts
|
161
147
|
var Client;
|
162
148
|
((Client2) => {
|
163
149
|
Client2.collection = () => "clients";
|
@@ -175,11 +161,7 @@ var Client;
|
|
175
161
|
};
|
176
162
|
})(Client || (Client = {}));
|
177
163
|
|
178
|
-
// src/
|
179
|
-
var ClientData_exports = {};
|
180
|
-
__export(ClientData_exports, {
|
181
|
-
ClientData: () => ClientData
|
182
|
-
});
|
164
|
+
// src/models/ClientData.ts
|
183
165
|
var ClientData;
|
184
166
|
((ClientData2) => {
|
185
167
|
ClientData2.collection = () => "clientData";
|
@@ -207,11 +189,7 @@ var ClientData;
|
|
207
189
|
};
|
208
190
|
})(ClientData || (ClientData = {}));
|
209
191
|
|
210
|
-
// src/
|
211
|
-
var ClientLogin_exports = {};
|
212
|
-
__export(ClientLogin_exports, {
|
213
|
-
ClientLogin: () => ClientLogin
|
214
|
-
});
|
192
|
+
// src/models/ClientLogin.ts
|
215
193
|
var ClientLogin;
|
216
194
|
((ClientLogin2) => {
|
217
195
|
ClientLogin2.collection = (userId) => `clientLogins/${userId}`;
|
@@ -232,17 +210,7 @@ var ClientLogin;
|
|
232
210
|
};
|
233
211
|
})(ClientLogin || (ClientLogin = {}));
|
234
212
|
|
235
|
-
// src/
|
236
|
-
var Question_exports = {};
|
237
|
-
|
238
|
-
// src/models2/UserQuestion.ts
|
239
|
-
var UserQuestion_exports = {};
|
240
|
-
|
241
|
-
// src/models2/Vacancy.ts
|
242
|
-
var Vacancy_exports = {};
|
243
|
-
__export(Vacancy_exports, {
|
244
|
-
Vacancy: () => Vacancy
|
245
|
-
});
|
213
|
+
// src/models/Vacancy.ts
|
246
214
|
var Vacancy;
|
247
215
|
((Vacancy2) => {
|
248
216
|
Vacancy2.collection = () => "vacancies";
|
@@ -271,11 +239,7 @@ var Vacancy;
|
|
271
239
|
};
|
272
240
|
})(Vacancy || (Vacancy = {}));
|
273
241
|
|
274
|
-
// src/
|
275
|
-
var VacancySuggestion_exports = {};
|
276
|
-
__export(VacancySuggestion_exports, {
|
277
|
-
VacancySuggestion: () => VacancySuggestion
|
278
|
-
});
|
242
|
+
// src/models/VacancySuggestion.ts
|
279
243
|
var VacancySuggestion;
|
280
244
|
((VacancySuggestion2) => {
|
281
245
|
VacancySuggestion2.collection = (clientId) => `clients/${clientId}/vacancySuggestions`;
|
@@ -297,12 +261,12 @@ var VacancySuggestion;
|
|
297
261
|
// Annotate the CommonJS export names for ESM import in node:
|
298
262
|
0 && (module.exports = {
|
299
263
|
Application,
|
300
|
-
|
264
|
+
AuthUserCollectionPath,
|
265
|
+
AuthUserUtils,
|
301
266
|
Client,
|
302
267
|
ClientData,
|
303
268
|
ClientLogin,
|
304
|
-
Question,
|
305
|
-
UserQuestion,
|
306
269
|
Vacancy,
|
307
|
-
VacancySuggestion
|
270
|
+
VacancySuggestion,
|
271
|
+
getAuthUserDocumentPath
|
308
272
|
});
|
package/dist/index.mjs
CHANGED
@@ -1,14 +1,4 @@
|
|
1
|
-
|
2
|
-
var __export = (target, all) => {
|
3
|
-
for (var name in all)
|
4
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
5
|
-
};
|
6
|
-
|
7
|
-
// src/models2/Application.ts
|
8
|
-
var Application_exports = {};
|
9
|
-
__export(Application_exports, {
|
10
|
-
Application: () => Application
|
11
|
-
});
|
1
|
+
// src/models/Application.ts
|
12
2
|
var Application;
|
13
3
|
((Application2) => {
|
14
4
|
Application2.collection = (clientId) => `clients/${clientId}/applications`;
|
@@ -47,13 +37,7 @@ var Application;
|
|
47
37
|
};
|
48
38
|
})(Application || (Application = {}));
|
49
39
|
|
50
|
-
// src/
|
51
|
-
var AuthUser_exports = {};
|
52
|
-
__export(AuthUser_exports, {
|
53
|
-
AuthUserCollectionPath: () => AuthUserCollectionPath,
|
54
|
-
AuthUserUtils: () => AuthUserUtils,
|
55
|
-
getAuthUserDocumentPath: () => getAuthUserDocumentPath
|
56
|
-
});
|
40
|
+
// src/models/AuthUser.ts
|
57
41
|
var AuthUserCollectionPath = "users";
|
58
42
|
var getAuthUserDocumentPath = (userId) => `users/${userId}`;
|
59
43
|
var AuthUserUtils = {
|
@@ -125,11 +109,7 @@ var AuthUserUtils = {
|
|
125
109
|
}
|
126
110
|
};
|
127
111
|
|
128
|
-
// src/
|
129
|
-
var Client_exports = {};
|
130
|
-
__export(Client_exports, {
|
131
|
-
Client: () => Client
|
132
|
-
});
|
112
|
+
// src/models/Client.ts
|
133
113
|
var Client;
|
134
114
|
((Client2) => {
|
135
115
|
Client2.collection = () => "clients";
|
@@ -147,11 +127,7 @@ var Client;
|
|
147
127
|
};
|
148
128
|
})(Client || (Client = {}));
|
149
129
|
|
150
|
-
// src/
|
151
|
-
var ClientData_exports = {};
|
152
|
-
__export(ClientData_exports, {
|
153
|
-
ClientData: () => ClientData
|
154
|
-
});
|
130
|
+
// src/models/ClientData.ts
|
155
131
|
var ClientData;
|
156
132
|
((ClientData2) => {
|
157
133
|
ClientData2.collection = () => "clientData";
|
@@ -179,11 +155,7 @@ var ClientData;
|
|
179
155
|
};
|
180
156
|
})(ClientData || (ClientData = {}));
|
181
157
|
|
182
|
-
// src/
|
183
|
-
var ClientLogin_exports = {};
|
184
|
-
__export(ClientLogin_exports, {
|
185
|
-
ClientLogin: () => ClientLogin
|
186
|
-
});
|
158
|
+
// src/models/ClientLogin.ts
|
187
159
|
var ClientLogin;
|
188
160
|
((ClientLogin2) => {
|
189
161
|
ClientLogin2.collection = (userId) => `clientLogins/${userId}`;
|
@@ -204,17 +176,7 @@ var ClientLogin;
|
|
204
176
|
};
|
205
177
|
})(ClientLogin || (ClientLogin = {}));
|
206
178
|
|
207
|
-
// src/
|
208
|
-
var Question_exports = {};
|
209
|
-
|
210
|
-
// src/models2/UserQuestion.ts
|
211
|
-
var UserQuestion_exports = {};
|
212
|
-
|
213
|
-
// src/models2/Vacancy.ts
|
214
|
-
var Vacancy_exports = {};
|
215
|
-
__export(Vacancy_exports, {
|
216
|
-
Vacancy: () => Vacancy
|
217
|
-
});
|
179
|
+
// src/models/Vacancy.ts
|
218
180
|
var Vacancy;
|
219
181
|
((Vacancy2) => {
|
220
182
|
Vacancy2.collection = () => "vacancies";
|
@@ -243,11 +205,7 @@ var Vacancy;
|
|
243
205
|
};
|
244
206
|
})(Vacancy || (Vacancy = {}));
|
245
207
|
|
246
|
-
// src/
|
247
|
-
var VacancySuggestion_exports = {};
|
248
|
-
__export(VacancySuggestion_exports, {
|
249
|
-
VacancySuggestion: () => VacancySuggestion
|
250
|
-
});
|
208
|
+
// src/models/VacancySuggestion.ts
|
251
209
|
var VacancySuggestion;
|
252
210
|
((VacancySuggestion2) => {
|
253
211
|
VacancySuggestion2.collection = (clientId) => `clients/${clientId}/vacancySuggestions`;
|
@@ -267,13 +225,13 @@ var VacancySuggestion;
|
|
267
225
|
};
|
268
226
|
})(VacancySuggestion || (VacancySuggestion = {}));
|
269
227
|
export {
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
228
|
+
Application,
|
229
|
+
AuthUserCollectionPath,
|
230
|
+
AuthUserUtils,
|
231
|
+
Client,
|
232
|
+
ClientData,
|
233
|
+
ClientLogin,
|
234
|
+
Vacancy,
|
235
|
+
VacancySuggestion,
|
236
|
+
getAuthUserDocumentPath
|
279
237
|
};
|
package/package.json
CHANGED