@happyvertical/smrt-timesheets 0.60.9 → 0.60.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/AGENTS.md +1 -0
- package/dist/attendance.js +2 -2
- package/dist/chunks/{attendance-Bbfar2Rt.js → attendance-Bn67AoVG.js} +3 -3
- package/dist/chunks/{attendance-Bbfar2Rt.js.map → attendance-Bn67AoVG.js.map} +1 -1
- package/dist/chunks/{attendance-ByHd_pgP.js → attendance-DqfcSKjb.js} +3 -3
- package/dist/chunks/{attendance-ByHd_pgP.js.map → attendance-DqfcSKjb.js.map} +1 -1
- package/dist/chunks/{models-DYpt1fHB.js → models-BmARm6z4.js} +2 -2
- package/dist/chunks/{models-DYpt1fHB.js.map → models-BmARm6z4.js.map} +1 -1
- package/dist/chunks/{rollup-Cw8OQcMv.js → rollup-BUrEpIob.js} +3 -3
- package/dist/chunks/{rollup-Cw8OQcMv.js.map → rollup-BUrEpIob.js.map} +1 -1
- package/dist/chunks/service-time-entry-BCOuRD1O.js +286 -0
- package/dist/chunks/service-time-entry-BCOuRD1O.js.map +1 -0
- package/dist/chunks/{time-entry-actions-Dv-svepg.js → time-entry-actions-DgBWldqH.js} +2 -2
- package/dist/chunks/{time-entry-actions-Dv-svepg.js.map → time-entry-actions-DgBWldqH.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/manifest.json +177 -45
- package/dist/rollup.js +1 -1
- package/dist/smrt-knowledge.json +5 -5
- package/dist/smrt-knowledge.okf.md +101 -0
- package/package.json +8 -8
- package/dist/chunks/service-time-entry-B67bl3UL.js +0 -286
- package/dist/chunks/service-time-entry-B67bl3UL.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-timesheets",
|
|
5
|
-
"packageVersion": "0.60.
|
|
5
|
+
"packageVersion": "0.60.11",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-timesheets:AttendanceCorrection": {
|
|
8
8
|
"name": "attendancecorrection",
|
|
@@ -176,8 +176,14 @@
|
|
|
176
176
|
],
|
|
177
177
|
"schema": {
|
|
178
178
|
"tableName": "attendance_corrections",
|
|
179
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_corrections\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"subject_profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"kind\" TEXT,\n \"punch_id\" UUID,\n \"target_id\" TEXT,\n \"before_state\" TEXT,\n \"after_state\" TEXT,\n \"reason\" TEXT,\n \"acknowledgement_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"acknowledged_at\" TIMESTAMP,\n \"acknowledged_by_profile_id\" UUID\n);",
|
|
179
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_corrections\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"subject_profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"kind\" TEXT,\n \"punch_id\" UUID,\n \"target_id\" TEXT,\n \"before_state\" TEXT,\n \"after_state\" TEXT,\n \"reason\" TEXT,\n \"acknowledgement_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"acknowledged_at\" TIMESTAMP,\n \"acknowledged_by_profile_id\" UUID\n);",
|
|
180
180
|
"columns": {
|
|
181
|
+
"_sync_origin_device_id": {
|
|
182
|
+
"type": "TEXT"
|
|
183
|
+
},
|
|
184
|
+
"_sync_revision": {
|
|
185
|
+
"type": "INTEGER"
|
|
186
|
+
},
|
|
181
187
|
"id": {
|
|
182
188
|
"type": "UUID",
|
|
183
189
|
"primaryKey": true,
|
|
@@ -332,7 +338,7 @@
|
|
|
332
338
|
]
|
|
333
339
|
}
|
|
334
340
|
],
|
|
335
|
-
"version": "
|
|
341
|
+
"version": "394946f0"
|
|
336
342
|
},
|
|
337
343
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
338
344
|
},
|
|
@@ -370,8 +376,14 @@
|
|
|
370
376
|
],
|
|
371
377
|
"schema": {
|
|
372
378
|
"tableName": "attendance_corrections",
|
|
373
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_corrections\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"subject_profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"kind\" TEXT,\n \"punch_id\" UUID,\n \"target_id\" TEXT,\n \"before_state\" TEXT,\n \"after_state\" TEXT,\n \"reason\" TEXT,\n \"acknowledgement_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"acknowledged_at\" TIMESTAMP,\n \"acknowledged_by_profile_id\" UUID\n);",
|
|
379
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_corrections\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"subject_profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"kind\" TEXT,\n \"punch_id\" UUID,\n \"target_id\" TEXT,\n \"before_state\" TEXT,\n \"after_state\" TEXT,\n \"reason\" TEXT,\n \"acknowledgement_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"acknowledged_at\" TIMESTAMP,\n \"acknowledged_by_profile_id\" UUID\n);",
|
|
374
380
|
"columns": {
|
|
381
|
+
"_sync_origin_device_id": {
|
|
382
|
+
"type": "TEXT"
|
|
383
|
+
},
|
|
384
|
+
"_sync_revision": {
|
|
385
|
+
"type": "INTEGER"
|
|
386
|
+
},
|
|
375
387
|
"id": {
|
|
376
388
|
"type": "UUID",
|
|
377
389
|
"primaryKey": true,
|
|
@@ -526,7 +538,7 @@
|
|
|
526
538
|
]
|
|
527
539
|
}
|
|
528
540
|
],
|
|
529
|
-
"version": "
|
|
541
|
+
"version": "394946f0"
|
|
530
542
|
},
|
|
531
543
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
532
544
|
},
|
|
@@ -724,8 +736,14 @@
|
|
|
724
736
|
],
|
|
725
737
|
"schema": {
|
|
726
738
|
"tableName": "attendance_punches",
|
|
727
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_punches\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"unpaid_break_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"auto_close_reason\" TEXT,\n \"recorded_offline\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"source\" TEXT,\n \"device_ref_type\" TEXT,\n \"device_ref_id\" TEXT,\n \"service_time_entry_id\" UUID,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
739
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_punches\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"unpaid_break_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"auto_close_reason\" TEXT,\n \"recorded_offline\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"source\" TEXT,\n \"device_ref_type\" TEXT,\n \"device_ref_id\" TEXT,\n \"service_time_entry_id\" UUID,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
728
740
|
"columns": {
|
|
741
|
+
"_sync_origin_device_id": {
|
|
742
|
+
"type": "TEXT"
|
|
743
|
+
},
|
|
744
|
+
"_sync_revision": {
|
|
745
|
+
"type": "INTEGER"
|
|
746
|
+
},
|
|
729
747
|
"id": {
|
|
730
748
|
"type": "UUID",
|
|
731
749
|
"primaryKey": true,
|
|
@@ -889,7 +907,7 @@
|
|
|
889
907
|
]
|
|
890
908
|
}
|
|
891
909
|
],
|
|
892
|
-
"version": "
|
|
910
|
+
"version": "34a4b99d"
|
|
893
911
|
},
|
|
894
912
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
895
913
|
},
|
|
@@ -1030,8 +1048,14 @@
|
|
|
1030
1048
|
],
|
|
1031
1049
|
"schema": {
|
|
1032
1050
|
"tableName": "attendance_breaks",
|
|
1033
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_breaks\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"paid\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"kind\" TEXT,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1051
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_breaks\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"paid\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"kind\" TEXT,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1034
1052
|
"columns": {
|
|
1053
|
+
"_sync_origin_device_id": {
|
|
1054
|
+
"type": "TEXT"
|
|
1055
|
+
},
|
|
1056
|
+
"_sync_revision": {
|
|
1057
|
+
"type": "INTEGER"
|
|
1058
|
+
},
|
|
1035
1059
|
"id": {
|
|
1036
1060
|
"type": "UUID",
|
|
1037
1061
|
"primaryKey": true,
|
|
@@ -1135,7 +1159,7 @@
|
|
|
1135
1159
|
]
|
|
1136
1160
|
}
|
|
1137
1161
|
],
|
|
1138
|
-
"version": "
|
|
1162
|
+
"version": "faa286a5"
|
|
1139
1163
|
},
|
|
1140
1164
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
1141
1165
|
},
|
|
@@ -1340,8 +1364,14 @@
|
|
|
1340
1364
|
],
|
|
1341
1365
|
"schema": {
|
|
1342
1366
|
"tableName": "attendance_segments",
|
|
1343
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_segments\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"profile_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"task_ref_type\" TEXT,\n \"task_ref_id\" TEXT,\n \"kind\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"closed_reason\" TEXT DEFAULT '',\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1367
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_segments\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"profile_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"task_ref_type\" TEXT,\n \"task_ref_id\" TEXT,\n \"kind\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"closed_reason\" TEXT DEFAULT '',\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1344
1368
|
"columns": {
|
|
1369
|
+
"_sync_origin_device_id": {
|
|
1370
|
+
"type": "TEXT"
|
|
1371
|
+
},
|
|
1372
|
+
"_sync_revision": {
|
|
1373
|
+
"type": "INTEGER"
|
|
1374
|
+
},
|
|
1345
1375
|
"id": {
|
|
1346
1376
|
"type": "UUID",
|
|
1347
1377
|
"primaryKey": true,
|
|
@@ -1518,7 +1548,7 @@
|
|
|
1518
1548
|
]
|
|
1519
1549
|
}
|
|
1520
1550
|
],
|
|
1521
|
-
"version": "
|
|
1551
|
+
"version": "40dd325d"
|
|
1522
1552
|
},
|
|
1523
1553
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
1524
1554
|
},
|
|
@@ -1638,8 +1668,14 @@
|
|
|
1638
1668
|
],
|
|
1639
1669
|
"schema": {
|
|
1640
1670
|
"tableName": "attendance_replays",
|
|
1641
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_replays\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"replay_key\" TEXT NOT NULL UNIQUE,\n \"content\" TEXT,\n \"outcome\" TEXT\n);",
|
|
1671
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_replays\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"replay_key\" TEXT NOT NULL UNIQUE,\n \"content\" TEXT,\n \"outcome\" TEXT\n);",
|
|
1642
1672
|
"columns": {
|
|
1673
|
+
"_sync_origin_device_id": {
|
|
1674
|
+
"type": "TEXT"
|
|
1675
|
+
},
|
|
1676
|
+
"_sync_revision": {
|
|
1677
|
+
"type": "INTEGER"
|
|
1678
|
+
},
|
|
1643
1679
|
"id": {
|
|
1644
1680
|
"type": "UUID",
|
|
1645
1681
|
"primaryKey": true,
|
|
@@ -1705,7 +1741,7 @@
|
|
|
1705
1741
|
]
|
|
1706
1742
|
}
|
|
1707
1743
|
],
|
|
1708
|
-
"version": "
|
|
1744
|
+
"version": "0de1e15c"
|
|
1709
1745
|
},
|
|
1710
1746
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
1711
1747
|
},
|
|
@@ -1752,8 +1788,14 @@
|
|
|
1752
1788
|
],
|
|
1753
1789
|
"schema": {
|
|
1754
1790
|
"tableName": "attendance_punches",
|
|
1755
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_punches\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"unpaid_break_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"auto_close_reason\" TEXT,\n \"recorded_offline\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"source\" TEXT,\n \"device_ref_type\" TEXT,\n \"device_ref_id\" TEXT,\n \"service_time_entry_id\" UUID,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1791
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_punches\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"unpaid_break_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"auto_close_reason\" TEXT,\n \"recorded_offline\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"source\" TEXT,\n \"device_ref_type\" TEXT,\n \"device_ref_id\" TEXT,\n \"service_time_entry_id\" UUID,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1756
1792
|
"columns": {
|
|
1793
|
+
"_sync_origin_device_id": {
|
|
1794
|
+
"type": "TEXT"
|
|
1795
|
+
},
|
|
1796
|
+
"_sync_revision": {
|
|
1797
|
+
"type": "INTEGER"
|
|
1798
|
+
},
|
|
1757
1799
|
"id": {
|
|
1758
1800
|
"type": "UUID",
|
|
1759
1801
|
"primaryKey": true,
|
|
@@ -1917,7 +1959,7 @@
|
|
|
1917
1959
|
]
|
|
1918
1960
|
}
|
|
1919
1961
|
],
|
|
1920
|
-
"version": "
|
|
1962
|
+
"version": "34a4b99d"
|
|
1921
1963
|
},
|
|
1922
1964
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
1923
1965
|
},
|
|
@@ -1964,8 +2006,14 @@
|
|
|
1964
2006
|
],
|
|
1965
2007
|
"schema": {
|
|
1966
2008
|
"tableName": "attendance_breaks",
|
|
1967
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_breaks\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"paid\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"kind\" TEXT,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
2009
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_breaks\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"paid\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"kind\" TEXT,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
1968
2010
|
"columns": {
|
|
2011
|
+
"_sync_origin_device_id": {
|
|
2012
|
+
"type": "TEXT"
|
|
2013
|
+
},
|
|
2014
|
+
"_sync_revision": {
|
|
2015
|
+
"type": "INTEGER"
|
|
2016
|
+
},
|
|
1969
2017
|
"id": {
|
|
1970
2018
|
"type": "UUID",
|
|
1971
2019
|
"primaryKey": true,
|
|
@@ -2069,7 +2117,7 @@
|
|
|
2069
2117
|
]
|
|
2070
2118
|
}
|
|
2071
2119
|
],
|
|
2072
|
-
"version": "
|
|
2120
|
+
"version": "faa286a5"
|
|
2073
2121
|
},
|
|
2074
2122
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
2075
2123
|
},
|
|
@@ -2116,8 +2164,14 @@
|
|
|
2116
2164
|
],
|
|
2117
2165
|
"schema": {
|
|
2118
2166
|
"tableName": "attendance_segments",
|
|
2119
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_segments\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"profile_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"task_ref_type\" TEXT,\n \"task_ref_id\" TEXT,\n \"kind\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"closed_reason\" TEXT DEFAULT '',\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
2167
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_segments\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"punch_id\" UUID,\n \"profile_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"task_ref_type\" TEXT,\n \"task_ref_id\" TEXT,\n \"kind\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"closed_reason\" TEXT DEFAULT '',\n \"review_required\" BOOLEAN NOT NULL DEFAULT FALSE,\n \"open_slot\" TEXT NOT NULL\n);",
|
|
2120
2168
|
"columns": {
|
|
2169
|
+
"_sync_origin_device_id": {
|
|
2170
|
+
"type": "TEXT"
|
|
2171
|
+
},
|
|
2172
|
+
"_sync_revision": {
|
|
2173
|
+
"type": "INTEGER"
|
|
2174
|
+
},
|
|
2121
2175
|
"id": {
|
|
2122
2176
|
"type": "UUID",
|
|
2123
2177
|
"primaryKey": true,
|
|
@@ -2294,7 +2348,7 @@
|
|
|
2294
2348
|
]
|
|
2295
2349
|
}
|
|
2296
2350
|
],
|
|
2297
|
-
"version": "
|
|
2351
|
+
"version": "40dd325d"
|
|
2298
2352
|
},
|
|
2299
2353
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
2300
2354
|
},
|
|
@@ -2332,8 +2386,14 @@
|
|
|
2332
2386
|
],
|
|
2333
2387
|
"schema": {
|
|
2334
2388
|
"tableName": "attendance_replays",
|
|
2335
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_replays\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"replay_key\" TEXT NOT NULL UNIQUE,\n \"content\" TEXT,\n \"outcome\" TEXT\n);",
|
|
2389
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"attendance_replays\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"replay_key\" TEXT NOT NULL UNIQUE,\n \"content\" TEXT,\n \"outcome\" TEXT\n);",
|
|
2336
2390
|
"columns": {
|
|
2391
|
+
"_sync_origin_device_id": {
|
|
2392
|
+
"type": "TEXT"
|
|
2393
|
+
},
|
|
2394
|
+
"_sync_revision": {
|
|
2395
|
+
"type": "INTEGER"
|
|
2396
|
+
},
|
|
2337
2397
|
"id": {
|
|
2338
2398
|
"type": "UUID",
|
|
2339
2399
|
"primaryKey": true,
|
|
@@ -2399,7 +2459,7 @@
|
|
|
2399
2459
|
]
|
|
2400
2460
|
}
|
|
2401
2461
|
],
|
|
2402
|
-
"version": "
|
|
2462
|
+
"version": "0de1e15c"
|
|
2403
2463
|
},
|
|
2404
2464
|
"importPath": "@happyvertical/smrt-timesheets/attendance"
|
|
2405
2465
|
},
|
|
@@ -2539,8 +2599,14 @@
|
|
|
2539
2599
|
],
|
|
2540
2600
|
"schema": {
|
|
2541
2601
|
"tableName": "service_charge_snapshots",
|
|
2542
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"service_charge_snapshots\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"pricing_version\" TEXT,\n \"strategy\" TEXT,\n \"rate_snapshot\" TEXT,\n \"source_charge_ref\" TEXT\n);",
|
|
2602
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"service_charge_snapshots\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"pricing_version\" TEXT,\n \"strategy\" TEXT,\n \"rate_snapshot\" TEXT,\n \"source_charge_ref\" TEXT\n);",
|
|
2543
2603
|
"columns": {
|
|
2604
|
+
"_sync_origin_device_id": {
|
|
2605
|
+
"type": "TEXT"
|
|
2606
|
+
},
|
|
2607
|
+
"_sync_revision": {
|
|
2608
|
+
"type": "INTEGER"
|
|
2609
|
+
},
|
|
2544
2610
|
"id": {
|
|
2545
2611
|
"type": "UUID",
|
|
2546
2612
|
"primaryKey": true,
|
|
@@ -2639,7 +2705,7 @@
|
|
|
2639
2705
|
]
|
|
2640
2706
|
}
|
|
2641
2707
|
],
|
|
2642
|
-
"version": "
|
|
2708
|
+
"version": "51874e79"
|
|
2643
2709
|
},
|
|
2644
2710
|
"importPath": "@happyvertical/smrt-timesheets"
|
|
2645
2711
|
},
|
|
@@ -2769,8 +2835,14 @@
|
|
|
2769
2835
|
],
|
|
2770
2836
|
"schema": {
|
|
2771
2837
|
"tableName": "service_compensation_snapshots",
|
|
2772
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"service_compensation_snapshots\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"terms_version\" TEXT,\n \"rate_snapshot\" TEXT\n);",
|
|
2838
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"service_compensation_snapshots\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"terms_version\" TEXT,\n \"rate_snapshot\" TEXT\n);",
|
|
2773
2839
|
"columns": {
|
|
2840
|
+
"_sync_origin_device_id": {
|
|
2841
|
+
"type": "TEXT"
|
|
2842
|
+
},
|
|
2843
|
+
"_sync_revision": {
|
|
2844
|
+
"type": "INTEGER"
|
|
2845
|
+
},
|
|
2774
2846
|
"id": {
|
|
2775
2847
|
"type": "UUID",
|
|
2776
2848
|
"primaryKey": true,
|
|
@@ -2859,7 +2931,7 @@
|
|
|
2859
2931
|
]
|
|
2860
2932
|
}
|
|
2861
2933
|
],
|
|
2862
|
-
"version": "
|
|
2934
|
+
"version": "b8653f09"
|
|
2863
2935
|
},
|
|
2864
2936
|
"importPath": "@happyvertical/smrt-timesheets"
|
|
2865
2937
|
},
|
|
@@ -2898,8 +2970,14 @@
|
|
|
2898
2970
|
],
|
|
2899
2971
|
"schema": {
|
|
2900
2972
|
"tableName": "service_charge_snapshots",
|
|
2901
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"service_charge_snapshots\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"pricing_version\" TEXT,\n \"strategy\" TEXT,\n \"rate_snapshot\" TEXT,\n \"source_charge_ref\" TEXT\n);",
|
|
2973
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"service_charge_snapshots\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"pricing_version\" TEXT,\n \"strategy\" TEXT,\n \"rate_snapshot\" TEXT,\n \"source_charge_ref\" TEXT\n);",
|
|
2902
2974
|
"columns": {
|
|
2975
|
+
"_sync_origin_device_id": {
|
|
2976
|
+
"type": "TEXT"
|
|
2977
|
+
},
|
|
2978
|
+
"_sync_revision": {
|
|
2979
|
+
"type": "INTEGER"
|
|
2980
|
+
},
|
|
2903
2981
|
"id": {
|
|
2904
2982
|
"type": "UUID",
|
|
2905
2983
|
"primaryKey": true,
|
|
@@ -2998,7 +3076,7 @@
|
|
|
2998
3076
|
]
|
|
2999
3077
|
}
|
|
3000
3078
|
],
|
|
3001
|
-
"version": "
|
|
3079
|
+
"version": "51874e79"
|
|
3002
3080
|
},
|
|
3003
3081
|
"importPath": "@happyvertical/smrt-timesheets"
|
|
3004
3082
|
},
|
|
@@ -3037,8 +3115,14 @@
|
|
|
3037
3115
|
],
|
|
3038
3116
|
"schema": {
|
|
3039
3117
|
"tableName": "service_compensation_snapshots",
|
|
3040
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"service_compensation_snapshots\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"terms_version\" TEXT,\n \"rate_snapshot\" TEXT\n);",
|
|
3118
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"service_compensation_snapshots\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"time_entry_id\" UUID NOT NULL,\n \"amount\" INTEGER DEFAULT 0,\n \"currency\" TEXT,\n \"terms_version\" TEXT,\n \"rate_snapshot\" TEXT\n);",
|
|
3041
3119
|
"columns": {
|
|
3120
|
+
"_sync_origin_device_id": {
|
|
3121
|
+
"type": "TEXT"
|
|
3122
|
+
},
|
|
3123
|
+
"_sync_revision": {
|
|
3124
|
+
"type": "INTEGER"
|
|
3125
|
+
},
|
|
3042
3126
|
"id": {
|
|
3043
3127
|
"type": "UUID",
|
|
3044
3128
|
"primaryKey": true,
|
|
@@ -3127,7 +3211,7 @@
|
|
|
3127
3211
|
]
|
|
3128
3212
|
}
|
|
3129
3213
|
],
|
|
3130
|
-
"version": "
|
|
3214
|
+
"version": "b8653f09"
|
|
3131
3215
|
},
|
|
3132
3216
|
"importPath": "@happyvertical/smrt-timesheets"
|
|
3133
3217
|
},
|
|
@@ -3431,8 +3515,14 @@
|
|
|
3431
3515
|
"collectionExportName": "ServiceTimeEntryCollection",
|
|
3432
3516
|
"schema": {
|
|
3433
3517
|
"tableName": "service_time_entries",
|
|
3434
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"service_time_entries\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"participant_kind\" TEXT,\n \"participant_profile_id\" UUID,\n \"agent_ref\" TEXT,\n \"source\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER,\n \"evidence\" TEXT,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"approved_at\" TIMESTAMP,\n \"approved_by_profile_id\" UUID,\n \"approval_path\" TEXT,\n \"rejected_at\" TIMESTAMP,\n \"rejected_by_profile_id\" UUID,\n \"rejection_reason\" TEXT,\n \"correction_of_id\" UUID,\n \"metadata\" TEXT\n);",
|
|
3518
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"service_time_entries\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"participant_kind\" TEXT,\n \"participant_profile_id\" UUID,\n \"agent_ref\" TEXT,\n \"source\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER,\n \"evidence\" TEXT,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"approved_at\" TIMESTAMP,\n \"approved_by_profile_id\" UUID,\n \"approval_path\" TEXT,\n \"rejected_at\" TIMESTAMP,\n \"rejected_by_profile_id\" UUID,\n \"rejection_reason\" TEXT,\n \"correction_of_id\" UUID,\n \"metadata\" TEXT\n);",
|
|
3435
3519
|
"columns": {
|
|
3520
|
+
"_sync_origin_device_id": {
|
|
3521
|
+
"type": "TEXT"
|
|
3522
|
+
},
|
|
3523
|
+
"_sync_revision": {
|
|
3524
|
+
"type": "INTEGER"
|
|
3525
|
+
},
|
|
3436
3526
|
"id": {
|
|
3437
3527
|
"type": "UUID",
|
|
3438
3528
|
"primaryKey": true,
|
|
@@ -3635,7 +3725,7 @@
|
|
|
3635
3725
|
]
|
|
3636
3726
|
}
|
|
3637
3727
|
],
|
|
3638
|
-
"version": "
|
|
3728
|
+
"version": "c9ebd9fe"
|
|
3639
3729
|
},
|
|
3640
3730
|
"importPath": "@happyvertical/smrt-timesheets"
|
|
3641
3731
|
},
|
|
@@ -3771,8 +3861,14 @@
|
|
|
3771
3861
|
"collectionOf": "@happyvertical/smrt-timesheets:ServiceTimeEntry",
|
|
3772
3862
|
"schema": {
|
|
3773
3863
|
"tableName": "service_time_entries",
|
|
3774
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"service_time_entries\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"participant_kind\" TEXT,\n \"participant_profile_id\" UUID,\n \"agent_ref\" TEXT,\n \"source\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER,\n \"evidence\" TEXT,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"approved_at\" TIMESTAMP,\n \"approved_by_profile_id\" UUID,\n \"approval_path\" TEXT,\n \"rejected_at\" TIMESTAMP,\n \"rejected_by_profile_id\" UUID,\n \"rejection_reason\" TEXT,\n \"correction_of_id\" UUID,\n \"metadata\" TEXT\n);",
|
|
3864
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"service_time_entries\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"work_ref_type\" TEXT,\n \"work_ref_id\" TEXT,\n \"participant_kind\" TEXT,\n \"participant_profile_id\" UUID,\n \"agent_ref\" TEXT,\n \"source\" TEXT,\n \"description\" TEXT,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP,\n \"duration_seconds\" INTEGER,\n \"evidence\" TEXT,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"approved_at\" TIMESTAMP,\n \"approved_by_profile_id\" UUID,\n \"approval_path\" TEXT,\n \"rejected_at\" TIMESTAMP,\n \"rejected_by_profile_id\" UUID,\n \"rejection_reason\" TEXT,\n \"correction_of_id\" UUID,\n \"metadata\" TEXT\n);",
|
|
3775
3865
|
"columns": {
|
|
3866
|
+
"_sync_origin_device_id": {
|
|
3867
|
+
"type": "TEXT"
|
|
3868
|
+
},
|
|
3869
|
+
"_sync_revision": {
|
|
3870
|
+
"type": "INTEGER"
|
|
3871
|
+
},
|
|
3776
3872
|
"id": {
|
|
3777
3873
|
"type": "UUID",
|
|
3778
3874
|
"primaryKey": true,
|
|
@@ -3975,7 +4071,7 @@
|
|
|
3975
4071
|
]
|
|
3976
4072
|
}
|
|
3977
4073
|
],
|
|
3978
|
-
"version": "
|
|
4074
|
+
"version": "c9ebd9fe"
|
|
3979
4075
|
},
|
|
3980
4076
|
"importPath": "@happyvertical/smrt-timesheets"
|
|
3981
4077
|
},
|
|
@@ -4174,8 +4270,14 @@
|
|
|
4174
4270
|
],
|
|
4175
4271
|
"schema": {
|
|
4176
4272
|
"tableName": "period_timecards",
|
|
4177
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"period_timecards\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"starts_at\" TIMESTAMP,\n \"ends_at\" TIMESTAMP,\n \"timezone\" TEXT,\n \"rules_version\" TEXT,\n \"rules_snapshot\" TEXT,\n \"source_snapshot\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"total_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"confirmed_at\" TIMESTAMP,\n \"confirmed_by_profile_id\" UUID\n);",
|
|
4273
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"period_timecards\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"starts_at\" TIMESTAMP,\n \"ends_at\" TIMESTAMP,\n \"timezone\" TEXT,\n \"rules_version\" TEXT,\n \"rules_snapshot\" TEXT,\n \"source_snapshot\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"total_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"confirmed_at\" TIMESTAMP,\n \"confirmed_by_profile_id\" UUID\n);",
|
|
4178
4274
|
"columns": {
|
|
4275
|
+
"_sync_origin_device_id": {
|
|
4276
|
+
"type": "TEXT"
|
|
4277
|
+
},
|
|
4278
|
+
"_sync_revision": {
|
|
4279
|
+
"type": "INTEGER"
|
|
4280
|
+
},
|
|
4179
4281
|
"id": {
|
|
4180
4282
|
"type": "UUID",
|
|
4181
4283
|
"primaryKey": true,
|
|
@@ -4325,7 +4427,7 @@
|
|
|
4325
4427
|
]
|
|
4326
4428
|
}
|
|
4327
4429
|
],
|
|
4328
|
-
"version": "
|
|
4430
|
+
"version": "5a5db3ba"
|
|
4329
4431
|
},
|
|
4330
4432
|
"importPath": "@happyvertical/smrt-timesheets/rollup"
|
|
4331
4433
|
},
|
|
@@ -4460,8 +4562,14 @@
|
|
|
4460
4562
|
],
|
|
4461
4563
|
"schema": {
|
|
4462
4564
|
"tableName": "timecard_adjustments",
|
|
4463
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_adjustments\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"reason\" TEXT\n);",
|
|
4565
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_adjustments\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"reason\" TEXT\n);",
|
|
4464
4566
|
"columns": {
|
|
4567
|
+
"_sync_origin_device_id": {
|
|
4568
|
+
"type": "TEXT"
|
|
4569
|
+
},
|
|
4570
|
+
"_sync_revision": {
|
|
4571
|
+
"type": "INTEGER"
|
|
4572
|
+
},
|
|
4465
4573
|
"id": {
|
|
4466
4574
|
"type": "UUID",
|
|
4467
4575
|
"primaryKey": true,
|
|
@@ -4576,7 +4684,7 @@
|
|
|
4576
4684
|
]
|
|
4577
4685
|
}
|
|
4578
4686
|
],
|
|
4579
|
-
"version": "
|
|
4687
|
+
"version": "aa854069"
|
|
4580
4688
|
},
|
|
4581
4689
|
"importPath": "@happyvertical/smrt-timesheets/rollup"
|
|
4582
4690
|
},
|
|
@@ -4723,8 +4831,14 @@
|
|
|
4723
4831
|
"validationRules": [],
|
|
4724
4832
|
"schema": {
|
|
4725
4833
|
"tableName": "timecard_reopenings",
|
|
4726
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_reopenings\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"from_status\" TEXT,\n \"reason\" TEXT,\n \"previous_state\" TEXT\n);",
|
|
4834
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_reopenings\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"from_status\" TEXT,\n \"reason\" TEXT,\n \"previous_state\" TEXT\n);",
|
|
4727
4835
|
"columns": {
|
|
4836
|
+
"_sync_origin_device_id": {
|
|
4837
|
+
"type": "TEXT"
|
|
4838
|
+
},
|
|
4839
|
+
"_sync_revision": {
|
|
4840
|
+
"type": "INTEGER"
|
|
4841
|
+
},
|
|
4728
4842
|
"id": {
|
|
4729
4843
|
"type": "UUID",
|
|
4730
4844
|
"primaryKey": true,
|
|
@@ -4844,7 +4958,7 @@
|
|
|
4844
4958
|
]
|
|
4845
4959
|
}
|
|
4846
4960
|
],
|
|
4847
|
-
"version": "
|
|
4961
|
+
"version": "8b0bb93d"
|
|
4848
4962
|
},
|
|
4849
4963
|
"importPath": "@happyvertical/smrt-timesheets/rollup"
|
|
4850
4964
|
},
|
|
@@ -4882,8 +4996,14 @@
|
|
|
4882
4996
|
],
|
|
4883
4997
|
"schema": {
|
|
4884
4998
|
"tableName": "period_timecards",
|
|
4885
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"period_timecards\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"starts_at\" TIMESTAMP,\n \"ends_at\" TIMESTAMP,\n \"timezone\" TEXT,\n \"rules_version\" TEXT,\n \"rules_snapshot\" TEXT,\n \"source_snapshot\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"total_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"confirmed_at\" TIMESTAMP,\n \"confirmed_by_profile_id\" UUID\n);",
|
|
4999
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"period_timecards\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"profile_id\" UUID,\n \"starts_at\" TIMESTAMP,\n \"ends_at\" TIMESTAMP,\n \"timezone\" TEXT,\n \"rules_version\" TEXT,\n \"rules_snapshot\" TEXT,\n \"source_snapshot\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"total_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"status\" TEXT,\n \"submitted_at\" TIMESTAMP,\n \"submitted_by_profile_id\" UUID,\n \"confirmed_at\" TIMESTAMP,\n \"confirmed_by_profile_id\" UUID\n);",
|
|
4886
5000
|
"columns": {
|
|
5001
|
+
"_sync_origin_device_id": {
|
|
5002
|
+
"type": "TEXT"
|
|
5003
|
+
},
|
|
5004
|
+
"_sync_revision": {
|
|
5005
|
+
"type": "INTEGER"
|
|
5006
|
+
},
|
|
4887
5007
|
"id": {
|
|
4888
5008
|
"type": "UUID",
|
|
4889
5009
|
"primaryKey": true,
|
|
@@ -5033,7 +5153,7 @@
|
|
|
5033
5153
|
]
|
|
5034
5154
|
}
|
|
5035
5155
|
],
|
|
5036
|
-
"version": "
|
|
5156
|
+
"version": "5a5db3ba"
|
|
5037
5157
|
},
|
|
5038
5158
|
"importPath": "@happyvertical/smrt-timesheets/rollup"
|
|
5039
5159
|
},
|
|
@@ -5071,8 +5191,14 @@
|
|
|
5071
5191
|
],
|
|
5072
5192
|
"schema": {
|
|
5073
5193
|
"tableName": "timecard_adjustments",
|
|
5074
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_adjustments\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"reason\" TEXT\n);",
|
|
5194
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_adjustments\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"regular_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"overtime_seconds\" INTEGER NOT NULL DEFAULT 0,\n \"reason\" TEXT\n);",
|
|
5075
5195
|
"columns": {
|
|
5196
|
+
"_sync_origin_device_id": {
|
|
5197
|
+
"type": "TEXT"
|
|
5198
|
+
},
|
|
5199
|
+
"_sync_revision": {
|
|
5200
|
+
"type": "INTEGER"
|
|
5201
|
+
},
|
|
5076
5202
|
"id": {
|
|
5077
5203
|
"type": "UUID",
|
|
5078
5204
|
"primaryKey": true,
|
|
@@ -5187,7 +5313,7 @@
|
|
|
5187
5313
|
]
|
|
5188
5314
|
}
|
|
5189
5315
|
],
|
|
5190
|
-
"version": "
|
|
5316
|
+
"version": "aa854069"
|
|
5191
5317
|
},
|
|
5192
5318
|
"importPath": "@happyvertical/smrt-timesheets/rollup"
|
|
5193
5319
|
},
|
|
@@ -5225,8 +5351,14 @@
|
|
|
5225
5351
|
],
|
|
5226
5352
|
"schema": {
|
|
5227
5353
|
"tableName": "timecard_reopenings",
|
|
5228
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_reopenings\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"from_status\" TEXT,\n \"reason\" TEXT,\n \"previous_state\" TEXT\n);",
|
|
5354
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"timecard_reopenings\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"timecard_id\" UUID,\n \"profile_id\" UUID,\n \"actor_profile_id\" UUID,\n \"operation_id\" TEXT,\n \"from_status\" TEXT,\n \"reason\" TEXT,\n \"previous_state\" TEXT\n);",
|
|
5229
5355
|
"columns": {
|
|
5356
|
+
"_sync_origin_device_id": {
|
|
5357
|
+
"type": "TEXT"
|
|
5358
|
+
},
|
|
5359
|
+
"_sync_revision": {
|
|
5360
|
+
"type": "INTEGER"
|
|
5361
|
+
},
|
|
5230
5362
|
"id": {
|
|
5231
5363
|
"type": "UUID",
|
|
5232
5364
|
"primaryKey": true,
|
|
@@ -5346,7 +5478,7 @@
|
|
|
5346
5478
|
]
|
|
5347
5479
|
}
|
|
5348
5480
|
],
|
|
5349
|
-
"version": "
|
|
5481
|
+
"version": "8b0bb93d"
|
|
5350
5482
|
},
|
|
5351
5483
|
"importPath": "@happyvertical/smrt-timesheets/rollup"
|
|
5352
5484
|
}
|
package/dist/rollup.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as confirmedTimecardGuard, c as TimecardAdjustment, d as TimecardReopeningCollection, l as TimecardAdjustmentCollection, o as PeriodTimecard, s as PeriodTimecardCollection, t as PeriodRollupService, u as TimecardReopening } from "./chunks/rollup-
|
|
1
|
+
import { a as confirmedTimecardGuard, c as TimecardAdjustment, d as TimecardReopeningCollection, l as TimecardAdjustmentCollection, o as PeriodTimecard, s as PeriodTimecardCollection, t as PeriodRollupService, u as TimecardReopening } from "./chunks/rollup-BUrEpIob.js";
|
|
2
2
|
export { PeriodRollupService, PeriodTimecard, PeriodTimecardCollection, TimecardAdjustment, TimecardAdjustmentCollection, TimecardReopening, TimecardReopeningCollection, confirmedTimecardGuard };
|