From 1d5da4022d235f79c11db5de565faadb0a746335 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 5 Jul 2024 19:02:37 +0100 Subject: [PATCH 1/3] happy --- coverage/lcov.info | 2490 ++++++++++++++++++----------------- dist/entity.d.ts | 1 + dist/entity.js | 7 + dist/entity.js.map | 2 +- dist/lib/make_entity.js | 28 +- dist/lib/make_entity.js.map | 2 +- dist/lib/store.js | 4 +- dist/lib/store.js.map | 2 +- dist/valid.d.ts | 3 + dist/valid.js | 40 + dist/valid.js.map | 1 + package.json | 9 +- src/entity.ts | 12 + src/lib/make_entity.ts | 88 +- src/valid.ts | 57 + test/quick.js | 47 +- test/valid.test.js | 72 + 17 files changed, 1629 insertions(+), 1236 deletions(-) create mode 100644 dist/valid.d.ts create mode 100644 dist/valid.js create mode 100644 dist/valid.js.map create mode 100644 src/valid.ts create mode 100644 test/valid.test.js diff --git a/coverage/lcov.info b/coverage/lcov.info index e674ea1..6c05588 100644 --- a/coverage/lcov.info +++ b/coverage/lcov.info @@ -1,11 +1,11 @@ TN: SF:src/entity.ts -FN:16,entity -FN:55,preload -FN:73,build_api_make -FN:75,entityAPI -FN:116,seneca.root.private$.exports.Entity.log$ -FN:144,generate_id +FN:20,entity +FN:64,preload +FN:82,build_api_make +FN:84,entityAPI +FN:125,seneca.root.private$.exports.Entity.log$ +FN:156,generate_id FNF:6 FNH:6 FNDA:51,entity @@ -29,18 +29,18 @@ DA:12,1 DA:13,1 DA:14,1 DA:15,1 -DA:16,51 -DA:17,51 -DA:18,51 -DA:19,51 +DA:16,1 +DA:17,1 +DA:18,1 +DA:19,1 DA:20,51 DA:21,51 DA:22,51 DA:23,51 -DA:24,1 -DA:25,1 -DA:26,1 -DA:27,1 +DA:24,51 +DA:25,51 +DA:26,51 +DA:27,51 DA:28,1 DA:29,1 DA:30,1 @@ -68,15 +68,15 @@ DA:51,1 DA:52,1 DA:53,1 DA:54,1 -DA:55,51 -DA:56,51 -DA:57,51 -DA:58,51 -DA:59,51 -DA:60,51 -DA:61,51 -DA:62,51 -DA:63,51 +DA:55,1 +DA:56,1 +DA:57,1 +DA:58,1 +DA:59,1 +DA:60,1 +DA:61,1 +DA:62,1 +DA:63,1 DA:64,51 DA:65,51 DA:66,51 @@ -87,40 +87,40 @@ DA:70,51 DA:71,51 DA:72,51 DA:73,51 -DA:74,102 -DA:75,102 -DA:76,265 -DA:77,265 -DA:78,265 -DA:79,102 -DA:80,102 -DA:81,102 +DA:74,51 +DA:75,51 +DA:76,51 +DA:77,51 +DA:78,51 +DA:79,51 +DA:80,51 +DA:81,51 DA:82,51 -DA:83,51 -DA:84,51 -DA:85,51 -DA:86,51 -DA:87,51 -DA:88,51 -DA:89,48 -DA:90,48 +DA:83,102 +DA:84,102 +DA:85,265 +DA:86,265 +DA:87,265 +DA:88,102 +DA:89,102 +DA:90,102 DA:91,51 DA:92,51 -DA:93,48 -DA:94,48 +DA:93,51 +DA:94,51 DA:95,51 DA:96,51 -DA:97,48 +DA:97,51 DA:98,48 -DA:99,51 +DA:99,48 DA:100,51 DA:101,51 -DA:102,51 -DA:103,51 +DA:102,48 +DA:103,48 DA:104,51 DA:105,51 -DA:106,51 -DA:107,51 +DA:106,48 +DA:107,48 DA:108,51 DA:109,51 DA:110,51 @@ -129,95 +129,107 @@ DA:112,51 DA:113,51 DA:114,51 DA:115,51 -DA:116,1 -DA:117,65 -DA:118,65 -DA:119,65 -DA:120,65 -DA:121,1 +DA:116,51 +DA:117,51 +DA:118,51 +DA:119,51 +DA:120,51 +DA:121,51 DA:122,51 DA:123,51 DA:124,51 -DA:125,51 -DA:126,51 -DA:127,51 -DA:128,51 -DA:129,51 -DA:130,51 +DA:125,1 +DA:126,65 +DA:127,65 +DA:128,65 +DA:129,65 +DA:130,1 DA:131,51 DA:132,51 DA:133,51 DA:134,51 -DA:135,1 -DA:136,1 -DA:137,1 -DA:138,1 -DA:139,1 -DA:140,1 -DA:141,1 -DA:142,1 -DA:143,1 -DA:144,50 -DA:145,50 -DA:146,50 -DA:147,50 -DA:148,50 -DA:149,50 -DA:150,50 -DA:151,48 -DA:152,48 -DA:153,48 -DA:154,48 -DA:155,48 -DA:156,48 -DA:157,47 -DA:158,48 -DA:159,1 -DA:160,1 -DA:161,48 +DA:135,51 +DA:136,51 +DA:137,51 +DA:138,51 +DA:139,51 +DA:140,51 +DA:141,51 +DA:142,51 +DA:143,51 +DA:144,51 +DA:145,51 +DA:146,51 +DA:147,1 +DA:148,1 +DA:149,1 +DA:150,1 +DA:151,1 +DA:152,1 +DA:153,1 +DA:154,1 +DA:155,1 +DA:156,50 +DA:157,50 +DA:158,50 +DA:159,50 +DA:160,50 +DA:161,50 DA:162,50 -DA:163,50 -DA:164,50 -DA:165,1 -DA:166,1 -DA:167,1 -DA:168,1 -DA:169,1 -DA:170,1 +DA:163,48 +DA:164,48 +DA:165,48 +DA:166,48 +DA:167,48 +DA:168,48 +DA:169,47 +DA:170,48 DA:171,1 DA:172,1 -DA:173,1 -DA:174,1 -DA:175,1 -DA:176,1 +DA:173,48 +DA:174,50 +DA:175,50 +DA:176,50 DA:177,1 -LF:177 -LH:177 -BRDA:16,0,0,51 -BRDA:55,1,0,51 -BRDA:60,2,0,2 -BRDA:67,3,0,48 -BRDA:71,4,0,48 -BRDA:88,5,0,48 -BRDA:92,6,0,48 -BRDA:96,7,0,48 -BRDA:115,8,0,0 -BRDA:115,9,0,1 -BRDA:73,10,0,102 -BRDA:75,11,0,265 -BRDA:116,12,0,65 -BRDA:144,13,0,50 -BRDA:148,14,0,2 -BRDA:148,15,0,48 -BRDA:150,16,0,48 -BRDA:153,17,0,44 -BRDA:153,18,0,43 -BRDA:154,19,0,4 -BRDA:156,20,0,47 -BRDA:157,21,0,5 -BRDA:158,22,0,1 -BRDA:163,23,0,1 -BRDA:163,24,0,49 +DA:178,1 +DA:179,1 +DA:180,1 +DA:181,1 +DA:182,1 +DA:183,1 +DA:184,1 +DA:185,1 +DA:186,1 +DA:187,1 +DA:188,1 +DA:189,1 +LF:189 +LH:189 +BRDA:20,0,0,51 +BRDA:64,1,0,51 +BRDA:69,2,0,2 +BRDA:76,3,0,48 +BRDA:80,4,0,48 +BRDA:97,5,0,48 +BRDA:101,6,0,48 +BRDA:105,7,0,48 +BRDA:124,8,0,0 +BRDA:124,9,0,1 +BRDA:82,10,0,102 +BRDA:84,11,0,265 +BRDA:125,12,0,65 +BRDA:156,13,0,50 +BRDA:160,14,0,2 +BRDA:160,15,0,48 +BRDA:162,16,0,48 +BRDA:165,17,0,44 +BRDA:165,18,0,43 +BRDA:166,19,0,4 +BRDA:168,20,0,47 +BRDA:169,21,0,5 +BRDA:170,22,0,1 +BRDA:175,23,0,1 +BRDA:175,24,0,49 BRF:25 BRH:24 end_of_record @@ -252,40 +264,99 @@ BRF:1 BRH:0 end_of_record TN: +SF:src/valid.ts +FN:8,buildValidation +FNF:1 +FNH:1 +FNDA:51,buildValidation +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,51 +DA:9,51 +DA:10,51 +DA:11,51 +DA:12,51 +DA:13,51 +DA:14,51 +DA:15,51 +DA:16,51 +DA:17,51 +DA:18,51 +DA:19,0 +DA:20,0 +DA:21,0 +DA:22,0 +DA:23,0 +DA:24,0 +DA:25,0 +DA:26,0 +DA:27,0 +DA:28,0 +DA:29,0 +DA:30,0 +DA:31,0 +DA:32,0 +DA:33,0 +DA:34,0 +DA:35,0 +DA:36,51 +DA:37,51 +DA:38,51 +DA:39,51 +DA:40,51 +DA:41,1 +DA:42,1 +DA:43,1 +DA:44,1 +DA:45,1 +LF:45 +LH:28 +BRDA:8,0,0,51 +BRDA:14,1,0,0 +BRDA:18,2,0,0 +BRF:3 +BRH:1 +end_of_record +TN: SF:src/lib/make_entity.ts FN:24,entargs FN:66,Entity FN:61,get_instance FN:69,Entity.private$.get_instance FN:97,make$ -FN:196,save$ -FN:219,native$ -FN:243,load$ -FN:298,list$ -FN:345,remove$ -FN:380,delete$ -FN:389,fields$ -FN:406,close$ -FN:423,is$ -FN:448,canon$ -FN:501,data$ -FN:575,clone$ -FN:591,custom$ -FN:595,directive$ -FN:602,entityPromise -FN:621,prepareCmd -FN:635,emptyQuery -FN:640,normalize_query -FN:671,parsecanon -FN:703,canonstr -FN:712,handle_options -FN:739,Entity.done$ -FN:751,make_toString -FN:788,MakeEntity -FN:807,custom$ -FN:825,MakeEntity.hidden.directive$ -FN:844,jsonic_strify -FN:917,jsonic_stringify +FN:197,save$ +FN:243,native$ +FN:267,load$ +FN:322,list$ +FN:369,remove$ +FN:404,delete$ +FN:413,fields$ +FN:430,close$ +FN:447,is$ +FN:472,canon$ +FN:525,data$ +FN:599,clone$ +FN:615,custom$ +FN:619,directive$ +FN:626,entityPromise +FN:645,prepareCmd +FN:659,emptyQuery +FN:664,normalize_query +FN:695,parsecanon +FN:728,canonstr +FN:737,handle_options +FN:764,Entity.done$ +FN:776,make_toString +FN:813,MakeEntity +FN:832,custom$ +FN:850,MakeEntity.hidden.directive$ +FN:869,jsonic_strify +FN:942,jsonic_stringify FNF:33 FNH:27 FNDA:106,entargs @@ -302,7 +373,7 @@ FNDA:0,delete$ FNDA:83,fields$ FNDA:0,close$ FNDA:30,is$ -FNDA:1371,canon$ +FNDA:1369,canon$ FNDA:122,data$ FNDA:3,clone$ FNDA:0,custom$ @@ -312,15 +383,15 @@ FNDA:106,prepareCmd FNDA:24,emptyQuery FNDA:50,normalize_query FNDA:260,parsecanon -FNDA:1186,canonstr +FNDA:1184,canonstr FNDA:327,handle_options FNDA:1,Entity.done$ FNDA:2,make_toString FNDA:327,MakeEntity FNDA:4,custom$ FNDA:1,MakeEntity.hidden.directive$ -FNDA:7140,jsonic_strify -FNDA:298,jsonic_stringify +FNDA:7569,jsonic_strify +FNDA:296,jsonic_stringify DA:1,1 DA:2,1 DA:3,1 @@ -517,7 +588,7 @@ DA:193,1 DA:194,1 DA:195,1 DA:196,1 -DA:197,56 +DA:197,1 DA:198,56 DA:199,56 DA:200,56 @@ -531,29 +602,29 @@ DA:207,56 DA:208,56 DA:209,56 DA:210,56 -DA:211,1 -DA:212,1 -DA:213,1 -DA:214,1 -DA:215,1 -DA:216,1 -DA:217,1 -DA:218,1 -DA:219,1 +DA:211,0 +DA:212,0 +DA:213,0 +DA:214,0 +DA:215,0 +DA:216,0 +DA:217,0 +DA:218,0 +DA:219,0 DA:220,0 DA:221,0 DA:222,0 DA:223,0 -DA:224,0 -DA:225,0 -DA:226,0 -DA:227,0 -DA:228,0 -DA:229,0 -DA:230,0 -DA:231,0 -DA:232,0 -DA:233,0 +DA:224,56 +DA:225,56 +DA:226,56 +DA:227,56 +DA:228,56 +DA:229,56 +DA:230,56 +DA:231,56 +DA:232,56 +DA:233,56 DA:234,1 DA:235,1 DA:236,1 @@ -564,578 +635,578 @@ DA:240,1 DA:241,1 DA:242,1 DA:243,1 -DA:244,15 -DA:245,15 -DA:246,15 -DA:247,3 -DA:248,3 -DA:249,3 -DA:250,15 -DA:251,15 -DA:252,15 -DA:253,15 -DA:254,15 -DA:255,15 -DA:256,15 -DA:257,15 -DA:258,15 -DA:259,15 -DA:260,15 -DA:261,15 -DA:262,15 -DA:263,15 -DA:264,15 -DA:265,15 -DA:266,15 -DA:267,15 -DA:268,5 -DA:269,5 -DA:270,5 -DA:271,5 -DA:272,10 -DA:273,10 +DA:244,0 +DA:245,0 +DA:246,0 +DA:247,0 +DA:248,0 +DA:249,0 +DA:250,0 +DA:251,0 +DA:252,0 +DA:253,0 +DA:254,0 +DA:255,0 +DA:256,0 +DA:257,0 +DA:258,1 +DA:259,1 +DA:260,1 +DA:261,1 +DA:262,1 +DA:263,1 +DA:264,1 +DA:265,1 +DA:266,1 +DA:267,1 +DA:268,15 +DA:269,15 +DA:270,15 +DA:271,3 +DA:272,3 +DA:273,3 DA:274,15 DA:275,15 DA:276,15 DA:277,15 DA:278,15 DA:279,15 -DA:280,1 -DA:281,1 -DA:282,1 -DA:283,1 -DA:284,1 -DA:285,1 -DA:286,1 -DA:287,1 -DA:288,1 -DA:289,1 -DA:290,1 -DA:291,1 -DA:292,1 -DA:293,1 -DA:294,1 -DA:295,1 -DA:296,1 -DA:297,1 -DA:298,1 -DA:299,26 -DA:300,26 -DA:301,26 -DA:302,7 -DA:303,7 -DA:304,7 -DA:305,26 -DA:306,26 -DA:307,26 -DA:308,26 -DA:309,26 -DA:310,26 -DA:311,26 -DA:312,26 -DA:313,26 -DA:314,26 -DA:315,26 -DA:316,26 -DA:317,26 -DA:318,26 -DA:319,26 -DA:320,26 -DA:321,26 -DA:322,26 +DA:280,15 +DA:281,15 +DA:282,15 +DA:283,15 +DA:284,15 +DA:285,15 +DA:286,15 +DA:287,15 +DA:288,15 +DA:289,15 +DA:290,15 +DA:291,15 +DA:292,5 +DA:293,5 +DA:294,5 +DA:295,5 +DA:296,10 +DA:297,10 +DA:298,15 +DA:299,15 +DA:300,15 +DA:301,15 +DA:302,15 +DA:303,15 +DA:304,1 +DA:305,1 +DA:306,1 +DA:307,1 +DA:308,1 +DA:309,1 +DA:310,1 +DA:311,1 +DA:312,1 +DA:313,1 +DA:314,1 +DA:315,1 +DA:316,1 +DA:317,1 +DA:318,1 +DA:319,1 +DA:320,1 +DA:321,1 +DA:322,1 DA:323,26 -DA:324,13 -DA:325,13 -DA:326,13 -DA:327,26 -DA:328,26 +DA:324,26 +DA:325,26 +DA:326,7 +DA:327,7 +DA:328,7 DA:329,26 DA:330,26 -DA:331,1 -DA:332,1 -DA:333,1 -DA:334,1 -DA:335,1 -DA:336,1 -DA:337,1 -DA:338,1 -DA:339,1 -DA:340,1 -DA:341,1 -DA:342,1 -DA:343,1 -DA:344,1 -DA:345,1 -DA:346,9 -DA:347,9 -DA:348,9 -DA:349,4 -DA:350,4 -DA:351,4 -DA:352,9 -DA:353,9 -DA:354,9 -DA:355,9 -DA:356,9 -DA:357,9 -DA:358,9 -DA:359,9 -DA:360,9 -DA:361,9 -DA:362,9 -DA:363,9 -DA:364,9 -DA:365,9 -DA:366,9 -DA:367,9 -DA:368,5 -DA:369,5 -DA:370,5 -DA:371,5 -DA:372,4 +DA:331,26 +DA:332,26 +DA:333,26 +DA:334,26 +DA:335,26 +DA:336,26 +DA:337,26 +DA:338,26 +DA:339,26 +DA:340,26 +DA:341,26 +DA:342,26 +DA:343,26 +DA:344,26 +DA:345,26 +DA:346,26 +DA:347,26 +DA:348,13 +DA:349,13 +DA:350,13 +DA:351,26 +DA:352,26 +DA:353,26 +DA:354,26 +DA:355,1 +DA:356,1 +DA:357,1 +DA:358,1 +DA:359,1 +DA:360,1 +DA:361,1 +DA:362,1 +DA:363,1 +DA:364,1 +DA:365,1 +DA:366,1 +DA:367,1 +DA:368,1 +DA:369,1 +DA:370,9 +DA:371,9 +DA:372,9 DA:373,4 -DA:374,9 -DA:375,9 +DA:374,4 +DA:375,4 DA:376,9 DA:377,9 -DA:378,1 -DA:379,1 -DA:380,1 -DA:381,0 -DA:382,0 -DA:383,1 -DA:384,1 -DA:385,1 -DA:386,1 -DA:387,1 -DA:388,1 -DA:389,1 -DA:390,83 -DA:391,83 -DA:392,83 -DA:393,83 -DA:394,598 -DA:395,598 -DA:396,598 -DA:397,226 -DA:398,598 -DA:399,141 -DA:400,141 -DA:401,598 -DA:402,83 -DA:403,83 +DA:378,9 +DA:379,9 +DA:380,9 +DA:381,9 +DA:382,9 +DA:383,9 +DA:384,9 +DA:385,9 +DA:386,9 +DA:387,9 +DA:388,9 +DA:389,9 +DA:390,9 +DA:391,9 +DA:392,5 +DA:393,5 +DA:394,5 +DA:395,5 +DA:396,4 +DA:397,4 +DA:398,9 +DA:399,9 +DA:400,9 +DA:401,9 +DA:402,1 +DA:403,1 DA:404,1 -DA:405,1 -DA:406,1 -DA:407,0 -DA:408,0 -DA:409,0 -DA:410,0 -DA:411,0 -DA:412,0 -DA:413,0 -DA:414,0 -DA:415,0 -DA:416,0 -DA:417,0 -DA:418,0 -DA:419,0 -DA:420,0 -DA:421,0 -DA:422,1 -DA:423,1 -DA:424,30 -DA:425,30 -DA:426,30 -DA:427,30 -DA:428,30 -DA:429,30 -DA:430,30 -DA:431,30 -DA:432,30 -DA:433,30 -DA:434,30 -DA:435,30 -DA:436,30 -DA:437,30 -DA:438,30 -DA:439,30 -DA:440,30 -DA:441,90 -DA:442,90 -DA:443,30 -DA:444,30 -DA:445,30 -DA:446,30 +DA:405,0 +DA:406,0 +DA:407,1 +DA:408,1 +DA:409,1 +DA:410,1 +DA:411,1 +DA:412,1 +DA:413,1 +DA:414,83 +DA:415,83 +DA:416,83 +DA:417,83 +DA:418,598 +DA:419,598 +DA:420,598 +DA:421,226 +DA:422,598 +DA:423,141 +DA:424,141 +DA:425,598 +DA:426,83 +DA:427,83 +DA:428,1 +DA:429,1 +DA:430,1 +DA:431,0 +DA:432,0 +DA:433,0 +DA:434,0 +DA:435,0 +DA:436,0 +DA:437,0 +DA:438,0 +DA:439,0 +DA:440,0 +DA:441,0 +DA:442,0 +DA:443,0 +DA:444,0 +DA:445,0 +DA:446,1 DA:447,1 -DA:448,1 -DA:449,1371 -DA:450,1371 -DA:451,1371 -DA:452,1371 -DA:453,1371 -DA:454,1037 -DA:455,18 -DA:456,18 -DA:457,18 -DA:458,18 -DA:459,18 -DA:460,18 -DA:461,12 -DA:462,18 -DA:463,1037 -DA:464,1 -DA:465,1019 -DA:466,0 -DA:467,0 -DA:468,0 -DA:469,0 -DA:470,0 -DA:471,0 -DA:472,0 -DA:473,0 -DA:474,0 -DA:475,0 -DA:476,0 -DA:477,0 -DA:478,0 -DA:479,1037 -DA:480,1352 -DA:481,1371 -DA:482,1371 -DA:483,1186 -DA:484,1186 -DA:485,1186 -DA:486,1186 -DA:487,1186 -DA:488,1186 -DA:489,1371 -DA:490,166 -DA:491,166 -DA:492,165 -DA:493,165 -DA:494,164 -DA:495,164 -DA:496,2 -DA:497,2 -DA:498,1371 -DA:499,1 -DA:500,1 -DA:501,1 -DA:502,122 -DA:503,122 -DA:504,122 -DA:505,122 -DA:506,122 -DA:507,122 -DA:508,122 -DA:509,41 -DA:510,41 -DA:511,52 -DA:512,45 -DA:513,45 -DA:514,0 -DA:515,45 -DA:516,45 -DA:517,45 -DA:518,45 -DA:519,52 -DA:520,41 -DA:521,41 -DA:522,3 -DA:523,3 -DA:524,41 -DA:525,41 -DA:526,0 -DA:527,0 -DA:528,41 -DA:529,41 -DA:530,2 -DA:531,2 -DA:532,41 +DA:448,30 +DA:449,30 +DA:450,30 +DA:451,30 +DA:452,30 +DA:453,30 +DA:454,30 +DA:455,30 +DA:456,30 +DA:457,30 +DA:458,30 +DA:459,30 +DA:460,30 +DA:461,30 +DA:462,30 +DA:463,30 +DA:464,30 +DA:465,90 +DA:466,90 +DA:467,30 +DA:468,30 +DA:469,30 +DA:470,30 +DA:471,1 +DA:472,1 +DA:473,1369 +DA:474,1369 +DA:475,1369 +DA:476,1369 +DA:477,1369 +DA:478,1035 +DA:479,18 +DA:480,18 +DA:481,18 +DA:482,18 +DA:483,18 +DA:484,18 +DA:485,12 +DA:486,18 +DA:487,1035 +DA:488,1 +DA:489,1017 +DA:490,0 +DA:491,0 +DA:492,0 +DA:493,0 +DA:494,0 +DA:495,0 +DA:496,0 +DA:497,0 +DA:498,0 +DA:499,0 +DA:500,0 +DA:501,0 +DA:502,0 +DA:503,1035 +DA:504,1350 +DA:505,1369 +DA:506,1369 +DA:507,1184 +DA:508,1184 +DA:509,1184 +DA:510,1184 +DA:511,1184 +DA:512,1184 +DA:513,1369 +DA:514,166 +DA:515,166 +DA:516,165 +DA:517,165 +DA:518,164 +DA:519,164 +DA:520,2 +DA:521,2 +DA:522,1369 +DA:523,1 +DA:524,1 +DA:525,1 +DA:526,122 +DA:527,122 +DA:528,122 +DA:529,122 +DA:530,122 +DA:531,122 +DA:532,122 DA:533,41 -DA:534,1 -DA:535,1 -DA:536,41 -DA:537,41 -DA:538,41 -DA:539,81 -DA:540,81 -DA:541,81 -DA:542,81 -DA:543,81 -DA:544,81 -DA:545,81 -DA:546,73 -DA:547,73 -DA:548,73 -DA:549,73 -DA:550,73 -DA:551,73 -DA:552,6 -DA:553,6 -DA:554,73 -DA:555,81 -DA:556,81 -DA:557,81 -DA:558,135 -DA:559,135 -DA:560,135 -DA:561,0 -DA:562,0 -DA:563,135 -DA:564,135 -DA:565,135 -DA:566,134 -DA:567,134 -DA:568,135 -DA:569,135 -DA:570,81 -DA:571,81 -DA:572,81 -DA:573,122 -DA:574,1 -DA:575,1 -DA:576,3 -DA:577,3 -DA:578,3 -DA:579,3 -DA:580,3 -DA:581,1 -DA:582,1 -DA:583,3 -DA:584,3 +DA:534,41 +DA:535,52 +DA:536,45 +DA:537,45 +DA:538,0 +DA:539,45 +DA:540,45 +DA:541,45 +DA:542,45 +DA:543,52 +DA:544,41 +DA:545,41 +DA:546,3 +DA:547,3 +DA:548,41 +DA:549,41 +DA:550,0 +DA:551,0 +DA:552,41 +DA:553,41 +DA:554,2 +DA:555,2 +DA:556,41 +DA:557,41 +DA:558,1 +DA:559,1 +DA:560,41 +DA:561,41 +DA:562,41 +DA:563,81 +DA:564,81 +DA:565,81 +DA:566,81 +DA:567,81 +DA:568,81 +DA:569,81 +DA:570,73 +DA:571,73 +DA:572,73 +DA:573,73 +DA:574,73 +DA:575,73 +DA:576,6 +DA:577,6 +DA:578,73 +DA:579,81 +DA:580,81 +DA:581,81 +DA:582,135 +DA:583,135 +DA:584,135 DA:585,0 DA:586,0 -DA:587,3 -DA:588,3 -DA:589,3 -DA:590,1 -DA:591,1 -DA:592,0 -DA:593,0 -DA:594,1 -DA:595,1 -DA:596,0 -DA:597,0 +DA:587,135 +DA:588,135 +DA:589,135 +DA:590,134 +DA:591,134 +DA:592,135 +DA:593,135 +DA:594,81 +DA:595,81 +DA:596,81 +DA:597,122 DA:598,1 DA:599,1 -DA:600,1 -DA:601,1 -DA:602,49 -DA:603,49 -DA:604,49 -DA:605,49 -DA:606,49 -DA:607,49 -DA:608,49 -DA:609,48 -DA:610,48 -DA:611,4 -DA:612,4 -DA:613,4 -DA:614,48 -DA:615,48 -DA:616,49 -DA:617,49 -DA:618,49 -DA:619,49 -DA:620,1 -DA:621,106 -DA:622,106 -DA:623,28 -DA:624,106 -DA:625,8 -DA:626,8 -DA:627,8 -DA:628,8 -DA:629,8 -DA:630,8 -DA:631,106 -DA:632,106 -DA:633,106 -DA:634,1 -DA:635,24 -DA:636,24 -DA:637,24 -DA:638,1 -DA:639,1 -DA:640,50 -DA:641,50 -DA:642,50 -DA:643,50 -DA:644,50 -DA:645,50 -DA:646,24 -DA:647,3 -DA:648,24 -DA:649,5 -DA:650,21 -DA:651,0 -DA:652,0 -DA:653,24 -DA:654,50 -DA:655,50 -DA:656,50 -DA:657,50 -DA:658,29 -DA:659,36 -DA:660,0 -DA:661,0 -DA:662,36 -DA:663,29 +DA:600,3 +DA:601,3 +DA:602,3 +DA:603,3 +DA:604,3 +DA:605,1 +DA:606,1 +DA:607,3 +DA:608,3 +DA:609,0 +DA:610,0 +DA:611,3 +DA:612,3 +DA:613,3 +DA:614,1 +DA:615,1 +DA:616,0 +DA:617,0 +DA:618,1 +DA:619,1 +DA:620,0 +DA:621,0 +DA:622,1 +DA:623,1 +DA:624,1 +DA:625,1 +DA:626,49 +DA:627,49 +DA:628,49 +DA:629,49 +DA:630,49 +DA:631,49 +DA:632,49 +DA:633,48 +DA:634,48 +DA:635,4 +DA:636,4 +DA:637,4 +DA:638,48 +DA:639,48 +DA:640,49 +DA:641,49 +DA:642,49 +DA:643,49 +DA:644,1 +DA:645,106 +DA:646,106 +DA:647,28 +DA:648,106 +DA:649,8 +DA:650,8 +DA:651,8 +DA:652,8 +DA:653,8 +DA:654,8 +DA:655,106 +DA:656,106 +DA:657,106 +DA:658,1 +DA:659,24 +DA:660,24 +DA:661,24 +DA:662,1 +DA:663,1 DA:664,50 DA:665,50 DA:666,50 -DA:667,1 -DA:668,1 -DA:669,1 -DA:670,1 -DA:671,260 -DA:672,260 -DA:673,260 -DA:674,260 -DA:675,6 -DA:676,6 -DA:677,6 -DA:678,6 -DA:679,6 -DA:680,6 -DA:681,254 -DA:682,260 -DA:683,248 -DA:684,260 -DA:685,239 -DA:686,239 -DA:687,258 -DA:688,237 -DA:689,237 -DA:690,237 -DA:691,237 -DA:692,237 -DA:693,237 -DA:694,260 -DA:695,2 -DA:696,2 -DA:697,2 -DA:698,2 -DA:699,237 -DA:700,237 -DA:701,237 -DA:702,1 -DA:703,1186 -DA:704,1186 -DA:705,1186 -DA:706,1186 -DA:707,1186 -DA:708,1186 -DA:709,1186 -DA:710,1186 -DA:711,1 -DA:712,327 -DA:713,327 -DA:714,327 -DA:715,327 -DA:716,327 -DA:717,0 -DA:718,0 -DA:719,0 -DA:720,0 -DA:721,0 -DA:722,0 -DA:723,0 -DA:724,0 -DA:725,0 -DA:726,0 -DA:727,0 -DA:728,0 -DA:729,0 -DA:730,0 -DA:731,0 -DA:732,0 -DA:733,0 -DA:734,0 -DA:735,0 -DA:736,327 +DA:667,50 +DA:668,50 +DA:669,50 +DA:670,24 +DA:671,3 +DA:672,24 +DA:673,5 +DA:674,21 +DA:675,0 +DA:676,0 +DA:677,24 +DA:678,50 +DA:679,50 +DA:680,50 +DA:681,50 +DA:682,29 +DA:683,36 +DA:684,0 +DA:685,0 +DA:686,36 +DA:687,29 +DA:688,50 +DA:689,50 +DA:690,50 +DA:691,1 +DA:692,1 +DA:693,1 +DA:694,1 +DA:695,260 +DA:696,260 +DA:697,260 +DA:698,260 +DA:699,6 +DA:700,6 +DA:701,6 +DA:702,6 +DA:703,6 +DA:704,6 +DA:705,254 +DA:706,260 +DA:707,248 +DA:708,260 +DA:709,239 +DA:710,239 +DA:711,258 +DA:712,237 +DA:713,237 +DA:714,237 +DA:715,237 +DA:716,237 +DA:717,237 +DA:718,237 +DA:719,2 +DA:720,2 +DA:721,2 +DA:722,2 +DA:723,2 +DA:724,237 +DA:725,237 +DA:726,237 +DA:727,1 +DA:728,1184 +DA:729,1184 +DA:730,1184 +DA:731,1184 +DA:732,1184 +DA:733,1184 +DA:734,1184 +DA:735,1184 +DA:736,1 DA:737,327 -DA:738,6 -DA:739,6 -DA:740,1 -DA:741,1 -DA:742,1 -DA:743,1 -DA:744,1 -DA:745,1 -DA:746,6 -DA:747,327 -DA:748,327 -DA:749,327 -DA:750,1 -DA:751,2 -DA:752,2 -DA:753,2 -DA:754,2 -DA:755,2 -DA:756,2 -DA:757,2 -DA:758,2 -DA:759,2 -DA:760,2 -DA:761,2 -DA:762,0 -DA:763,2 -DA:764,0 -DA:765,0 -DA:766,0 -DA:767,0 -DA:768,2 -DA:769,2 -DA:770,2 -DA:771,2 -DA:772,298 -DA:773,298 -DA:774,298 -DA:775,298 -DA:776,298 -DA:777,298 -DA:778,298 -DA:779,298 -DA:780,298 -DA:781,298 -DA:782,298 -DA:783,298 -DA:784,298 -DA:785,298 +DA:738,327 +DA:739,327 +DA:740,327 +DA:741,327 +DA:742,0 +DA:743,0 +DA:744,0 +DA:745,0 +DA:746,0 +DA:747,0 +DA:748,0 +DA:749,0 +DA:750,0 +DA:751,0 +DA:752,0 +DA:753,0 +DA:754,0 +DA:755,0 +DA:756,0 +DA:757,0 +DA:758,0 +DA:759,0 +DA:760,0 +DA:761,327 +DA:762,327 +DA:763,6 +DA:764,6 +DA:765,1 +DA:766,1 +DA:767,1 +DA:768,1 +DA:769,1 +DA:770,1 +DA:771,6 +DA:772,327 +DA:773,327 +DA:774,327 +DA:775,1 +DA:776,2 +DA:777,2 +DA:778,2 +DA:779,2 +DA:780,2 +DA:781,2 +DA:782,2 +DA:783,2 +DA:784,2 +DA:785,2 DA:786,2 -DA:787,1 -DA:788,327 -DA:789,327 -DA:790,327 -DA:791,327 -DA:792,327 -DA:793,327 -DA:794,327 -DA:795,327 -DA:796,327 -DA:797,327 -DA:798,327 -DA:799,2 -DA:800,2 -DA:801,2 -DA:802,2 -DA:803,2 -DA:804,2 -DA:805,327 -DA:806,327 -DA:807,327 -DA:808,4 -DA:809,4 -DA:810,4 -DA:811,4 -DA:812,4 -DA:813,4 -DA:814,4 -DA:815,4 +DA:787,0 +DA:788,2 +DA:789,0 +DA:790,0 +DA:791,0 +DA:792,0 +DA:793,2 +DA:794,2 +DA:795,2 +DA:796,2 +DA:797,296 +DA:798,296 +DA:799,296 +DA:800,296 +DA:801,296 +DA:802,296 +DA:803,296 +DA:804,296 +DA:805,296 +DA:806,296 +DA:807,296 +DA:808,296 +DA:809,296 +DA:810,296 +DA:811,2 +DA:812,1 +DA:813,327 +DA:814,327 +DA:815,327 DA:816,327 DA:817,327 DA:818,327 @@ -1144,130 +1215,155 @@ DA:820,327 DA:821,327 DA:822,327 DA:823,327 -DA:824,327 -DA:825,327 -DA:826,1 -DA:827,1 -DA:828,1 -DA:829,1 -DA:830,1 +DA:824,2 +DA:825,2 +DA:826,2 +DA:827,2 +DA:828,2 +DA:829,2 +DA:830,327 DA:831,327 DA:832,327 -DA:833,327 -DA:834,327 -DA:835,327 -DA:836,327 -DA:837,327 -DA:838,327 -DA:839,327 -DA:840,1 -DA:841,1 -DA:842,1 -DA:843,1 -DA:844,7140 -DA:845,7140 -DA:846,7140 -DA:847,6496 -DA:848,6496 -DA:849,7140 -DA:850,4558 -DA:851,4558 -DA:852,7140 -DA:853,0 -DA:854,0 -DA:855,0 -DA:856,0 -DA:857,0 -DA:858,0 -DA:859,4558 -DA:860,4558 -DA:861,4558 -DA:862,4558 -DA:863,4558 -DA:864,4558 -DA:865,7140 -DA:866,270 -DA:867,7140 -DA:868,2682 -DA:869,2682 -DA:870,1192 -DA:871,1192 -DA:872,6842 -DA:873,6842 -DA:874,6842 -DA:875,6842 -DA:876,6842 -DA:877,6842 -DA:878,6842 -DA:879,6842 -DA:880,6842 -DA:881,6842 -DA:882,6842 -DA:883,4152 -DA:884,4152 -DA:885,4152 -DA:886,4152 -DA:887,6842 -DA:888,1192 -DA:889,2682 -DA:890,4288 -DA:891,0 -DA:892,0 -DA:893,0 -DA:894,0 -DA:895,0 -DA:896,0 -DA:897,0 -DA:898,0 -DA:899,0 -DA:900,0 -DA:901,1606 -DA:902,1606 -DA:903,1606 -DA:904,1606 -DA:905,1606 -DA:906,1606 -DA:907,1606 -DA:908,1606 -DA:909,0 -DA:910,0 -DA:911,1606 -DA:912,1606 -DA:913,1606 -DA:914,7140 -DA:915,1 -DA:916,1 -DA:917,298 -DA:918,298 -DA:919,298 -DA:920,298 -DA:921,298 -DA:922,298 -DA:923,298 -DA:924,298 -DA:925,298 -DA:926,298 -DA:927,298 -DA:928,298 -DA:929,298 -DA:930,298 -DA:931,298 -DA:932,298 -DA:933,298 -DA:934,298 -DA:935,298 -DA:936,298 -DA:937,298 -DA:938,298 -DA:939,0 -DA:940,0 -DA:941,0 -DA:942,0 -DA:943,298 -DA:944,1 -DA:945,1 -LF:945 -LH:840 +DA:833,4 +DA:834,4 +DA:835,4 +DA:836,4 +DA:837,4 +DA:838,4 +DA:839,4 +DA:840,4 +DA:841,327 +DA:842,327 +DA:843,327 +DA:844,327 +DA:845,327 +DA:846,327 +DA:847,327 +DA:848,327 +DA:849,327 +DA:850,327 +DA:851,1 +DA:852,1 +DA:853,1 +DA:854,1 +DA:855,1 +DA:856,327 +DA:857,327 +DA:858,327 +DA:859,327 +DA:860,327 +DA:861,327 +DA:862,327 +DA:863,327 +DA:864,327 +DA:865,1 +DA:866,1 +DA:867,1 +DA:868,1 +DA:869,7569 +DA:870,7569 +DA:871,7569 +DA:872,6931 +DA:873,6931 +DA:874,7569 +DA:875,5005 +DA:876,5005 +DA:877,7569 +DA:878,0 +DA:879,0 +DA:880,0 +DA:881,0 +DA:882,0 +DA:883,0 +DA:884,5005 +DA:885,5005 +DA:886,5005 +DA:887,5005 +DA:888,5005 +DA:889,5005 +DA:890,7569 +DA:891,270 +DA:892,7569 +DA:893,2960 +DA:894,2960 +DA:895,1184 +DA:896,1184 +DA:897,7273 +DA:898,7273 +DA:899,7273 +DA:900,7273 +DA:901,7273 +DA:902,7273 +DA:903,7273 +DA:904,7273 +DA:905,7273 +DA:906,7273 +DA:907,7273 +DA:908,4422 +DA:909,4422 +DA:910,4422 +DA:911,4422 +DA:912,7273 +DA:913,1184 +DA:914,2960 +DA:915,4735 +DA:916,0 +DA:917,0 +DA:918,0 +DA:919,0 +DA:920,0 +DA:921,0 +DA:922,0 +DA:923,0 +DA:924,0 +DA:925,0 +DA:926,1775 +DA:927,1775 +DA:928,1775 +DA:929,1775 +DA:930,1775 +DA:931,1775 +DA:932,1775 +DA:933,1775 +DA:934,0 +DA:935,0 +DA:936,1775 +DA:937,1775 +DA:938,1775 +DA:939,7569 +DA:940,1 +DA:941,1 +DA:942,296 +DA:943,296 +DA:944,296 +DA:945,296 +DA:946,296 +DA:947,296 +DA:948,296 +DA:949,296 +DA:950,296 +DA:951,296 +DA:952,296 +DA:953,296 +DA:954,296 +DA:955,296 +DA:956,296 +DA:957,296 +DA:958,296 +DA:959,296 +DA:960,296 +DA:961,296 +DA:962,296 +DA:963,296 +DA:964,0 +DA:965,0 +DA:966,0 +DA:967,0 +DA:968,296 +DA:969,1 +DA:970,1 +LF:970 +LH:852 BRDA:24,0,0,106 BRDA:43,1,0,1 BRDA:40,2,0,1 @@ -1318,225 +1414,227 @@ BRDA:181,46,0,279 BRDA:182,47,0,2 BRDA:185,48,0,279 BRDA:186,49,0,64 -BRDA:196,50,0,56 -BRDA:204,51,0,30 -BRDA:207,52,0,25 -BRDA:208,53,0,31 -BRDA:208,54,0,0 -BRDA:243,55,0,15 -BRDA:246,56,0,3 -BRDA:264,57,0,10 -BRDA:267,58,0,5 -BRDA:269,59,0,1 -BRDA:270,60,0,4 -BRDA:272,61,0,10 -BRDA:274,62,0,8 -BRDA:275,63,0,2 -BRDA:275,64,0,0 -BRDA:298,65,0,26 -BRDA:301,66,0,7 -BRDA:319,67,0,14 -BRDA:322,68,0,13 -BRDA:323,69,0,13 -BRDA:325,70,0,0 -BRDA:345,71,0,9 -BRDA:348,72,0,4 -BRDA:364,73,0,5 -BRDA:367,74,0,5 -BRDA:369,75,0,1 -BRDA:370,76,0,4 -BRDA:372,77,0,4 -BRDA:374,78,0,3 -BRDA:375,79,0,1 -BRDA:375,80,0,0 -BRDA:389,81,0,83 -BRDA:393,82,0,598 -BRDA:395,83,0,226 -BRDA:396,84,0,226 -BRDA:398,85,0,141 -BRDA:423,86,0,30 -BRDA:428,87,0,6 -BRDA:429,88,0,24 -BRDA:430,89,0,0 -BRDA:432,90,0,0 -BRDA:440,91,0,90 -BRDA:448,92,0,1371 -BRDA:453,93,0,1037 -BRDA:454,94,0,18 -BRDA:459,95,0,15 -BRDA:460,96,0,12 -BRDA:463,97,0,1019 -BRDA:463,98,0,1 -BRDA:465,99,0,1018 -BRDA:465,100,0,0 -BRDA:480,101,0,1352 -BRDA:481,102,0,1018 -BRDA:481,103,0,167 -BRDA:482,104,0,1186 -BRDA:488,105,0,852 -BRDA:488,106,0,1 -BRDA:488,107,0,1185 -BRDA:489,108,0,166 -BRDA:490,109,0,1 -BRDA:491,110,0,165 -BRDA:492,111,0,1 -BRDA:493,112,0,164 -BRDA:494,113,0,162 -BRDA:495,114,0,2 -BRDA:496,115,0,1 -BRDA:497,116,0,1 -BRDA:501,117,0,122 -BRDA:508,118,0,95 -BRDA:508,119,0,41 -BRDA:510,120,0,52 -BRDA:511,121,0,45 -BRDA:513,122,0,41 -BRDA:513,123,0,0 -BRDA:513,124,0,0 -BRDA:521,125,0,3 -BRDA:525,126,0,0 -BRDA:529,127,0,2 -BRDA:533,128,0,1 -BRDA:539,129,0,81 -BRDA:542,130,0,19 -BRDA:542,131,0,62 -BRDA:545,132,0,73 -BRDA:546,133,0,19 -BRDA:551,134,0,6 -BRDA:557,135,0,135 -BRDA:560,136,0,126 -BRDA:560,137,0,1 -BRDA:560,138,0,0 -BRDA:565,139,0,134 -BRDA:575,140,0,3 -BRDA:580,141,0,1 -BRDA:584,142,0,0 -BRDA:602,143,0,49 -BRDA:603,144,0,4 -BRDA:603,145,0,45 -BRDA:604,146,0,49 -BRDA:605,147,0,49 -BRDA:607,148,0,1 -BRDA:607,149,0,0 -BRDA:608,150,0,48 -BRDA:610,151,0,4 -BRDA:610,152,0,2 -BRDA:610,153,0,2 -BRDA:610,154,0,2 -BRDA:611,155,0,1 -BRDA:612,156,0,3 -BRDA:612,157,0,2 -BRDA:614,158,0,44 -BRDA:621,159,0,106 -BRDA:622,160,0,28 -BRDA:624,161,0,78 -BRDA:624,162,0,8 -BRDA:624,163,0,8 -BRDA:632,164,0,54 -BRDA:632,165,0,52 -BRDA:632,166,0,1 -BRDA:632,167,0,51 -BRDA:635,168,0,24 -BRDA:636,169,0,14 -BRDA:640,170,0,50 -BRDA:643,171,0,26 -BRDA:643,172,0,0 -BRDA:643,173,0,24 -BRDA:645,174,0,24 -BRDA:646,175,0,13 -BRDA:646,176,0,11 -BRDA:646,177,0,3 -BRDA:648,178,0,21 -BRDA:648,179,0,16 -BRDA:648,180,0,5 -BRDA:649,181,0,2 -BRDA:649,182,0,3 -BRDA:650,183,0,16 -BRDA:650,184,0,0 -BRDA:657,185,0,29 -BRDA:658,186,0,36 -BRDA:659,187,0,0 -BRDA:671,188,0,260 -BRDA:674,189,0,6 -BRDA:681,190,0,254 -BRDA:682,191,0,244 -BRDA:682,192,0,6 -BRDA:682,193,0,6 -BRDA:683,194,0,248 -BRDA:684,195,0,9 -BRDA:685,196,0,258 -BRDA:685,197,0,239 -BRDA:687,198,0,237 -BRDA:688,199,0,112 -BRDA:688,200,0,125 -BRDA:689,201,0,112 -BRDA:689,202,0,125 -BRDA:691,203,0,103 -BRDA:691,204,0,134 -BRDA:692,205,0,80 -BRDA:692,206,0,157 -BRDA:693,207,0,3 -BRDA:693,208,0,234 -BRDA:694,209,0,2 -BRDA:699,210,0,237 -BRDA:703,211,0,1186 -BRDA:704,212,0,0 -BRDA:706,213,0,44 -BRDA:706,214,0,1142 -BRDA:706,215,0,44 -BRDA:707,216,0,186 -BRDA:707,217,0,1000 -BRDA:707,218,0,186 -BRDA:708,219,0,888 -BRDA:708,220,0,298 -BRDA:708,221,0,888 -BRDA:712,222,0,327 -BRDA:713,223,0,0 -BRDA:716,224,0,0 -BRDA:737,225,0,0 -BRDA:737,226,0,6 -BRDA:739,227,0,1 -BRDA:741,228,0,0 -BRDA:742,229,0,1 -BRDA:751,230,0,2 -BRDA:761,231,0,0 -BRDA:763,232,0,0 -BRDA:763,233,0,0 -BRDA:771,234,0,298 -BRDA:788,235,0,327 -BRDA:798,236,0,2 -BRDA:807,237,0,4 -BRDA:810,238,0,1 -BRDA:825,239,0,1 -BRDA:844,240,0,7140 -BRDA:846,241,0,644 -BRDA:847,242,0,6496 -BRDA:849,243,0,1938 -BRDA:849,244,0,1938 -BRDA:850,245,0,4558 -BRDA:852,246,0,0 -BRDA:859,247,0,4558 -BRDA:865,248,0,270 -BRDA:866,249,0,0 -BRDA:867,250,0,4288 -BRDA:867,251,0,2682 -BRDA:869,252,0,1192 -BRDA:871,253,0,6842 -BRDA:872,254,0,0 -BRDA:878,255,0,5377 -BRDA:882,256,0,4904 -BRDA:882,257,0,4152 -BRDA:883,258,0,0 -BRDA:890,259,0,1606 -BRDA:890,260,0,0 -BRDA:908,261,0,0 -BRDA:917,262,0,298 -BRDA:919,263,0,0 -BRDA:928,264,0,0 -BRDA:928,265,0,0 -BRDA:936,266,0,0 -BRDA:938,267,0,0 -BRF:268 +BRDA:197,50,0,56 +BRDA:210,51,0,0 +BRDA:210,52,0,0 +BRDA:227,53,0,30 +BRDA:230,54,0,25 +BRDA:231,55,0,31 +BRDA:231,56,0,0 +BRDA:267,57,0,15 +BRDA:270,58,0,3 +BRDA:288,59,0,10 +BRDA:291,60,0,5 +BRDA:293,61,0,1 +BRDA:294,62,0,4 +BRDA:296,63,0,10 +BRDA:298,64,0,8 +BRDA:299,65,0,2 +BRDA:299,66,0,0 +BRDA:322,67,0,26 +BRDA:325,68,0,7 +BRDA:343,69,0,14 +BRDA:346,70,0,13 +BRDA:347,71,0,13 +BRDA:349,72,0,0 +BRDA:369,73,0,9 +BRDA:372,74,0,4 +BRDA:388,75,0,5 +BRDA:391,76,0,5 +BRDA:393,77,0,1 +BRDA:394,78,0,4 +BRDA:396,79,0,4 +BRDA:398,80,0,3 +BRDA:399,81,0,1 +BRDA:399,82,0,0 +BRDA:413,83,0,83 +BRDA:417,84,0,598 +BRDA:419,85,0,226 +BRDA:420,86,0,226 +BRDA:422,87,0,141 +BRDA:447,88,0,30 +BRDA:452,89,0,6 +BRDA:453,90,0,24 +BRDA:454,91,0,0 +BRDA:456,92,0,0 +BRDA:464,93,0,90 +BRDA:472,94,0,1369 +BRDA:477,95,0,1035 +BRDA:478,96,0,18 +BRDA:483,97,0,15 +BRDA:484,98,0,12 +BRDA:487,99,0,1017 +BRDA:487,100,0,1 +BRDA:489,101,0,1016 +BRDA:489,102,0,0 +BRDA:504,103,0,1350 +BRDA:505,104,0,1016 +BRDA:505,105,0,167 +BRDA:506,106,0,1184 +BRDA:512,107,0,850 +BRDA:512,108,0,1 +BRDA:512,109,0,1183 +BRDA:513,110,0,166 +BRDA:514,111,0,1 +BRDA:515,112,0,165 +BRDA:516,113,0,1 +BRDA:517,114,0,164 +BRDA:518,115,0,162 +BRDA:519,116,0,2 +BRDA:520,117,0,1 +BRDA:521,118,0,1 +BRDA:525,119,0,122 +BRDA:532,120,0,95 +BRDA:532,121,0,41 +BRDA:534,122,0,52 +BRDA:535,123,0,45 +BRDA:537,124,0,41 +BRDA:537,125,0,0 +BRDA:537,126,0,0 +BRDA:545,127,0,3 +BRDA:549,128,0,0 +BRDA:553,129,0,2 +BRDA:557,130,0,1 +BRDA:563,131,0,81 +BRDA:566,132,0,19 +BRDA:566,133,0,62 +BRDA:569,134,0,73 +BRDA:570,135,0,19 +BRDA:575,136,0,6 +BRDA:581,137,0,135 +BRDA:584,138,0,126 +BRDA:584,139,0,1 +BRDA:584,140,0,0 +BRDA:589,141,0,134 +BRDA:599,142,0,3 +BRDA:604,143,0,1 +BRDA:608,144,0,0 +BRDA:626,145,0,49 +BRDA:627,146,0,4 +BRDA:627,147,0,45 +BRDA:628,148,0,49 +BRDA:629,149,0,49 +BRDA:631,150,0,1 +BRDA:631,151,0,0 +BRDA:632,152,0,48 +BRDA:634,153,0,4 +BRDA:634,154,0,2 +BRDA:634,155,0,2 +BRDA:634,156,0,2 +BRDA:635,157,0,1 +BRDA:636,158,0,3 +BRDA:636,159,0,2 +BRDA:638,160,0,44 +BRDA:645,161,0,106 +BRDA:646,162,0,28 +BRDA:648,163,0,78 +BRDA:648,164,0,8 +BRDA:648,165,0,8 +BRDA:656,166,0,54 +BRDA:656,167,0,52 +BRDA:656,168,0,1 +BRDA:656,169,0,51 +BRDA:659,170,0,24 +BRDA:660,171,0,14 +BRDA:664,172,0,50 +BRDA:667,173,0,26 +BRDA:667,174,0,0 +BRDA:667,175,0,24 +BRDA:669,176,0,24 +BRDA:670,177,0,13 +BRDA:670,178,0,11 +BRDA:670,179,0,3 +BRDA:672,180,0,21 +BRDA:672,181,0,16 +BRDA:672,182,0,5 +BRDA:673,183,0,2 +BRDA:673,184,0,3 +BRDA:674,185,0,16 +BRDA:674,186,0,0 +BRDA:681,187,0,29 +BRDA:682,188,0,36 +BRDA:683,189,0,0 +BRDA:695,190,0,260 +BRDA:698,191,0,6 +BRDA:705,192,0,254 +BRDA:706,193,0,244 +BRDA:706,194,0,6 +BRDA:706,195,0,6 +BRDA:707,196,0,248 +BRDA:708,197,0,9 +BRDA:709,198,0,258 +BRDA:709,199,0,239 +BRDA:711,200,0,237 +BRDA:712,201,0,112 +BRDA:712,202,0,125 +BRDA:713,203,0,112 +BRDA:713,204,0,125 +BRDA:715,205,0,103 +BRDA:715,206,0,134 +BRDA:716,207,0,80 +BRDA:716,208,0,157 +BRDA:717,209,0,3 +BRDA:717,210,0,234 +BRDA:719,211,0,2 +BRDA:724,212,0,237 +BRDA:728,213,0,1184 +BRDA:729,214,0,0 +BRDA:731,215,0,44 +BRDA:731,216,0,1140 +BRDA:731,217,0,44 +BRDA:732,218,0,186 +BRDA:732,219,0,998 +BRDA:732,220,0,186 +BRDA:733,221,0,888 +BRDA:733,222,0,296 +BRDA:733,223,0,888 +BRDA:737,224,0,327 +BRDA:738,225,0,0 +BRDA:741,226,0,0 +BRDA:762,227,0,0 +BRDA:762,228,0,6 +BRDA:764,229,0,1 +BRDA:766,230,0,0 +BRDA:767,231,0,1 +BRDA:776,232,0,2 +BRDA:786,233,0,0 +BRDA:788,234,0,0 +BRDA:788,235,0,0 +BRDA:796,236,0,296 +BRDA:813,237,0,327 +BRDA:823,238,0,2 +BRDA:832,239,0,4 +BRDA:835,240,0,1 +BRDA:850,241,0,1 +BRDA:869,242,0,7569 +BRDA:871,243,0,638 +BRDA:872,244,0,6931 +BRDA:874,245,0,1926 +BRDA:874,246,0,1926 +BRDA:875,247,0,5005 +BRDA:877,248,0,0 +BRDA:884,249,0,5005 +BRDA:890,250,0,270 +BRDA:891,251,0,0 +BRDA:892,252,0,4735 +BRDA:892,253,0,2960 +BRDA:894,254,0,1184 +BRDA:896,255,0,7273 +BRDA:897,256,0,0 +BRDA:903,257,0,5639 +BRDA:907,258,0,5347 +BRDA:907,259,0,4422 +BRDA:908,260,0,0 +BRDA:915,261,0,1775 +BRDA:915,262,0,0 +BRDA:933,263,0,0 +BRDA:942,264,0,296 +BRDA:944,265,0,0 +BRDA:953,266,0,0 +BRDA:953,267,0,0 +BRDA:961,268,0,0 +BRDA:963,269,0,0 +BRF:270 BRH:233 end_of_record TN: @@ -1551,7 +1649,7 @@ FNH:5 FNDA:51,Store FNDA:56,make_tag FNDA:56,init -FNDA:344,reify_entity_wrap +FNDA:338,reify_entity_wrap FNDA:158,outfunc DA:1,1 DA:2,1 @@ -1577,16 +1675,16 @@ DA:21,56 DA:22,56 DA:23,56 DA:24,56 -DA:25,4 -DA:26,5 -DA:27,5 -DA:28,5 -DA:29,5 -DA:30,5 -DA:31,5 +DA:25,3 +DA:26,3 +DA:27,3 +DA:28,3 +DA:29,3 +DA:30,3 +DA:31,3 DA:32,56 -DA:33,52 -DA:34,52 +DA:33,53 +DA:34,53 DA:35,56 DA:36,56 DA:37,56 @@ -1602,83 +1700,83 @@ DA:46,56 DA:47,56 DA:48,56 DA:49,56 -DA:50,57 -DA:51,57 -DA:52,57 -DA:53,57 -DA:54,57 -DA:55,57 -DA:56,57 -DA:57,57 -DA:58,57 -DA:59,57 -DA:60,57 -DA:61,56 -DA:62,56 -DA:63,56 -DA:64,57 +DA:50,56 +DA:51,56 +DA:52,56 +DA:53,56 +DA:54,56 +DA:55,56 +DA:56,56 +DA:57,56 +DA:58,56 +DA:59,56 +DA:60,56 +DA:61,55 +DA:62,55 +DA:63,55 +DA:64,56 DA:65,0 DA:66,0 DA:67,1 DA:68,1 DA:69,1 -DA:70,57 -DA:71,57 -DA:72,57 -DA:73,57 -DA:74,57 -DA:75,57 -DA:76,57 -DA:77,57 -DA:78,57 -DA:79,57 -DA:80,57 -DA:81,342 -DA:82,342 -DA:83,342 -DA:84,342 -DA:85,342 +DA:70,56 +DA:71,56 +DA:72,56 +DA:73,56 +DA:74,56 +DA:75,56 +DA:76,56 +DA:77,56 +DA:78,56 +DA:79,56 +DA:80,56 +DA:81,336 +DA:82,336 +DA:83,336 +DA:84,336 +DA:85,336 DA:86,0 DA:87,0 DA:88,0 DA:89,0 DA:90,0 -DA:91,342 -DA:92,342 -DA:93,342 -DA:94,342 -DA:95,342 -DA:96,342 -DA:97,342 -DA:98,342 +DA:91,336 +DA:92,336 +DA:93,336 +DA:94,336 +DA:95,336 +DA:96,336 +DA:97,336 +DA:98,336 DA:99,0 DA:100,0 -DA:101,342 -DA:102,342 -DA:103,285 -DA:104,342 -DA:105,57 -DA:106,57 -DA:107,57 -DA:108,94 -DA:109,94 -DA:110,94 +DA:101,336 +DA:102,336 +DA:103,280 +DA:104,336 +DA:105,56 +DA:106,56 +DA:107,56 +DA:108,92 +DA:109,92 +DA:110,92 DA:111,54 DA:112,54 DA:113,54 DA:114,54 DA:115,54 DA:116,54 -DA:117,94 -DA:118,40 -DA:119,40 -DA:120,57 -DA:121,57 -DA:122,57 -DA:123,57 -DA:124,57 -DA:125,57 -DA:126,57 +DA:117,92 +DA:118,38 +DA:119,38 +DA:120,56 +DA:121,56 +DA:122,56 +DA:123,56 +DA:124,56 +DA:125,56 +DA:126,56 DA:127,56 DA:128,0 DA:129,56 @@ -1696,13 +1794,13 @@ DA:140,1 DA:141,1 DA:142,1 DA:143,1 -DA:144,344 -DA:145,344 -DA:146,344 -DA:147,344 -DA:148,344 -DA:149,344 -DA:150,344 +DA:144,338 +DA:145,338 +DA:146,338 +DA:147,338 +DA:148,338 +DA:149,338 +DA:150,338 DA:151,158 DA:152,103 DA:153,71 @@ -1736,17 +1834,17 @@ DA:180,3 DA:181,158 DA:182,158 DA:183,158 -DA:184,344 -DA:185,344 -DA:186,344 -DA:187,344 -DA:188,344 -DA:189,344 -DA:190,344 -DA:191,344 -DA:192,344 -DA:193,344 -DA:194,344 +DA:184,338 +DA:185,338 +DA:186,338 +DA:187,338 +DA:188,338 +DA:189,338 +DA:190,338 +DA:191,338 +DA:192,338 +DA:193,338 +DA:194,338 DA:195,1 DA:196,1 DA:197,1 @@ -1757,48 +1855,46 @@ BRDA:5,0,0,51 BRDA:8,1,0,56 BRDA:9,2,0,52 BRDA:19,3,0,56 -BRDA:22,4,0,4 -BRDA:24,5,0,4 -BRDA:25,6,0,5 -BRDA:32,7,0,52 -BRDA:43,8,0,0 -BRDA:45,9,0,0 -BRDA:49,10,0,57 -BRDA:60,11,0,56 -BRDA:64,12,0,1 -BRDA:64,13,0,0 -BRDA:71,14,0,56 -BRDA:71,15,0,1 -BRDA:72,16,0,56 -BRDA:72,17,0,1 -BRDA:73,18,0,52 -BRDA:73,19,0,5 -BRDA:76,20,0,5 -BRDA:77,21,0,0 -BRDA:78,22,0,0 -BRDA:127,23,0,0 -BRDA:80,24,0,342 -BRDA:85,25,0,0 -BRDA:98,26,0,0 -BRDA:102,27,0,285 -BRDA:104,28,0,57 -BRDA:107,29,0,94 -BRDA:110,30,0,54 -BRDA:117,31,0,40 -BRDA:111,32,0,54 -BRDA:112,33,0,0 -BRDA:143,34,0,344 -BRDA:189,35,0,0 -BRDA:190,36,0,0 -BRDA:191,37,0,314 -BRDA:191,38,0,30 -BRDA:150,39,0,158 -BRDA:151,40,0,103 -BRDA:152,41,0,71 -BRDA:155,42,0,4 -BRDA:161,43,0,63 -BRDA:172,44,0,95 -BRDA:172,45,0,3 -BRF:46 -BRH:35 +BRDA:22,4,0,54 +BRDA:24,5,0,3 +BRDA:32,6,0,53 +BRDA:43,7,0,0 +BRDA:45,8,0,0 +BRDA:60,9,0,55 +BRDA:64,10,0,1 +BRDA:64,11,0,0 +BRDA:71,12,0,55 +BRDA:71,13,0,1 +BRDA:72,14,0,55 +BRDA:72,15,0,1 +BRDA:73,16,0,53 +BRDA:73,17,0,3 +BRDA:76,18,0,3 +BRDA:77,19,0,0 +BRDA:78,20,0,0 +BRDA:127,21,0,0 +BRDA:80,22,0,336 +BRDA:85,23,0,0 +BRDA:98,24,0,0 +BRDA:102,25,0,280 +BRDA:104,26,0,56 +BRDA:107,27,0,92 +BRDA:110,28,0,54 +BRDA:117,29,0,38 +BRDA:111,30,0,54 +BRDA:112,31,0,0 +BRDA:143,32,0,338 +BRDA:189,33,0,0 +BRDA:190,34,0,0 +BRDA:191,35,0,320 +BRDA:191,36,0,18 +BRDA:150,37,0,158 +BRDA:151,38,0,103 +BRDA:152,39,0,71 +BRDA:155,40,0,4 +BRDA:161,41,0,63 +BRDA:172,42,0,95 +BRDA:172,43,0,3 +BRF:44 +BRH:33 end_of_record diff --git a/dist/entity.d.ts b/dist/entity.d.ts index 5a57694..51b4c67 100644 --- a/dist/entity.d.ts +++ b/dist/entity.d.ts @@ -21,6 +21,7 @@ declare namespace entity { meta: { provide: boolean; }; + ent: import("gubu").Node; }; var preload: (this: any, context: any) => { name: string; diff --git a/dist/entity.js b/dist/entity.js index 50fada3..80bb5a1 100644 --- a/dist/entity.js +++ b/dist/entity.js @@ -1,6 +1,8 @@ "use strict"; /* Copyright (c) 2010-2023 Richard Rodger and other contributors, MIT License */ Object.defineProperty(exports, "__esModule", { value: true }); +const gubu_1 = require("gubu"); +const valid_1 = require("./valid"); const make_entity_1 = require("./lib/make_entity"); const store_1 = require("./lib/store"); // Define the entity plugin. @@ -30,6 +32,10 @@ entity.defaults = { // Provide action meta object as third argument to callbacks. provide: true, }, + ent: (0, gubu_1.Child)({ + valid: (0, gubu_1.Skip)((0, gubu_1.Any)()), // Gubu + valid_json: (0, gubu_1.Skip)({}), // Gubu JSON + }) }; // All functionality should be loaded when defining plugin function preload(context) { @@ -80,6 +86,7 @@ function preload(context) { seneca.log.apply(seneca, arguments); }; } + (0, valid_1.buildValidation)(seneca, seneca.private$.entity, options); return { // Define name, as tools like rollup will rename this function, breaking stuff. name: 'entity', diff --git a/dist/entity.js.map b/dist/entity.js.map index 08d51eb..e6dd05d 100644 --- a/dist/entity.js.map +++ b/dist/entity.js.map @@ -1 +1 @@ -{"version":3,"file":"entity.js","sourceRoot":"","sources":["../src/entity.ts"],"names":[],"mappings":";AAAA,gFAAgF;;AAShF,mDAAsD;AACtD,uCAAmC;AAInC,4BAA4B;AAC5B,SAAS,MAAM,CAAY,QAAa;IACtC,sBAAsB;IAEtB,OAAO;QACL,+EAA+E;QAC/E,IAAI,EAAE,QAAQ;KACf,CAAA;AACH,CAAC;AAGD,MAAM,CAAC,QAAQ,GAAG;IAChB,GAAG,EAAE,EAAE;IAEP,SAAS,EAAE,IAAI;IACf,WAAW;IAEX,WAAW,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE;IAE9B,sCAAsC;IACtC,MAAM,EAAE;QACN,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,GAAG;KACd;IAED,GAAG,EAAE;QACH,MAAM,EAAE,KAAK;KACd;IAED,kBAAkB;IAElB,IAAI,EAAE;QACJ,6DAA6D;QAC7D,OAAO,EAAE,IAAI;KACd;CACF,CAAA;AAGD,0DAA0D;AAC1D,SAAS,OAAO,CAAY,OAAY;;IACtC,MAAM,MAAM,GAAG,IAAI,CAAA;IAEnB,MAAM,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AAG,EAAE,EAAE,CAAC;YAChB,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAA;QAC3E,CAAC;aAAM,CAAC;YACN,MAAM,GAAG,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;QAClC,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAC3C,CAAC;AAGD,wBAAwB;AACxB,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAA;AAK1D,kBAAe,MAAM,CAAA;AAErB,IAAI,WAAW,KAAK,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;IACpC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/dist/lib/make_entity.js b/dist/lib/make_entity.js index 01123e0..ed06959 100644 --- a/dist/lib/make_entity.js +++ b/dist/lib/make_entity.js @@ -1,7 +1,8 @@ "use strict"; /* Copyright (c) 2012-2023 Richard Rodger and other contributors, MIT License */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.Entity = exports.MakeEntity = void 0; +exports.Entity = void 0; +exports.MakeEntity = MakeEntity; const proto = Object.getPrototypeOf; const toString_map = { // '': make_toString(), @@ -165,6 +166,30 @@ class Entity { let entmsg = { cmd: 'save', q: {}, ...self.private$.options.pattern_fix }; let done$ = prepareCmd(self, data, entmsg, done); entmsg = self.private$.entargs(self, entmsg); + const entityTemplate = si.private$.entity; + // console.log('entityTemplate', entityTemplate) + const canonRouter = entityTemplate.canonRouter$; + // console.log('canonRouter:\n' + canonRouter) + if (canonRouter) { + const canonOps = canonRouter.find(entmsg); + // console.log('canonOps', entmsg, canonOps) + if (canonOps && canonOps.shape) { + let odata = entmsg.ent.data$(false); + // console.log('odata', odata) + let sctx = {}; + if (null == odata.id) { + sctx.skip = { keys: ['id'] }; + } + else { + // TODO: handle merge off case + sctx.skip = { depth: 1 }; + } + let vdata = canonOps.shape(odata, sctx); + // console.log('VDATA', vdata, sctx, canonOps.shape.stringify()) + entmsg.ent.data$(vdata); + } + // console.log('SAVE', entmsg, canonOps) + } const promise = self.private$.promise && !done$; let res = promise ? entityPromise(si, entmsg) @@ -670,7 +695,6 @@ function MakeEntity(canon, seneca, opts) { delete ent.private$; return ent; } -exports.MakeEntity = MakeEntity; MakeEntity.parsecanon = parsecanon; MakeEntity.canonstr = canonstr; function jsonic_strify(val, opts, depth) { diff --git a/dist/lib/make_entity.js.map b/dist/lib/make_entity.js.map index 09ab029..841e321 100644 --- a/dist/lib/make_entity.js.map +++ b/dist/lib/make_entity.js.map @@ -1 +1 @@ -{"version":3,"file":"make_entity.js","sourceRoot":"","sources":["../../src/lib/make_entity.ts"],"names":[],"mappings":";AAAA,gFAAgF;;;AAIhF,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAA;AAEnC,MAAM,YAAY,GAAQ;AACxB,uBAAuB;CACxB,CAAA;AAED,qCAAqC;AACrC,MAAM,SAAS,GAAG,IAAI,CAAA;AAEtB,8BAA8B;AAC9B,MAAM,QAAQ,GAAG,IAAI,CAAA;AAErB,MAAM,mBAAmB,GAAwB;IAC/C,GAAG,EAAE,IAAI;IACT,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;CACb,CAAA;AAED,SAAS,OAAO,CAAY,GAAW,EAAE,IAAS;IAChD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;IAEd,kCAAkC;IAElC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CA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-2020 Richard Rodger and other contributors, MIT License */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.Store = exports.Intern = void 0; +exports.Intern = void 0; +exports.Store = Store; const allcmds = ['save', 'load', 'list', 'remove', 'close', 'native']; function Store(plugin_opts) { const tag_count_map = {}; @@ -120,7 +121,6 @@ function Store(plugin_opts) { }; return store; } -exports.Store = Store; const Intern = { // Ensure entity objects are instantiated reify_entity_wrap: function (cmdfunc, cmd, zone, base, name) { diff --git a/dist/lib/store.js.map b/dist/lib/store.js.map index 1011db8..6f56c86 100644 --- a/dist/lib/store.js.map +++ b/dist/lib/store.js.map @@ -1 +1 @@ -{"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/lib/store.ts"],"names":[],"mappings":";AAAA,gFAAgF;;;AAEhF,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;AAErE,SAAS,KAAK,CAAC,WAAgB;IAC7B,MAAM,aAAa,GAAQ,EAAE,CAAA;IAE7B,SAAS,QAAQ,CAAC,UAAe;QAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;QAChE,OAAO,aAAa,CAAC,UAAU,CAAC,CAAA;IAClC,CAAC;IAED,6DAA6D;IAC7D,MAAM,KAAK,GAAG;QACZ,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QAEtB,+BAA+B;QAC/B,iFAAiF;QACjF,IAAI,EAAE,UAAU,QAAa,EAAE,UAAe,EAAE,KAAU,EAAE,EAAO;YACjE,MAAM,QAAQ,GAAG,EAAE,CAAA;YACnB,MAAM,eAAe,GACnB,UAAU,CAAC,GAAG,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,MAAM,CAAA;YAE1D,IAAI,eAAe,EAAE,CAAC;gBAC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AAC;YAED,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAA;QAC7C,CAAC,CAAA;QAED,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;YACrC,KAAK,EACH,SAAS;gBACT,GAAG;gBACH,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC;gBAChC,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC;gBAChC,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;SAC7B,CAAC,CAAA;QAEF,OAAO,OAAO,CAAA;IAChB,CAAC;CACF,CAAA;AAEQ,wBAAM"} \ No newline at end of file diff --git a/dist/valid.d.ts b/dist/valid.d.ts new file mode 100644 index 0000000..cf5b446 --- /dev/null +++ b/dist/valid.d.ts @@ -0,0 +1,3 @@ +import { Entity } from './lib/make_entity'; +declare function buildValidation(seneca: any, entity: Entity, options: any): void; +export { buildValidation }; diff --git a/dist/valid.js b/dist/valid.js new file mode 100644 index 0000000..2769ad2 --- /dev/null +++ b/dist/valid.js @@ -0,0 +1,40 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.buildValidation = buildValidation; +const patrun_1 = require("patrun"); +const gubu_1 = require("gubu"); +const make_entity_1 = require("./lib/make_entity"); +function buildValidation(seneca, entity, options) { + // console.log('VALID OPTS') + // console.dir(options, { depth: null }) + const canonRouter = (0, patrun_1.Patrun)(); + const canonMap = options.ent || {}; + const canons = Object.keys(canonMap); + // console.log('canons', canons) + for (let cI = 0; cI < canons.length; cI++) { + const cstr = canons[cI]; + const canon = make_entity_1.MakeEntity.parsecanon(cstr); + const spec = canonMap[cstr]; + let shape; + let vopts = { prefix: cstr }; + if (spec.valid_json) { + shape = gubu_1.Gubu.build(spec.valid_json); // , vopts) // , { prefix: cstr }) + } + else if (spec.valid) { + // let valid = ('function' === typeof spec.valid && !Gubu.isShape(spec.valid)) ? + let valid = ('function' === typeof spec.valid && !spec.valid.gubu) ? + spec.valid() : spec.valid; + // console.log('VALID', valid) + shape = (0, gubu_1.Gubu)(valid, vopts); + // console.log('SHAPE', shape.spec()) + } + // console.log('add', canon, shape) + canonRouter.add(canon, { + shape + }); + } + //console.log('canonRouter:\n' + canonRouter) + ; + entity.canonRouter$ = canonRouter; +} +//# sourceMappingURL=valid.js.map \ No newline at end of file diff --git a/dist/valid.js.map b/dist/valid.js.map new file mode 100644 index 0000000..e976722 --- /dev/null +++ b/dist/valid.js.map @@ -0,0 +1 @@ +{"version":3,"file":"valid.js","sourceRoot":"","sources":["../src/valid.ts"],"names":[],"mappings":";;AAuDE,0CAAe;AAtDjB,mCAA+B;AAC/B,+BAA2B;AAE3B,mDAAsD;AAGtD,SAAS,eAAe,CAAC,MAAW,EAAE,MAAc,EAAE,OAAY;IAChE,4BAA4B;IAC5B,wCAAwC;IAExC,MAAM,WAAW,GAAG,IAAA,eAAM,GAAE,CAAA;IAE5B,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,IAAI,EAAE,CAAA;IAElC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAEpC,gCAAgC;IAEhC,KAAK,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC;QAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,CAAC,CAAA;QACvB,MAAM,KAAK,GAAG,wBAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;QACzC,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAA;QAE3B,IAAI,KAAK,CAAA;QACT,IAAI,KAAK,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;QAC5B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,KAAK,GAAG,WAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA,CAAC,kCAAkC;QACxE,CAAC;aACI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACpB,gFAAgF;YAChF,IAAI,KAAK,GAAG,CAAC,UAAU,KAAK,OAAO,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;gBAClE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAA;YAE3B,8BAA8B;YAE9B,KAAK,GAAG,IAAA,WAAI,EAAC,KAAK,EAAE,KAAK,CAAC,CAAA;YAC1B,qCAAqC;QACvC,CAAC;QAED,mCAAmC;QAEnC,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE;YACrB,KAAK;SACN,CAAC,CAAA;IAEJ,CAAC;IAED,6CAA6C;IAE7C,CAAC;IAAE,MAAc,CAAC,YAAY,GAAG,WAAW,CAAA;AAC9C,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index 850809b..72eb17e 100644 --- a/package.json +++ b/package.json @@ -59,11 +59,14 @@ "devDependencies": { "@seneca/maintain": "^0.1.0", "@types/jest": "^29.5.12", - "esbuild": "^0.21.5", + "esbuild": "^0.23.0", "esbuild-jest": "^0.5.0", "jest": "^29.7.0", - "prettier": "^3.3.1", + "prettier": "^3.3.2", "seneca-msg-test": "^4.1.0", - "typescript": "^5.4.5" + "typescript": "^5.5.3" + }, + "overrides": { + "gubu":"8.0.2" } } diff --git a/src/entity.ts b/src/entity.ts index 09b572c..9791548 100644 --- a/src/entity.ts +++ b/src/entity.ts @@ -7,6 +7,10 @@ import { } from './types' +import { Child, Skip, Any } from 'gubu' + +import { buildValidation } from './valid' + import { MakeEntity, Entity } from './lib/make_entity' import { Store } from './lib/store' @@ -48,6 +52,11 @@ entity.defaults = { // Provide action meta object as third argument to callbacks. provide: true, }, + + ent: Child({ + valid: Skip(Any()), // Gubu + valid_json: Skip({}), // Gubu JSON + }) } @@ -120,6 +129,9 @@ function preload(this: any, context: any) { } } + buildValidation(seneca, seneca.private$.entity, options) + + return { // Define name, as tools like rollup will rename this function, breaking stuff. diff --git a/src/lib/make_entity.ts b/src/lib/make_entity.ts index 61a8075..c2ffe39 100644 --- a/src/lib/make_entity.ts +++ b/src/lib/make_entity.ts @@ -66,7 +66,7 @@ class Entity implements Record { constructor(canon: any, seneca: any, options: any) { const private$: any = this.private$ - private$.get_instance = function () { + private$.get_instance = function() { return seneca } private$.canon = canon @@ -172,23 +172,24 @@ class Entity implements Record { for (const p in props) { if (Object.prototype.hasOwnProperty.call(props, p)) { if (!~p.indexOf('$')) { - ;(entity as any)[p] = props[p] + ; (entity as any)[p] = props[p] } else if (p.length > 2 && p.slice(-2) === '_$') { - ;(entity as any)[p.slice(0, -2)] = props[p] + ; (entity as any)[p.slice(0, -2)] = props[p] } } } if (Object.prototype.hasOwnProperty.call(props, 'id$')) { - ;(entity as any).id$ = props.id$ + ; (entity as any).id$ = props.id$ } - ;(self as any).log$ && + ; (self as any).log$ && (self as any).log$('make', entity.canon$({ string: true }), entity) return entity } + /** Save the entity. * param {object} [data] - Subset of entity field values. * param {callback~save$} done - Callback function providing saved entity. @@ -201,6 +202,37 @@ class Entity implements Record { let done$ = prepareCmd(self, data, entmsg, done) entmsg = self.private$.entargs(self, entmsg) + const entityTemplate = (si.private$ as any).entity + + // console.log('entityTemplate', entityTemplate) + + const canonRouter = entityTemplate.canonRouter$ + + // console.log('canonRouter:\n' + canonRouter) + + if (canonRouter) { + const canonOps = canonRouter.find(entmsg) + // console.log('canonOps', entmsg, canonOps) + + if (canonOps && canonOps.shape) { + let odata = entmsg.ent.data$(false) + // console.log('odata', odata) + + let sctx: any = {} + if (null == odata.id) { + sctx.skip = { keys: ['id'] } + } + else { + // TODO: handle merge off case + sctx.skip = { depth: 1 } + } + let vdata = canonOps.shape(odata, sctx) + // console.log('VDATA', vdata, sctx, canonOps.shape.stringify()) + entmsg.ent.data$(vdata) + } + // console.log('SAVE', entmsg, canonOps) + } + const promise = self.private$.promise && !done$ let res = promise @@ -209,6 +241,7 @@ class Entity implements Record { return res // Sync: Enity self, Async: Entity Promise, Async+Callback: null } + /** Callback for Entity.save$. * @callback callback~save$ * @param {error} error - Error object, if any. @@ -415,7 +448,7 @@ class Entity implements Record { const promise = self.private$.promise && !done$ - ;(self as any).log$ && (self as any).log$('close') + ; (self as any).log$ && (self as any).log$('close') return promise ? si.post(entmsg) : (si.act(entmsg, done$), self) } @@ -480,12 +513,12 @@ class Entity implements Record { return null == opt || opt.string || opt.string$ ? // ? [ - // (opt && opt.string$ ? '$' : '') + - // (null == canon.zone ? '-' : canon.zone), - // null == canon.base ? '-' : canon.base, - // null == canon.name ? '-' : canon.name, - // ].join('/') // TODO: make joiner an option - (opt && opt.string$ ? '$' : '') + canonstr(canon) + // (opt && opt.string$ ? '$' : '') + + // (null == canon.zone ? '-' : canon.zone), + // null == canon.base ? '-' : canon.base, + // null == canon.name ? '-' : canon.name, + // ].join('/') // TODO: make joiner an option + (opt && opt.string$ ? '$' : '') + canonstr(canon) : opt.array ? [canon.zone, canon.base, canon.name] : opt.array$ @@ -606,14 +639,14 @@ function entityPromise(si: any, entmsg: any) { err ? rej((attachMeta ? (err.meta$ = meta) : null, err)) : res( - (attachMeta - ? ((out?.entity$ - ? proto(out) - : out || (out = { entity$: null }) - ).meta$ = meta) - : null, + (attachMeta + ? ((out?.entity$ + ? proto(out) + : out || (out = { entity$: null }) + ).meta$ = meta) + : null, out), - ) + ) }) }) } @@ -691,7 +724,8 @@ function parsecanon(str: CanonSpec) { out.zone = m[zi] === '-' ? void 0 : m[zi] out.base = m[bi] === '-' ? void 0 : m[bi] out.name = m[5] === '-' ? void 0 : m[5] - } else { + } + else { throw new Error( `Invalid entity canon: ${str}; expected format: zone/base/name.`, ) @@ -736,12 +770,12 @@ function handle_options(entopts: any, seneca: any): any { if (false === entopts.meta?.provide) { // Drop meta argument from callback - ;(Entity.prototype as any).done$ = (done: any) => { + ; (Entity.prototype as any).done$ = (done: any) => { return null == done ? undefined - : function (this: any, err: any, out: any) { - done.call(this, err, out) - } + : function(this: any, err: any, out: any) { + done.call(this, err, out) + } } } @@ -768,7 +802,7 @@ function make_toString( hidden_fields.push('id') - return function (this: any) { + return function(this: any) { return [ '$', canon_str || this.canon$({ string: true }), @@ -804,7 +838,7 @@ function MakeEntity(canon: any, seneca: any, opts: any): Entity { )) ).bind(ent) - let custom$ = function (this: any, props: any) { + let custom$ = function(this: any, props: any) { if ( null != props && ('object' === typeof props || 'function' === typeof props) @@ -822,7 +856,7 @@ function MakeEntity(canon: any, seneca: any, opts: any): Entity { hidden.toString = toString hidden.custom$ = custom$ - hidden.directive$ = function (this: any, directiveMap: Record) { + hidden.directive$ = function(this: any, directiveMap: Record) { if (null != directiveMap && 'object' === typeof directiveMap) { Object.assign(this.directive$, deep(directiveMap)) } diff --git a/src/valid.ts b/src/valid.ts new file mode 100644 index 0000000..aab6b48 --- /dev/null +++ b/src/valid.ts @@ -0,0 +1,57 @@ + +import { Patrun } from 'patrun' +import { Gubu } from 'gubu' + +import { Entity, MakeEntity } from './lib/make_entity' + + +function buildValidation(seneca: any, entity: Entity, options: any) { + // console.log('VALID OPTS') + // console.dir(options, { depth: null }) + + const canonRouter = Patrun() + + const canonMap = options.ent || {} + + const canons = Object.keys(canonMap) + + // console.log('canons', canons) + + for (let cI = 0; cI < canons.length; cI++) { + const cstr = canons[cI] + const canon = MakeEntity.parsecanon(cstr) + const spec = canonMap[cstr] + + let shape + let vopts = { prefix: cstr } + if (spec.valid_json) { + shape = Gubu.build(spec.valid_json) // , vopts) // , { prefix: cstr }) + } + else if (spec.valid) { + // let valid = ('function' === typeof spec.valid && !Gubu.isShape(spec.valid)) ? + let valid = ('function' === typeof spec.valid && !spec.valid.gubu) ? + spec.valid() : spec.valid + + // console.log('VALID', valid) + + shape = Gubu(valid, vopts) + // console.log('SHAPE', shape.spec()) + } + + // console.log('add', canon, shape) + + canonRouter.add(canon, { + shape + }) + + } + + //console.log('canonRouter:\n' + canonRouter) + + ; (entity as any).canonRouter$ = canonRouter +} + + +export { + buildValidation +} diff --git a/test/quick.js b/test/quick.js index 9f37c23..a519293 100644 --- a/test/quick.js +++ b/test/quick.js @@ -1,11 +1,54 @@ + const Seneca = require('seneca') const Entity = require('..') + +const Gubu = Seneca.util.Gubu + + async function run() { - let s0 = Seneca().test().use(Entity) + let valid_foo = { + id: String, + a: Number, + b: { + x: String + }, + c: 'C', + } + + let valid_foo_gubu = Gubu(valid_foo) + console.log('valid_foo_gubu', valid_foo_gubu.stringify()) + + let valid_foo_json = valid_foo_gubu.jsonify() + console.log('valid_foo_json', valid_foo_json) - let x0 = await s0.entity('foo').save$({ x: 0 }) + console.log('JSONIFY',Gubu.build(valid_foo_json).stringify()) + + + let s0 = Seneca().test().use(Entity, { + ent: { + '-/-/foo': { + valid_json: valid_foo_json + // valid: valid_foo + // valid: valid_foo_gubu + } + } + }) + + let x0 = await s0.entity('foo').save$({a:1,b:{x:'X'}}) console.log('x0', x0) + + let x0r = await s0.entity('foo').load$({id:x0.id,fields$:['a']}) + console.log('x0r', x0r) + + x0r.a = 2 + let x0r1 = await x0r.save$() + console.log('x0r1', x0r1) + + x0r1.a = 'A' + let x0r2 = await x0r1.save$() + console.log('x0r2', x0r2) + } run() diff --git a/test/valid.test.js b/test/valid.test.js new file mode 100644 index 0000000..d1b7621 --- /dev/null +++ b/test/valid.test.js @@ -0,0 +1,72 @@ +/* Copyright (c) 2022 Richard Rodger and other contributors, MIT License */ + +const Seneca = require('seneca') +const Entity = require('../') + +const Gubu = Seneca.util.Gubu + +describe('valid', function () { + test('happy', async function () { + const seneca = Seneca().test().use(Entity,{ + ent: { + '-/-/foo': { + valid: ()=>({ + a: Number + }), + }, + '-/bar/foo': { + valid: Gubu({ + a: Number, + b: { x: String } + }), + }, + '-/zed/-': { + valid_json: JSON.parse(`{ + "c": "Boolean", + "b": { "$$":"Open()", "x": "\\"X\\"" } + }`), + }, + } + }) + + const foo0 = await seneca.entity('foo').save$({a:1}) + expect(foo0.entity$).toEqual('-/-/foo') + expect(foo0.data$(false)).toMatchObject({a:1}) + + try { + await seneca.entity('foo').save$({a:'A'}) + expect(false).toEqual(true) + } + catch(e) { + expect(e.props).toEqual([ { path: 'a', what: 'type', type: 'number', value: 'A' } ]) + } + + try { + await seneca.entity('foo').save$({a:1,c:true}) + expect(false).toEqual(true) + } + catch(e) { + // TODO: much better props entry needed for this error + // expect(e.props).toEqual() + } + + // TODO: need to validate id$ too! + const foo3 = await seneca.entity('foo').save$({id$:'a3',a:3}) + expect(foo3.entity$).toEqual('-/-/foo') + expect(foo3.data$(false)).toMatchObject({id:'a3',a:3}) + + + const barfoo0 = await seneca.entity('bar/foo').save$({a:1,b:{x:'X'}}) + expect(barfoo0.entity$).toEqual('-/bar/foo') + expect(barfoo0.data$(false)).toMatchObject({a:1,b:{x:'X'}}) + + try { + await seneca.entity('bar/foo').save$({a:'A',b:{x:'X'}}) + expect(false).toEqual(true) + } + catch(e) { + expect(e.props).toEqual([ { path: 'a', what: 'type', type: 'number', value: 'A' } ]) + } + + }) +}) From 003be751f5519b54776556b81571d3f72550245a Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 5 Jul 2024 19:05:44 +0100 Subject: [PATCH 2/3] json --- test/valid.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/valid.test.js b/test/valid.test.js index d1b7621..4935d6d 100644 --- a/test/valid.test.js +++ b/test/valid.test.js @@ -68,5 +68,9 @@ describe('valid', function () { expect(e.props).toEqual([ { path: 'a', what: 'type', type: 'number', value: 'A' } ]) } + const zed0 = await seneca.entity('zed/qaz').save$({c:true,b:{}}) + expect(zed0.entity$).toEqual('-/zed/qaz') + expect(zed0.data$(false)).toMatchObject({c:true,b:{x:'X'}}) + }) }) From 4647a59aab18126371fcc226eb1fdbc0e9b02c1b Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 10 Jul 2024 16:52:43 +0100 Subject: [PATCH 3/3] tested --- coverage/lcov.info | 3256 ++++++++++++++++++----------------- dist/entity.d.ts | 1 + dist/entity.js | 3 + dist/entity.js.map | 2 +- dist/lib/make_entity.d.ts | 4 +- dist/lib/make_entity.js | 106 +- dist/lib/make_entity.js.map | 2 +- dist/valid.js | 2 +- dist/valid.js.map | 2 +- src/entity.ts | 4 + src/lib/make_entity.ts | 123 +- src/valid.ts | 2 +- test/entity.test.js | 4 +- test/valid.test.js | 72 + 14 files changed, 1917 insertions(+), 1666 deletions(-) diff --git a/coverage/lcov.info b/coverage/lcov.info index 6c05588..168e58b 100644 --- a/coverage/lcov.info +++ b/coverage/lcov.info @@ -1,19 +1,19 @@ TN: SF:src/entity.ts FN:20,entity -FN:64,preload -FN:82,build_api_make -FN:84,entityAPI -FN:125,seneca.root.private$.exports.Entity.log$ -FN:156,generate_id +FN:68,preload +FN:86,build_api_make +FN:88,entityAPI +FN:129,seneca.root.private$.exports.Entity.log$ +FN:160,generate_id FNF:6 FNH:6 -FNDA:51,entity -FNDA:51,preload -FNDA:102,build_api_make -FNDA:265,entityAPI +FNDA:54,entity +FNDA:54,preload +FNDA:108,build_api_make +FNDA:292,entityAPI FNDA:65,seneca.root.private$.exports.Entity.log$ -FNDA:50,generate_id +FNDA:56,generate_id DA:1,1 DA:2,1 DA:3,1 @@ -33,14 +33,14 @@ DA:16,1 DA:17,1 DA:18,1 DA:19,1 -DA:20,51 -DA:21,51 -DA:22,51 -DA:23,51 -DA:24,51 -DA:25,51 -DA:26,51 -DA:27,51 +DA:20,54 +DA:21,54 +DA:22,54 +DA:23,54 +DA:24,54 +DA:25,54 +DA:26,54 +DA:27,54 DA:28,1 DA:29,1 DA:30,1 @@ -77,123 +77,123 @@ DA:60,1 DA:61,1 DA:62,1 DA:63,1 -DA:64,51 -DA:65,51 -DA:66,51 -DA:67,51 -DA:68,51 -DA:69,51 -DA:70,51 -DA:71,51 -DA:72,51 -DA:73,51 -DA:74,51 -DA:75,51 -DA:76,51 -DA:77,51 -DA:78,51 -DA:79,51 -DA:80,51 -DA:81,51 -DA:82,51 -DA:83,102 -DA:84,102 -DA:85,265 -DA:86,265 -DA:87,265 -DA:88,102 -DA:89,102 -DA:90,102 -DA:91,51 -DA:92,51 -DA:93,51 -DA:94,51 -DA:95,51 -DA:96,51 -DA:97,51 -DA:98,48 -DA:99,48 -DA:100,51 -DA:101,51 -DA:102,48 -DA:103,48 -DA:104,51 -DA:105,51 -DA:106,48 -DA:107,48 -DA:108,51 -DA:109,51 +DA:64,1 +DA:65,1 +DA:66,1 +DA:67,1 +DA:68,54 +DA:69,54 +DA:70,54 +DA:71,54 +DA:72,54 +DA:73,54 +DA:74,54 +DA:75,54 +DA:76,54 +DA:77,54 +DA:78,54 +DA:79,54 +DA:80,54 +DA:81,54 +DA:82,54 +DA:83,54 +DA:84,54 +DA:85,54 +DA:86,54 +DA:87,108 +DA:88,108 +DA:89,292 +DA:90,292 +DA:91,292 +DA:92,108 +DA:93,108 +DA:94,108 +DA:95,54 +DA:96,54 +DA:97,54 +DA:98,54 +DA:99,54 +DA:100,54 +DA:101,54 +DA:102,51 +DA:103,51 +DA:104,54 +DA:105,54 +DA:106,51 +DA:107,51 +DA:108,54 +DA:109,54 DA:110,51 DA:111,51 -DA:112,51 -DA:113,51 -DA:114,51 -DA:115,51 -DA:116,51 -DA:117,51 -DA:118,51 -DA:119,51 -DA:120,51 -DA:121,51 -DA:122,51 -DA:123,51 -DA:124,51 -DA:125,1 -DA:126,65 -DA:127,65 -DA:128,65 -DA:129,65 -DA:130,1 -DA:131,51 -DA:132,51 -DA:133,51 -DA:134,51 -DA:135,51 -DA:136,51 -DA:137,51 -DA:138,51 -DA:139,51 -DA:140,51 -DA:141,51 -DA:142,51 -DA:143,51 -DA:144,51 -DA:145,51 -DA:146,51 -DA:147,1 -DA:148,1 -DA:149,1 -DA:150,1 +DA:112,54 +DA:113,54 +DA:114,54 +DA:115,54 +DA:116,54 +DA:117,54 +DA:118,54 +DA:119,54 +DA:120,54 +DA:121,54 +DA:122,54 +DA:123,54 +DA:124,54 +DA:125,54 +DA:126,54 +DA:127,54 +DA:128,54 +DA:129,1 +DA:130,65 +DA:131,65 +DA:132,65 +DA:133,65 +DA:134,1 +DA:135,54 +DA:136,54 +DA:137,54 +DA:138,54 +DA:139,54 +DA:140,54 +DA:141,54 +DA:142,54 +DA:143,54 +DA:144,54 +DA:145,54 +DA:146,54 +DA:147,54 +DA:148,54 +DA:149,54 +DA:150,54 DA:151,1 DA:152,1 DA:153,1 DA:154,1 DA:155,1 -DA:156,50 -DA:157,50 -DA:158,50 -DA:159,50 -DA:160,50 -DA:161,50 -DA:162,50 -DA:163,48 -DA:164,48 -DA:165,48 -DA:166,48 -DA:167,48 -DA:168,48 -DA:169,47 -DA:170,48 -DA:171,1 -DA:172,1 -DA:173,48 -DA:174,50 -DA:175,50 -DA:176,50 -DA:177,1 -DA:178,1 -DA:179,1 -DA:180,1 +DA:156,1 +DA:157,1 +DA:158,1 +DA:159,1 +DA:160,56 +DA:161,56 +DA:162,56 +DA:163,56 +DA:164,56 +DA:165,56 +DA:166,56 +DA:167,54 +DA:168,54 +DA:169,54 +DA:170,54 +DA:171,54 +DA:172,54 +DA:173,53 +DA:174,54 +DA:175,1 +DA:176,1 +DA:177,54 +DA:178,56 +DA:179,56 +DA:180,56 DA:181,1 DA:182,1 DA:183,1 @@ -203,33 +203,37 @@ DA:186,1 DA:187,1 DA:188,1 DA:189,1 -LF:189 -LH:189 -BRDA:20,0,0,51 -BRDA:64,1,0,51 -BRDA:69,2,0,2 -BRDA:76,3,0,48 -BRDA:80,4,0,48 -BRDA:97,5,0,48 -BRDA:101,6,0,48 -BRDA:105,7,0,48 -BRDA:124,8,0,0 -BRDA:124,9,0,1 -BRDA:82,10,0,102 -BRDA:84,11,0,265 -BRDA:125,12,0,65 -BRDA:156,13,0,50 -BRDA:160,14,0,2 -BRDA:160,15,0,48 -BRDA:162,16,0,48 -BRDA:165,17,0,44 -BRDA:165,18,0,43 -BRDA:166,19,0,4 -BRDA:168,20,0,47 -BRDA:169,21,0,5 -BRDA:170,22,0,1 -BRDA:175,23,0,1 -BRDA:175,24,0,49 +DA:190,1 +DA:191,1 +DA:192,1 +DA:193,1 +LF:193 +LH:193 +BRDA:20,0,0,54 +BRDA:68,1,0,54 +BRDA:73,2,0,3 +BRDA:80,3,0,51 +BRDA:84,4,0,51 +BRDA:101,5,0,51 +BRDA:105,6,0,51 +BRDA:109,7,0,51 +BRDA:128,8,0,0 +BRDA:128,9,0,1 +BRDA:86,10,0,108 +BRDA:88,11,0,292 +BRDA:129,12,0,65 +BRDA:160,13,0,56 +BRDA:164,14,0,2 +BRDA:164,15,0,54 +BRDA:166,16,0,54 +BRDA:169,17,0,50 +BRDA:169,18,0,49 +BRDA:170,19,0,4 +BRDA:172,20,0,53 +BRDA:173,21,0,6 +BRDA:174,22,0,1 +BRDA:179,23,0,1 +BRDA:179,24,0,55 BRF:25 BRH:24 end_of_record @@ -268,7 +272,7 @@ SF:src/valid.ts FN:8,buildValidation FNF:1 FNH:1 -FNDA:51,buildValidation +FNDA:54,buildValidation DA:1,1 DA:2,1 DA:3,1 @@ -276,122 +280,140 @@ DA:4,1 DA:5,1 DA:6,1 DA:7,1 -DA:8,51 -DA:9,51 -DA:10,51 -DA:11,51 -DA:12,51 -DA:13,51 -DA:14,51 -DA:15,51 -DA:16,51 -DA:17,51 -DA:18,51 -DA:19,0 -DA:20,0 -DA:21,0 -DA:22,0 -DA:23,0 -DA:24,0 -DA:25,0 -DA:26,0 -DA:27,0 -DA:28,0 -DA:29,0 -DA:30,0 -DA:31,0 -DA:32,0 -DA:33,0 -DA:34,0 -DA:35,0 -DA:36,51 -DA:37,51 -DA:38,51 -DA:39,51 -DA:40,51 -DA:41,1 -DA:42,1 -DA:43,1 -DA:44,1 -DA:45,1 -LF:45 -LH:28 -BRDA:8,0,0,51 +DA:8,54 +DA:9,54 +DA:10,54 +DA:11,54 +DA:12,54 +DA:13,54 +DA:14,54 +DA:15,54 +DA:16,54 +DA:17,54 +DA:18,54 +DA:19,54 +DA:20,54 +DA:21,6 +DA:22,6 +DA:23,6 +DA:24,6 +DA:25,6 +DA:26,6 +DA:27,6 +DA:28,3 +DA:29,3 +DA:30,3 +DA:31,2 +DA:32,2 +DA:33,2 +DA:34,2 +DA:35,2 +DA:36,2 +DA:37,2 +DA:38,2 +DA:39,2 +DA:40,6 +DA:41,6 +DA:42,6 +DA:43,6 +DA:44,6 +DA:45,6 +DA:46,6 +DA:47,6 +DA:48,54 +DA:49,54 +DA:50,54 +DA:51,54 +DA:52,54 +DA:53,1 +DA:54,1 +DA:55,1 +DA:56,1 +DA:57,1 +LF:57 +LH:57 +BRDA:8,0,0,54 BRDA:14,1,0,0 -BRDA:18,2,0,0 -BRF:3 -BRH:1 +BRDA:20,2,0,6 +BRDA:27,3,0,3 +BRDA:30,4,0,2 +BRDA:32,5,0,1 +BRDA:33,6,0,1 +BRF:7 +BRH:6 end_of_record TN: SF:src/lib/make_entity.ts -FN:24,entargs -FN:66,Entity -FN:61,get_instance -FN:69,Entity.private$.get_instance -FN:97,make$ -FN:197,save$ -FN:243,native$ -FN:267,load$ -FN:322,list$ -FN:369,remove$ -FN:404,delete$ -FN:413,fields$ -FN:430,close$ -FN:447,is$ -FN:472,canon$ -FN:525,data$ -FN:599,clone$ -FN:615,custom$ -FN:619,directive$ -FN:626,entityPromise -FN:645,prepareCmd -FN:659,emptyQuery -FN:664,normalize_query -FN:695,parsecanon -FN:728,canonstr -FN:737,handle_options -FN:764,Entity.done$ -FN:776,make_toString -FN:813,MakeEntity -FN:832,custom$ -FN:850,MakeEntity.hidden.directive$ -FN:869,jsonic_strify -FN:942,jsonic_stringify -FNF:33 -FNH:27 -FNDA:106,entargs -FNDA:327,Entity +FN:35,makeEntMsg +FN:63,strictCanon +FN:104,Entity +FN:99,get_instance +FN:107,Entity.private$.get_instance +FN:137,make$ +FN:237,save$ +FN:294,native$ +FN:318,load$ +FN:373,list$ +FN:420,remove$ +FN:455,delete$ +FN:464,fields$ +FN:481,close$ +FN:498,is$ +FN:523,canon$ +FN:576,data$ +FN:650,clone$ +FN:666,custom$ +FN:670,directive$ +FN:677,entityPromise +FN:696,prepareCmd +FN:710,emptyQuery +FN:715,normalize_query +FN:746,parsecanon +FN:781,canonstr +FN:791,handle_options +FN:818,Entity.done$ +FN:830,make_toString +FN:867,MakeEntity +FN:886,custom$ +FN:904,MakeEntity.hidden.directive$ +FN:923,jsonic_strify +FN:996,jsonic_stringify +FNF:34 +FNH:28 +FNDA:119,makeEntMsg +FNDA:476,strictCanon +FNDA:357,Entity FNDA:0,get_instance -FNDA:552,Entity.private$.get_instance -FNDA:372,make$ -FNDA:56,save$ +FNDA:602,Entity.private$.get_instance +FNDA:408,make$ +FNDA:68,save$ FNDA:0,native$ -FNDA:15,load$ +FNDA:16,load$ FNDA:26,list$ FNDA:9,remove$ FNDA:0,delete$ -FNDA:83,fields$ +FNDA:108,fields$ FNDA:0,close$ FNDA:30,is$ -FNDA:1369,canon$ -FNDA:122,data$ +FNDA:1824,canon$ +FNDA:166,data$ FNDA:3,clone$ FNDA:0,custom$ FNDA:0,directive$ -FNDA:49,entityPromise -FNDA:106,prepareCmd -FNDA:24,emptyQuery -FNDA:50,normalize_query -FNDA:260,parsecanon -FNDA:1184,canonstr -FNDA:327,handle_options +FNDA:58,entityPromise +FNDA:119,prepareCmd +FNDA:25,emptyQuery +FNDA:51,normalize_query +FNDA:290,parsecanon +FNDA:1273,canonstr +FNDA:357,handle_options FNDA:1,Entity.done$ -FNDA:2,make_toString -FNDA:327,MakeEntity +FNDA:3,make_toString +FNDA:357,MakeEntity FNDA:4,custom$ FNDA:1,MakeEntity.hidden.directive$ -FNDA:7569,jsonic_strify -FNDA:296,jsonic_stringify +FNDA:8206,jsonic_strify +FNDA:309,jsonic_stringify DA:1,1 DA:2,1 DA:3,1 @@ -415,68 +437,68 @@ DA:20,1 DA:21,1 DA:22,1 DA:23,1 -DA:24,106 -DA:25,106 -DA:26,106 -DA:27,106 -DA:28,106 -DA:29,106 -DA:30,106 -DA:31,106 -DA:32,106 -DA:33,106 -DA:34,106 -DA:35,106 -DA:36,106 -DA:37,106 -DA:38,106 -DA:39,106 -DA:40,106 -DA:41,106 -DA:42,106 -DA:43,106 -DA:44,1 -DA:45,1 -DA:46,106 -DA:47,106 -DA:48,106 -DA:49,1 -DA:50,1 -DA:51,1 -DA:52,1 -DA:53,1 +DA:24,1 +DA:25,1 +DA:26,1 +DA:27,1 +DA:28,1 +DA:29,1 +DA:30,1 +DA:31,1 +DA:32,1 +DA:33,1 +DA:34,1 +DA:35,119 +DA:36,119 +DA:37,119 +DA:38,119 +DA:39,119 +DA:40,119 +DA:41,119 +DA:42,119 +DA:43,119 +DA:44,119 +DA:45,119 +DA:46,119 +DA:47,119 +DA:48,119 +DA:49,119 +DA:50,119 +DA:51,119 +DA:52,119 +DA:53,119 DA:54,1 DA:55,1 -DA:56,1 -DA:57,1 -DA:58,1 -DA:59,1 -DA:60,1 +DA:56,119 +DA:57,119 +DA:58,119 +DA:59,119 +DA:60,119 DA:61,1 DA:62,1 -DA:63,1 -DA:64,1 -DA:65,1 -DA:66,1 -DA:67,327 -DA:68,327 -DA:69,327 -DA:70,552 -DA:71,552 -DA:72,327 -DA:73,327 -DA:74,327 -DA:75,327 -DA:76,327 -DA:77,327 -DA:78,327 -DA:79,327 -DA:80,327 -DA:81,327 +DA:63,476 +DA:64,476 +DA:65,476 +DA:66,476 +DA:67,476 +DA:68,476 +DA:69,476 +DA:70,11 +DA:71,11 +DA:72,11 +DA:73,1 +DA:74,1 +DA:75,1 +DA:76,1 +DA:77,1 +DA:78,1 +DA:79,1 +DA:80,11 +DA:81,11 DA:82,1 DA:83,1 -DA:84,1 -DA:85,1 +DA:84,11 +DA:85,476 DA:86,1 DA:87,1 DA:88,1 @@ -489,217 +511,217 @@ DA:94,1 DA:95,1 DA:96,1 DA:97,1 -DA:98,372 -DA:99,372 -DA:100,372 -DA:101,372 -DA:102,372 -DA:103,372 -DA:104,265 -DA:105,265 -DA:106,265 -DA:107,372 -DA:108,372 -DA:109,372 -DA:110,372 -DA:111,372 -DA:112,265 -DA:113,265 -DA:114,265 -DA:115,265 -DA:116,265 -DA:117,265 -DA:118,265 -DA:119,265 -DA:120,372 -DA:121,372 -DA:122,93 -DA:123,93 -DA:124,279 -DA:125,279 -DA:126,279 -DA:127,279 -DA:128,372 -DA:129,202 -DA:130,202 -DA:131,202 -DA:132,279 -DA:133,279 -DA:134,372 -DA:135,729 -DA:136,729 -DA:137,279 -DA:138,279 -DA:139,372 -DA:140,98 -DA:141,372 -DA:142,73 -DA:143,73 -DA:144,73 -DA:145,73 -DA:146,181 -DA:147,108 -DA:148,108 -DA:149,108 -DA:150,108 -DA:151,279 -DA:152,279 -DA:153,279 -DA:154,279 -DA:155,372 -DA:156,372 -DA:157,372 -DA:158,372 -DA:159,372 -DA:160,372 -DA:161,372 -DA:162,372 -DA:163,372 -DA:164,372 -DA:165,372 -DA:166,372 -DA:167,372 -DA:168,372 -DA:169,372 -DA:170,372 -DA:171,372 -DA:172,372 -DA:173,446 -DA:174,446 -DA:175,270 -DA:176,446 -DA:177,1 -DA:178,1 -DA:179,446 -DA:180,446 -DA:181,279 -DA:182,372 -DA:183,2 -DA:184,2 -DA:185,279 -DA:186,279 -DA:187,64 -DA:188,372 -DA:189,372 -DA:190,372 -DA:191,1 -DA:192,1 -DA:193,1 -DA:194,1 -DA:195,1 -DA:196,1 -DA:197,1 -DA:198,56 -DA:199,56 -DA:200,56 -DA:201,56 -DA:202,56 -DA:203,56 -DA:204,56 -DA:205,56 -DA:206,56 -DA:207,56 -DA:208,56 -DA:209,56 -DA:210,56 -DA:211,0 -DA:212,0 -DA:213,0 -DA:214,0 -DA:215,0 -DA:216,0 -DA:217,0 -DA:218,0 -DA:219,0 -DA:220,0 -DA:221,0 -DA:222,0 -DA:223,0 -DA:224,56 -DA:225,56 -DA:226,56 -DA:227,56 -DA:228,56 -DA:229,56 -DA:230,56 -DA:231,56 -DA:232,56 -DA:233,56 +DA:98,1 +DA:99,1 +DA:100,1 +DA:101,1 +DA:102,1 +DA:103,1 +DA:104,1 +DA:105,357 +DA:106,357 +DA:107,357 +DA:108,602 +DA:109,602 +DA:110,357 +DA:111,357 +DA:112,357 +DA:113,357 +DA:114,357 +DA:115,357 +DA:116,357 +DA:117,357 +DA:118,357 +DA:119,357 +DA:120,357 +DA:121,357 +DA:122,1 +DA:123,1 +DA:124,1 +DA:125,1 +DA:126,1 +DA:127,1 +DA:128,1 +DA:129,1 +DA:130,1 +DA:131,1 +DA:132,1 +DA:133,1 +DA:134,1 +DA:135,1 +DA:136,1 +DA:137,1 +DA:138,408 +DA:139,408 +DA:140,408 +DA:141,408 +DA:142,408 +DA:143,408 +DA:144,292 +DA:145,292 +DA:146,292 +DA:147,408 +DA:148,408 +DA:149,408 +DA:150,408 +DA:151,408 +DA:152,292 +DA:153,292 +DA:154,292 +DA:155,292 +DA:156,292 +DA:157,292 +DA:158,292 +DA:159,292 +DA:160,408 +DA:161,408 +DA:162,102 +DA:163,102 +DA:164,306 +DA:165,306 +DA:166,306 +DA:167,306 +DA:168,408 +DA:169,214 +DA:170,214 +DA:171,214 +DA:172,306 +DA:173,306 +DA:174,408 +DA:175,795 +DA:176,795 +DA:177,306 +DA:178,306 +DA:179,408 +DA:180,107 +DA:181,408 +DA:182,76 +DA:183,76 +DA:184,76 +DA:185,76 +DA:186,199 +DA:187,123 +DA:188,123 +DA:189,123 +DA:190,123 +DA:191,306 +DA:192,306 +DA:193,306 +DA:194,306 +DA:195,408 +DA:196,408 +DA:197,408 +DA:198,408 +DA:199,408 +DA:200,408 +DA:201,408 +DA:202,408 +DA:203,408 +DA:204,408 +DA:205,408 +DA:206,408 +DA:207,408 +DA:208,408 +DA:209,408 +DA:210,408 +DA:211,408 +DA:212,408 +DA:213,481 +DA:214,481 +DA:215,293 +DA:216,481 +DA:217,1 +DA:218,1 +DA:219,481 +DA:220,481 +DA:221,305 +DA:222,408 +DA:223,2 +DA:224,2 +DA:225,305 +DA:226,305 +DA:227,64 +DA:228,408 +DA:229,408 +DA:230,408 +DA:231,1 +DA:232,1 +DA:233,1 DA:234,1 DA:235,1 DA:236,1 DA:237,1 -DA:238,1 -DA:239,1 -DA:240,1 -DA:241,1 -DA:242,1 -DA:243,1 -DA:244,0 -DA:245,0 -DA:246,0 -DA:247,0 -DA:248,0 -DA:249,0 -DA:250,0 -DA:251,0 -DA:252,0 -DA:253,0 -DA:254,0 -DA:255,0 -DA:256,0 -DA:257,0 -DA:258,1 +DA:238,68 +DA:239,68 +DA:240,68 +DA:241,68 +DA:242,68 +DA:243,68 +DA:244,68 +DA:245,68 +DA:246,68 +DA:247,68 +DA:248,68 +DA:249,68 +DA:250,68 +DA:251,68 +DA:252,12 +DA:253,11 +DA:254,11 +DA:255,11 +DA:256,11 +DA:257,10 +DA:258,10 DA:259,1 DA:260,1 DA:261,1 DA:262,1 -DA:263,1 -DA:264,1 -DA:265,1 +DA:263,11 +DA:264,11 +DA:265,11 DA:266,1 DA:267,1 -DA:268,15 -DA:269,15 -DA:270,15 -DA:271,3 -DA:272,3 -DA:273,3 -DA:274,15 -DA:275,15 -DA:276,15 -DA:277,15 -DA:278,15 -DA:279,15 -DA:280,15 -DA:281,15 -DA:282,15 -DA:283,15 -DA:284,15 -DA:285,15 -DA:286,15 -DA:287,15 -DA:288,15 -DA:289,15 -DA:290,15 -DA:291,15 -DA:292,5 -DA:293,5 -DA:294,5 -DA:295,5 -DA:296,10 -DA:297,10 -DA:298,15 -DA:299,15 -DA:300,15 -DA:301,15 -DA:302,15 -DA:303,15 -DA:304,1 -DA:305,1 -DA:306,1 -DA:307,1 -DA:308,1 +DA:268,1 +DA:269,1 +DA:270,1 +DA:271,1 +DA:272,11 +DA:273,11 +DA:274,11 +DA:275,12 +DA:276,68 +DA:277,64 +DA:278,64 +DA:279,68 +DA:280,68 +DA:281,68 +DA:282,68 +DA:283,68 +DA:284,68 +DA:285,1 +DA:286,1 +DA:287,1 +DA:288,1 +DA:289,1 +DA:290,1 +DA:291,1 +DA:292,1 +DA:293,1 +DA:294,1 +DA:295,0 +DA:296,0 +DA:297,0 +DA:298,0 +DA:299,0 +DA:300,0 +DA:301,0 +DA:302,0 +DA:303,0 +DA:304,0 +DA:305,0 +DA:306,0 +DA:307,0 +DA:308,0 DA:309,1 DA:310,1 DA:311,1 @@ -710,42 +732,42 @@ DA:315,1 DA:316,1 DA:317,1 DA:318,1 -DA:319,1 -DA:320,1 -DA:321,1 -DA:322,1 -DA:323,26 -DA:324,26 -DA:325,26 -DA:326,7 -DA:327,7 -DA:328,7 -DA:329,26 -DA:330,26 -DA:331,26 -DA:332,26 -DA:333,26 -DA:334,26 -DA:335,26 -DA:336,26 -DA:337,26 -DA:338,26 -DA:339,26 -DA:340,26 -DA:341,26 -DA:342,26 -DA:343,26 -DA:344,26 -DA:345,26 -DA:346,26 -DA:347,26 -DA:348,13 -DA:349,13 -DA:350,13 -DA:351,26 -DA:352,26 -DA:353,26 -DA:354,26 +DA:319,16 +DA:320,16 +DA:321,16 +DA:322,3 +DA:323,3 +DA:324,3 +DA:325,16 +DA:326,16 +DA:327,16 +DA:328,16 +DA:329,16 +DA:330,16 +DA:331,16 +DA:332,16 +DA:333,16 +DA:334,16 +DA:335,16 +DA:336,16 +DA:337,16 +DA:338,16 +DA:339,16 +DA:340,16 +DA:341,16 +DA:342,16 +DA:343,5 +DA:344,5 +DA:345,5 +DA:346,5 +DA:347,11 +DA:348,11 +DA:349,16 +DA:350,16 +DA:351,16 +DA:352,16 +DA:353,16 +DA:354,16 DA:355,1 DA:356,1 DA:357,1 @@ -761,43 +783,43 @@ DA:366,1 DA:367,1 DA:368,1 DA:369,1 -DA:370,9 -DA:371,9 -DA:372,9 -DA:373,4 -DA:374,4 -DA:375,4 -DA:376,9 -DA:377,9 -DA:378,9 -DA:379,9 -DA:380,9 -DA:381,9 -DA:382,9 -DA:383,9 -DA:384,9 -DA:385,9 -DA:386,9 -DA:387,9 -DA:388,9 -DA:389,9 -DA:390,9 -DA:391,9 -DA:392,5 -DA:393,5 -DA:394,5 -DA:395,5 -DA:396,4 -DA:397,4 -DA:398,9 -DA:399,9 -DA:400,9 -DA:401,9 -DA:402,1 -DA:403,1 -DA:404,1 -DA:405,0 -DA:406,0 +DA:370,1 +DA:371,1 +DA:372,1 +DA:373,1 +DA:374,26 +DA:375,26 +DA:376,26 +DA:377,7 +DA:378,7 +DA:379,7 +DA:380,26 +DA:381,26 +DA:382,26 +DA:383,26 +DA:384,26 +DA:385,26 +DA:386,26 +DA:387,26 +DA:388,26 +DA:389,26 +DA:390,26 +DA:391,26 +DA:392,26 +DA:393,26 +DA:394,26 +DA:395,26 +DA:396,26 +DA:397,26 +DA:398,26 +DA:399,13 +DA:400,13 +DA:401,13 +DA:402,26 +DA:403,26 +DA:404,26 +DA:405,26 +DA:406,1 DA:407,1 DA:408,1 DA:409,1 @@ -805,82 +827,82 @@ DA:410,1 DA:411,1 DA:412,1 DA:413,1 -DA:414,83 -DA:415,83 -DA:416,83 -DA:417,83 -DA:418,598 -DA:419,598 -DA:420,598 -DA:421,226 -DA:422,598 -DA:423,141 -DA:424,141 -DA:425,598 -DA:426,83 -DA:427,83 -DA:428,1 -DA:429,1 -DA:430,1 -DA:431,0 -DA:432,0 -DA:433,0 -DA:434,0 -DA:435,0 -DA:436,0 -DA:437,0 -DA:438,0 -DA:439,0 -DA:440,0 -DA:441,0 -DA:442,0 -DA:443,0 -DA:444,0 -DA:445,0 -DA:446,1 -DA:447,1 -DA:448,30 -DA:449,30 -DA:450,30 -DA:451,30 -DA:452,30 -DA:453,30 -DA:454,30 -DA:455,30 -DA:456,30 -DA:457,30 -DA:458,30 -DA:459,30 -DA:460,30 -DA:461,30 -DA:462,30 -DA:463,30 -DA:464,30 -DA:465,90 -DA:466,90 -DA:467,30 -DA:468,30 -DA:469,30 -DA:470,30 -DA:471,1 -DA:472,1 -DA:473,1369 -DA:474,1369 -DA:475,1369 -DA:476,1369 -DA:477,1369 -DA:478,1035 -DA:479,18 -DA:480,18 -DA:481,18 -DA:482,18 -DA:483,18 -DA:484,18 -DA:485,12 -DA:486,18 -DA:487,1035 -DA:488,1 -DA:489,1017 +DA:414,1 +DA:415,1 +DA:416,1 +DA:417,1 +DA:418,1 +DA:419,1 +DA:420,1 +DA:421,9 +DA:422,9 +DA:423,9 +DA:424,4 +DA:425,4 +DA:426,4 +DA:427,9 +DA:428,9 +DA:429,9 +DA:430,9 +DA:431,9 +DA:432,9 +DA:433,9 +DA:434,9 +DA:435,9 +DA:436,9 +DA:437,9 +DA:438,9 +DA:439,9 +DA:440,9 +DA:441,9 +DA:442,9 +DA:443,5 +DA:444,5 +DA:445,5 +DA:446,5 +DA:447,4 +DA:448,4 +DA:449,9 +DA:450,9 +DA:451,9 +DA:452,9 +DA:453,1 +DA:454,1 +DA:455,1 +DA:456,0 +DA:457,0 +DA:458,1 +DA:459,1 +DA:460,1 +DA:461,1 +DA:462,1 +DA:463,1 +DA:464,1 +DA:465,108 +DA:466,108 +DA:467,108 +DA:468,108 +DA:469,770 +DA:470,770 +DA:471,770 +DA:472,298 +DA:473,770 +DA:474,187 +DA:475,187 +DA:476,770 +DA:477,108 +DA:478,108 +DA:479,1 +DA:480,1 +DA:481,1 +DA:482,0 +DA:483,0 +DA:484,0 +DA:485,0 +DA:486,0 +DA:487,0 +DA:488,0 +DA:489,0 DA:490,0 DA:491,0 DA:492,0 @@ -888,754 +910,824 @@ DA:493,0 DA:494,0 DA:495,0 DA:496,0 -DA:497,0 -DA:498,0 -DA:499,0 -DA:500,0 -DA:501,0 -DA:502,0 -DA:503,1035 -DA:504,1350 -DA:505,1369 -DA:506,1369 -DA:507,1184 -DA:508,1184 -DA:509,1184 -DA:510,1184 -DA:511,1184 -DA:512,1184 -DA:513,1369 -DA:514,166 -DA:515,166 -DA:516,165 -DA:517,165 -DA:518,164 -DA:519,164 -DA:520,2 -DA:521,2 -DA:522,1369 +DA:497,1 +DA:498,1 +DA:499,30 +DA:500,30 +DA:501,30 +DA:502,30 +DA:503,30 +DA:504,30 +DA:505,30 +DA:506,30 +DA:507,30 +DA:508,30 +DA:509,30 +DA:510,30 +DA:511,30 +DA:512,30 +DA:513,30 +DA:514,30 +DA:515,30 +DA:516,90 +DA:517,90 +DA:518,30 +DA:519,30 +DA:520,30 +DA:521,30 +DA:522,1 DA:523,1 -DA:524,1 -DA:525,1 -DA:526,122 -DA:527,122 -DA:528,122 -DA:529,122 -DA:530,122 -DA:531,122 -DA:532,122 -DA:533,41 -DA:534,41 -DA:535,52 -DA:536,45 -DA:537,45 -DA:538,0 -DA:539,45 -DA:540,45 -DA:541,45 -DA:542,45 -DA:543,52 -DA:544,41 -DA:545,41 -DA:546,3 -DA:547,3 -DA:548,41 -DA:549,41 +DA:524,1824 +DA:525,1824 +DA:526,1824 +DA:527,1824 +DA:528,1824 +DA:529,1460 +DA:530,18 +DA:531,18 +DA:532,18 +DA:533,18 +DA:534,18 +DA:535,18 +DA:536,12 +DA:537,18 +DA:538,1460 +DA:539,1 +DA:540,1442 +DA:541,0 +DA:542,0 +DA:543,0 +DA:544,0 +DA:545,0 +DA:546,0 +DA:547,0 +DA:548,0 +DA:549,0 DA:550,0 DA:551,0 -DA:552,41 -DA:553,41 -DA:554,2 -DA:555,2 -DA:556,41 -DA:557,41 -DA:558,1 -DA:559,1 -DA:560,41 -DA:561,41 -DA:562,41 -DA:563,81 -DA:564,81 -DA:565,81 -DA:566,81 -DA:567,81 -DA:568,81 -DA:569,81 -DA:570,73 -DA:571,73 -DA:572,73 -DA:573,73 -DA:574,73 -DA:575,73 -DA:576,6 -DA:577,6 -DA:578,73 -DA:579,81 -DA:580,81 -DA:581,81 -DA:582,135 -DA:583,135 -DA:584,135 -DA:585,0 -DA:586,0 -DA:587,135 -DA:588,135 -DA:589,135 -DA:590,134 -DA:591,134 -DA:592,135 -DA:593,135 -DA:594,81 -DA:595,81 -DA:596,81 -DA:597,122 -DA:598,1 -DA:599,1 -DA:600,3 -DA:601,3 -DA:602,3 -DA:603,3 -DA:604,3 -DA:605,1 -DA:606,1 -DA:607,3 -DA:608,3 -DA:609,0 -DA:610,0 -DA:611,3 -DA:612,3 -DA:613,3 -DA:614,1 -DA:615,1 -DA:616,0 -DA:617,0 -DA:618,1 -DA:619,1 -DA:620,0 -DA:621,0 -DA:622,1 -DA:623,1 -DA:624,1 -DA:625,1 -DA:626,49 -DA:627,49 -DA:628,49 -DA:629,49 -DA:630,49 -DA:631,49 -DA:632,49 -DA:633,48 -DA:634,48 -DA:635,4 -DA:636,4 -DA:637,4 -DA:638,48 -DA:639,48 -DA:640,49 -DA:641,49 -DA:642,49 -DA:643,49 -DA:644,1 +DA:552,0 +DA:553,0 +DA:554,1460 +DA:555,1805 +DA:556,1824 +DA:557,1824 +DA:558,1273 +DA:559,1273 +DA:560,1273 +DA:561,1273 +DA:562,1273 +DA:563,1273 +DA:564,1824 +DA:565,532 +DA:566,532 +DA:567,531 +DA:568,531 +DA:569,530 +DA:570,530 +DA:571,2 +DA:572,2 +DA:573,1824 +DA:574,1 +DA:575,1 +DA:576,1 +DA:577,166 +DA:578,166 +DA:579,166 +DA:580,166 +DA:581,166 +DA:582,166 +DA:583,166 +DA:584,60 +DA:585,60 +DA:586,82 +DA:587,73 +DA:588,73 +DA:589,0 +DA:590,73 +DA:591,73 +DA:592,73 +DA:593,73 +DA:594,82 +DA:595,60 +DA:596,60 +DA:597,4 +DA:598,4 +DA:599,60 +DA:600,60 +DA:601,0 +DA:602,0 +DA:603,60 +DA:604,60 +DA:605,2 +DA:606,2 +DA:607,60 +DA:608,60 +DA:609,1 +DA:610,1 +DA:611,60 +DA:612,60 +DA:613,60 +DA:614,106 +DA:615,106 +DA:616,106 +DA:617,106 +DA:618,106 +DA:619,106 +DA:620,106 +DA:621,81 +DA:622,81 +DA:623,81 +DA:624,81 +DA:625,81 +DA:626,81 +DA:627,6 +DA:628,6 +DA:629,81 +DA:630,106 +DA:631,106 +DA:632,106 +DA:633,181 +DA:634,181 +DA:635,181 +DA:636,0 +DA:637,0 +DA:638,181 +DA:639,181 +DA:640,181 +DA:641,180 +DA:642,180 +DA:643,181 +DA:644,181 DA:645,106 DA:646,106 -DA:647,28 -DA:648,106 -DA:649,8 -DA:650,8 -DA:651,8 -DA:652,8 -DA:653,8 -DA:654,8 -DA:655,106 -DA:656,106 -DA:657,106 -DA:658,1 -DA:659,24 -DA:660,24 -DA:661,24 -DA:662,1 -DA:663,1 -DA:664,50 -DA:665,50 -DA:666,50 -DA:667,50 -DA:668,50 -DA:669,50 -DA:670,24 -DA:671,3 -DA:672,24 -DA:673,5 -DA:674,21 -DA:675,0 -DA:676,0 -DA:677,24 -DA:678,50 -DA:679,50 -DA:680,50 -DA:681,50 -DA:682,29 -DA:683,36 -DA:684,0 -DA:685,0 -DA:686,36 -DA:687,29 -DA:688,50 -DA:689,50 -DA:690,50 -DA:691,1 -DA:692,1 -DA:693,1 -DA:694,1 -DA:695,260 -DA:696,260 -DA:697,260 -DA:698,260 -DA:699,6 -DA:700,6 -DA:701,6 -DA:702,6 -DA:703,6 -DA:704,6 -DA:705,254 -DA:706,260 -DA:707,248 -DA:708,260 -DA:709,239 -DA:710,239 -DA:711,258 -DA:712,237 -DA:713,237 -DA:714,237 -DA:715,237 -DA:716,237 -DA:717,237 -DA:718,237 -DA:719,2 -DA:720,2 -DA:721,2 -DA:722,2 -DA:723,2 -DA:724,237 -DA:725,237 -DA:726,237 -DA:727,1 -DA:728,1184 -DA:729,1184 -DA:730,1184 -DA:731,1184 -DA:732,1184 -DA:733,1184 -DA:734,1184 -DA:735,1184 -DA:736,1 -DA:737,327 -DA:738,327 -DA:739,327 -DA:740,327 -DA:741,327 -DA:742,0 -DA:743,0 -DA:744,0 -DA:745,0 -DA:746,0 -DA:747,0 -DA:748,0 -DA:749,0 -DA:750,0 -DA:751,0 -DA:752,0 -DA:753,0 -DA:754,0 -DA:755,0 -DA:756,0 -DA:757,0 -DA:758,0 -DA:759,0 -DA:760,0 -DA:761,327 -DA:762,327 -DA:763,6 -DA:764,6 -DA:765,1 -DA:766,1 -DA:767,1 -DA:768,1 -DA:769,1 -DA:770,1 -DA:771,6 -DA:772,327 -DA:773,327 -DA:774,327 -DA:775,1 -DA:776,2 -DA:777,2 -DA:778,2 -DA:779,2 -DA:780,2 -DA:781,2 -DA:782,2 -DA:783,2 -DA:784,2 -DA:785,2 -DA:786,2 -DA:787,0 -DA:788,2 -DA:789,0 -DA:790,0 -DA:791,0 -DA:792,0 -DA:793,2 -DA:794,2 -DA:795,2 -DA:796,2 -DA:797,296 -DA:798,296 -DA:799,296 -DA:800,296 -DA:801,296 -DA:802,296 -DA:803,296 -DA:804,296 -DA:805,296 -DA:806,296 -DA:807,296 -DA:808,296 -DA:809,296 -DA:810,296 -DA:811,2 -DA:812,1 -DA:813,327 -DA:814,327 -DA:815,327 -DA:816,327 -DA:817,327 -DA:818,327 -DA:819,327 -DA:820,327 -DA:821,327 -DA:822,327 -DA:823,327 -DA:824,2 -DA:825,2 -DA:826,2 -DA:827,2 -DA:828,2 -DA:829,2 -DA:830,327 -DA:831,327 -DA:832,327 -DA:833,4 -DA:834,4 -DA:835,4 -DA:836,4 -DA:837,4 -DA:838,4 -DA:839,4 -DA:840,4 -DA:841,327 -DA:842,327 -DA:843,327 -DA:844,327 -DA:845,327 -DA:846,327 -DA:847,327 -DA:848,327 -DA:849,327 -DA:850,327 -DA:851,1 -DA:852,1 -DA:853,1 -DA:854,1 -DA:855,1 -DA:856,327 -DA:857,327 -DA:858,327 -DA:859,327 -DA:860,327 -DA:861,327 -DA:862,327 -DA:863,327 -DA:864,327 -DA:865,1 +DA:647,106 +DA:648,166 +DA:649,1 +DA:650,1 +DA:651,3 +DA:652,3 +DA:653,3 +DA:654,3 +DA:655,3 +DA:656,1 +DA:657,1 +DA:658,3 +DA:659,3 +DA:660,0 +DA:661,0 +DA:662,3 +DA:663,3 +DA:664,3 +DA:665,1 +DA:666,1 +DA:667,0 +DA:668,0 +DA:669,1 +DA:670,1 +DA:671,0 +DA:672,0 +DA:673,1 +DA:674,1 +DA:675,1 +DA:676,1 +DA:677,58 +DA:678,58 +DA:679,58 +DA:680,58 +DA:681,58 +DA:682,58 +DA:683,58 +DA:684,57 +DA:685,57 +DA:686,4 +DA:687,4 +DA:688,4 +DA:689,57 +DA:690,57 +DA:691,58 +DA:692,58 +DA:693,58 +DA:694,58 +DA:695,1 +DA:696,119 +DA:697,119 +DA:698,28 +DA:699,119 +DA:700,20 +DA:701,20 +DA:702,20 +DA:703,20 +DA:704,20 +DA:705,20 +DA:706,119 +DA:707,119 +DA:708,119 +DA:709,1 +DA:710,25 +DA:711,25 +DA:712,25 +DA:713,1 +DA:714,1 +DA:715,51 +DA:716,51 +DA:717,51 +DA:718,51 +DA:719,51 +DA:720,51 +DA:721,25 +DA:722,3 +DA:723,25 +DA:724,6 +DA:725,22 +DA:726,0 +DA:727,0 +DA:728,25 +DA:729,51 +DA:730,51 +DA:731,51 +DA:732,51 +DA:733,30 +DA:734,37 +DA:735,0 +DA:736,0 +DA:737,37 +DA:738,30 +DA:739,51 +DA:740,51 +DA:741,51 +DA:742,1 +DA:743,1 +DA:744,1 +DA:745,1 +DA:746,290 +DA:747,290 +DA:748,290 +DA:749,290 +DA:750,6 +DA:751,6 +DA:752,6 +DA:753,6 +DA:754,6 +DA:755,6 +DA:756,284 +DA:757,290 +DA:758,278 +DA:759,290 +DA:760,269 +DA:761,269 +DA:762,288 +DA:763,267 +DA:764,267 +DA:765,267 +DA:766,267 +DA:767,267 +DA:768,267 +DA:769,267 +DA:770,2 +DA:771,2 +DA:772,2 +DA:773,2 +DA:774,2 +DA:775,2 +DA:776,267 +DA:777,267 +DA:778,267 +DA:779,1 +DA:780,1 +DA:781,1273 +DA:782,1273 +DA:783,1273 +DA:784,1273 +DA:785,1273 +DA:786,1273 +DA:787,1273 +DA:788,1273 +DA:789,1 +DA:790,1 +DA:791,357 +DA:792,357 +DA:793,357 +DA:794,357 +DA:795,357 +DA:796,0 +DA:797,0 +DA:798,0 +DA:799,0 +DA:800,0 +DA:801,0 +DA:802,0 +DA:803,0 +DA:804,0 +DA:805,0 +DA:806,0 +DA:807,0 +DA:808,0 +DA:809,0 +DA:810,0 +DA:811,0 +DA:812,0 +DA:813,0 +DA:814,0 +DA:815,357 +DA:816,357 +DA:817,6 +DA:818,6 +DA:819,1 +DA:820,1 +DA:821,1 +DA:822,1 +DA:823,1 +DA:824,1 +DA:825,6 +DA:826,357 +DA:827,357 +DA:828,357 +DA:829,1 +DA:830,3 +DA:831,3 +DA:832,3 +DA:833,3 +DA:834,3 +DA:835,3 +DA:836,3 +DA:837,3 +DA:838,3 +DA:839,3 +DA:840,3 +DA:841,0 +DA:842,3 +DA:843,0 +DA:844,0 +DA:845,0 +DA:846,0 +DA:847,3 +DA:848,3 +DA:849,3 +DA:850,3 +DA:851,309 +DA:852,309 +DA:853,309 +DA:854,309 +DA:855,309 +DA:856,309 +DA:857,309 +DA:858,309 +DA:859,309 +DA:860,309 +DA:861,309 +DA:862,309 +DA:863,309 +DA:864,309 +DA:865,3 DA:866,1 -DA:867,1 -DA:868,1 -DA:869,7569 -DA:870,7569 -DA:871,7569 -DA:872,6931 -DA:873,6931 -DA:874,7569 -DA:875,5005 -DA:876,5005 -DA:877,7569 -DA:878,0 -DA:879,0 -DA:880,0 -DA:881,0 -DA:882,0 -DA:883,0 -DA:884,5005 -DA:885,5005 -DA:886,5005 -DA:887,5005 -DA:888,5005 -DA:889,5005 -DA:890,7569 -DA:891,270 -DA:892,7569 -DA:893,2960 -DA:894,2960 -DA:895,1184 -DA:896,1184 -DA:897,7273 -DA:898,7273 -DA:899,7273 -DA:900,7273 -DA:901,7273 -DA:902,7273 -DA:903,7273 -DA:904,7273 -DA:905,7273 -DA:906,7273 -DA:907,7273 -DA:908,4422 -DA:909,4422 -DA:910,4422 -DA:911,4422 -DA:912,7273 -DA:913,1184 -DA:914,2960 -DA:915,4735 -DA:916,0 -DA:917,0 -DA:918,0 -DA:919,0 -DA:920,0 -DA:921,0 -DA:922,0 -DA:923,0 -DA:924,0 -DA:925,0 -DA:926,1775 -DA:927,1775 -DA:928,1775 -DA:929,1775 -DA:930,1775 -DA:931,1775 -DA:932,1775 -DA:933,1775 +DA:867,357 +DA:868,357 +DA:869,357 +DA:870,357 +DA:871,357 +DA:872,357 +DA:873,357 +DA:874,357 +DA:875,357 +DA:876,357 +DA:877,357 +DA:878,3 +DA:879,3 +DA:880,3 +DA:881,3 +DA:882,3 +DA:883,3 +DA:884,357 +DA:885,357 +DA:886,357 +DA:887,4 +DA:888,4 +DA:889,4 +DA:890,4 +DA:891,4 +DA:892,4 +DA:893,4 +DA:894,4 +DA:895,357 +DA:896,357 +DA:897,357 +DA:898,357 +DA:899,357 +DA:900,357 +DA:901,357 +DA:902,357 +DA:903,357 +DA:904,357 +DA:905,1 +DA:906,1 +DA:907,1 +DA:908,1 +DA:909,1 +DA:910,357 +DA:911,357 +DA:912,357 +DA:913,357 +DA:914,357 +DA:915,357 +DA:916,357 +DA:917,357 +DA:918,357 +DA:919,1 +DA:920,1 +DA:921,1 +DA:922,1 +DA:923,8206 +DA:924,8206 +DA:925,8206 +DA:926,7542 +DA:927,7542 +DA:928,8206 +DA:929,5538 +DA:930,5538 +DA:931,8206 +DA:932,0 +DA:933,0 DA:934,0 DA:935,0 -DA:936,1775 -DA:937,1775 -DA:938,1775 -DA:939,7569 -DA:940,1 -DA:941,1 -DA:942,296 -DA:943,296 -DA:944,296 -DA:945,296 -DA:946,296 -DA:947,296 -DA:948,296 -DA:949,296 -DA:950,296 -DA:951,296 -DA:952,296 -DA:953,296 -DA:954,296 -DA:955,296 -DA:956,296 -DA:957,296 -DA:958,296 -DA:959,296 -DA:960,296 -DA:961,296 -DA:962,296 -DA:963,296 -DA:964,0 -DA:965,0 -DA:966,0 -DA:967,0 -DA:968,296 -DA:969,1 -DA:970,1 -LF:970 -LH:852 -BRDA:24,0,0,106 -BRDA:43,1,0,1 -BRDA:40,2,0,1 -BRDA:66,3,0,327 -BRDA:69,4,0,552 -BRDA:97,5,0,372 -BRDA:103,6,0,265 -BRDA:111,7,0,371 -BRDA:111,8,0,265 -BRDA:121,9,0,371 -BRDA:121,10,0,264 -BRDA:121,11,0,93 -BRDA:124,12,0,284 -BRDA:124,13,0,279 -BRDA:128,14,0,278 -BRDA:128,15,0,202 -BRDA:132,16,0,279 -BRDA:134,17,0,729 -BRDA:137,18,0,279 -BRDA:139,19,0,98 -BRDA:141,20,0,181 -BRDA:141,21,0,73 -BRDA:141,22,0,73 -BRDA:146,23,0,108 -BRDA:148,24,0,9 -BRDA:148,25,0,99 -BRDA:151,26,0,367 -BRDA:151,27,0,279 -BRDA:155,28,0,273 -BRDA:155,29,0,6 -BRDA:156,30,0,218 -BRDA:156,31,0,61 -BRDA:159,32,0,276 -BRDA:159,33,0,3 -BRDA:160,34,0,264 -BRDA:160,35,0,15 -BRDA:163,36,0,63 -BRDA:163,37,0,216 -BRDA:164,38,0,218 -BRDA:164,39,0,61 -BRDA:165,40,0,264 -BRDA:165,41,0,15 -BRDA:172,42,0,446 -BRDA:174,43,0,270 -BRDA:176,44,0,176 -BRDA:176,45,0,1 -BRDA:181,46,0,279 -BRDA:182,47,0,2 -BRDA:185,48,0,279 -BRDA:186,49,0,64 -BRDA:197,50,0,56 -BRDA:210,51,0,0 -BRDA:210,52,0,0 -BRDA:227,53,0,30 -BRDA:230,54,0,25 -BRDA:231,55,0,31 -BRDA:231,56,0,0 -BRDA:267,57,0,15 -BRDA:270,58,0,3 -BRDA:288,59,0,10 -BRDA:291,60,0,5 -BRDA:293,61,0,1 -BRDA:294,62,0,4 -BRDA:296,63,0,10 -BRDA:298,64,0,8 -BRDA:299,65,0,2 -BRDA:299,66,0,0 -BRDA:322,67,0,26 -BRDA:325,68,0,7 -BRDA:343,69,0,14 -BRDA:346,70,0,13 -BRDA:347,71,0,13 -BRDA:349,72,0,0 -BRDA:369,73,0,9 -BRDA:372,74,0,4 -BRDA:388,75,0,5 -BRDA:391,76,0,5 -BRDA:393,77,0,1 -BRDA:394,78,0,4 -BRDA:396,79,0,4 -BRDA:398,80,0,3 -BRDA:399,81,0,1 -BRDA:399,82,0,0 -BRDA:413,83,0,83 -BRDA:417,84,0,598 -BRDA:419,85,0,226 -BRDA:420,86,0,226 -BRDA:422,87,0,141 -BRDA:447,88,0,30 -BRDA:452,89,0,6 -BRDA:453,90,0,24 -BRDA:454,91,0,0 -BRDA:456,92,0,0 -BRDA:464,93,0,90 -BRDA:472,94,0,1369 -BRDA:477,95,0,1035 -BRDA:478,96,0,18 -BRDA:483,97,0,15 -BRDA:484,98,0,12 -BRDA:487,99,0,1017 -BRDA:487,100,0,1 -BRDA:489,101,0,1016 -BRDA:489,102,0,0 -BRDA:504,103,0,1350 -BRDA:505,104,0,1016 -BRDA:505,105,0,167 -BRDA:506,106,0,1184 -BRDA:512,107,0,850 -BRDA:512,108,0,1 -BRDA:512,109,0,1183 -BRDA:513,110,0,166 -BRDA:514,111,0,1 -BRDA:515,112,0,165 -BRDA:516,113,0,1 -BRDA:517,114,0,164 -BRDA:518,115,0,162 -BRDA:519,116,0,2 -BRDA:520,117,0,1 -BRDA:521,118,0,1 -BRDA:525,119,0,122 -BRDA:532,120,0,95 -BRDA:532,121,0,41 -BRDA:534,122,0,52 -BRDA:535,123,0,45 -BRDA:537,124,0,41 -BRDA:537,125,0,0 -BRDA:537,126,0,0 -BRDA:545,127,0,3 -BRDA:549,128,0,0 -BRDA:553,129,0,2 -BRDA:557,130,0,1 -BRDA:563,131,0,81 -BRDA:566,132,0,19 -BRDA:566,133,0,62 -BRDA:569,134,0,73 -BRDA:570,135,0,19 -BRDA:575,136,0,6 -BRDA:581,137,0,135 -BRDA:584,138,0,126 -BRDA:584,139,0,1 -BRDA:584,140,0,0 -BRDA:589,141,0,134 -BRDA:599,142,0,3 -BRDA:604,143,0,1 -BRDA:608,144,0,0 -BRDA:626,145,0,49 -BRDA:627,146,0,4 -BRDA:627,147,0,45 -BRDA:628,148,0,49 -BRDA:629,149,0,49 -BRDA:631,150,0,1 -BRDA:631,151,0,0 -BRDA:632,152,0,48 -BRDA:634,153,0,4 -BRDA:634,154,0,2 -BRDA:634,155,0,2 -BRDA:634,156,0,2 -BRDA:635,157,0,1 -BRDA:636,158,0,3 -BRDA:636,159,0,2 -BRDA:638,160,0,44 -BRDA:645,161,0,106 -BRDA:646,162,0,28 -BRDA:648,163,0,78 -BRDA:648,164,0,8 -BRDA:648,165,0,8 -BRDA:656,166,0,54 -BRDA:656,167,0,52 -BRDA:656,168,0,1 -BRDA:656,169,0,51 -BRDA:659,170,0,24 -BRDA:660,171,0,14 -BRDA:664,172,0,50 -BRDA:667,173,0,26 -BRDA:667,174,0,0 -BRDA:667,175,0,24 -BRDA:669,176,0,24 -BRDA:670,177,0,13 -BRDA:670,178,0,11 -BRDA:670,179,0,3 -BRDA:672,180,0,21 -BRDA:672,181,0,16 -BRDA:672,182,0,5 -BRDA:673,183,0,2 -BRDA:673,184,0,3 -BRDA:674,185,0,16 -BRDA:674,186,0,0 -BRDA:681,187,0,29 -BRDA:682,188,0,36 -BRDA:683,189,0,0 -BRDA:695,190,0,260 -BRDA:698,191,0,6 -BRDA:705,192,0,254 -BRDA:706,193,0,244 -BRDA:706,194,0,6 -BRDA:706,195,0,6 -BRDA:707,196,0,248 -BRDA:708,197,0,9 -BRDA:709,198,0,258 -BRDA:709,199,0,239 -BRDA:711,200,0,237 -BRDA:712,201,0,112 -BRDA:712,202,0,125 -BRDA:713,203,0,112 -BRDA:713,204,0,125 -BRDA:715,205,0,103 -BRDA:715,206,0,134 -BRDA:716,207,0,80 -BRDA:716,208,0,157 -BRDA:717,209,0,3 -BRDA:717,210,0,234 -BRDA:719,211,0,2 -BRDA:724,212,0,237 -BRDA:728,213,0,1184 -BRDA:729,214,0,0 -BRDA:731,215,0,44 -BRDA:731,216,0,1140 -BRDA:731,217,0,44 -BRDA:732,218,0,186 -BRDA:732,219,0,998 -BRDA:732,220,0,186 -BRDA:733,221,0,888 -BRDA:733,222,0,296 -BRDA:733,223,0,888 -BRDA:737,224,0,327 -BRDA:738,225,0,0 -BRDA:741,226,0,0 -BRDA:762,227,0,0 -BRDA:762,228,0,6 -BRDA:764,229,0,1 -BRDA:766,230,0,0 -BRDA:767,231,0,1 -BRDA:776,232,0,2 -BRDA:786,233,0,0 -BRDA:788,234,0,0 -BRDA:788,235,0,0 -BRDA:796,236,0,296 -BRDA:813,237,0,327 -BRDA:823,238,0,2 -BRDA:832,239,0,4 -BRDA:835,240,0,1 -BRDA:850,241,0,1 -BRDA:869,242,0,7569 -BRDA:871,243,0,638 -BRDA:872,244,0,6931 -BRDA:874,245,0,1926 -BRDA:874,246,0,1926 -BRDA:875,247,0,5005 -BRDA:877,248,0,0 -BRDA:884,249,0,5005 -BRDA:890,250,0,270 -BRDA:891,251,0,0 -BRDA:892,252,0,4735 -BRDA:892,253,0,2960 -BRDA:894,254,0,1184 -BRDA:896,255,0,7273 -BRDA:897,256,0,0 -BRDA:903,257,0,5639 -BRDA:907,258,0,5347 -BRDA:907,259,0,4422 -BRDA:908,260,0,0 -BRDA:915,261,0,1775 -BRDA:915,262,0,0 -BRDA:933,263,0,0 -BRDA:942,264,0,296 -BRDA:944,265,0,0 -BRDA:953,266,0,0 -BRDA:953,267,0,0 -BRDA:961,268,0,0 -BRDA:963,269,0,0 -BRF:270 -BRH:233 +DA:936,0 +DA:937,0 +DA:938,5538 +DA:939,5538 +DA:940,5538 +DA:941,5538 +DA:942,5538 +DA:943,5538 +DA:944,8206 +DA:945,279 +DA:946,8206 +DA:947,3092 +DA:948,3092 +DA:949,1238 +DA:950,1238 +DA:951,7897 +DA:952,7897 +DA:953,7897 +DA:954,7897 +DA:955,7897 +DA:956,7897 +DA:957,7897 +DA:958,7897 +DA:959,7897 +DA:960,7897 +DA:961,7897 +DA:962,4927 +DA:963,4927 +DA:964,4927 +DA:965,4927 +DA:966,7897 +DA:967,1238 +DA:968,3092 +DA:969,5259 +DA:970,0 +DA:971,0 +DA:972,0 +DA:973,0 +DA:974,0 +DA:975,0 +DA:976,0 +DA:977,0 +DA:978,0 +DA:979,0 +DA:980,2167 +DA:981,2167 +DA:982,2167 +DA:983,2167 +DA:984,2167 +DA:985,2167 +DA:986,2167 +DA:987,2167 +DA:988,0 +DA:989,0 +DA:990,2167 +DA:991,2167 +DA:992,2167 +DA:993,8206 +DA:994,1 +DA:995,1 +DA:996,309 +DA:997,309 +DA:998,309 +DA:999,309 +DA:1000,309 +DA:1001,309 +DA:1002,309 +DA:1003,309 +DA:1004,309 +DA:1005,309 +DA:1006,309 +DA:1007,309 +DA:1008,309 +DA:1009,309 +DA:1010,309 +DA:1011,309 +DA:1012,309 +DA:1013,309 +DA:1014,309 +DA:1015,309 +DA:1016,309 +DA:1017,309 +DA:1018,0 +DA:1019,0 +DA:1020,0 +DA:1021,0 +DA:1022,309 +DA:1023,1 +DA:1024,1 +LF:1024 +LH:919 +BRDA:35,0,0,119 +BRDA:53,1,0,1 +BRDA:50,2,0,1 +BRDA:63,3,0,476 +BRDA:67,4,0,13 +BRDA:69,5,0,11 +BRDA:70,6,0,1 +BRDA:72,7,0,1 +BRDA:81,8,0,1 +BRDA:104,9,0,357 +BRDA:107,10,0,602 +BRDA:137,11,0,408 +BRDA:143,12,0,292 +BRDA:151,13,0,407 +BRDA:151,14,0,292 +BRDA:161,15,0,407 +BRDA:161,16,0,285 +BRDA:161,17,0,102 +BRDA:164,18,0,311 +BRDA:164,19,0,306 +BRDA:168,20,0,305 +BRDA:168,21,0,214 +BRDA:172,22,0,306 +BRDA:174,23,0,795 +BRDA:177,24,0,306 +BRDA:179,25,0,107 +BRDA:181,26,0,199 +BRDA:181,27,0,76 +BRDA:181,28,0,76 +BRDA:186,29,0,123 +BRDA:188,30,0,9 +BRDA:188,31,0,114 +BRDA:191,32,0,394 +BRDA:191,33,0,306 +BRDA:195,34,0,300 +BRDA:195,35,0,6 +BRDA:196,36,0,236 +BRDA:196,37,0,70 +BRDA:199,38,0,303 +BRDA:199,39,0,3 +BRDA:200,40,0,291 +BRDA:200,41,0,15 +BRDA:203,42,0,66 +BRDA:203,43,0,240 +BRDA:204,44,0,236 +BRDA:204,45,0,70 +BRDA:205,46,0,291 +BRDA:205,47,0,15 +BRDA:212,48,0,481 +BRDA:214,49,0,293 +BRDA:216,50,0,188 +BRDA:216,51,0,1 +BRDA:221,52,0,305 +BRDA:222,53,0,2 +BRDA:225,54,0,305 +BRDA:226,55,0,64 +BRDA:237,56,0,68 +BRDA:251,57,0,12 +BRDA:252,58,0,11 +BRDA:256,59,0,10 +BRDA:259,60,0,1 +BRDA:264,61,0,0 +BRDA:265,62,0,1 +BRDA:266,63,0,0 +BRDA:267,64,0,0 +BRDA:268,65,0,0 +BRDA:277,66,0,64 +BRDA:278,67,0,38 +BRDA:281,68,0,33 +BRDA:282,69,0,31 +BRDA:282,70,0,0 +BRDA:267,71,0,1 +BRDA:318,72,0,16 +BRDA:321,73,0,3 +BRDA:339,74,0,11 +BRDA:342,75,0,5 +BRDA:344,76,0,1 +BRDA:345,77,0,4 +BRDA:347,78,0,11 +BRDA:349,79,0,9 +BRDA:350,80,0,2 +BRDA:350,81,0,0 +BRDA:373,82,0,26 +BRDA:376,83,0,7 +BRDA:394,84,0,14 +BRDA:397,85,0,13 +BRDA:398,86,0,13 +BRDA:400,87,0,0 +BRDA:420,88,0,9 +BRDA:423,89,0,4 +BRDA:439,90,0,5 +BRDA:442,91,0,5 +BRDA:444,92,0,1 +BRDA:445,93,0,4 +BRDA:447,94,0,4 +BRDA:449,95,0,3 +BRDA:450,96,0,1 +BRDA:450,97,0,0 +BRDA:464,98,0,108 +BRDA:468,99,0,770 +BRDA:470,100,0,298 +BRDA:471,101,0,298 +BRDA:473,102,0,187 +BRDA:498,103,0,30 +BRDA:503,104,0,6 +BRDA:504,105,0,24 +BRDA:505,106,0,0 +BRDA:507,107,0,0 +BRDA:515,108,0,90 +BRDA:523,109,0,1824 +BRDA:528,110,0,1460 +BRDA:529,111,0,18 +BRDA:534,112,0,15 +BRDA:535,113,0,12 +BRDA:538,114,0,1442 +BRDA:538,115,0,1 +BRDA:540,116,0,1441 +BRDA:540,117,0,0 +BRDA:555,118,0,1805 +BRDA:556,119,0,1441 +BRDA:556,120,0,533 +BRDA:557,121,0,1273 +BRDA:563,122,0,909 +BRDA:563,123,0,1 +BRDA:563,124,0,1272 +BRDA:564,125,0,532 +BRDA:565,126,0,1 +BRDA:566,127,0,531 +BRDA:567,128,0,1 +BRDA:568,129,0,530 +BRDA:569,130,0,528 +BRDA:570,131,0,2 +BRDA:571,132,0,1 +BRDA:572,133,0,1 +BRDA:576,134,0,166 +BRDA:583,135,0,122 +BRDA:583,136,0,60 +BRDA:585,137,0,82 +BRDA:586,138,0,73 +BRDA:588,139,0,69 +BRDA:588,140,0,5 +BRDA:588,141,0,0 +BRDA:596,142,0,4 +BRDA:600,143,0,0 +BRDA:604,144,0,2 +BRDA:608,145,0,1 +BRDA:614,146,0,106 +BRDA:617,147,0,19 +BRDA:617,148,0,87 +BRDA:620,149,0,81 +BRDA:621,150,0,19 +BRDA:626,151,0,6 +BRDA:632,152,0,181 +BRDA:635,153,0,172 +BRDA:635,154,0,8 +BRDA:635,155,0,0 +BRDA:640,156,0,180 +BRDA:650,157,0,3 +BRDA:655,158,0,1 +BRDA:659,159,0,0 +BRDA:677,160,0,58 +BRDA:678,161,0,4 +BRDA:678,162,0,54 +BRDA:679,163,0,58 +BRDA:680,164,0,58 +BRDA:682,165,0,1 +BRDA:682,166,0,0 +BRDA:683,167,0,57 +BRDA:685,168,0,4 +BRDA:685,169,0,2 +BRDA:685,170,0,2 +BRDA:685,171,0,2 +BRDA:686,172,0,1 +BRDA:687,173,0,3 +BRDA:687,174,0,2 +BRDA:689,175,0,53 +BRDA:696,176,0,119 +BRDA:697,177,0,28 +BRDA:699,178,0,91 +BRDA:699,179,0,20 +BRDA:699,180,0,20 +BRDA:707,181,0,67 +BRDA:707,182,0,52 +BRDA:707,183,0,1 +BRDA:707,184,0,51 +BRDA:710,185,0,25 +BRDA:711,186,0,15 +BRDA:715,187,0,51 +BRDA:718,188,0,26 +BRDA:718,189,0,0 +BRDA:718,190,0,25 +BRDA:720,191,0,25 +BRDA:721,192,0,14 +BRDA:721,193,0,11 +BRDA:721,194,0,3 +BRDA:723,195,0,22 +BRDA:723,196,0,16 +BRDA:723,197,0,6 +BRDA:724,198,0,2 +BRDA:724,199,0,4 +BRDA:725,200,0,16 +BRDA:725,201,0,0 +BRDA:732,202,0,30 +BRDA:733,203,0,37 +BRDA:734,204,0,0 +BRDA:746,205,0,290 +BRDA:749,206,0,6 +BRDA:756,207,0,284 +BRDA:757,208,0,274 +BRDA:757,209,0,6 +BRDA:757,210,0,6 +BRDA:758,211,0,278 +BRDA:759,212,0,9 +BRDA:760,213,0,288 +BRDA:760,214,0,269 +BRDA:762,215,0,267 +BRDA:763,216,0,127 +BRDA:763,217,0,140 +BRDA:764,218,0,127 +BRDA:764,219,0,140 +BRDA:766,220,0,118 +BRDA:766,221,0,149 +BRDA:767,222,0,89 +BRDA:767,223,0,178 +BRDA:768,224,0,4 +BRDA:768,225,0,263 +BRDA:770,226,0,2 +BRDA:776,227,0,267 +BRDA:781,228,0,1273 +BRDA:782,229,0,0 +BRDA:784,230,0,44 +BRDA:784,231,0,1229 +BRDA:784,232,0,44 +BRDA:785,233,0,213 +BRDA:785,234,0,1060 +BRDA:785,235,0,213 +BRDA:786,236,0,962 +BRDA:786,237,0,311 +BRDA:786,238,0,962 +BRDA:791,239,0,357 +BRDA:792,240,0,0 +BRDA:795,241,0,0 +BRDA:816,242,0,0 +BRDA:816,243,0,6 +BRDA:818,244,0,1 +BRDA:820,245,0,0 +BRDA:821,246,0,1 +BRDA:830,247,0,3 +BRDA:840,248,0,0 +BRDA:842,249,0,0 +BRDA:842,250,0,0 +BRDA:850,251,0,309 +BRDA:867,252,0,357 +BRDA:876,253,0,356 +BRDA:877,254,0,3 +BRDA:886,255,0,4 +BRDA:889,256,0,1 +BRDA:904,257,0,1 +BRDA:923,258,0,8206 +BRDA:925,259,0,664 +BRDA:926,260,0,7542 +BRDA:928,261,0,2004 +BRDA:928,262,0,2004 +BRDA:929,263,0,5538 +BRDA:931,264,0,0 +BRDA:938,265,0,5538 +BRDA:944,266,0,279 +BRDA:945,267,0,0 +BRDA:946,268,0,5259 +BRDA:946,269,0,3092 +BRDA:948,270,0,1238 +BRDA:950,271,0,7897 +BRDA:951,272,0,0 +BRDA:957,273,0,6197 +BRDA:961,274,0,5893 +BRDA:961,275,0,4927 +BRDA:962,276,0,0 +BRDA:969,277,0,2167 +BRDA:969,278,0,0 +BRDA:987,279,0,0 +BRDA:996,280,0,309 +BRDA:998,281,0,0 +BRDA:1007,282,0,0 +BRDA:1007,283,0,0 +BRDA:1015,284,0,0 +BRDA:1017,285,0,0 +BRF:286 +BRH:248 end_of_record TN: SF:src/lib/store.ts @@ -1646,35 +1738,35 @@ FN:143,reify_entity_wrap FN:150,outfunc FNF:5 FNH:5 -FNDA:51,Store -FNDA:56,make_tag -FNDA:56,init -FNDA:338,reify_entity_wrap -FNDA:158,outfunc +FNDA:54,Store +FNDA:59,make_tag +FNDA:59,init +FNDA:356,reify_entity_wrap +FNDA:170,outfunc DA:1,1 DA:2,1 DA:3,1 DA:4,1 -DA:5,51 -DA:6,51 -DA:7,51 -DA:8,51 -DA:9,56 -DA:10,56 -DA:11,56 -DA:12,51 -DA:13,51 -DA:14,51 -DA:15,51 -DA:16,51 -DA:17,51 -DA:18,51 -DA:19,51 -DA:20,56 -DA:21,56 -DA:22,56 -DA:23,56 -DA:24,56 +DA:5,54 +DA:6,54 +DA:7,54 +DA:8,54 +DA:9,59 +DA:10,59 +DA:11,59 +DA:12,54 +DA:13,54 +DA:14,54 +DA:15,54 +DA:16,54 +DA:17,54 +DA:18,54 +DA:19,54 +DA:20,59 +DA:21,59 +DA:22,59 +DA:23,59 +DA:24,59 DA:25,3 DA:26,3 DA:27,3 @@ -1682,147 +1774,147 @@ DA:28,3 DA:29,3 DA:30,3 DA:31,3 -DA:32,56 -DA:33,53 -DA:34,53 -DA:35,56 -DA:36,56 -DA:37,56 -DA:38,56 -DA:39,56 -DA:40,56 -DA:41,56 -DA:42,56 -DA:43,56 -DA:44,56 -DA:45,56 -DA:46,56 -DA:47,56 -DA:48,56 -DA:49,56 -DA:50,56 -DA:51,56 -DA:52,56 -DA:53,56 -DA:54,56 -DA:55,56 -DA:56,56 -DA:57,56 -DA:58,56 -DA:59,56 -DA:60,56 -DA:61,55 -DA:62,55 -DA:63,55 -DA:64,56 +DA:32,59 +DA:33,56 +DA:34,56 +DA:35,59 +DA:36,59 +DA:37,59 +DA:38,59 +DA:39,59 +DA:40,59 +DA:41,59 +DA:42,59 +DA:43,59 +DA:44,59 +DA:45,59 +DA:46,59 +DA:47,59 +DA:48,59 +DA:49,59 +DA:50,59 +DA:51,59 +DA:52,59 +DA:53,59 +DA:54,59 +DA:55,59 +DA:56,59 +DA:57,59 +DA:58,59 +DA:59,59 +DA:60,59 +DA:61,58 +DA:62,58 +DA:63,58 +DA:64,59 DA:65,0 DA:66,0 DA:67,1 DA:68,1 DA:69,1 -DA:70,56 -DA:71,56 -DA:72,56 -DA:73,56 -DA:74,56 -DA:75,56 -DA:76,56 -DA:77,56 -DA:78,56 -DA:79,56 -DA:80,56 -DA:81,336 -DA:82,336 -DA:83,336 -DA:84,336 -DA:85,336 +DA:70,59 +DA:71,59 +DA:72,59 +DA:73,59 +DA:74,59 +DA:75,59 +DA:76,59 +DA:77,59 +DA:78,59 +DA:79,59 +DA:80,59 +DA:81,354 +DA:82,354 +DA:83,354 +DA:84,354 +DA:85,354 DA:86,0 DA:87,0 DA:88,0 DA:89,0 DA:90,0 -DA:91,336 -DA:92,336 -DA:93,336 -DA:94,336 -DA:95,336 -DA:96,336 -DA:97,336 -DA:98,336 +DA:91,354 +DA:92,354 +DA:93,354 +DA:94,354 +DA:95,354 +DA:96,354 +DA:97,354 +DA:98,354 DA:99,0 DA:100,0 -DA:101,336 -DA:102,336 -DA:103,280 -DA:104,336 -DA:105,56 -DA:106,56 -DA:107,56 -DA:108,92 -DA:109,92 -DA:110,92 -DA:111,54 -DA:112,54 -DA:113,54 -DA:114,54 -DA:115,54 -DA:116,54 -DA:117,92 +DA:101,354 +DA:102,354 +DA:103,295 +DA:104,354 +DA:105,59 +DA:106,59 +DA:107,59 +DA:108,95 +DA:109,95 +DA:110,95 +DA:111,57 +DA:112,57 +DA:113,57 +DA:114,57 +DA:115,57 +DA:116,57 +DA:117,95 DA:118,38 DA:119,38 -DA:120,56 -DA:121,56 -DA:122,56 -DA:123,56 -DA:124,56 -DA:125,56 -DA:126,56 -DA:127,56 +DA:120,59 +DA:121,59 +DA:122,59 +DA:123,59 +DA:124,59 +DA:125,59 +DA:126,59 +DA:127,59 DA:128,0 -DA:129,56 -DA:130,56 -DA:131,56 -DA:132,56 -DA:133,56 -DA:134,56 -DA:135,51 -DA:136,51 -DA:137,51 -DA:138,51 -DA:139,51 +DA:129,59 +DA:130,59 +DA:131,59 +DA:132,59 +DA:133,59 +DA:134,59 +DA:135,54 +DA:136,54 +DA:137,54 +DA:138,54 +DA:139,54 DA:140,1 DA:141,1 DA:142,1 DA:143,1 -DA:144,338 -DA:145,338 -DA:146,338 -DA:147,338 -DA:148,338 -DA:149,338 -DA:150,338 -DA:151,158 -DA:152,103 -DA:153,71 -DA:154,71 -DA:155,71 +DA:144,356 +DA:145,356 +DA:146,356 +DA:147,356 +DA:148,356 +DA:149,356 +DA:150,356 +DA:151,170 +DA:152,107 +DA:153,74 +DA:154,74 +DA:155,74 DA:156,4 DA:157,4 DA:158,4 -DA:159,71 -DA:160,103 -DA:161,103 -DA:162,63 -DA:163,63 -DA:164,63 -DA:165,63 -DA:166,63 -DA:167,63 -DA:168,63 -DA:169,63 -DA:170,103 -DA:171,158 -DA:172,158 +DA:159,74 +DA:160,107 +DA:161,107 +DA:162,66 +DA:163,66 +DA:164,66 +DA:165,66 +DA:166,66 +DA:167,66 +DA:168,66 +DA:169,66 +DA:170,107 +DA:171,170 +DA:172,170 DA:173,3 DA:174,3 DA:175,3 @@ -1831,69 +1923,69 @@ DA:177,3 DA:178,3 DA:179,3 DA:180,3 -DA:181,158 -DA:182,158 -DA:183,158 -DA:184,338 -DA:185,338 -DA:186,338 -DA:187,338 -DA:188,338 -DA:189,338 -DA:190,338 -DA:191,338 -DA:192,338 -DA:193,338 -DA:194,338 +DA:181,170 +DA:182,170 +DA:183,170 +DA:184,356 +DA:185,356 +DA:186,356 +DA:187,356 +DA:188,356 +DA:189,356 +DA:190,356 +DA:191,356 +DA:192,356 +DA:193,356 +DA:194,356 DA:195,1 DA:196,1 DA:197,1 DA:198,1 LF:198 LH:188 -BRDA:5,0,0,51 -BRDA:8,1,0,56 -BRDA:9,2,0,52 -BRDA:19,3,0,56 -BRDA:22,4,0,54 +BRDA:5,0,0,54 +BRDA:8,1,0,59 +BRDA:9,2,0,55 +BRDA:19,3,0,59 +BRDA:22,4,0,57 BRDA:24,5,0,3 -BRDA:32,6,0,53 +BRDA:32,6,0,56 BRDA:43,7,0,0 BRDA:45,8,0,0 -BRDA:60,9,0,55 +BRDA:60,9,0,58 BRDA:64,10,0,1 BRDA:64,11,0,0 -BRDA:71,12,0,55 +BRDA:71,12,0,58 BRDA:71,13,0,1 -BRDA:72,14,0,55 +BRDA:72,14,0,58 BRDA:72,15,0,1 -BRDA:73,16,0,53 +BRDA:73,16,0,56 BRDA:73,17,0,3 BRDA:76,18,0,3 BRDA:77,19,0,0 BRDA:78,20,0,0 BRDA:127,21,0,0 -BRDA:80,22,0,336 +BRDA:80,22,0,354 BRDA:85,23,0,0 BRDA:98,24,0,0 -BRDA:102,25,0,280 -BRDA:104,26,0,56 -BRDA:107,27,0,92 -BRDA:110,28,0,54 +BRDA:102,25,0,295 +BRDA:104,26,0,59 +BRDA:107,27,0,95 +BRDA:110,28,0,57 BRDA:117,29,0,38 -BRDA:111,30,0,54 +BRDA:111,30,0,57 BRDA:112,31,0,0 -BRDA:143,32,0,338 +BRDA:143,32,0,356 BRDA:189,33,0,0 BRDA:190,34,0,0 -BRDA:191,35,0,320 +BRDA:191,35,0,338 BRDA:191,36,0,18 -BRDA:150,37,0,158 -BRDA:151,38,0,103 -BRDA:152,39,0,71 +BRDA:150,37,0,170 +BRDA:151,38,0,107 +BRDA:152,39,0,74 BRDA:155,40,0,4 -BRDA:161,41,0,63 -BRDA:172,42,0,95 +BRDA:161,41,0,66 +BRDA:172,42,0,104 BRDA:172,43,0,3 BRF:44 BRH:33 diff --git a/dist/entity.d.ts b/dist/entity.d.ts index 51b4c67..985e623 100644 --- a/dist/entity.d.ts +++ b/dist/entity.d.ts @@ -21,6 +21,7 @@ declare namespace entity { meta: { provide: boolean; }; + strict: boolean; ent: import("gubu").Node; }; var preload: (this: any, context: any) => { diff --git a/dist/entity.js b/dist/entity.js index 80bb5a1..6dd4b83 100644 --- a/dist/entity.js +++ b/dist/entity.js @@ -32,6 +32,9 @@ entity.defaults = { // Provide action meta object as third argument to callbacks. provide: true, }, + // Fail if entity canon does not match an entry in ent option. + strict: false, + // Entity specific options. Use entity canon string (zone/base/name) for key. ent: (0, gubu_1.Child)({ valid: (0, gubu_1.Skip)((0, gubu_1.Any)()), // Gubu valid_json: (0, gubu_1.Skip)({}), // Gubu JSON diff --git a/dist/entity.js.map b/dist/entity.js.map index e6dd05d..25e473f 100644 --- a/dist/entity.js.map +++ b/dist/entity.js.map @@ -1 +1 @@ -{"version":3,"file":"entity.js","sourceRoot":"","sources":["../src/entity.ts"],"names":[],"mappings":";AAAA,gFAAgF;;AAShF,+BAAuC;AAEvC,mCAAyC;AAEzC,mDAAsD;AACtD,uCAAmC;AAInC,4BAA4B;AAC5B,SAAS,MAAM,CAAY,QAAa;IACtC,sBAAsB;IAEtB,OAAO;QACL,+EAA+E;QAC/E,IAAI,EAAE,QAAQ;KACf,CAAA;AACH,CAAC;AAGD,MAAM,CAAC,QAAQ,GAAG;IAChB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AM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAA;AAK1D,kBAAe,MAAM,CAAA;AAErB,IAAI,WAAW,KAAK,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;IACpC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/dist/lib/make_entity.d.ts b/dist/lib/make_entity.d.ts index f21d7e1..caf719d 100644 --- a/dist/lib/make_entity.d.ts +++ b/dist/lib/make_entity.d.ts @@ -1,5 +1,5 @@ import { Canon, CanonSpec } from '../types'; -declare function entargs(this: any, ent: Entity, args: any): any; +declare function makeEntMsg(this: any, ent: Entity, entmsg: any): any; declare class Entity implements Record { entity$: string; mark$?: string; @@ -7,7 +7,7 @@ declare class Entity implements Record { canon: any; promise: boolean; get_instance: () => any; - entargs: typeof entargs; + makeEntMsg: typeof makeEntMsg; options: any; }; constructor(canon: any, seneca: any, options: any); diff --git a/dist/lib/make_entity.js b/dist/lib/make_entity.js index ed06959..d1f936b 100644 --- a/dist/lib/make_entity.js +++ b/dist/lib/make_entity.js @@ -13,27 +13,54 @@ const NO_ENTITY = null; const NO_ERROR = null; const DisallowAsDirective = { id$: true, + // Custom references and data. Not stored. custom$: true, - directive$: true, + // Merge into existing data. merge$: true, + // Skip validation on these fields. + skip$: true, + // General object for other directives. + directive$: true, }; -function entargs(ent, args) { - args.ent = ent; - // TODO: should this be: null != ? +// Construct entity message. +function makeEntMsg(ent, entmsg) { + entmsg.ent = ent; + // TODO: should this be: null != ? if (this.canon.name !== null) { - args.name = this.canon.name; + entmsg.name = this.canon.name; } if (this.canon.base !== null) { - args.base = this.canon.base; + entmsg.base = this.canon.base; } if (this.canon.zone !== null) { - args.zone = this.canon.zone; + entmsg.zone = this.canon.zone; } let directives = Object.keys(ent.directive$).filter((dname) => dname.endsWith('$') && !DisallowAsDirective[dname]); for (let dname of directives) { - args[dname] = ent.directive$[dname]; + entmsg[dname] = ent.directive$[dname]; + } + strictCanon(ent, entmsg); + return entmsg; +} +function strictCanon(ent, entmsg) { + const options = ent.private$.options; + if (options.strict && + '-/-/-' !== ent.entity$ // template entity + ) { + let entDefined = options.ent[ent.entity$] || options.ent[ent.entity$.replace(/-\//g, '')]; + // console.log('STRICT', Object.keys(options.ent), entDefined, ent.entity$) + if (!entDefined) { + const si = ent.private$.get_instance(); + const entityTemplate = si.private$.entity; + if (entityTemplate) { + const canonRouter = entityTemplate.canonRouter$; + entDefined = canonRouter && canonRouter.find(entmsg); + } + } + if (!entDefined) { + throw new Error('Entity: unknown entity: ' + ent.entity$); + } } - return args; } class Entity { constructor(canon, seneca, options) { @@ -42,7 +69,7 @@ class Entity { canon: null, promise: false, get_instance: () => null, - entargs, + makeEntMsg, options: {}, }; const private$ = this.private$; @@ -50,12 +77,13 @@ class Entity { return seneca; }; private$.canon = canon; - private$.entargs = entargs; + private$.makeEntMsg = makeEntMsg; private$.options = options; this.private$ = this.private$; // use as a quick test to identify Entity objects // returns compact string zone/base/name this.entity$ = this.canon$(); + strictCanon(this, this.canon$({ object: true })); } // Properties without '$' suffix are persisted // id property is special: created if not present when saving @@ -161,34 +189,39 @@ class Entity { * param {callback~save$} done - Callback function providing saved entity. */ save$(data, done) { + var _a; const self = this; const si = self.private$.get_instance(); let entmsg = { cmd: 'save', q: {}, ...self.private$.options.pattern_fix }; - let done$ = prepareCmd(self, data, entmsg, done); - entmsg = self.private$.entargs(self, entmsg); + const done$ = prepareCmd(self, data, entmsg, done); + entmsg = self.private$.makeEntMsg(self, entmsg); const entityTemplate = si.private$.entity; - // console.log('entityTemplate', entityTemplate) const canonRouter = entityTemplate.canonRouter$; - // console.log('canonRouter:\n' + canonRouter) if (canonRouter) { const canonOps = canonRouter.find(entmsg); - // console.log('canonOps', entmsg, canonOps) - if (canonOps && canonOps.shape) { - let odata = entmsg.ent.data$(false); - // console.log('odata', odata) - let sctx = {}; - if (null == odata.id) { - sctx.skip = { keys: ['id'] }; - } - else { - // TODO: handle merge off case - sctx.skip = { depth: 1 }; + if (canonOps) { + if (canonOps.shape) { + let odata = entmsg.ent.data$(false); + let sctx = {}; + if (null == odata.id) { + sctx.skip = { keys: ['id'] }; + } + else { + // TODO: handle merge off case + sctx.skip = { depth: 1 }; + } + let skip$ = (_a = entmsg.q) === null || _a === void 0 ? void 0 : _a.skip$; + if (skip$) { + skip$ = 'string' === typeof skip$ ? skip$.split(',') : skip$; + skip$ = Array.isArray(skip$) ? skip$.map((f) => '' + f) : []; + sctx.skip = (sctx.skip || {}); + sctx.skip.keys = (sctx.skip.keys || []); + sctx.skip.keys = sctx.skip.keys.concat(skip$); + } + let vdata = canonOps.shape(odata, sctx); + entmsg.ent.data$(vdata); } - let vdata = canonOps.shape(odata, sctx); - // console.log('VDATA', vdata, sctx, canonOps.shape.stringify()) - entmsg.ent.data$(vdata); } - // console.log('SAVE', entmsg, canonOps) } const promise = self.private$.promise && !done$; let res = promise @@ -208,7 +241,7 @@ class Entity { const promise = self.private$.promise; let entmsg = { cmd: 'native', ...self.private$.options.pattern_fix }; let done$ = prepareCmd(self, undefined, entmsg, done); - entmsg = self.private$.entargs(self, entmsg); + entmsg = self.private$.makeEntMsg(self, entmsg); let res = promise && !done ? entityPromise(si, entmsg) : (si.act(entmsg, done$), promise ? NO_ENTITY : self); @@ -236,7 +269,7 @@ class Entity { ...self.private$.options.pattern_fix, }; let done$ = prepareCmd(self, undefined, entmsg, done); - entmsg = self.private$.entargs(self, entmsg); + entmsg = self.private$.makeEntMsg(self, entmsg); const promise = self.private$.promise && !done$; // Empty query gives empty result. if (emptyQuery(q)) { @@ -278,7 +311,7 @@ class Entity { ...self.private$.options.pattern_fix, }; const done$ = prepareCmd(self, undefined, entmsg, done); - entmsg = self.private$.entargs(self, entmsg); + entmsg = self.private$.makeEntMsg(self, entmsg); const promise = self.private$.promise && !done$; let res = promise ? entityPromise(si, entmsg) @@ -308,7 +341,7 @@ class Entity { } const si = self.private$.get_instance(); const q = normalize_query(query, self); - let entmsg = self.private$.entargs(self, { + let entmsg = self.private$.makeEntMsg(self, { cmd: 'remove', q, qent: self, @@ -351,7 +384,7 @@ class Entity { close$(done) { const self = this; const si = self.private$.get_instance(); - let entmsg = self.private$.entargs(self, { + let entmsg = self.private$.makeEntMsg(self, { cmd: 'close', ...self.private$.options.pattern_fix, }); @@ -593,7 +626,8 @@ function parsecanon(str) { out.name = m[5] === '-' ? void 0 : m[5]; } else { - throw new Error(`Invalid entity canon: ${str}; expected format: zone/base/name.`); + // TOOD: should use seneca.use + throw new Error(`Entity: invalid entity canon: ${str}; expected format: zone/base/name.`); } return out; } diff --git a/dist/lib/make_entity.js.map b/dist/lib/make_entity.js.map index 841e321..d210039 100644 --- a/dist/lib/make_entity.js.map +++ b/dist/lib/make_entity.js.map @@ -1 +1 @@ -{"version":3,"file":"make_entity.js","sourceRoot":"","sources":["../../src/lib/make_entity.ts"],"names":[],"mappings":";AAAA,gFAAgF;;;AAk9BvE,gCAAU;AA98BnB,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAA;AAEnC,MAAM,YAAY,GAAQ;AACxB,uBAAuB;CACxB,CAAA;AAED,qCAAqC;AACrC,MAAM,SAAS,GAAG,IAAI,CAAA;AAEtB,8BAA8B;AAC9B,MAAM,QAAQ,GAAG,IAAI,CAAA;AAErB,MAAM,mBAAmB,GAAwB;IAC/C,GAAG,EAAE,IAAI;IACT,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;CACb,CAAA;AAED,SAAS,OAAO,CAAY,GAAW,EAAE,IAAS;IAChD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;IAEd,kCAAkC;IAElC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA;IAC7B,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC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CAAC"} \ No newline at end of file diff --git a/dist/valid.js b/dist/valid.js index 2769ad2..87d1668 100644 --- a/dist/valid.js +++ b/dist/valid.js @@ -33,7 +33,7 @@ function buildValidation(seneca, entity, options) { shape }); } - //console.log('canonRouter:\n' + canonRouter) + // console.log('canonRouter:\n' + canonRouter) ; entity.canonRouter$ = canonRouter; } diff --git a/dist/valid.js.map b/dist/valid.js.map index e976722..d03ed06 100644 --- a/dist/valid.js.map +++ b/dist/valid.js.map @@ -1 +1 @@ -{"version":3,"file":"valid.js","sourceRoot":"","sources":["../src/valid.ts"],"names":[],"mappings":";;AAuDE,0CAAe;AAtDjB,mCAA+B;AAC/B,+BAA2B;AAE3B,mDAAsD;AAGtD,SAAS,eAAe,CAAC,MAAW,EAAE,MAAc,EAAE,OAAY;IAChE,4BAA4B;IAC5B,wCAAwC;IAExC,MAAM,WAAW,GAAG,IAAA,eAAM,GAAE,CAAA;IAE5B,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,IAAI,EAAE,CAAA;IAElC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAEpC,gCAAgC;IAEhC,KAAK,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC;QAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,CAAC,CAAA;QACvB,MAAM,KAAK,GAAG,wBAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;QACzC,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAA;QAE3B,IAAI,KAAK,CAAA;QACT,IAAI,KAAK,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;QAC5B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,KAAK,GAAG,WAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA,CAAC,kCAAkC;QACxE,CAAC;aACI,IAAI,I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AE3B,IAAI,KAAK,CAAA;QACT,IAAI,KAAK,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;QAC5B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,KAAK,GAAG,WAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA,CAAC,kCAAkC;QACxE,CAAC;aACI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACpB,gFAAgF;YAChF,IAAI,KAAK,GAAG,CAAC,UAAU,KAAK,OAAO,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;gBAClE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAA;YAE3B,8BAA8B;YAE9B,KAAK,GAAG,IAAA,WAAI,EAAC,KAAK,EAAE,KAAK,CAAC,CAAA;YAC1B,qCAAqC;QACvC,CAAC;QAED,mCAAmC;QAEnC,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE;YACrB,KAAK;SACN,CAAC,CAAA;IAEJ,CAAC;IAED,8CAA8C;IAE9C,CAAC;IAAE,MAAc,CAAC,YAAY,GAAG,WAAW,CAAA;AAC9C,CAAC"} \ No newline at end of file diff --git a/src/entity.ts b/src/entity.ts index 9791548..c5ead0b 100644 --- a/src/entity.ts +++ b/src/entity.ts @@ -53,6 +53,10 @@ entity.defaults = { provide: true, }, + // Fail if entity canon does not match an entry in ent option. + strict: false, + + // Entity specific options. Use entity canon string (zone/base/name) for key. ent: Child({ valid: Skip(Any()), // Gubu valid_json: Skip({}), // Gubu JSON diff --git a/src/lib/make_entity.ts b/src/lib/make_entity.ts index c2ffe39..604d1d7 100644 --- a/src/lib/make_entity.ts +++ b/src/lib/make_entity.ts @@ -16,24 +16,34 @@ const NO_ERROR = null const DisallowAsDirective: Record = { id$: true, + + // Custom references and data. Not stored. custom$: true, - directive$: true, + + // Merge into existing data. merge$: true, + + // Skip validation on these fields. + skip$: true, + + // General object for other directives. + directive$: true, } -function entargs(this: any, ent: Entity, args: any) { - args.ent = ent - // TODO: should this be: null != ? +// Construct entity message. +function makeEntMsg(this: any, ent: Entity, entmsg: any) { + entmsg.ent = ent + // TODO: should this be: null != ? if (this.canon.name !== null) { - args.name = this.canon.name + entmsg.name = this.canon.name } if (this.canon.base !== null) { - args.base = this.canon.base + entmsg.base = this.canon.base } if (this.canon.zone !== null) { - args.zone = this.canon.zone + entmsg.zone = this.canon.zone } let directives = Object.keys(ent.directive$).filter( @@ -41,12 +51,40 @@ function entargs(this: any, ent: Entity, args: any) { ) for (let dname of directives) { - args[dname] = (ent as any).directive$[dname] + entmsg[dname] = (ent as any).directive$[dname] } - return args + strictCanon(ent, entmsg) + + return entmsg } + +function strictCanon(ent: Entity, entmsg: any) { + const options = ent.private$.options + + if ( + options.strict && + '-/-/-' !== ent.entity$ // template entity + ) { + let entDefined = options.ent[ent.entity$] || options.ent[ent.entity$.replace(/-\//g, '')] + // console.log('STRICT', Object.keys(options.ent), entDefined, ent.entity$) + if (!entDefined) { + const si = ent.private$.get_instance() + const entityTemplate = (si.private$ as any).entity + if (entityTemplate) { + const canonRouter = entityTemplate.canonRouter$ + entDefined = canonRouter && canonRouter.find(entmsg) + } + } + + if (!entDefined) { + throw new Error('Entity: unknown entity: ' + ent.entity$) + } + } +} + + class Entity implements Record { // Canon spec in string format: "zone/base/name". entity$: string @@ -59,7 +97,7 @@ class Entity implements Record { canon: null as any, promise: false, get_instance: (): any => null, - entargs, + makeEntMsg, options: {} as any, } @@ -70,7 +108,7 @@ class Entity implements Record { return seneca } private$.canon = canon - private$.entargs = entargs + private$.makeEntMsg = makeEntMsg private$.options = options this.private$ = this.private$ @@ -78,6 +116,8 @@ class Entity implements Record { // use as a quick test to identify Entity objects // returns compact string zone/base/name this.entity$ = this.canon$() + + strictCanon(this, this.canon$({ object: true })) } // Properties without '$' suffix are persisted @@ -199,38 +239,40 @@ class Entity implements Record { const si = self.private$.get_instance() let entmsg = { cmd: 'save', q: {}, ...self.private$.options.pattern_fix } - let done$ = prepareCmd(self, data, entmsg, done) - entmsg = self.private$.entargs(self, entmsg) + const done$ = prepareCmd(self, data, entmsg, done) + entmsg = self.private$.makeEntMsg(self, entmsg) const entityTemplate = (si.private$ as any).entity - - // console.log('entityTemplate', entityTemplate) - const canonRouter = entityTemplate.canonRouter$ - // console.log('canonRouter:\n' + canonRouter) - if (canonRouter) { const canonOps = canonRouter.find(entmsg) - // console.log('canonOps', entmsg, canonOps) - if (canonOps && canonOps.shape) { - let odata = entmsg.ent.data$(false) - // console.log('odata', odata) + if (canonOps) { + if (canonOps.shape) { + let odata = entmsg.ent.data$(false) - let sctx: any = {} - if (null == odata.id) { - sctx.skip = { keys: ['id'] } - } - else { - // TODO: handle merge off case - sctx.skip = { depth: 1 } + let sctx: any = {} + if (null == odata.id) { + sctx.skip = { keys: ['id'] } + } + else { + // TODO: handle merge off case + sctx.skip = { depth: 1 } + } + + let skip$ = entmsg.q?.skip$ + if (skip$) { + skip$ = 'string' === typeof skip$ ? skip$.split(',') : skip$ + skip$ = Array.isArray(skip$) ? skip$.map((f: any) => '' + f) : [] + sctx.skip = (sctx.skip || {}) + sctx.skip.keys = (sctx.skip.keys || []) + sctx.skip.keys = sctx.skip.keys.concat(skip$) + } + let vdata = canonOps.shape(odata, sctx) + entmsg.ent.data$(vdata) } - let vdata = canonOps.shape(odata, sctx) - // console.log('VDATA', vdata, sctx, canonOps.shape.stringify()) - entmsg.ent.data$(vdata) } - // console.log('SAVE', entmsg, canonOps) } const promise = self.private$.promise && !done$ @@ -256,7 +298,7 @@ class Entity implements Record { let entmsg = { cmd: 'native', ...self.private$.options.pattern_fix } let done$ = prepareCmd(self, undefined, entmsg, done) - entmsg = self.private$.entargs(self, entmsg) + entmsg = self.private$.makeEntMsg(self, entmsg) let res = promise && !done @@ -292,7 +334,7 @@ class Entity implements Record { } let done$ = prepareCmd(self, undefined, entmsg, done) - entmsg = self.private$.entargs(self, entmsg) + entmsg = self.private$.makeEntMsg(self, entmsg) const promise = self.private$.promise && !done$ @@ -347,7 +389,7 @@ class Entity implements Record { } const done$ = prepareCmd(self, undefined, entmsg, done) - entmsg = self.private$.entargs(self, entmsg) + entmsg = self.private$.makeEntMsg(self, entmsg) const promise = self.private$.promise && !done$ @@ -386,7 +428,7 @@ class Entity implements Record { const si = self.private$.get_instance() const q = normalize_query(query, self) - let entmsg = self.private$.entargs(self, { + let entmsg = self.private$.makeEntMsg(self, { cmd: 'remove', q, qent: self, @@ -440,7 +482,7 @@ class Entity implements Record { const self = this const si = self.private$.get_instance() - let entmsg = self.private$.entargs(self, { + let entmsg = self.private$.makeEntMsg(self, { cmd: 'close', ...self.private$.options.pattern_fix, }) @@ -726,14 +768,16 @@ function parsecanon(str: CanonSpec) { out.name = m[5] === '-' ? void 0 : m[5] } else { + // TOOD: should use seneca.use throw new Error( - `Invalid entity canon: ${str}; expected format: zone/base/name.`, + `Entity: invalid entity canon: ${str}; expected format: zone/base/name.`, ) } return out } + function canonstr(canon: Canon) { canon = canon || { name: '' } return [ @@ -743,6 +787,7 @@ function canonstr(canon: Canon) { ].join('/') } + function handle_options(entopts: any, seneca: any): any { entopts = entopts || Object.create(null) let Jsonic = seneca.util.Jsonic diff --git a/src/valid.ts b/src/valid.ts index aab6b48..6fcc6bc 100644 --- a/src/valid.ts +++ b/src/valid.ts @@ -46,7 +46,7 @@ function buildValidation(seneca: any, entity: Entity, options: any) { } - //console.log('canonRouter:\n' + canonRouter) + // console.log('canonRouter:\n' + canonRouter) ; (entity as any).canonRouter$ = canonRouter } diff --git a/test/entity.test.js b/test/entity.test.js index 77c3c39..21aae64 100644 --- a/test/entity.test.js +++ b/test/entity.test.js @@ -366,8 +366,8 @@ describe('entity', function () { expect('-/0/0').toEqual(fmt(si.util.parsecanon('0/0'))) expect('0/0/0').toEqual(fmt(si.util.parsecanon('0/0/0'))) - expect(() => si.util.parsecanon('')).toThrow('Invalid entity canon') - expect(() => si.util.parsecanon('?')).toThrow('Invalid entity canon') + expect(() => si.util.parsecanon('')).toThrow('entity canon') + expect(() => si.util.parsecanon('?')).toThrow('entity canon') const foo = si.make$('foo') expect('a/b/c').toEqual(fmt(foo.canon$({ parse: 'a/b/c' }))) diff --git a/test/valid.test.js b/test/valid.test.js index 4935d6d..be5fdaf 100644 --- a/test/valid.test.js +++ b/test/valid.test.js @@ -73,4 +73,76 @@ describe('valid', function () { expect(zed0.data$(false)).toMatchObject({c:true,b:{x:'X'}}) }) + + + + test('skip', async function () { + const seneca = Seneca().test().use(Entity,{ + ent: { + '-/-/foo': { + valid_json: { + $$: 'Open', + a: 'Number' + }, + }, + } + }) + + const foo0 = await seneca.entity('foo').save$({a:1,b:2}) + expect(foo0.entity$).toEqual('-/-/foo') + expect(foo0.data$(false)).toMatchObject({a:1,b:2}) + + const foo0a = await seneca.entity('foo').load$(foo0.id) + const foo0as = await foo0a.save$({b:22,skip$:['a']}) + expect(foo0as.entity$).toEqual('-/-/foo') + expect(foo0as.data$(false)).toMatchObject({a:1,b:22}) + + }) + + + test('strict', async function () { + const seneca = Seneca().test().use(Entity,{ + strict: true, + ent: { + '-/-/foo': {}, + '-/zed/bar': { + valid_json: { + a: 'Number' + } + }, + }, + }) + + const foo0 = seneca.entity('foo') + expect(foo0.entity$).toEqual('-/-/foo') + + const bar0 = seneca.entity('zed/bar') + expect(bar0.entity$).toEqual('-/zed/bar') + + try { + seneca.entity('notanentity') + expect(false).toEqual(true) + } + catch (e) { + expect(e.message).toMatch('notanentity') + } + + const foo1 = await seneca.entity('foo').save$({a:1}) + expect(foo1).toMatchObject({entity$:'-/-/foo',a:1}) + + const bar1 = await seneca.entity('zed/bar').save$({a:2}) + expect(bar1).toMatchObject({entity$:'-/zed/bar',a:2}) + + try { + await seneca.entity('zed/bar').save$({}) + } + catch (e) { + expect(e.props[0]).toEqual({ + path: 'a', + what: 'required', + type: 'number', + value: undefined + }) + } + }) })