@jobsearch-works/firestore-models 1.1.0 → 1.1.2

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 CHANGED
@@ -224,6 +224,29 @@ interface GmailMessage {
224
224
  updatedAt?: Date | string;
225
225
  }
226
226
 
227
+ interface TargetLocation {
228
+ country: string;
229
+ cities: {
230
+ name: string;
231
+ areas: string[];
232
+ }[];
233
+ }
234
+
235
+ interface TargetJob {
236
+ category: VacancyCategory;
237
+ position: string;
238
+ notes?: string;
239
+ }
240
+
241
+ interface TargetPreferences {
242
+ id: string;
243
+ clientId: string;
244
+ locations: TargetLocation[];
245
+ jobs: TargetJob[];
246
+ createdAt: Date;
247
+ updatedAt: Date;
248
+ }
249
+
227
250
  declare const pathStrings: {
228
251
  readonly clients: () => string;
229
252
  readonly client: (clientId: string) => string;
@@ -249,4 +272,4 @@ declare const pathStrings: {
249
272
  readonly gmailMessage: (clientId: string, messageId: string) => string;
250
273
  };
251
274
 
252
- export { Agent, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientData, ClientLogin, ClientQuestion, ClientQuestionType, ClientQuestionTypeOptions, GmailMessage, Vacancy, VacancyCategory, VacancySuggestion, pathStrings };
275
+ export { Agent, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientData, ClientLogin, ClientQuestion, ClientQuestionType, ClientQuestionTypeOptions, GmailMessage, TargetJob, TargetLocation, TargetPreferences, Vacancy, VacancyCategory, VacancySuggestion, pathStrings };
package/dist/index.d.ts CHANGED
@@ -224,6 +224,29 @@ interface GmailMessage {
224
224
  updatedAt?: Date | string;
225
225
  }
226
226
 
227
+ interface TargetLocation {
228
+ country: string;
229
+ cities: {
230
+ name: string;
231
+ areas: string[];
232
+ }[];
233
+ }
234
+
235
+ interface TargetJob {
236
+ category: VacancyCategory;
237
+ position: string;
238
+ notes?: string;
239
+ }
240
+
241
+ interface TargetPreferences {
242
+ id: string;
243
+ clientId: string;
244
+ locations: TargetLocation[];
245
+ jobs: TargetJob[];
246
+ createdAt: Date;
247
+ updatedAt: Date;
248
+ }
249
+
227
250
  declare const pathStrings: {
228
251
  readonly clients: () => string;
229
252
  readonly client: (clientId: string) => string;
@@ -249,4 +272,4 @@ declare const pathStrings: {
249
272
  readonly gmailMessage: (clientId: string, messageId: string) => string;
250
273
  };
251
274
 
252
- export { Agent, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientData, ClientLogin, ClientQuestion, ClientQuestionType, ClientQuestionTypeOptions, GmailMessage, Vacancy, VacancyCategory, VacancySuggestion, pathStrings };
275
+ export { Agent, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientData, ClientLogin, ClientQuestion, ClientQuestionType, ClientQuestionTypeOptions, GmailMessage, TargetJob, TargetLocation, TargetPreferences, Vacancy, VacancyCategory, VacancySuggestion, pathStrings };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobsearch-works/firestore-models",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A shared library for standardizing Firestore document schemas and paths across multiple projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",