@jobsearch-works/firestore-models 1.1.2 → 1.1.4

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
@@ -270,6 +270,7 @@ declare const pathStrings: {
270
270
  readonly vacancySuggestion: (clientId: string, suggestionId: string) => string;
271
271
  readonly gmailMessages: (clientId: string) => string;
272
272
  readonly gmailMessage: (clientId: string, messageId: string) => string;
273
+ readonly targetPreferences: (clientId: string) => string;
273
274
  };
274
275
 
275
276
  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
@@ -270,6 +270,7 @@ declare const pathStrings: {
270
270
  readonly vacancySuggestion: (clientId: string, suggestionId: string) => string;
271
271
  readonly gmailMessages: (clientId: string) => string;
272
272
  readonly gmailMessage: (clientId: string, messageId: string) => string;
273
+ readonly targetPreferences: (clientId: string) => string;
273
274
  };
274
275
 
275
276
  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.js CHANGED
@@ -117,7 +117,9 @@ var pathStrings = {
117
117
  vacancySuggestion: (clientId, suggestionId) => `clients/${clientId}/vacancySuggestions/${suggestionId}`,
118
118
  // GmailMessage paths
119
119
  gmailMessages: (clientId) => `clientEmails/${clientId}/messages`,
120
- gmailMessage: (clientId, messageId) => `clientEmails/${clientId}/messages/${messageId}`
120
+ gmailMessage: (clientId, messageId) => `clientEmails/${clientId}/messages/${messageId}`,
121
+ // TargetPreferences paths
122
+ targetPreferences: (clientId) => `clients/${clientId}/targetPreferences`
121
123
  };
122
124
  // Annotate the CommonJS export names for ESM import in node:
123
125
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -87,7 +87,9 @@ var pathStrings = {
87
87
  vacancySuggestion: (clientId, suggestionId) => `clients/${clientId}/vacancySuggestions/${suggestionId}`,
88
88
  // GmailMessage paths
89
89
  gmailMessages: (clientId) => `clientEmails/${clientId}/messages`,
90
- gmailMessage: (clientId, messageId) => `clientEmails/${clientId}/messages/${messageId}`
90
+ gmailMessage: (clientId, messageId) => `clientEmails/${clientId}/messages/${messageId}`,
91
+ // TargetPreferences paths
92
+ targetPreferences: (clientId) => `clients/${clientId}/targetPreferences`
91
93
  };
92
94
  export {
93
95
  ApplicationQuestionTypeOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobsearch-works/firestore-models",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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",