@jobsearch-works/firestore-models 1.1.10 → 1.1.11

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
@@ -272,6 +272,10 @@ declare const firestorePaths: {
272
272
  readonly collection: (clientId: string) => string;
273
273
  readonly doc: (clientId: string, suggestionId: string) => string;
274
274
  };
275
+ readonly resumeLinks: {
276
+ readonly collection: (clientId: string) => string;
277
+ readonly doc: (clientId: string, resumeLinkId: string) => string;
278
+ };
275
279
  };
276
280
  readonly users: {
277
281
  readonly collection: () => string;
@@ -297,10 +301,6 @@ declare const firestorePaths: {
297
301
  readonly collection: (clientId: string) => string;
298
302
  readonly doc: (clientId: string, messageId: string) => string;
299
303
  };
300
- readonly resumeLinks: {
301
- readonly collection: (clientId: string) => string;
302
- readonly doc: (clientId: string, resumeLinkId: string) => string;
303
- };
304
304
  };
305
305
 
306
306
  export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientData, ClientLogin, ClientQuestion, ClientQuestionType, ClientQuestionTypeOptions, ClientStatus, GmailMessage, ResumeLink, TargetJob, TargetLocation, TargetPreferences, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths };
package/dist/index.d.ts CHANGED
@@ -272,6 +272,10 @@ declare const firestorePaths: {
272
272
  readonly collection: (clientId: string) => string;
273
273
  readonly doc: (clientId: string, suggestionId: string) => string;
274
274
  };
275
+ readonly resumeLinks: {
276
+ readonly collection: (clientId: string) => string;
277
+ readonly doc: (clientId: string, resumeLinkId: string) => string;
278
+ };
275
279
  };
276
280
  readonly users: {
277
281
  readonly collection: () => string;
@@ -297,10 +301,6 @@ declare const firestorePaths: {
297
301
  readonly collection: (clientId: string) => string;
298
302
  readonly doc: (clientId: string, messageId: string) => string;
299
303
  };
300
- readonly resumeLinks: {
301
- readonly collection: (clientId: string) => string;
302
- readonly doc: (clientId: string, resumeLinkId: string) => string;
303
- };
304
304
  };
305
305
 
306
306
  export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientData, ClientLogin, ClientQuestion, ClientQuestionType, ClientQuestionTypeOptions, ClientStatus, GmailMessage, ResumeLink, TargetJob, TargetLocation, TargetPreferences, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths };
package/dist/index.js CHANGED
@@ -107,6 +107,10 @@ var firestorePaths = {
107
107
  vacancySuggestions: {
108
108
  collection: (clientId) => `clients/${clientId}/vacancySuggestions`,
109
109
  doc: (clientId, suggestionId) => `clients/${clientId}/vacancySuggestions/${suggestionId}`
110
+ },
111
+ resumeLinks: {
112
+ collection: (clientId) => `clients/${clientId}/resumeLinks`,
113
+ doc: (clientId, resumeLinkId) => `clients/${clientId}/resumeLinks/${resumeLinkId}`
110
114
  }
111
115
  },
112
116
  users: {
@@ -132,10 +136,6 @@ var firestorePaths = {
132
136
  gmailMessages: {
133
137
  collection: (clientId) => `clientEmails/${clientId}/messages`,
134
138
  doc: (clientId, messageId) => `clientEmails/${clientId}/messages/${messageId}`
135
- },
136
- resumeLinks: {
137
- collection: (clientId) => `clients/${clientId}/resumeLinks`,
138
- doc: (clientId, resumeLinkId) => `clients/${clientId}/resumeLinks/${resumeLinkId}`
139
139
  }
140
140
  };
141
141
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.mjs CHANGED
@@ -77,6 +77,10 @@ var firestorePaths = {
77
77
  vacancySuggestions: {
78
78
  collection: (clientId) => `clients/${clientId}/vacancySuggestions`,
79
79
  doc: (clientId, suggestionId) => `clients/${clientId}/vacancySuggestions/${suggestionId}`
80
+ },
81
+ resumeLinks: {
82
+ collection: (clientId) => `clients/${clientId}/resumeLinks`,
83
+ doc: (clientId, resumeLinkId) => `clients/${clientId}/resumeLinks/${resumeLinkId}`
80
84
  }
81
85
  },
82
86
  users: {
@@ -102,10 +106,6 @@ var firestorePaths = {
102
106
  gmailMessages: {
103
107
  collection: (clientId) => `clientEmails/${clientId}/messages`,
104
108
  doc: (clientId, messageId) => `clientEmails/${clientId}/messages/${messageId}`
105
- },
106
- resumeLinks: {
107
- collection: (clientId) => `clients/${clientId}/resumeLinks`,
108
- doc: (clientId, resumeLinkId) => `clients/${clientId}/resumeLinks/${resumeLinkId}`
109
109
  }
110
110
  };
111
111
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobsearch-works/firestore-models",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
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",