@reekon-tools/boldr-utils 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.ts CHANGED
@@ -1,159 +1,2 @@
1
- interface FirestoreDoc {
2
- id: string;
3
- }
4
- interface Timestamps {
5
- createdAt: Date;
6
- }
7
- interface CreatedBy {
8
- firstName: string;
9
- lastName: string;
10
- userId: string;
11
- }
12
- export interface Organization extends FirestoreDoc, Timestamps {
13
- name: string;
14
- createdBy: string;
15
- }
16
- export declare enum OrganizationRole {
17
- Admin = "admin",
18
- Member = "member"
19
- }
20
- export declare enum InvitationStatus {
21
- Pending = "pending",
22
- Accepted = "accepted"
23
- }
24
- export interface Invitation extends FirestoreDoc, Timestamps {
25
- delivery?: unknown;
26
- invitationCode: string;
27
- inviteeEmail: string;
28
- inviteeUid: string;
29
- inviterId: string;
30
- message: {
31
- subject: string;
32
- text: string;
33
- };
34
- organizationId: string;
35
- role: OrganizationRole;
36
- status: InvitationStatus;
37
- }
38
- export interface OrganizationMember extends FirestoreDoc {
39
- email: string;
40
- firstName: string;
41
- lastName: string;
42
- joinedAt: Date;
43
- role: OrganizationRole;
44
- userId: string;
45
- }
46
- export interface Project extends FirestoreDoc, Timestamps {
47
- name: string;
48
- description: string;
49
- imageUrl: string | null;
50
- streetAddress: string;
51
- city: string;
52
- zipCode: string;
53
- state: string;
54
- }
55
- export declare enum FolderType {
56
- Project = "project",
57
- Job = "job"
58
- }
59
- export interface Folder extends FirestoreDoc {
60
- name: string;
61
- index: number;
62
- parentFolderId?: string | null;
63
- projectId: string | null;
64
- type: FolderType;
65
- }
66
- export interface Job extends FirestoreDoc, Timestamps {
67
- name: string;
68
- folderId: string;
69
- progress: number;
70
- projectId: string;
71
- totalTasks: string;
72
- }
73
- export interface Section {
74
- id: string;
75
- name: string;
76
- tableConfig: ColumnConfig[];
77
- measurements: string[];
78
- projectId: string;
79
- jobId: string;
80
- }
81
- export interface Group extends FirestoreDoc, Timestamps {
82
- projectId: string;
83
- jobId: string;
84
- sectionId: string;
85
- name: string;
86
- sortIndex: number;
87
- columns: Record<string, any>;
88
- }
89
- export declare enum ColumnType {
90
- Text = "text",
91
- Number = "number",
92
- Measurement = "measurement",
93
- Boolean = "boolean",
94
- Formula = "formula"
95
- }
96
- export interface Formula extends FirestoreDoc, Timestamps {
97
- expression: string;
98
- name: string;
99
- varaibles: string[];
100
- }
101
- export interface ColumnConfig {
102
- id: string;
103
- name: string;
104
- type: ColumnType;
105
- formulaId?: string;
106
- mappings?: Record<string, string>;
107
- }
108
- export interface Row {
109
- [key: string]: any;
110
- }
111
- export interface Measurement extends FirestoreDoc, Timestamps, CreatedBy {
112
- projectId: string;
113
- jobId: string;
114
- groupId: string;
115
- sectionId: string;
116
- value: number;
117
- index: number;
118
- label: string;
119
- measurementIndex: number;
120
- unit: Units;
121
- }
122
- export declare enum Units {
123
- Centimeters = "cm",
124
- Millimeters = "mm",
125
- Meters = "m",
126
- Inches = "in",
127
- FractionalInches = "in_frac",
128
- Feet = "ft",
129
- FeetInchesDecimal = "ft_in_decimal",
130
- FeetInchesFractional = "ft_in_frac"
131
- }
132
- export declare const convertUnitsToReadable: (targetUnit: Units) => "in" | "ft" | "m" | "mm" | "cm" | "in (fractional)" | "ft-in (decimal)" | "ft-in (fractional)" | null;
133
- export declare enum FractionalTolerance {
134
- Fourth = "4",
135
- Eighth = "8",
136
- Sixteenth = "16",
137
- ThirtySecond = "32",
138
- SixtyFourth = "64",
139
- OneTwentyEighth = "128"
140
- }
141
- export declare enum DecimalTolerance {
142
- Half = "0.5",
143
- Tenth = "0.1",
144
- Hundredth = "0.01",
145
- Thousandth = "0.001"
146
- }
147
- export interface UserDocument extends FirestoreDoc, Timestamps {
148
- defaultOrganization: string;
149
- displayName: string;
150
- email: string;
151
- firstName: string;
152
- lastName: string;
153
- defaultUnit: Units;
154
- decimalTolerance: DecimalTolerance;
155
- fractionalTolerance: FractionalTolerance;
156
- showWizard: boolean;
157
- printLabelSize: string;
158
- }
159
- export { evaluateColumnValue } from './formulas/evaluateColumnValue.js';
1
+ export * from './types/firestore';
2
+ export { evaluateColumnValue } from './formulas/evaluateColumnValue';
package/dist/index.js CHANGED
@@ -1,79 +1,3 @@
1
- ;
2
- export var OrganizationRole;
3
- (function (OrganizationRole) {
4
- OrganizationRole["Admin"] = "admin";
5
- OrganizationRole["Member"] = "member";
6
- })(OrganizationRole || (OrganizationRole = {}));
7
- export var InvitationStatus;
8
- (function (InvitationStatus) {
9
- InvitationStatus["Pending"] = "pending";
10
- InvitationStatus["Accepted"] = "accepted";
11
- })(InvitationStatus || (InvitationStatus = {}));
12
- ;
13
- ;
14
- export var FolderType;
15
- (function (FolderType) {
16
- FolderType["Project"] = "project";
17
- FolderType["Job"] = "job";
18
- })(FolderType || (FolderType = {}));
19
- export var ColumnType;
20
- (function (ColumnType) {
21
- ColumnType["Text"] = "text";
22
- ColumnType["Number"] = "number";
23
- ColumnType["Measurement"] = "measurement";
24
- ColumnType["Boolean"] = "boolean";
25
- ColumnType["Formula"] = "formula";
26
- })(ColumnType || (ColumnType = {}));
27
- export var Units;
28
- (function (Units) {
29
- Units["Centimeters"] = "cm";
30
- Units["Millimeters"] = "mm";
31
- Units["Meters"] = "m";
32
- Units["Inches"] = "in";
33
- Units["FractionalInches"] = "in_frac";
34
- Units["Feet"] = "ft";
35
- Units["FeetInchesDecimal"] = "ft_in_decimal";
36
- Units["FeetInchesFractional"] = "ft_in_frac";
37
- })(Units || (Units = {}));
38
- export const convertUnitsToReadable = (targetUnit) => {
39
- switch (targetUnit) {
40
- case Units.Meters:
41
- return 'm';
42
- case Units.Millimeters:
43
- return 'mm';
44
- case Units.Centimeters:
45
- return 'cm';
46
- case Units.Feet:
47
- return 'ft';
48
- case Units.FractionalInches:
49
- return 'in (fractional)';
50
- case Units.Inches:
51
- return 'in';
52
- case Units.FeetInchesDecimal:
53
- return 'ft-in (decimal)';
54
- case Units.FeetInchesFractional:
55
- return 'ft-in (fractional)';
56
- default:
57
- return null;
58
- }
59
- };
60
- export var FractionalTolerance;
61
- (function (FractionalTolerance) {
62
- FractionalTolerance["Fourth"] = "4";
63
- FractionalTolerance["Eighth"] = "8";
64
- FractionalTolerance["Sixteenth"] = "16";
65
- FractionalTolerance["ThirtySecond"] = "32";
66
- FractionalTolerance["SixtyFourth"] = "64";
67
- FractionalTolerance["OneTwentyEighth"] = "128";
68
- })(FractionalTolerance || (FractionalTolerance = {}));
69
- export var DecimalTolerance;
70
- (function (DecimalTolerance) {
71
- DecimalTolerance["Half"] = "0.5";
72
- DecimalTolerance["Tenth"] = "0.1";
73
- DecimalTolerance["Hundredth"] = "0.01";
74
- DecimalTolerance["Thousandth"] = "0.001";
75
- })(DecimalTolerance || (DecimalTolerance = {}));
76
- ;
77
- // ✅ Use .js extensions in ESNext output
78
- export { evaluateColumnValue } from './formulas/evaluateColumnValue.js';
1
+ export * from './types/firestore';
2
+ export { evaluateColumnValue } from './formulas/evaluateColumnValue';
79
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBC,CAAC;AAEF,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAeA,CAAC;AASD,CAAC;AAYF,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,yBAAW,CAAA;AACb,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAoCD,MAAM,CAAN,IAAY,UAMX;AAND,WAA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,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,gCAAY,CAAA;IACZ,iCAAa,CAAA;IACb,sCAAkB,CAAA;IAClB,wCAAoB,CAAA;AACtB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAaA,CAAC;AAEF,wCAAwC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,159 @@
1
+ interface FirestoreDoc {
2
+ id: string;
3
+ }
4
+ interface Timestamps {
5
+ createdAt: Date;
6
+ }
7
+ interface CreatedBy {
8
+ firstName: string;
9
+ lastName: string;
10
+ userId: string;
11
+ }
12
+ export interface Organization extends FirestoreDoc, Timestamps {
13
+ name: string;
14
+ createdBy: string;
15
+ }
16
+ export declare enum OrganizationRole {
17
+ Admin = "admin",
18
+ Member = "member"
19
+ }
20
+ export declare enum InvitationStatus {
21
+ Pending = "pending",
22
+ Accepted = "accepted"
23
+ }
24
+ export interface Invitation extends FirestoreDoc, Timestamps {
25
+ delivery?: unknown;
26
+ invitationCode: string;
27
+ inviteeEmail: string;
28
+ inviteeUid: string;
29
+ inviterId: string;
30
+ message: {
31
+ subject: string;
32
+ text: string;
33
+ };
34
+ organizationId: string;
35
+ role: OrganizationRole;
36
+ status: InvitationStatus;
37
+ }
38
+ export interface OrganizationMember extends FirestoreDoc {
39
+ email: string;
40
+ firstName: string;
41
+ lastName: string;
42
+ joinedAt: Date;
43
+ role: OrganizationRole;
44
+ userId: string;
45
+ }
46
+ export interface Project extends FirestoreDoc, Timestamps {
47
+ name: string;
48
+ description: string;
49
+ imageUrl: string | null;
50
+ streetAddress: string;
51
+ city: string;
52
+ zipCode: string;
53
+ state: string;
54
+ }
55
+ export declare enum FolderType {
56
+ Project = "project",
57
+ Job = "job"
58
+ }
59
+ export interface Folder extends FirestoreDoc {
60
+ name: string;
61
+ index: number;
62
+ parentFolderId?: string | null;
63
+ projectId: string | null;
64
+ type: FolderType;
65
+ }
66
+ export interface Job extends FirestoreDoc, Timestamps {
67
+ name: string;
68
+ folderId: string;
69
+ progress: number;
70
+ projectId: string;
71
+ totalTasks: string;
72
+ }
73
+ export interface Section {
74
+ id: string;
75
+ name: string;
76
+ tableConfig: ColumnConfig[];
77
+ measurements: string[];
78
+ projectId: string;
79
+ jobId: string;
80
+ }
81
+ export interface Group extends FirestoreDoc, Timestamps {
82
+ projectId: string;
83
+ jobId: string;
84
+ sectionId: string;
85
+ name: string;
86
+ sortIndex: number;
87
+ columns: Record<string, any>;
88
+ }
89
+ export declare enum ColumnType {
90
+ Text = "text",
91
+ Number = "number",
92
+ Measurement = "measurement",
93
+ Boolean = "boolean",
94
+ Formula = "formula"
95
+ }
96
+ export interface Formula extends FirestoreDoc, Timestamps {
97
+ expression: string;
98
+ name: string;
99
+ varaibles: string[];
100
+ }
101
+ export interface ColumnConfig {
102
+ id: string;
103
+ name: string;
104
+ type: ColumnType;
105
+ formulaId?: string;
106
+ mappings?: Record<string, string>;
107
+ }
108
+ export interface Row {
109
+ [key: string]: any;
110
+ }
111
+ export interface Measurement extends FirestoreDoc, Timestamps, CreatedBy {
112
+ projectId: string;
113
+ jobId: string;
114
+ groupId: string;
115
+ sectionId: string;
116
+ value: number;
117
+ index: number;
118
+ label: string;
119
+ measurementIndex: number;
120
+ unit: Units;
121
+ }
122
+ export declare enum Units {
123
+ Centimeters = "cm",
124
+ Millimeters = "mm",
125
+ Meters = "m",
126
+ Inches = "in",
127
+ FractionalInches = "in_frac",
128
+ Feet = "ft",
129
+ FeetInchesDecimal = "ft_in_decimal",
130
+ FeetInchesFractional = "ft_in_frac"
131
+ }
132
+ export declare const convertUnitsToReadable: (targetUnit: Units) => "cm" | "mm" | "m" | "in" | "ft" | "in (fractional)" | "ft-in (decimal)" | "ft-in (fractional)" | null;
133
+ export declare enum FractionalTolerance {
134
+ Fourth = "4",
135
+ Eighth = "8",
136
+ Sixteenth = "16",
137
+ ThirtySecond = "32",
138
+ SixtyFourth = "64",
139
+ OneTwentyEighth = "128"
140
+ }
141
+ export declare enum DecimalTolerance {
142
+ Half = "0.5",
143
+ Tenth = "0.1",
144
+ Hundredth = "0.01",
145
+ Thousandth = "0.001"
146
+ }
147
+ export interface UserDocument extends FirestoreDoc, Timestamps {
148
+ defaultOrganization: string;
149
+ displayName: string;
150
+ email: string;
151
+ firstName: string;
152
+ lastName: string;
153
+ defaultUnit: Units;
154
+ decimalTolerance: DecimalTolerance;
155
+ fractionalTolerance: FractionalTolerance;
156
+ showWizard: boolean;
157
+ printLabelSize: string;
158
+ }
159
+ export {};
@@ -0,0 +1,77 @@
1
+ ;
2
+ export var OrganizationRole;
3
+ (function (OrganizationRole) {
4
+ OrganizationRole["Admin"] = "admin";
5
+ OrganizationRole["Member"] = "member";
6
+ })(OrganizationRole || (OrganizationRole = {}));
7
+ export var InvitationStatus;
8
+ (function (InvitationStatus) {
9
+ InvitationStatus["Pending"] = "pending";
10
+ InvitationStatus["Accepted"] = "accepted";
11
+ })(InvitationStatus || (InvitationStatus = {}));
12
+ ;
13
+ ;
14
+ export var FolderType;
15
+ (function (FolderType) {
16
+ FolderType["Project"] = "project";
17
+ FolderType["Job"] = "job";
18
+ })(FolderType || (FolderType = {}));
19
+ export var ColumnType;
20
+ (function (ColumnType) {
21
+ ColumnType["Text"] = "text";
22
+ ColumnType["Number"] = "number";
23
+ ColumnType["Measurement"] = "measurement";
24
+ ColumnType["Boolean"] = "boolean";
25
+ ColumnType["Formula"] = "formula";
26
+ })(ColumnType || (ColumnType = {}));
27
+ export var Units;
28
+ (function (Units) {
29
+ Units["Centimeters"] = "cm";
30
+ Units["Millimeters"] = "mm";
31
+ Units["Meters"] = "m";
32
+ Units["Inches"] = "in";
33
+ Units["FractionalInches"] = "in_frac";
34
+ Units["Feet"] = "ft";
35
+ Units["FeetInchesDecimal"] = "ft_in_decimal";
36
+ Units["FeetInchesFractional"] = "ft_in_frac";
37
+ })(Units || (Units = {}));
38
+ export const convertUnitsToReadable = (targetUnit) => {
39
+ switch (targetUnit) {
40
+ case Units.Meters:
41
+ return 'm';
42
+ case Units.Millimeters:
43
+ return 'mm';
44
+ case Units.Centimeters:
45
+ return 'cm';
46
+ case Units.Feet:
47
+ return 'ft';
48
+ case Units.FractionalInches:
49
+ return 'in (fractional)';
50
+ case Units.Inches:
51
+ return 'in';
52
+ case Units.FeetInchesDecimal:
53
+ return 'ft-in (decimal)';
54
+ case Units.FeetInchesFractional:
55
+ return 'ft-in (fractional)';
56
+ default:
57
+ return null;
58
+ }
59
+ };
60
+ export var FractionalTolerance;
61
+ (function (FractionalTolerance) {
62
+ FractionalTolerance["Fourth"] = "4";
63
+ FractionalTolerance["Eighth"] = "8";
64
+ FractionalTolerance["Sixteenth"] = "16";
65
+ FractionalTolerance["ThirtySecond"] = "32";
66
+ FractionalTolerance["SixtyFourth"] = "64";
67
+ FractionalTolerance["OneTwentyEighth"] = "128";
68
+ })(FractionalTolerance || (FractionalTolerance = {}));
69
+ export var DecimalTolerance;
70
+ (function (DecimalTolerance) {
71
+ DecimalTolerance["Half"] = "0.5";
72
+ DecimalTolerance["Tenth"] = "0.1";
73
+ DecimalTolerance["Hundredth"] = "0.01";
74
+ DecimalTolerance["Thousandth"] = "0.001";
75
+ })(DecimalTolerance || (DecimalTolerance = {}));
76
+ ;
77
+ //# sourceMappingURL=firestore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firestore.js","sourceRoot":"","sources":["../../src/types/firestore.ts"],"names":[],"mappings":"AAiBG,CAAC;AAEF,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,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B;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,mCAAY,CAAA;IACZ,mCAAY,CAAA;IACZ,uCAAgB,CAAA;IAChB,0CAAmB,CAAA;IACnB,yCAAkB,CAAA;IAClB,8CAAuB,CAAA;AACzB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAED,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,gCAAY,CAAA;IACZ,iCAAa,CAAA;IACb,sCAAkB,CAAA;IAClB,wCAAoB,CAAA;AACtB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAaA,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reekon-tools/boldr-utils",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Shared utilities for Boldr projects in Reekon Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,5 +30,12 @@
30
30
  "ts-node": "^10.9.2",
31
31
  "typescript": "^5.8.3"
32
32
  },
33
+ "type": "module",
34
+ "exports": {
35
+ ".": {
36
+ "import": "./dist/index.js",
37
+ "types": "./dist/index.d.ts"
38
+ }
39
+ },
33
40
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
34
41
  }