@valentine-efagene/qshelter-common 2.0.111 → 2.0.113

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.
@@ -2,6 +2,7 @@ export * from './types/response';
2
2
  export * from './types/action-status';
3
3
  export * from './utils/errors';
4
4
  export * from './utils/condition-operators';
5
+ export * from './utils/documentation-enums';
5
6
  export * from './config';
6
7
  export { PrismaClient, Prisma } from '../generated/client/client';
7
8
  export * from '../generated/client/enums';
package/dist/src/index.js CHANGED
@@ -2,6 +2,7 @@ export * from './types/response';
2
2
  export * from './types/action-status';
3
3
  export * from './utils/errors';
4
4
  export * from './utils/condition-operators';
5
+ export * from './utils/documentation-enums';
5
6
  export * from './config';
6
7
  export { PrismaClient, Prisma } from '../generated/client/client';
7
8
  export * from '../generated/client/enums';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Documentation-related enums for documentation plan steps.
3
+ * Used in DocumentationPlanStep metadata to indicate upload responsibility.
4
+ */
5
+ /**
6
+ * Indicates who is responsible for uploading a document in a documentation step.
7
+ */
8
+ export declare const UPLOADED_BY: {
9
+ /** Document is uploaded by the customer/applicant */
10
+ readonly CUSTOMER: "CUSTOMER";
11
+ /** Document is uploaded by an admin/staff member */
12
+ readonly ADMIN: "ADMIN";
13
+ /** Document is uploaded by the system (auto-generated) */
14
+ readonly SYSTEM: "SYSTEM";
15
+ };
16
+ /**
17
+ * Type representing a valid uploadedBy value.
18
+ */
19
+ export type UploadedBy = (typeof UPLOADED_BY)[keyof typeof UPLOADED_BY];
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Documentation-related enums for documentation plan steps.
3
+ * Used in DocumentationPlanStep metadata to indicate upload responsibility.
4
+ */
5
+ /**
6
+ * Indicates who is responsible for uploading a document in a documentation step.
7
+ */
8
+ export const UPLOADED_BY = {
9
+ /** Document is uploaded by the customer/applicant */
10
+ CUSTOMER: 'CUSTOMER',
11
+ /** Document is uploaded by an admin/staff member */
12
+ ADMIN: 'ADMIN',
13
+ /** Document is uploaded by the system (auto-generated) */
14
+ SYSTEM: 'SYSTEM',
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valentine-efagene/qshelter-common",
3
- "version": "2.0.111",
3
+ "version": "2.0.113",
4
4
  "description": "Shared database schemas and utilities for QShelter services",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",