@happyvertical/smrt-manufacturing 0.56.0 → 0.56.2
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +141 -9
- package/dist/smrt-knowledge.json +87 -359
- package/package.json +10 -10
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-manufacturing",
|
|
5
|
-
"packageVersion": "0.56.
|
|
5
|
+
"packageVersion": "0.56.2",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-manufacturing:BillOfMaterialsCollection": {
|
|
8
8
|
"name": "billofmaterialscollection",
|
|
@@ -57,7 +57,21 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"decoratorConfig": {
|
|
60
|
-
"tableName": "manufacturing_boms"
|
|
60
|
+
"tableName": "manufacturing_boms",
|
|
61
|
+
"api": {
|
|
62
|
+
"include": [
|
|
63
|
+
"list",
|
|
64
|
+
"get",
|
|
65
|
+
"create",
|
|
66
|
+
"update"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"mcp": {
|
|
70
|
+
"include": [
|
|
71
|
+
"list",
|
|
72
|
+
"get"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
61
75
|
},
|
|
62
76
|
"extends": "SmrtCollection",
|
|
63
77
|
"extendsTypeArg": "BillOfMaterials",
|
|
@@ -203,7 +217,21 @@
|
|
|
203
217
|
}
|
|
204
218
|
},
|
|
205
219
|
"decoratorConfig": {
|
|
206
|
-
"tableName": "manufacturing_bom_lines"
|
|
220
|
+
"tableName": "manufacturing_bom_lines",
|
|
221
|
+
"api": {
|
|
222
|
+
"include": [
|
|
223
|
+
"list",
|
|
224
|
+
"get",
|
|
225
|
+
"create",
|
|
226
|
+
"update"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"mcp": {
|
|
230
|
+
"include": [
|
|
231
|
+
"list",
|
|
232
|
+
"get"
|
|
233
|
+
]
|
|
234
|
+
}
|
|
207
235
|
},
|
|
208
236
|
"extends": "SmrtCollection",
|
|
209
237
|
"extendsTypeArg": "BomLine",
|
|
@@ -351,7 +379,25 @@
|
|
|
351
379
|
}
|
|
352
380
|
},
|
|
353
381
|
"decoratorConfig": {
|
|
354
|
-
"tableName": "manufacturing_operations"
|
|
382
|
+
"tableName": "manufacturing_operations",
|
|
383
|
+
"api": {
|
|
384
|
+
"include": [
|
|
385
|
+
"list",
|
|
386
|
+
"get"
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
"mcp": {
|
|
390
|
+
"include": [
|
|
391
|
+
"list",
|
|
392
|
+
"get"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"cli": {
|
|
396
|
+
"include": [
|
|
397
|
+
"list",
|
|
398
|
+
"get"
|
|
399
|
+
]
|
|
400
|
+
}
|
|
355
401
|
},
|
|
356
402
|
"extends": "SmrtCollection",
|
|
357
403
|
"extendsTypeArg": "Operation",
|
|
@@ -497,7 +543,25 @@
|
|
|
497
543
|
}
|
|
498
544
|
},
|
|
499
545
|
"decoratorConfig": {
|
|
500
|
-
"tableName": "manufacturing_production_runs"
|
|
546
|
+
"tableName": "manufacturing_production_runs",
|
|
547
|
+
"api": {
|
|
548
|
+
"include": [
|
|
549
|
+
"list",
|
|
550
|
+
"get"
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
"mcp": {
|
|
554
|
+
"include": [
|
|
555
|
+
"list",
|
|
556
|
+
"get"
|
|
557
|
+
]
|
|
558
|
+
},
|
|
559
|
+
"cli": {
|
|
560
|
+
"include": [
|
|
561
|
+
"list",
|
|
562
|
+
"get"
|
|
563
|
+
]
|
|
564
|
+
}
|
|
501
565
|
},
|
|
502
566
|
"extends": "SmrtCollection",
|
|
503
567
|
"extendsTypeArg": "ProductionRun",
|
|
@@ -621,7 +685,25 @@
|
|
|
621
685
|
}
|
|
622
686
|
},
|
|
623
687
|
"decoratorConfig": {
|
|
624
|
-
"tableName": "manufacturing_production_run_completions"
|
|
688
|
+
"tableName": "manufacturing_production_run_completions",
|
|
689
|
+
"api": {
|
|
690
|
+
"include": [
|
|
691
|
+
"list",
|
|
692
|
+
"get"
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
"mcp": {
|
|
696
|
+
"include": [
|
|
697
|
+
"list",
|
|
698
|
+
"get"
|
|
699
|
+
]
|
|
700
|
+
},
|
|
701
|
+
"cli": {
|
|
702
|
+
"include": [
|
|
703
|
+
"list",
|
|
704
|
+
"get"
|
|
705
|
+
]
|
|
706
|
+
}
|
|
625
707
|
},
|
|
626
708
|
"extends": "SmrtCollection",
|
|
627
709
|
"extendsTypeArg": "ProductionRunCompletion",
|
|
@@ -753,7 +835,19 @@
|
|
|
753
835
|
}
|
|
754
836
|
},
|
|
755
837
|
"decoratorConfig": {
|
|
756
|
-
"tableName": "manufacturing_routing_steps"
|
|
838
|
+
"tableName": "manufacturing_routing_steps",
|
|
839
|
+
"api": {
|
|
840
|
+
"include": [
|
|
841
|
+
"list",
|
|
842
|
+
"get"
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
"mcp": {
|
|
846
|
+
"include": [
|
|
847
|
+
"list",
|
|
848
|
+
"get"
|
|
849
|
+
]
|
|
850
|
+
}
|
|
757
851
|
},
|
|
758
852
|
"extends": "SmrtCollection",
|
|
759
853
|
"extendsTypeArg": "RoutingStep",
|
|
@@ -946,6 +1040,22 @@
|
|
|
946
1040
|
"description": "The price in minor units (cents), for example 1999 for 19.99."
|
|
947
1041
|
}
|
|
948
1042
|
},
|
|
1043
|
+
"defaultSalesTaxCodeId": {
|
|
1044
|
+
"type": "crossPackageRef",
|
|
1045
|
+
"required": false,
|
|
1046
|
+
"related": "@happyvertical/smrt-commerce:TaxCode",
|
|
1047
|
+
"_meta": {
|
|
1048
|
+
"description": "The tax code normally used when this product is sold."
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"defaultPurchaseTaxCodeId": {
|
|
1052
|
+
"type": "crossPackageRef",
|
|
1053
|
+
"required": false,
|
|
1054
|
+
"related": "@happyvertical/smrt-commerce:TaxCode",
|
|
1055
|
+
"_meta": {
|
|
1056
|
+
"description": "The tax code normally used when this product is purchased."
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
949
1059
|
"inStock": {
|
|
950
1060
|
"type": "boolean",
|
|
951
1061
|
"required": true,
|
|
@@ -1116,7 +1226,7 @@
|
|
|
1116
1226
|
],
|
|
1117
1227
|
"schema": {
|
|
1118
1228
|
"tableName": "products",
|
|
1119
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"products\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"product_type\" TEXT,\n \"name\" TEXT,\n \"description\" TEXT,\n \"category\" TEXT,\n \"manufacturer\" TEXT,\n \"model\" TEXT,\n \"price\" INTEGER DEFAULT 0,\n \"in_stock\" BOOLEAN DEFAULT TRUE,\n \"specifications\" JSON DEFAULT '{}',\n \"tags\" JSON DEFAULT '[]',\n \"estimated_labour_minutes\" INTEGER DEFAULT 0,\n \"default_operation_id\" UUID,\n \"part_reference\" TEXT DEFAULT ''\n);",
|
|
1229
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"products\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"product_type\" TEXT,\n \"name\" TEXT,\n \"description\" TEXT,\n \"category\" TEXT,\n \"manufacturer\" TEXT,\n \"model\" TEXT,\n \"price\" INTEGER DEFAULT 0,\n \"default_sales_tax_code_id\" UUID,\n \"default_purchase_tax_code_id\" UUID,\n \"in_stock\" BOOLEAN DEFAULT TRUE,\n \"specifications\" JSON DEFAULT '{}',\n \"tags\" JSON DEFAULT '[]',\n \"estimated_labour_minutes\" INTEGER DEFAULT 0,\n \"default_operation_id\" UUID,\n \"part_reference\" TEXT DEFAULT ''\n);",
|
|
1120
1230
|
"columns": {
|
|
1121
1231
|
"id": {
|
|
1122
1232
|
"type": "UUID",
|
|
@@ -1185,6 +1295,16 @@
|
|
|
1185
1295
|
"notNull": false,
|
|
1186
1296
|
"default": 0
|
|
1187
1297
|
},
|
|
1298
|
+
"default_sales_tax_code_id": {
|
|
1299
|
+
"type": "UUID",
|
|
1300
|
+
"referenceKind": "crossPackageRef",
|
|
1301
|
+
"notNull": false
|
|
1302
|
+
},
|
|
1303
|
+
"default_purchase_tax_code_id": {
|
|
1304
|
+
"type": "UUID",
|
|
1305
|
+
"referenceKind": "crossPackageRef",
|
|
1306
|
+
"notNull": false
|
|
1307
|
+
},
|
|
1188
1308
|
"in_stock": {
|
|
1189
1309
|
"type": "BOOLEAN",
|
|
1190
1310
|
"notNull": false,
|
|
@@ -1247,6 +1367,18 @@
|
|
|
1247
1367
|
"created_at"
|
|
1248
1368
|
]
|
|
1249
1369
|
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "products_default_sales_tax_code_id_idx",
|
|
1372
|
+
"columns": [
|
|
1373
|
+
"default_sales_tax_code_id"
|
|
1374
|
+
]
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"name": "products_default_purchase_tax_code_id_idx",
|
|
1378
|
+
"columns": [
|
|
1379
|
+
"default_purchase_tax_code_id"
|
|
1380
|
+
]
|
|
1381
|
+
},
|
|
1250
1382
|
{
|
|
1251
1383
|
"name": "products_default_operation_id_idx",
|
|
1252
1384
|
"columns": [
|
|
@@ -1254,7 +1386,7 @@
|
|
|
1254
1386
|
]
|
|
1255
1387
|
}
|
|
1256
1388
|
],
|
|
1257
|
-
"version": "
|
|
1389
|
+
"version": "e1a54866"
|
|
1258
1390
|
},
|
|
1259
1391
|
"importPath": "@happyvertical/smrt-manufacturing"
|
|
1260
1392
|
},
|