@thisisagile/easy 17.23.1 → 17.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-VKBEWDLL.mjs → chunk-2BOK6R6N.mjs} +4 -4
- package/dist/chunk-2BOK6R6N.mjs.map +1 -0
- package/dist/{chunk-HAEVUETQ.mjs → chunk-2C5WHSM5.mjs} +2 -2
- package/dist/{chunk-UWA2JPXC.mjs → chunk-4WLPMNMB.mjs} +9 -9
- package/dist/{chunk-DUMDOMES.mjs → chunk-6ATDEGSU.mjs} +3 -3
- package/dist/{chunk-P4MEAARF.mjs → chunk-6ENYJKOF.mjs} +42 -35
- package/dist/chunk-6ENYJKOF.mjs.map +1 -0
- package/dist/{chunk-MBY7DP5K.mjs → chunk-6RSOVRW4.mjs} +4 -4
- package/dist/{chunk-MBFLUJ5X.mjs → chunk-73VXBPTL.mjs} +11 -11
- package/dist/{chunk-CHV6RMJL.mjs → chunk-7OEH5Q3V.mjs} +2 -2
- package/dist/{chunk-SHTZ4ZZ2.mjs → chunk-AWT4XDU7.mjs} +4 -4
- package/dist/{chunk-QL3DRPMM.mjs → chunk-BDKRR6H2.mjs} +2 -2
- package/dist/{chunk-VI57VONC.mjs → chunk-CHLVZFAR.mjs} +2 -2
- package/dist/{chunk-RTVVXROA.mjs → chunk-CMMMDBTK.mjs} +3 -3
- package/dist/{chunk-WUHEP5NJ.mjs → chunk-D4EFIKFU.mjs} +4 -4
- package/dist/chunk-D4EFIKFU.mjs.map +1 -0
- package/dist/{chunk-3ZX4YFOK.mjs → chunk-EOIG654K.mjs} +4 -4
- package/dist/{chunk-LMVFKEDS.mjs → chunk-F2SLQDR2.mjs} +2 -2
- package/dist/{chunk-5UUY67VD.mjs → chunk-F7MQZLCR.mjs} +3 -3
- package/dist/{chunk-3LWQJAEJ.mjs → chunk-FLJXHLSM.mjs} +3 -3
- package/dist/{chunk-7WCAHERW.mjs → chunk-GA7BBYC2.mjs} +3 -3
- package/dist/{chunk-UGTCVMQQ.mjs → chunk-GSAKK3JN.mjs} +3 -3
- package/dist/{chunk-A42HFDBS.mjs → chunk-HFBHENMJ.mjs} +3 -3
- package/dist/{chunk-A42HFDBS.mjs.map → chunk-HFBHENMJ.mjs.map} +1 -1
- package/dist/{chunk-Q7FJUYZT.mjs → chunk-HO3IEF5S.mjs} +14 -3
- package/dist/chunk-HO3IEF5S.mjs.map +1 -0
- package/dist/{chunk-J7FACY7Y.mjs → chunk-I4HFLLRR.mjs} +3 -3
- package/dist/{chunk-YAB5YLHI.mjs → chunk-J5AZL5T6.mjs} +2 -2
- package/dist/{chunk-F4JCURDN.mjs → chunk-JABPZGOG.mjs} +2 -2
- package/dist/{chunk-4BH22HLY.mjs → chunk-JJQAGAQN.mjs} +3 -3
- package/dist/{chunk-5UXTE3WM.mjs → chunk-KBB2WGTO.mjs} +2 -2
- package/dist/{chunk-MTDHDEDS.mjs → chunk-LCG5GI24.mjs} +6 -6
- package/dist/{chunk-QH2LF3L3.mjs → chunk-LIDMZELG.mjs} +3 -3
- package/dist/{chunk-KBR62ITL.mjs → chunk-N5B6HSHV.mjs} +4 -4
- package/dist/{chunk-XWRQODZZ.mjs → chunk-NUA7EUWX.mjs} +6 -6
- package/dist/{chunk-DAG7KGVL.mjs → chunk-O4CJ7NSN.mjs} +2 -2
- package/dist/{chunk-TG7T4QPS.mjs → chunk-ONWMWJ43.mjs} +2 -2
- package/dist/chunk-ONWMWJ43.mjs.map +1 -0
- package/dist/{chunk-HL7ITJJT.mjs → chunk-OVORFG3O.mjs} +2 -2
- package/dist/{chunk-4WIL3EXY.mjs → chunk-PB6SCADS.mjs} +4 -4
- package/dist/{chunk-RGO5KVRQ.mjs → chunk-QNE24TSJ.mjs} +2 -2
- package/dist/{chunk-BI3DP4QA.mjs → chunk-S2VNBE5K.mjs} +3 -3
- package/dist/{chunk-7W67IZE4.mjs → chunk-ST3P6VWM.mjs} +2 -2
- package/dist/{chunk-AMIP3FS5.mjs → chunk-TLYJ2G3X.mjs} +9 -3
- package/dist/chunk-TLYJ2G3X.mjs.map +1 -0
- package/dist/{chunk-SDGUXNY3.mjs → chunk-TMAB63X5.mjs} +2 -2
- package/dist/{chunk-BE474ULY.mjs → chunk-UCNB24EO.mjs} +2 -2
- package/dist/{chunk-YODYDO2U.mjs → chunk-W53U3D4O.mjs} +2 -2
- package/dist/{chunk-UHP56ITH.mjs → chunk-WBL4BT3I.mjs} +2 -2
- package/dist/{chunk-4K6SPD7T.mjs → chunk-WDC45I5H.mjs} +4 -4
- package/dist/{chunk-KWE3VWIW.mjs → chunk-Y5NBOPDI.mjs} +5 -5
- package/dist/chunk-Y5NBOPDI.mjs.map +1 -0
- package/dist/{chunk-OWZ5I5IV.mjs → chunk-YYIIQGLL.mjs} +13 -10
- package/dist/chunk-YYIIQGLL.mjs.map +1 -0
- package/dist/{chunk-I32HDHLS.mjs → chunk-ZNUHRHPU.mjs} +2 -2
- package/dist/data/Condition.mjs +5 -4
- package/dist/data/Database.mjs +6 -5
- package/dist/data/Field.mjs +5 -4
- package/dist/data/Field.mjs.map +1 -1
- package/dist/data/InMemoryGateway.mjs +14 -13
- package/dist/data/InMemoryGateway.mjs.map +1 -1
- package/dist/domain/Audit.mjs +18 -17
- package/dist/domain/Child.mjs +15 -14
- package/dist/domain/Child.mjs.map +1 -1
- package/dist/domain/DateTime.d.ts +1 -2
- package/dist/domain/DateTime.mjs +14 -13
- package/dist/domain/Entity.mjs +18 -17
- package/dist/domain/Entity.mjs.map +1 -1
- package/dist/domain/Repo.mjs +14 -13
- package/dist/domain/Repo.mjs.map +1 -1
- package/dist/domain/Struct.mjs +14 -13
- package/dist/domain/Typo.mjs +14 -13
- package/dist/domain/Typo.mjs.map +1 -1
- package/dist/http/CacheControl.mjs +14 -13
- package/dist/http/CacheControl.mjs.map +1 -1
- package/dist/http/ContentType.mjs +6 -5
- package/dist/http/HttpStatus.mjs +6 -5
- package/dist/http/HttpVerb.mjs +6 -5
- package/dist/http/LocalRequestStore.mjs +5 -4
- package/dist/http/LocalRequestStore.mjs.map +1 -1
- package/dist/http/RequestOptions.mjs +9 -8
- package/dist/http/RestResult.mjs +14 -13
- package/dist/http/toResponse.mjs +15 -14
- package/dist/index.d.ts +1 -0
- package/dist/index.js +48 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/process/App.mjs +7 -6
- package/dist/process/App.mjs.map +1 -1
- package/dist/process/Manage.mjs +14 -13
- package/dist/process/Manage.mjs.map +1 -1
- package/dist/process/Scope.mjs +7 -6
- package/dist/process/Search.mjs +14 -13
- package/dist/process/UseCase.d.ts +1 -1
- package/dist/process/UseCase.mjs +9 -8
- package/dist/process/UseCase.mjs.map +1 -1
- package/dist/resources/Req.mjs +13 -12
- package/dist/resources/Req.mjs.map +1 -1
- package/dist/services/Api.mjs +22 -21
- package/dist/services/ApiGateway.mjs +25 -24
- package/dist/services/AxiosProvider.mjs +20 -19
- package/dist/services/MappedRouteGateway.mjs +28 -27
- package/dist/services/MappedRouteGateway.mjs.map +1 -1
- package/dist/services/RouteGateway.mjs +26 -25
- package/dist/services/ViewRouteGateway.mjs +29 -29
- package/dist/sql/Column.mjs +13 -12
- package/dist/sql/Count.mjs +5 -4
- package/dist/sql/Delete.mjs +4 -3
- package/dist/sql/Insert.mjs +4 -3
- package/dist/sql/Select.mjs +4 -3
- package/dist/sql/SqlQuery.mjs +3 -2
- package/dist/sql/Table.mjs +22 -21
- package/dist/sql/Table.mjs.map +1 -1
- package/dist/sql/TableGateway.mjs +14 -13
- package/dist/sql/TableGateway.mjs.map +1 -1
- package/dist/sql/Update.mjs +4 -3
- package/dist/types/AnyKey.d.ts +2 -2
- package/dist/types/Cache.mjs +4 -3
- package/dist/types/Cache.mjs.map +1 -1
- package/dist/types/CacheAge.mjs +14 -13
- package/dist/types/Case.mjs +12 -11
- package/dist/types/Context.d.ts +1 -1
- package/dist/types/Context.mjs +5 -4
- package/dist/types/Enum.mjs +5 -4
- package/dist/types/Environment.mjs +5 -4
- package/dist/types/Environment.mjs.map +1 -1
- package/dist/types/Exception.mjs +7 -6
- package/dist/types/Gateway.mjs +9 -8
- package/dist/types/IsEqual.mjs +13 -12
- package/dist/types/Json.mjs +4 -3
- package/dist/types/List.d.ts +12 -9
- package/dist/types/List.mjs +2 -1
- package/dist/types/Meta.mjs +4 -3
- package/dist/types/Number.mjs +13 -12
- package/dist/types/Object.mjs +3 -2
- package/dist/types/PageList.mjs +13 -12
- package/dist/types/Parser.mjs +12 -11
- package/dist/types/Parser.mjs.map +1 -1
- package/dist/types/Repository.mjs +9 -8
- package/dist/types/Result.mjs +6 -5
- package/dist/types/Results.mjs +7 -6
- package/dist/types/Tag.mjs +4 -3
- package/dist/types/Tag.mjs.map +1 -1
- package/dist/types/Template.d.ts +0 -43
- package/dist/types/Template.mjs +6 -11
- package/dist/types/ToText.d.ts +45 -0
- package/dist/types/ToText.mjs +23 -0
- package/dist/types/ToText.mjs.map +1 -0
- package/dist/types/Try.mjs +12 -11
- package/dist/types/Uri.mjs +12 -11
- package/dist/types/Uri.mjs.map +1 -1
- package/dist/utils/If.mjs +2 -1
- package/dist/utils/Mapper.mjs +6 -5
- package/dist/utils/Promise.d.ts +2 -0
- package/dist/utils/Promise.mjs +8 -4
- package/dist/utils/Seconds.mjs +3 -2
- package/dist/utils/Sentence.mjs +4 -3
- package/dist/utils/Sentence.mjs.map +1 -1
- package/dist/utils/View.mjs +16 -16
- package/dist/validation/Contraints.mjs +13 -12
- package/dist/validation/Validate.mjs +12 -11
- package/dist/validation/When.mjs +12 -11
- package/package.json +1 -1
- package/src/domain/DateTime.ts +1 -1
- package/src/index.ts +1 -1
- package/src/process/Scope.ts +1 -1
- package/src/process/UseCase.ts +5 -5
- package/src/types/AnyKey.ts +10 -2
- package/src/types/Context.ts +6 -2
- package/src/types/Exception.ts +2 -1
- package/src/types/List.ts +17 -11
- package/src/types/Template.ts +2 -152
- package/src/types/ToText.ts +167 -0
- package/src/types/Uri.ts +1 -1
- package/src/utils/Promise.ts +5 -0
- package/src/utils/Sentence.ts +1 -1
- package/src/validation/Contraints.ts +1 -1
- package/src/validation/Validate.ts +10 -3
- package/dist/chunk-AMIP3FS5.mjs.map +0 -1
- package/dist/chunk-KWE3VWIW.mjs.map +0 -1
- package/dist/chunk-OWZ5I5IV.mjs.map +0 -1
- package/dist/chunk-P4MEAARF.mjs.map +0 -1
- package/dist/chunk-Q7FJUYZT.mjs.map +0 -1
- package/dist/chunk-TG7T4QPS.mjs.map +0 -1
- package/dist/chunk-VKBEWDLL.mjs.map +0 -1
- package/dist/chunk-WUHEP5NJ.mjs.map +0 -1
- /package/dist/{chunk-HAEVUETQ.mjs.map → chunk-2C5WHSM5.mjs.map} +0 -0
- /package/dist/{chunk-UWA2JPXC.mjs.map → chunk-4WLPMNMB.mjs.map} +0 -0
- /package/dist/{chunk-DUMDOMES.mjs.map → chunk-6ATDEGSU.mjs.map} +0 -0
- /package/dist/{chunk-MBY7DP5K.mjs.map → chunk-6RSOVRW4.mjs.map} +0 -0
- /package/dist/{chunk-MBFLUJ5X.mjs.map → chunk-73VXBPTL.mjs.map} +0 -0
- /package/dist/{chunk-CHV6RMJL.mjs.map → chunk-7OEH5Q3V.mjs.map} +0 -0
- /package/dist/{chunk-SHTZ4ZZ2.mjs.map → chunk-AWT4XDU7.mjs.map} +0 -0
- /package/dist/{chunk-QL3DRPMM.mjs.map → chunk-BDKRR6H2.mjs.map} +0 -0
- /package/dist/{chunk-VI57VONC.mjs.map → chunk-CHLVZFAR.mjs.map} +0 -0
- /package/dist/{chunk-RTVVXROA.mjs.map → chunk-CMMMDBTK.mjs.map} +0 -0
- /package/dist/{chunk-3ZX4YFOK.mjs.map → chunk-EOIG654K.mjs.map} +0 -0
- /package/dist/{chunk-LMVFKEDS.mjs.map → chunk-F2SLQDR2.mjs.map} +0 -0
- /package/dist/{chunk-5UUY67VD.mjs.map → chunk-F7MQZLCR.mjs.map} +0 -0
- /package/dist/{chunk-3LWQJAEJ.mjs.map → chunk-FLJXHLSM.mjs.map} +0 -0
- /package/dist/{chunk-7WCAHERW.mjs.map → chunk-GA7BBYC2.mjs.map} +0 -0
- /package/dist/{chunk-UGTCVMQQ.mjs.map → chunk-GSAKK3JN.mjs.map} +0 -0
- /package/dist/{chunk-J7FACY7Y.mjs.map → chunk-I4HFLLRR.mjs.map} +0 -0
- /package/dist/{chunk-YAB5YLHI.mjs.map → chunk-J5AZL5T6.mjs.map} +0 -0
- /package/dist/{chunk-F4JCURDN.mjs.map → chunk-JABPZGOG.mjs.map} +0 -0
- /package/dist/{chunk-4BH22HLY.mjs.map → chunk-JJQAGAQN.mjs.map} +0 -0
- /package/dist/{chunk-5UXTE3WM.mjs.map → chunk-KBB2WGTO.mjs.map} +0 -0
- /package/dist/{chunk-MTDHDEDS.mjs.map → chunk-LCG5GI24.mjs.map} +0 -0
- /package/dist/{chunk-QH2LF3L3.mjs.map → chunk-LIDMZELG.mjs.map} +0 -0
- /package/dist/{chunk-KBR62ITL.mjs.map → chunk-N5B6HSHV.mjs.map} +0 -0
- /package/dist/{chunk-XWRQODZZ.mjs.map → chunk-NUA7EUWX.mjs.map} +0 -0
- /package/dist/{chunk-DAG7KGVL.mjs.map → chunk-O4CJ7NSN.mjs.map} +0 -0
- /package/dist/{chunk-HL7ITJJT.mjs.map → chunk-OVORFG3O.mjs.map} +0 -0
- /package/dist/{chunk-4WIL3EXY.mjs.map → chunk-PB6SCADS.mjs.map} +0 -0
- /package/dist/{chunk-RGO5KVRQ.mjs.map → chunk-QNE24TSJ.mjs.map} +0 -0
- /package/dist/{chunk-BI3DP4QA.mjs.map → chunk-S2VNBE5K.mjs.map} +0 -0
- /package/dist/{chunk-7W67IZE4.mjs.map → chunk-ST3P6VWM.mjs.map} +0 -0
- /package/dist/{chunk-SDGUXNY3.mjs.map → chunk-TMAB63X5.mjs.map} +0 -0
- /package/dist/{chunk-BE474ULY.mjs.map → chunk-UCNB24EO.mjs.map} +0 -0
- /package/dist/{chunk-YODYDO2U.mjs.map → chunk-W53U3D4O.mjs.map} +0 -0
- /package/dist/{chunk-UHP56ITH.mjs.map → chunk-WBL4BT3I.mjs.map} +0 -0
- /package/dist/{chunk-4K6SPD7T.mjs.map → chunk-WDC45I5H.mjs.map} +0 -0
- /package/dist/{chunk-I32HDHLS.mjs.map → chunk-ZNUHRHPU.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './data/Condition';\nexport * from './data/InMemoryGateway';\nexport * from './data/Database';\nexport * from './data/DataProvider';\nexport * from './data/Field';\nexport * from './data/Query';\nexport * from './data/QueryProvider';\n\nexport * from './domain/Audit';\nexport * from './domain/Child';\nexport * from './domain/DateTime';\nexport * from './domain/Entity';\nexport * from './domain/Struct';\nexport * from './domain/Repo';\nexport * from './domain/Typo';\n\nexport * from './http/CacheControl';\nexport * from './http/ContentType';\nexport * from './http/HttpHeader';\nexport * from './http/HttpStatus';\nexport * from './http/HttpVerb';\nexport * from './http/Request';\nexport * from './http/RequestOptions';\nexport * from './http/RequestProvider';\nexport * from './http/Response';\nexport * from './http/RestResult';\nexport * from './http/toResponse';\n\nexport * from './process/App';\nexport * from './process/Manage';\nexport * from './process/Scope';\nexport * from './process/Search';\nexport * from './process/UseCase';\n\nexport * from './resources/Req';\n\nexport * from './security/Jwt';\n\nexport * from './services/Api';\nexport * from './services/ApiGateway';\nexport * from './services/AxiosProvider';\nexport * from './services/MappedRouteGateway';\nexport * from './services/RouteGateway';\nexport * from './services/ViewRouteGateway';\n\nexport * from './sql/Clause';\nexport * from './sql/Column';\nexport * from './sql/Delete';\nexport * from './sql/Insert';\nexport * from './sql/Join';\nexport * from './sql/SqlQuery';\nexport * from './sql/Select';\nexport * from './sql/Table';\nexport * from './sql/TableGateway';\nexport * from './sql/Update';\n\nexport * from './types/AnyKey';\nexport * from './types/Array';\nexport * from './types/Builder';\nexport * from './types/Cache';\nexport * from './types/CacheAge';\nexport * from './types/Case';\nexport * from './types/Constructor';\nexport * from './types/Context';\nexport * from './types/Currency';\nexport * from './types/Enum';\nexport * from './types/Environment';\nexport * from './types/ErrorOrigin';\nexport * from './types/Exception';\nexport * from './types/Falsy';\nexport * from './types/Func';\nexport * from './types/Gateway';\nexport * from './types/Get';\nexport * from './types/Id';\nexport * from './types/Identity';\nexport * from './types/IdName';\nexport * from './types/Is';\nexport * from './types/IsA';\nexport * from './types/IsDate';\nexport * from './types/IsEqual';\nexport * from './types/Json';\nexport * from './types/List';\nexport * from './types/Message';\nexport * from './types/Meta';\nexport * from './types/Nullish';\nexport * from './types/Number';\nexport * from './types/Object';\nexport * from './types/PageList';\nexport * from './types/Parser';\nexport * from './types/Primitive';\nexport * from './types/Repository';\nexport * from './types/Result';\nexport * from './types/Results';\nexport * from './types/Sort';\nexport * from './types/Tag';\nexport * from './types/Template';\nexport * from './types/Text';\nexport * from './types/Try';\nexport * from './types/TypeGuard';\nexport * from './types/Types';\nexport * from './types/Uri';\nexport * from './types/Uuid';\nexport * from './types/Validatable';\nexport * from './types/Value';\n\nexport * from './utils/Base64';\nexport * from './utils/Convert';\nexport * from './utils/If';\nexport * from './utils/Loading';\nexport * from './utils/Log';\nexport * from './utils/Mapper';\nexport * from './utils/Promise';\nexport * from './utils/Property';\nexport * from './utils/Seconds';\nexport * from './utils/State';\nexport * from './utils/Sentence';\nexport * from './utils/Traverse';\nexport * from './utils/View';\nexport * from './utils/Wait';\
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './data/Condition';\nexport * from './data/InMemoryGateway';\nexport * from './data/Database';\nexport * from './data/DataProvider';\nexport * from './data/Field';\nexport * from './data/Query';\nexport * from './data/QueryProvider';\n\nexport * from './domain/Audit';\nexport * from './domain/Child';\nexport * from './domain/DateTime';\nexport * from './domain/Entity';\nexport * from './domain/Struct';\nexport * from './domain/Repo';\nexport * from './domain/Typo';\n\nexport * from './http/CacheControl';\nexport * from './http/ContentType';\nexport * from './http/HttpHeader';\nexport * from './http/HttpStatus';\nexport * from './http/HttpVerb';\nexport * from './http/Request';\nexport * from './http/RequestOptions';\nexport * from './http/RequestProvider';\nexport * from './http/Response';\nexport * from './http/RestResult';\nexport * from './http/toResponse';\n\nexport * from './process/App';\nexport * from './process/Manage';\nexport * from './process/Scope';\nexport * from './process/Search';\nexport * from './process/UseCase';\n\nexport * from './resources/Req';\n\nexport * from './security/Jwt';\n\nexport * from './services/Api';\nexport * from './services/ApiGateway';\nexport * from './services/AxiosProvider';\nexport * from './services/MappedRouteGateway';\nexport * from './services/RouteGateway';\nexport * from './services/ViewRouteGateway';\n\nexport * from './sql/Clause';\nexport * from './sql/Column';\nexport * from './sql/Delete';\nexport * from './sql/Insert';\nexport * from './sql/Join';\nexport * from './sql/SqlQuery';\nexport * from './sql/Select';\nexport * from './sql/Table';\nexport * from './sql/TableGateway';\nexport * from './sql/Update';\n\nexport * from './types/AnyKey';\nexport * from './types/Array';\nexport * from './types/Builder';\nexport * from './types/Cache';\nexport * from './types/CacheAge';\nexport * from './types/Case';\nexport * from './types/Constructor';\nexport * from './types/Context';\nexport * from './types/Currency';\nexport * from './types/Enum';\nexport * from './types/Environment';\nexport * from './types/ErrorOrigin';\nexport * from './types/Exception';\nexport * from './types/Falsy';\nexport * from './types/Func';\nexport * from './types/Gateway';\nexport * from './types/Get';\nexport * from './types/Id';\nexport * from './types/Identity';\nexport * from './types/IdName';\nexport * from './types/Is';\nexport * from './types/IsA';\nexport * from './types/IsDate';\nexport * from './types/IsEqual';\nexport * from './types/Json';\nexport * from './types/List';\nexport * from './types/Message';\nexport * from './types/Meta';\nexport * from './types/Nullish';\nexport * from './types/Number';\nexport * from './types/Object';\nexport * from './types/PageList';\nexport * from './types/Parser';\nexport * from './types/Primitive';\nexport * from './types/Repository';\nexport * from './types/Result';\nexport * from './types/Results';\nexport * from './types/Sort';\nexport * from './types/Tag';\nexport * from './types/Template';\nexport * from './types/Text';\nexport * from './types/Try';\nexport * from './types/TypeGuard';\nexport * from './types/Types';\nexport * from './types/Uri';\nexport * from './types/Uuid';\nexport * from './types/Validatable';\nexport * from './types/Value';\n\nexport * from './utils/Base64';\nexport * from './utils/Convert';\nexport * from './utils/If';\nexport * from './utils/Loading';\nexport * from './utils/Log';\nexport * from './utils/Mapper';\nexport * from './utils/Promise';\nexport * from './utils/Property';\nexport * from './utils/Seconds';\nexport * from './utils/State';\nexport * from './utils/Sentence';\nexport * from './utils/Traverse';\nexport * from './utils/View';\nexport * from './utils/Wait';\nexport * from './validation/Contraints';\nexport * from './validation/Validate';\nexport * from './validation/When';\nexport * from './types/ToText';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AAEd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
package/dist/process/App.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Scope
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-D4EFIKFU.mjs";
|
|
4
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
5
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
6
|
+
import "../chunk-LIDMZELG.mjs";
|
|
7
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
8
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
9
|
+
import "../chunk-SSROJBD5.mjs";
|
|
9
10
|
import "../chunk-CO2AFYVD.mjs";
|
|
10
11
|
import "../chunk-BDA5LB4S.mjs";
|
|
11
12
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/process/App.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/process/App.ts"],"sourcesContent":["import { Scope } from './Scope';\n\nexport class App extends Scope {\n constructor(name: string) {\n super(name);\n }\n\n static readonly Main = new App('Main');\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/process/App.ts"],"sourcesContent":["import { Scope } from './Scope';\n\nexport class App extends Scope {\n constructor(name: string) {\n super(name);\n }\n\n static readonly Main = new App('Main');\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEO,IAAM,MAAN,MAAM,aAAY,MAAM;AAAA,EAC7B,YAAY,MAAc;AACxB,UAAM,IAAI;AAAA,EACZ;AAAA,EAEA,OAAgB,OAAO,IAAI,KAAI,MAAM;AACvC;","names":[]}
|
package/dist/process/Manage.mjs
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Search
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EOIG654K.mjs";
|
|
4
|
+
import "../chunk-JJQAGAQN.mjs";
|
|
5
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
6
6
|
import "../chunk-OFGI5FLG.mjs";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
8
|
+
import "../chunk-OVORFG3O.mjs";
|
|
9
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
10
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
11
11
|
import "../chunk-WSBULPUZ.mjs";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
13
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
14
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
15
|
+
import "../chunk-LIDMZELG.mjs";
|
|
16
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
17
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
18
|
+
import "../chunk-SSROJBD5.mjs";
|
|
18
19
|
import "../chunk-CO2AFYVD.mjs";
|
|
19
20
|
import "../chunk-BDA5LB4S.mjs";
|
|
20
21
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/process/Manage.ts"],"sourcesContent":["import { Search } from './Search';\nimport { FetchOptions } from '../types/Gateway';\nimport { Json } from '../types/Json';\nimport { Id } from '../types/Id';\n\nexport class Manage<T, Options = FetchOptions> extends Search<T, Options> {\n add(json: Json): Promise<T> {\n return this.repo.add(json);\n }\n\n update(id: Id, json: Json): Promise<T> {\n return this.repo.update(id, json);\n }\n\n upsert(id: Id, json: Json): Promise<T> {\n return this.repo.upsert(id, json);\n }\n\n remove(id: Id): Promise<boolean> {\n return this.repo.remove(id);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/process/Manage.ts"],"sourcesContent":["import { Search } from './Search';\nimport { FetchOptions } from '../types/Gateway';\nimport { Json } from '../types/Json';\nimport { Id } from '../types/Id';\n\nexport class Manage<T, Options = FetchOptions> extends Search<T, Options> {\n add(json: Json): Promise<T> {\n return this.repo.add(json);\n }\n\n update(id: Id, json: Json): Promise<T> {\n return this.repo.update(id, json);\n }\n\n upsert(id: Id, json: Json): Promise<T> {\n return this.repo.upsert(id, json);\n }\n\n remove(id: Id): Promise<boolean> {\n return this.repo.remove(id);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,IAAM,SAAN,cAAgD,OAAmB;AAAA,EACxE,IAAI,MAAwB;AAC1B,WAAO,KAAK,KAAK,IAAI,IAAI;AAAA,EAC3B;AAAA,EAEA,OAAO,IAAQ,MAAwB;AACrC,WAAO,KAAK,KAAK,OAAO,IAAI,IAAI;AAAA,EAClC;AAAA,EAEA,OAAO,IAAQ,MAAwB;AACrC,WAAO,KAAK,KAAK,OAAO,IAAI,IAAI;AAAA,EAClC;AAAA,EAEA,OAAO,IAA0B;AAC/B,WAAO,KAAK,KAAK,OAAO,EAAE;AAAA,EAC5B;AACF;","names":[]}
|
package/dist/process/Scope.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Scope
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-D4EFIKFU.mjs";
|
|
4
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
5
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
6
|
+
import "../chunk-LIDMZELG.mjs";
|
|
7
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
8
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
9
|
+
import "../chunk-SSROJBD5.mjs";
|
|
9
10
|
import "../chunk-CO2AFYVD.mjs";
|
|
10
11
|
import "../chunk-BDA5LB4S.mjs";
|
|
11
12
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/process/Search.mjs
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Search
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EOIG654K.mjs";
|
|
4
|
+
import "../chunk-JJQAGAQN.mjs";
|
|
5
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
6
6
|
import "../chunk-OFGI5FLG.mjs";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
8
|
+
import "../chunk-OVORFG3O.mjs";
|
|
9
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
10
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
11
11
|
import "../chunk-WSBULPUZ.mjs";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
13
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
14
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
15
|
+
import "../chunk-LIDMZELG.mjs";
|
|
16
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
17
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
18
|
+
import "../chunk-SSROJBD5.mjs";
|
|
18
19
|
import "../chunk-CO2AFYVD.mjs";
|
|
19
20
|
import "../chunk-BDA5LB4S.mjs";
|
|
20
21
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -8,7 +8,7 @@ export declare class UseCase extends Enum {
|
|
|
8
8
|
readonly app: App;
|
|
9
9
|
readonly scopes: List<Scope>;
|
|
10
10
|
constructor(app: App, name: string, id?: Text, scopes?: List<Scope>);
|
|
11
|
+
static byScopes<U extends UseCase>(...s: Scope[]): List<U>;
|
|
11
12
|
with(...s: Scope[]): this;
|
|
12
13
|
for(item: string | IdNamePlain): UseCase;
|
|
13
|
-
static byScopes<U extends UseCase>(...s: Scope[]): List<U>;
|
|
14
14
|
}
|
package/dist/process/UseCase.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
text
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-6ENYJKOF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Enum
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-FLJXHLSM.mjs";
|
|
7
|
+
import "../chunk-LIDMZELG.mjs";
|
|
8
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
toList
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TLYJ2G3X.mjs";
|
|
12
|
+
import "../chunk-SSROJBD5.mjs";
|
|
12
13
|
import "../chunk-CO2AFYVD.mjs";
|
|
13
14
|
import {
|
|
14
15
|
kebab
|
|
@@ -31,6 +32,9 @@ var UseCase = class _UseCase extends Enum {
|
|
|
31
32
|
this.app = app;
|
|
32
33
|
this.scopes = scopes;
|
|
33
34
|
}
|
|
35
|
+
static byScopes(...s) {
|
|
36
|
+
return this.filter((u) => u.scopes.some((us) => isIn(us, s)));
|
|
37
|
+
}
|
|
34
38
|
with(...s) {
|
|
35
39
|
this.scopes.add(
|
|
36
40
|
...toList(s).flatMap((s2) => s2.expand()).distinct()
|
|
@@ -42,9 +46,6 @@ var UseCase = class _UseCase extends Enum {
|
|
|
42
46
|
...this.scopes.map((s) => s?.for(item))
|
|
43
47
|
);
|
|
44
48
|
}
|
|
45
|
-
static byScopes(...s) {
|
|
46
|
-
return this.filter((u) => u.scopes.some((us) => isIn(us, s)));
|
|
47
|
-
}
|
|
48
49
|
};
|
|
49
50
|
export {
|
|
50
51
|
UseCase
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/process/UseCase.ts"],"sourcesContent":["import { Scope } from './Scope';\nimport { App } from './App';\nimport { Enum } from '../types/Enum';\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/process/UseCase.ts"],"sourcesContent":["import { Scope } from './Scope';\nimport { App } from './App';\nimport { Enum } from '../types/Enum';\nimport { kebab, Text } from '../types/Text';\nimport { List, toList } from '../types/List';\nimport { isIn, isString } from '../types/Is';\nimport { IdNamePlain } from '../types/IdName';\nimport { text } from '../types/ToText';\n\nexport class UseCase extends Enum {\n constructor(\n readonly app: App,\n name: string,\n id: Text = text(name).kebab,\n readonly scopes: List<Scope> = toList<Scope>()\n ) {\n super(name, id.toString());\n }\n\n static byScopes<U extends UseCase>(...s: Scope[]): List<U> {\n return this.filter(u => u.scopes.some(us => isIn(us, s)));\n }\n\n with(...s: Scope[]): this {\n this.scopes.add(\n ...toList(s)\n .flatMap(s => s.expand())\n .distinct()\n );\n return this;\n }\n\n for(item: string | IdNamePlain): UseCase {\n return new UseCase(this.app, `${this.name} ${isString(item) ? item : item?.name}`, kebab(`${this.id} ${isString(item) ? item : item.id}`)).with(\n ...this.scopes.map(s => s?.for(item))\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AASO,IAAM,UAAN,MAAM,iBAAgB,KAAK;AAAA,EAChC,YACW,KACT,MACA,KAAW,KAAK,IAAI,EAAE,OACb,SAAsB,OAAc,GAC7C;AACA,UAAM,MAAM,GAAG,SAAS,CAAC;AALhB;AAGA;AAAA,EAGX;AAAA,EAEA,OAAO,YAA+B,GAAqB;AACzD,WAAO,KAAK,OAAO,OAAK,EAAE,OAAO,KAAK,QAAM,KAAK,IAAI,CAAC,CAAC,CAAC;AAAA,EAC1D;AAAA,EAEA,QAAQ,GAAkB;AACxB,SAAK,OAAO;AAAA,MACV,GAAG,OAAO,CAAC,EACR,QAAQ,CAAAA,OAAKA,GAAE,OAAO,CAAC,EACvB,SAAS;AAAA,IACd;AACA,WAAO;AAAA,EACT;AAAA,EAEA,IAAI,MAAqC;AACvC,WAAO,IAAI,SAAQ,KAAK,KAAK,GAAG,KAAK,IAAI,IAAI,SAAS,IAAI,IAAI,OAAO,MAAM,IAAI,IAAI,MAAM,GAAG,KAAK,EAAE,IAAI,SAAS,IAAI,IAAI,OAAO,KAAK,EAAE,EAAE,CAAC,EAAE;AAAA,MACzI,GAAG,KAAK,OAAO,IAAI,OAAK,GAAG,IAAI,IAAI,CAAC;AAAA,IACtC;AAAA,EACF;AACF;","names":["s"]}
|
package/dist/resources/Req.mjs
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asNumber
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-W53U3D4O.mjs";
|
|
4
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
5
5
|
import "../chunk-OFGI5FLG.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
7
|
+
import "../chunk-OVORFG3O.mjs";
|
|
8
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
9
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
10
10
|
import "../chunk-WSBULPUZ.mjs";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
12
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
13
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
14
|
+
import "../chunk-LIDMZELG.mjs";
|
|
15
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
16
16
|
import {
|
|
17
17
|
ifDefined
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-TLYJ2G3X.mjs";
|
|
19
|
+
import "../chunk-SSROJBD5.mjs";
|
|
19
20
|
import "../chunk-CO2AFYVD.mjs";
|
|
20
21
|
import "../chunk-BDA5LB4S.mjs";
|
|
21
22
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/resources/Req.ts"],"sourcesContent":["import { PageOptions } from '../types/PageList';\nimport { Optional } from '../types/Types';\nimport { Json, JsonValue } from '../types/Json';\nimport { OneOrMore } from '../types/Array';\nimport { ifDefined } from '../utils/If';\nimport { asNumber } from '../types/Number';\nimport { Id } from '../types/Id';\nimport type { Text } from '../types/Text';\n\nexport class Req<T = unknown> implements Omit<PageOptions, 'sort'> {\n readonly skip: Optional<number>;\n readonly take: Optional<number>;\n constructor(\n readonly path: Json = {},\n readonly query: Json = {},\n readonly body: T,\n readonly headers: Record<string, OneOrMore<string>>\n ) {\n this.skip = ifDefined(query.skip, s => asNumber(s));\n this.take = ifDefined(query.take, t => asNumber(t));\n }\n\n get id(): Id {\n return this.get('id');\n }\n\n get q(): JsonValue {\n return this.get('q');\n }\n\n get = (key: Text): any => this.path[key.toString()] ?? this.query[key.toString()];\n}\n\nexport function toReq<T = unknown>(req: { params?: { id?: unknown }; query?: { q?: unknown }; body?: T; headers?: unknown }): Req {\n return new Req(req.params as Json, req.query as Json, req.body as Json, req.headers as Record<string, OneOrMore<string>>);\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/resources/Req.ts"],"sourcesContent":["import { PageOptions } from '../types/PageList';\nimport { Optional } from '../types/Types';\nimport { Json, JsonValue } from '../types/Json';\nimport { OneOrMore } from '../types/Array';\nimport { ifDefined } from '../utils/If';\nimport { asNumber } from '../types/Number';\nimport { Id } from '../types/Id';\nimport type { Text } from '../types/Text';\n\nexport class Req<T = unknown> implements Omit<PageOptions, 'sort'> {\n readonly skip: Optional<number>;\n readonly take: Optional<number>;\n constructor(\n readonly path: Json = {},\n readonly query: Json = {},\n readonly body: T,\n readonly headers: Record<string, OneOrMore<string>>\n ) {\n this.skip = ifDefined(query.skip, s => asNumber(s));\n this.take = ifDefined(query.take, t => asNumber(t));\n }\n\n get id(): Id {\n return this.get('id');\n }\n\n get q(): JsonValue {\n return this.get('q');\n }\n\n get = (key: Text): any => this.path[key.toString()] ?? this.query[key.toString()];\n}\n\nexport function toReq<T = unknown>(req: { params?: { id?: unknown }; query?: { q?: unknown }; body?: T; headers?: unknown }): Req {\n return new Req(req.params as Json, req.query as Json, req.body as Json, req.headers as Record<string, OneOrMore<string>>);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASO,IAAM,MAAN,MAA4D;AAAA,EAGjE,YACW,OAAa,CAAC,GACd,QAAc,CAAC,GACf,MACA,SACT;AAJS;AACA;AACA;AACA;AAET,SAAK,OAAO,UAAU,MAAM,MAAM,OAAK,SAAS,CAAC,CAAC;AAClD,SAAK,OAAO,UAAU,MAAM,MAAM,OAAK,SAAS,CAAC,CAAC;AAAA,EACpD;AAAA,EAVS;AAAA,EACA;AAAA,EAWT,IAAI,KAAS;AACX,WAAO,KAAK,IAAI,IAAI;AAAA,EACtB;AAAA,EAEA,IAAI,IAAe;AACjB,WAAO,KAAK,IAAI,GAAG;AAAA,EACrB;AAAA,EAEA,MAAM,CAAC,QAAmB,KAAK,KAAK,IAAI,SAAS,CAAC,KAAK,KAAK,MAAM,IAAI,SAAS,CAAC;AAClF;AAEO,SAAS,MAAmB,KAA+F;AAChI,SAAO,IAAI,IAAI,IAAI,QAAgB,IAAI,OAAe,IAAI,MAAc,IAAI,OAA4C;AAC1H;","names":[]}
|
package/dist/services/Api.mjs
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api,
|
|
3
3
|
api
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-6RSOVRW4.mjs";
|
|
5
|
+
import "../chunk-4WLPMNMB.mjs";
|
|
6
|
+
import "../chunk-GSAKK3JN.mjs";
|
|
7
|
+
import "../chunk-NUA7EUWX.mjs";
|
|
8
|
+
import "../chunk-7OEH5Q3V.mjs";
|
|
9
|
+
import "../chunk-F2SLQDR2.mjs";
|
|
10
|
+
import "../chunk-N5B6HSHV.mjs";
|
|
11
11
|
import "../chunk-SW2OCUH3.mjs";
|
|
12
12
|
import "../chunk-UYDZZAEK.mjs";
|
|
13
13
|
import "../chunk-SJ4YFZKO.mjs";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-F7MQZLCR.mjs";
|
|
15
|
+
import "../chunk-W53U3D4O.mjs";
|
|
16
|
+
import "../chunk-QNE24TSJ.mjs";
|
|
17
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
18
18
|
import "../chunk-OFGI5FLG.mjs";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
20
|
+
import "../chunk-OVORFG3O.mjs";
|
|
21
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
22
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
23
23
|
import "../chunk-WSBULPUZ.mjs";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
25
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
26
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
27
|
+
import "../chunk-LIDMZELG.mjs";
|
|
28
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
29
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
30
|
+
import "../chunk-SSROJBD5.mjs";
|
|
30
31
|
import "../chunk-CO2AFYVD.mjs";
|
|
31
32
|
import "../chunk-BDA5LB4S.mjs";
|
|
32
33
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiGateway
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-AWT4XDU7.mjs";
|
|
4
|
+
import "../chunk-6RSOVRW4.mjs";
|
|
5
|
+
import "../chunk-4WLPMNMB.mjs";
|
|
6
|
+
import "../chunk-GSAKK3JN.mjs";
|
|
7
|
+
import "../chunk-NUA7EUWX.mjs";
|
|
8
|
+
import "../chunk-7OEH5Q3V.mjs";
|
|
9
|
+
import "../chunk-F2SLQDR2.mjs";
|
|
10
|
+
import "../chunk-N5B6HSHV.mjs";
|
|
11
11
|
import "../chunk-SW2OCUH3.mjs";
|
|
12
12
|
import "../chunk-UYDZZAEK.mjs";
|
|
13
13
|
import "../chunk-SJ4YFZKO.mjs";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-F7MQZLCR.mjs";
|
|
15
|
+
import "../chunk-W53U3D4O.mjs";
|
|
16
|
+
import "../chunk-QNE24TSJ.mjs";
|
|
17
|
+
import "../chunk-I4HFLLRR.mjs";
|
|
18
|
+
import "../chunk-JJQAGAQN.mjs";
|
|
19
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
20
20
|
import "../chunk-OFGI5FLG.mjs";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
22
|
+
import "../chunk-OVORFG3O.mjs";
|
|
23
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
24
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
25
25
|
import "../chunk-WSBULPUZ.mjs";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
27
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
28
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
29
|
+
import "../chunk-LIDMZELG.mjs";
|
|
30
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
31
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
32
|
+
import "../chunk-SSROJBD5.mjs";
|
|
32
33
|
import "../chunk-CO2AFYVD.mjs";
|
|
33
34
|
import "../chunk-BDA5LB4S.mjs";
|
|
34
35
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AxiosProvider
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-4WLPMNMB.mjs";
|
|
4
|
+
import "../chunk-GSAKK3JN.mjs";
|
|
5
|
+
import "../chunk-NUA7EUWX.mjs";
|
|
6
|
+
import "../chunk-7OEH5Q3V.mjs";
|
|
7
|
+
import "../chunk-N5B6HSHV.mjs";
|
|
8
8
|
import "../chunk-SW2OCUH3.mjs";
|
|
9
9
|
import "../chunk-UYDZZAEK.mjs";
|
|
10
10
|
import "../chunk-SJ4YFZKO.mjs";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-F7MQZLCR.mjs";
|
|
12
|
+
import "../chunk-W53U3D4O.mjs";
|
|
13
|
+
import "../chunk-QNE24TSJ.mjs";
|
|
14
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
15
15
|
import "../chunk-OFGI5FLG.mjs";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
17
|
+
import "../chunk-OVORFG3O.mjs";
|
|
18
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
19
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
20
20
|
import "../chunk-WSBULPUZ.mjs";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
22
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
23
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
24
|
+
import "../chunk-LIDMZELG.mjs";
|
|
25
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
26
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
27
|
+
import "../chunk-SSROJBD5.mjs";
|
|
27
28
|
import "../chunk-CO2AFYVD.mjs";
|
|
28
29
|
import "../chunk-BDA5LB4S.mjs";
|
|
29
30
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Mapper
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WDC45I5H.mjs";
|
|
4
4
|
import "../chunk-WJZFE5NE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteGateway
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-PB6SCADS.mjs";
|
|
8
|
+
import "../chunk-AWT4XDU7.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Api
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-6RSOVRW4.mjs";
|
|
12
|
+
import "../chunk-4WLPMNMB.mjs";
|
|
13
|
+
import "../chunk-GSAKK3JN.mjs";
|
|
14
|
+
import "../chunk-NUA7EUWX.mjs";
|
|
15
|
+
import "../chunk-7OEH5Q3V.mjs";
|
|
16
|
+
import "../chunk-F2SLQDR2.mjs";
|
|
17
|
+
import "../chunk-N5B6HSHV.mjs";
|
|
18
18
|
import "../chunk-SW2OCUH3.mjs";
|
|
19
19
|
import "../chunk-UYDZZAEK.mjs";
|
|
20
20
|
import "../chunk-SJ4YFZKO.mjs";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-F7MQZLCR.mjs";
|
|
22
|
+
import "../chunk-W53U3D4O.mjs";
|
|
23
|
+
import "../chunk-QNE24TSJ.mjs";
|
|
24
24
|
import "../chunk-GCY5A63A.mjs";
|
|
25
25
|
import "../chunk-MDXL65W4.mjs";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-I4HFLLRR.mjs";
|
|
27
|
+
import "../chunk-JJQAGAQN.mjs";
|
|
28
|
+
import "../chunk-GA7BBYC2.mjs";
|
|
29
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
30
30
|
import "../chunk-OFGI5FLG.mjs";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
32
|
+
import "../chunk-OVORFG3O.mjs";
|
|
33
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
34
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
35
35
|
import "../chunk-WSBULPUZ.mjs";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
37
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
38
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
39
|
+
import "../chunk-LIDMZELG.mjs";
|
|
40
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
41
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
42
|
+
import "../chunk-SSROJBD5.mjs";
|
|
42
43
|
import "../chunk-CO2AFYVD.mjs";
|
|
43
44
|
import "../chunk-BDA5LB4S.mjs";
|
|
44
45
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/services/MappedRouteGateway.ts"],"sourcesContent":["import { Api } from './Api';\nimport { RouteGateway } from './RouteGateway';\nimport { Func } from '../types/Func';\nimport { Uri } from '../types/Uri';\nimport { Mapper } from '../utils/Mapper';\nimport { RequestOptions } from '../http/RequestOptions';\nimport { PageList } from '../types/PageList';\nimport { Json } from '../types/Json';\nimport { Optional } from '../types/Types';\n\nexport class MappedRouteGateway extends RouteGateway {\n constructor(\n readonly route: Func<Uri>,\n readonly routeId: Func<Uri>,\n readonly map = new Mapper(),\n readonly api: Api = new Api()\n ) {\n super(route, routeId, api);\n }\n\n get(uri: Uri, options?: RequestOptions): Promise<PageList<Json>> {\n return super.get(uri, options).then(is => is.map(i => this.map.in(i)));\n }\n\n getOne(uri: Uri, options?: RequestOptions): Promise<Optional<Json>> {\n return super\n .get(uri, options)\n .then(is => is.first())\n .then(i => this.map.in(i));\n }\n\n add(item: Json): Promise<Json> {\n return super.add(this.map.out(item));\n }\n\n update(item: Json): Promise<Json> {\n return super.update(this.map.out(item));\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/services/MappedRouteGateway.ts"],"sourcesContent":["import { Api } from './Api';\nimport { RouteGateway } from './RouteGateway';\nimport { Func } from '../types/Func';\nimport { Uri } from '../types/Uri';\nimport { Mapper } from '../utils/Mapper';\nimport { RequestOptions } from '../http/RequestOptions';\nimport { PageList } from '../types/PageList';\nimport { Json } from '../types/Json';\nimport { Optional } from '../types/Types';\n\nexport class MappedRouteGateway extends RouteGateway {\n constructor(\n readonly route: Func<Uri>,\n readonly routeId: Func<Uri>,\n readonly map = new Mapper(),\n readonly api: Api = new Api()\n ) {\n super(route, routeId, api);\n }\n\n get(uri: Uri, options?: RequestOptions): Promise<PageList<Json>> {\n return super.get(uri, options).then(is => is.map(i => this.map.in(i)));\n }\n\n getOne(uri: Uri, options?: RequestOptions): Promise<Optional<Json>> {\n return super\n .get(uri, options)\n .then(is => is.first())\n .then(i => this.map.in(i));\n }\n\n add(item: Json): Promise<Json> {\n return super.add(this.map.out(item));\n }\n\n update(item: Json): Promise<Json> {\n return super.update(this.map.out(item));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUO,IAAM,qBAAN,cAAiC,aAAa;AAAA,EACnD,YACW,OACA,SACA,MAAM,IAAI,OAAO,GACjB,MAAW,IAAI,IAAI,GAC5B;AACA,UAAM,OAAO,SAAS,GAAG;AALhB;AACA;AACA;AACA;AAAA,EAGX;AAAA,EAEA,IAAI,KAAU,SAAmD;AAC/D,WAAO,MAAM,IAAI,KAAK,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,OAAK,KAAK,IAAI,GAAG,CAAC,CAAC,CAAC;AAAA,EACvE;AAAA,EAEA,OAAO,KAAU,SAAmD;AAClE,WAAO,MACJ,IAAI,KAAK,OAAO,EAChB,KAAK,QAAM,GAAG,MAAM,CAAC,EACrB,KAAK,OAAK,KAAK,IAAI,GAAG,CAAC,CAAC;AAAA,EAC7B;AAAA,EAEA,IAAI,MAA2B;AAC7B,WAAO,MAAM,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC;AAAA,EACrC;AAAA,EAEA,OAAO,MAA2B;AAChC,WAAO,MAAM,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC;AAAA,EACxC;AACF;","names":[]}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RouteGateway
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-PB6SCADS.mjs";
|
|
4
|
+
import "../chunk-AWT4XDU7.mjs";
|
|
5
|
+
import "../chunk-6RSOVRW4.mjs";
|
|
6
|
+
import "../chunk-4WLPMNMB.mjs";
|
|
7
|
+
import "../chunk-GSAKK3JN.mjs";
|
|
8
|
+
import "../chunk-NUA7EUWX.mjs";
|
|
9
|
+
import "../chunk-7OEH5Q3V.mjs";
|
|
10
|
+
import "../chunk-F2SLQDR2.mjs";
|
|
11
|
+
import "../chunk-N5B6HSHV.mjs";
|
|
12
12
|
import "../chunk-SW2OCUH3.mjs";
|
|
13
13
|
import "../chunk-UYDZZAEK.mjs";
|
|
14
14
|
import "../chunk-SJ4YFZKO.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-F7MQZLCR.mjs";
|
|
16
|
+
import "../chunk-W53U3D4O.mjs";
|
|
17
|
+
import "../chunk-QNE24TSJ.mjs";
|
|
18
|
+
import "../chunk-I4HFLLRR.mjs";
|
|
19
|
+
import "../chunk-JJQAGAQN.mjs";
|
|
20
|
+
import "../chunk-YYIIQGLL.mjs";
|
|
21
21
|
import "../chunk-OFGI5FLG.mjs";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ST3P6VWM.mjs";
|
|
23
|
+
import "../chunk-OVORFG3O.mjs";
|
|
24
|
+
import "../chunk-HO3IEF5S.mjs";
|
|
25
|
+
import "../chunk-HFBHENMJ.mjs";
|
|
26
26
|
import "../chunk-WSBULPUZ.mjs";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-ONWMWJ43.mjs";
|
|
28
|
+
import "../chunk-6ENYJKOF.mjs";
|
|
29
|
+
import "../chunk-FLJXHLSM.mjs";
|
|
30
|
+
import "../chunk-LIDMZELG.mjs";
|
|
31
|
+
import "../chunk-KBB2WGTO.mjs";
|
|
32
|
+
import "../chunk-TLYJ2G3X.mjs";
|
|
33
|
+
import "../chunk-SSROJBD5.mjs";
|
|
33
34
|
import "../chunk-CO2AFYVD.mjs";
|
|
34
35
|
import "../chunk-BDA5LB4S.mjs";
|
|
35
36
|
import "../chunk-SJGQU3OG.mjs";
|