@ovok/native 1.16.1-rc.1 → 1.16.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-session.js +150 -28
- package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +25 -11
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +19 -20
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +1 -3
- package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
- package/lib/commonjs/modules/auth/session/session-snapshot.js +33 -0
- package/lib/commonjs/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +8 -10
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/commonjs/modules/background-sync/android-background-sync.js +6 -0
- package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-model.js +2 -2
- package/lib/commonjs/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +9 -9
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +81 -81
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +12 -12
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +12 -12
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js +8 -8
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +15 -15
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +7 -7
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +7 -7
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/commonjs/modules/cms/cms-locale.js +13 -0
- package/lib/commonjs/modules/cms/cms-locale.js.map +1 -0
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js +35 -14
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js +2 -6
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +11 -23
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -4
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +36 -39
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +3 -3
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/session-owner.js +18 -0
- package/lib/commonjs/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +2 -2
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/commonjs/modules/image/components/optimized-image.js +3 -3
- package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/channel.js +89 -0
- package/lib/commonjs/modules/next/bluetooth/channel.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/driver.js +48 -0
- package/lib/commonjs/modules/next/bluetooth/driver.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/drivers.js +20 -0
- package/lib/commonjs/modules/next/bluetooth/drivers.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/index.js +65 -0
- package/lib/commonjs/modules/next/bluetooth/index.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/legacy-driver.js +55 -0
- package/lib/commonjs/modules/next/bluetooth/legacy-driver.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/link.js +105 -0
- package/lib/commonjs/modules/next/bluetooth/link.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/result-policy.js +69 -0
- package/lib/commonjs/modules/next/bluetooth/result-policy.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/sig-profiles.js +164 -0
- package/lib/commonjs/modules/next/bluetooth/sig-profiles.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/sig-values.js +46 -0
- package/lib/commonjs/modules/next/bluetooth/sig-values.js.map +1 -0
- package/lib/commonjs/modules/next/ovok.js +5 -1
- package/lib/commonjs/modules/next/ovok.js.map +1 -1
- package/lib/commonjs/modules/next/use-native-ovok.js +17 -0
- package/lib/commonjs/modules/next/use-native-ovok.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +27 -27
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/commonjs/modules/socket/components/socket-provider.js +9 -4
- package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +21 -21
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/commonjs/modules/ui/components/urine-test-result.js +3 -3
- package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js +45 -0
- package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js.map +1 -0
- package/lib/commonjs/modules/wearables/constants/wearable-providers.js +60 -0
- package/lib/commonjs/modules/wearables/constants/wearable-providers.js.map +1 -0
- package/lib/commonjs/modules/wearables/index.js +50 -0
- package/lib/commonjs/modules/wearables/index.js.map +1 -0
- package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js +6 -0
- package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
- package/lib/commonjs/modules/wearables/types/wearable-source.js +6 -0
- package/lib/commonjs/modules/wearables/types/wearable-source.js.map +1 -0
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-session.js +151 -30
- package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +21 -7
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/register/components/form/register-form-provider.js +16 -17
- package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +1 -3
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/session/session-snapshot.js +28 -0
- package/lib/module/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/module/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/module/modules/background-sync/android-background-sync.js +6 -0
- package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -2
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/module/modules/cms/cms-locale.js +8 -0
- package/lib/module/modules/cms/cms-locale.js.map +1 -0
- package/lib/module/modules/cms/hooks/use-cms-content.js +35 -15
- package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-locale.js +1 -6
- package/lib/module/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-translations.js +10 -23
- package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/module/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/module/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/data-processor.js +3 -3
- package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/module/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/storage-manager.js +35 -39
- package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/module/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/module/modules/data-sync/utils/session-owner.js +13 -0
- package/lib/module/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js +1 -1
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/module/modules/image/components/optimized-image.js +3 -3
- package/lib/module/modules/image/components/optimized-image.js.map +1 -1
- package/lib/module/modules/next/bluetooth/channel.js +85 -0
- package/lib/module/modules/next/bluetooth/channel.js.map +1 -0
- package/lib/module/modules/next/bluetooth/driver.js +45 -0
- package/lib/module/modules/next/bluetooth/driver.js.map +1 -0
- package/lib/module/modules/next/bluetooth/drivers.js +17 -0
- package/lib/module/modules/next/bluetooth/drivers.js.map +1 -0
- package/lib/module/modules/next/bluetooth/index.js +8 -0
- package/lib/module/modules/next/bluetooth/index.js.map +1 -0
- package/lib/module/modules/next/bluetooth/legacy-driver.js +51 -0
- package/lib/module/modules/next/bluetooth/legacy-driver.js.map +1 -0
- package/lib/module/modules/next/bluetooth/link.js +103 -0
- package/lib/module/modules/next/bluetooth/link.js.map +1 -0
- package/lib/module/modules/next/bluetooth/result-policy.js +61 -0
- package/lib/module/modules/next/bluetooth/result-policy.js.map +1 -0
- package/lib/module/modules/next/bluetooth/sig-profiles.js +156 -0
- package/lib/module/modules/next/bluetooth/sig-profiles.js.map +1 -0
- package/lib/module/modules/next/bluetooth/sig-values.js +38 -0
- package/lib/module/modules/next/bluetooth/sig-values.js.map +1 -0
- package/lib/module/modules/next/ovok.js +5 -1
- package/lib/module/modules/next/ovok.js.map +1 -1
- package/lib/module/modules/next/use-native-ovok.js +12 -0
- package/lib/module/modules/next/use-native-ovok.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +5 -5
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/module/modules/socket/components/socket-provider.js +9 -4
- package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/module/modules/wearables/components/wearable-provider-icon.js +39 -0
- package/lib/module/modules/wearables/components/wearable-provider-icon.js.map +1 -0
- package/lib/module/modules/wearables/constants/wearable-providers.js +56 -0
- package/lib/module/modules/wearables/constants/wearable-providers.js.map +1 -0
- package/lib/module/modules/wearables/index.js +7 -0
- package/lib/module/modules/wearables/index.js.map +1 -0
- package/lib/module/modules/wearables/types/wearable-provider-icon-props.js +4 -0
- package/lib/module/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
- package/lib/module/modules/wearables/types/wearable-source.js +4 -0
- package/lib/module/modules/wearables/types/wearable-source.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts +32 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts +14 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/wearables/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts +19 -0
- package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts +32 -0
- package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts +7 -0
- package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts +9 -0
- package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
- package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts +13 -0
- package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts +14 -0
- package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts +15 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/module/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
- package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
- package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/index.d.ts +5 -0
- package/lib/typescript/module/src/modules/wearables/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts +4 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
- package/package.json +3 -3
- package/lib/commonjs/modules/auth/session/save-login.js +0 -19
- package/lib/commonjs/modules/auth/session/save-login.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-refresh.js +0 -142
- package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-request-state.js +0 -73
- package/lib/commonjs/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-types.js +0 -39
- package/lib/commonjs/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store.js +0 -144
- package/lib/commonjs/modules/auth/session/session-store.js.map +0 -1
- package/lib/module/modules/auth/session/save-login.js +0 -15
- package/lib/module/modules/auth/session/save-login.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-refresh.js +0 -138
- package/lib/module/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-request-state.js +0 -69
- package/lib/module/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-types.js +0 -33
- package/lib/module/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/module/modules/auth/session/session-store.js +0 -140
- package/lib/module/modules/auth/session/session-store.js.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +0 -1
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
class SessionStoreRequestState {
|
|
4
|
-
profileNeedsRefresh = false;
|
|
5
|
-
hasActiveAccount = false;
|
|
6
|
-
authRevision = 0;
|
|
7
|
-
constructor(client, sessionClient) {
|
|
8
|
-
this.client = client;
|
|
9
|
-
this.sessionClient = sessionClient;
|
|
10
|
-
}
|
|
11
|
-
getAccounts = () => this.sessionClient.getSavedAccounts();
|
|
12
|
-
getActiveAccountId = () => this.getAccounts().find(account => account.active)?.id ?? this.client.getActiveLogin()?.profile?.reference;
|
|
13
|
-
syncActiveAccount = () => {
|
|
14
|
-
const nextAccountId = this.getActiveAccountId();
|
|
15
|
-
if (this.hasActiveAccount && this.activeAccountId !== nextAccountId) {
|
|
16
|
-
this.invalidate();
|
|
17
|
-
}
|
|
18
|
-
this.activeAccountId = nextAccountId;
|
|
19
|
-
this.hasActiveAccount = true;
|
|
20
|
-
};
|
|
21
|
-
invalidate = () => {
|
|
22
|
-
this.authRevision += 1;
|
|
23
|
-
this.profileRequest = undefined;
|
|
24
|
-
this.sessionsRequest = undefined;
|
|
25
|
-
this.profileNeedsRefresh = false;
|
|
26
|
-
this.activeAccountId = this.getActiveAccountId();
|
|
27
|
-
this.hasActiveAccount = true;
|
|
28
|
-
};
|
|
29
|
-
nextRevision = () => ++this.authRevision;
|
|
30
|
-
get revision() {
|
|
31
|
-
return this.authRevision;
|
|
32
|
-
}
|
|
33
|
-
isCurrent = revision => revision === this.authRevision;
|
|
34
|
-
getProfileRequest = () => {
|
|
35
|
-
if (!this.profileRequest) {
|
|
36
|
-
const requestAccountId = this.getActiveAccountId();
|
|
37
|
-
const request = (this.profileNeedsRefresh ? this.client.refetchProfile() : this.client.getProfileAsync()).then(profile => {
|
|
38
|
-
if (requestAccountId === this.getActiveAccountId()) {
|
|
39
|
-
this.profileNeedsRefresh = false;
|
|
40
|
-
}
|
|
41
|
-
return profile;
|
|
42
|
-
}).catch(cause => {
|
|
43
|
-
if (requestAccountId === this.getActiveAccountId()) {
|
|
44
|
-
this.profileNeedsRefresh = true;
|
|
45
|
-
}
|
|
46
|
-
throw cause;
|
|
47
|
-
}).finally(() => {
|
|
48
|
-
if (this.profileRequest === request) {
|
|
49
|
-
this.profileRequest = undefined;
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
this.profileRequest = request;
|
|
53
|
-
}
|
|
54
|
-
return this.profileRequest;
|
|
55
|
-
};
|
|
56
|
-
getSessionsRequest = () => {
|
|
57
|
-
if (!this.sessionsRequest) {
|
|
58
|
-
const request = this.sessionClient.getSessions().finally(() => {
|
|
59
|
-
if (this.sessionsRequest === request) {
|
|
60
|
-
this.sessionsRequest = undefined;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
this.sessionsRequest = request;
|
|
64
|
-
}
|
|
65
|
-
return this.sessionsRequest;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
export { SessionStoreRequestState };
|
|
69
|
-
//# sourceMappingURL=session-store-request-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SessionStoreRequestState","profileNeedsRefresh","hasActiveAccount","authRevision","constructor","client","sessionClient","getAccounts","getSavedAccounts","getActiveAccountId","find","account","active","id","getActiveLogin","profile","reference","syncActiveAccount","nextAccountId","activeAccountId","invalidate","profileRequest","undefined","sessionsRequest","nextRevision","revision","isCurrent","getProfileRequest","requestAccountId","request","refetchProfile","getProfileAsync","then","catch","cause","finally","getSessionsRequest","getSessions"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store-request-state.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
const profileMatchesAccount = (profile, accountId) => {
|
|
4
|
-
if (!profile || !accountId) {
|
|
5
|
-
return false;
|
|
6
|
-
}
|
|
7
|
-
const identity = profile;
|
|
8
|
-
if (!identity.id) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
const profileReference = identity.resourceType ? `${identity.resourceType}/${identity.id}` : identity.id;
|
|
12
|
-
return accountId === profileReference || accountId.endsWith(`/${identity.id}`);
|
|
13
|
-
};
|
|
14
|
-
/** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
|
|
15
|
-
const createSignedOutSnapshot = (accounts, extra = {}) => ({
|
|
16
|
-
status: "signed-out",
|
|
17
|
-
profile: undefined,
|
|
18
|
-
profileAccountId: undefined,
|
|
19
|
-
accounts,
|
|
20
|
-
sessions: [],
|
|
21
|
-
...extra
|
|
22
|
-
});
|
|
23
|
-
const normalizeSession = session => {
|
|
24
|
-
const legacy = session;
|
|
25
|
-
return {
|
|
26
|
-
id: session.id,
|
|
27
|
-
authMethod: session.authMethod,
|
|
28
|
-
remoteAddress: session.remoteAddress ?? legacy.ip,
|
|
29
|
-
lastUpdated: session.lastUpdated ?? legacy.lastActiveAt ?? legacy.createdAt
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export { createSignedOutSnapshot, normalizeSession, profileMatchesAccount };
|
|
33
|
-
//# sourceMappingURL=session-store-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["profileMatchesAccount","profile","accountId","identity","id","profileReference","resourceType","endsWith","createSignedOutSnapshot","accounts","extra","status","undefined","profileAccountId","sessions","normalizeSession","session","legacy","authMethod","remoteAddress","ip","lastUpdated","lastActiveAt","createdAt"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store-types.ts"],"mappings":";;AAsBA,MAAMA,qBAAqB,GAAGA,CAACC,OAA4B,EAAEC,SAAkB,KAAK;EAClF,IAAI,CAACD,OAAO,IAAI,CAACC,SAAS,EAAE;IAC1B,OAAO,KAAK;EACd;EAEA,MAAMC,QAAQ,GAAGF,OAGhB;EAED,IAAI,CAACE,QAAQ,CAACC,EAAE,EAAE;IAChB,OAAO,KAAK;EACd;EAEA,MAAMC,gBAAgB,GAAGF,QAAQ,CAACG,YAAY,GAC1C,GAAGH,QAAQ,CAACG,YAAY,IAAIH,QAAQ,CAACC,EAAE,EAAE,GACzCD,QAAQ,CAACC,EAAE;EAEf,OAAOF,SAAS,KAAKG,gBAAgB,IAAIH,SAAS,CAACK,QAAQ,CAAC,IAAIJ,QAAQ,CAACC,EAAE,EAAE,CAAC;AAChF,CAAC;AAsBD;AACA,MAAMI,uBAAuB,GAAGA,CAC9BC,QAA4B,EAC5BC,KAA+B,GAAG,CAAC,CAAC,MACf;EACrBC,MAAM,EAAE,YAAY;EACpBV,OAAO,EAAEW,SAAS;EAClBC,gBAAgB,EAAED,SAAS;EAC3BH,QAAQ;EACRK,QAAQ,EAAE,EAAE;EACZ,GAAGJ;AACL,CAAC,CAAC;AAEF,MAAMK,gBAAgB,GAAIC,OAA0B,IAAwB;EAC1E,MAAMC,MAAM,GAAGD,OAId;EAED,OAAO;IACLZ,EAAE,EAAEY,OAAO,CAACZ,EAAE;IACdc,UAAU,EAAEF,OAAO,CAACE,UAAU;IAC9BC,aAAa,EAAEH,OAAO,CAACG,aAAa,IAAIF,MAAM,CAACG,EAAE;IACjDC,WAAW,EAAEL,OAAO,CAACK,WAAW,IAAIJ,MAAM,CAACK,YAAY,IAAIL,MAAM,CAACM;EACpE,CAAC;AACH,CAAC;AAED,SAASf,uBAAuB,EAAEO,gBAAgB,EAAEf,qBAAqB","ignoreList":[]}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { addEventListener as addNetworkEventListener } from "@react-native-community/netinfo";
|
|
4
|
-
import { isLogoutInProgress, logoutSession } from "./logout-session.js";
|
|
5
|
-
import { createSessionRefreshActions } from "./session-store-refresh.js";
|
|
6
|
-
import { SessionStoreRequestState } from "./session-store-request-state.js";
|
|
7
|
-
import { createSignedOutSnapshot } from "./session-store-types.js";
|
|
8
|
-
const stores = new WeakMap();
|
|
9
|
-
const createSessionStore = client => {
|
|
10
|
-
const sessionClient = client;
|
|
11
|
-
const listeners = new Set();
|
|
12
|
-
const requestState = new SessionStoreRequestState(client, sessionClient);
|
|
13
|
-
let unsubscribeNetwork;
|
|
14
|
-
let unsubscribeClient;
|
|
15
|
-
let wasConnected;
|
|
16
|
-
let logoutRequest;
|
|
17
|
-
const storeRef = {};
|
|
18
|
-
const notify = () => listeners.forEach(listener => listener());
|
|
19
|
-
const onClientChange = () => {
|
|
20
|
-
if (isLogoutInProgress(client) || storeRef.current?.snapshot.switching) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
void Promise.resolve().then(() => {
|
|
24
|
-
const currentStore = storeRef.current;
|
|
25
|
-
if (!currentStore || isLogoutInProgress(client) || currentStore.snapshot.switching) {
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
if (client.getActiveLogin()) {
|
|
29
|
-
void currentStore.refresh(false);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (currentStore.snapshot.status !== "authenticated" && currentStore.snapshot.status !== "offline") {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
requestState.invalidate();
|
|
36
|
-
currentStore.snapshot = createSignedOutSnapshot(requestState.getAccounts(), {
|
|
37
|
-
reason: "session-ended",
|
|
38
|
-
activeAccountId: undefined
|
|
39
|
-
});
|
|
40
|
-
notify();
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
const refreshActions = createSessionRefreshActions(client, requestState, () => storeRef.current, notify);
|
|
44
|
-
const store = {
|
|
45
|
-
snapshot: {
|
|
46
|
-
status: "loading",
|
|
47
|
-
activeAccountId: requestState.getActiveAccountId(),
|
|
48
|
-
switching: false,
|
|
49
|
-
accounts: requestState.getAccounts(),
|
|
50
|
-
sessions: []
|
|
51
|
-
},
|
|
52
|
-
subscribe: listener => {
|
|
53
|
-
listeners.add(listener);
|
|
54
|
-
if (!unsubscribeClient) {
|
|
55
|
-
client.addEventListener?.("change", onClientChange);
|
|
56
|
-
unsubscribeClient = () => client.removeEventListener?.("change", onClientChange);
|
|
57
|
-
}
|
|
58
|
-
if (!unsubscribeNetwork) {
|
|
59
|
-
unsubscribeNetwork = addNetworkEventListener(state => {
|
|
60
|
-
const isConnected = state.isConnected === true && state.isInternetReachable !== false;
|
|
61
|
-
const shouldRefresh = isConnected && wasConnected !== true && store.snapshot.status === "offline";
|
|
62
|
-
wasConnected = isConnected;
|
|
63
|
-
if (shouldRefresh) {
|
|
64
|
-
void store.refresh(false);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return () => {
|
|
69
|
-
listeners.delete(listener);
|
|
70
|
-
if (listeners.size === 0) {
|
|
71
|
-
unsubscribeClient?.();
|
|
72
|
-
unsubscribeClient = undefined;
|
|
73
|
-
unsubscribeNetwork?.();
|
|
74
|
-
unsubscribeNetwork = undefined;
|
|
75
|
-
wasConnected = undefined;
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
},
|
|
79
|
-
...refreshActions,
|
|
80
|
-
switchAccount: accountId => runAccountOperation(() => sessionClient.switchAccount(accountId)),
|
|
81
|
-
removeAccount: accountId => runAccountOperation(() => sessionClient.removeAccount(accountId)),
|
|
82
|
-
logout: async () => {
|
|
83
|
-
if (logoutRequest) {
|
|
84
|
-
return logoutRequest;
|
|
85
|
-
}
|
|
86
|
-
logoutRequest = (async () => {
|
|
87
|
-
requestState.invalidate();
|
|
88
|
-
try {
|
|
89
|
-
await logoutSession(sessionClient);
|
|
90
|
-
} finally {
|
|
91
|
-
requestState.invalidate();
|
|
92
|
-
store.snapshot = createSignedOutSnapshot(requestState.getAccounts(), {
|
|
93
|
-
activeAccountId: requestState.getActiveAccountId()
|
|
94
|
-
});
|
|
95
|
-
notify();
|
|
96
|
-
logoutRequest = undefined;
|
|
97
|
-
}
|
|
98
|
-
})();
|
|
99
|
-
return logoutRequest;
|
|
100
|
-
},
|
|
101
|
-
revokeSessions: async option => {
|
|
102
|
-
await sessionClient.revokeSessions(option);
|
|
103
|
-
await store.refresh(true);
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
storeRef.current = store;
|
|
107
|
-
async function runAccountOperation(operation) {
|
|
108
|
-
const currentStore = storeRef.current;
|
|
109
|
-
requestState.invalidate();
|
|
110
|
-
currentStore.snapshot = {
|
|
111
|
-
...currentStore.snapshot,
|
|
112
|
-
switching: true,
|
|
113
|
-
accounts: requestState.getAccounts()
|
|
114
|
-
};
|
|
115
|
-
notify();
|
|
116
|
-
try {
|
|
117
|
-
await operation();
|
|
118
|
-
} finally {
|
|
119
|
-
await currentStore.refresh(true);
|
|
120
|
-
currentStore.snapshot = {
|
|
121
|
-
...currentStore.snapshot,
|
|
122
|
-
switching: false
|
|
123
|
-
};
|
|
124
|
-
notify();
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
return store;
|
|
128
|
-
};
|
|
129
|
-
const getSessionStore = client => {
|
|
130
|
-
const key = client;
|
|
131
|
-
const existing = stores.get(key);
|
|
132
|
-
if (existing) {
|
|
133
|
-
return existing;
|
|
134
|
-
}
|
|
135
|
-
const next = createSessionStore(client);
|
|
136
|
-
stores.set(key, next);
|
|
137
|
-
return next;
|
|
138
|
-
};
|
|
139
|
-
export { getSessionStore };
|
|
140
|
-
//# sourceMappingURL=session-store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["addEventListener","addNetworkEventListener","isLogoutInProgress","logoutSession","createSessionRefreshActions","SessionStoreRequestState","createSignedOutSnapshot","stores","WeakMap","createSessionStore","client","sessionClient","listeners","Set","requestState","unsubscribeNetwork","unsubscribeClient","wasConnected","logoutRequest","storeRef","notify","forEach","listener","onClientChange","current","snapshot","switching","Promise","resolve","then","currentStore","getActiveLogin","refresh","status","invalidate","getAccounts","reason","activeAccountId","undefined","refreshActions","store","getActiveAccountId","accounts","sessions","subscribe","add","removeEventListener","state","isConnected","isInternetReachable","shouldRefresh","delete","size","switchAccount","accountId","runAccountOperation","removeAccount","logout","revokeSessions","option","operation","getSessionStore","key","existing","get","next","set"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AuthResponse, useClient } from "@ovok/core";
|
|
2
|
-
/** Stores a completed login as the active one and tells session listeners. */
|
|
3
|
-
export declare const saveLogin: (client: ReturnType<typeof useClient>, response: Pick<AuthResponse, "accessToken" | "refreshToken" | "profile" | "project">) => Promise<void>;
|
|
4
|
-
//# sourceMappingURL=save-login.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"save-login.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/save-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIrD,8EAA8E;AAC9E,eAAO,MAAM,SAAS,GACpB,QAAQ,UAAU,CAAC,OAAO,SAAS,CAAC,EACpC,UAAU,IAAI,CACZ,YAAY,EACZ,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,CACvD,kBASF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SessionStoreRequestState } from "./session-store-request-state";
|
|
2
|
-
import { type Client, type SessionStore } from "./session-store-types";
|
|
3
|
-
declare const createSessionRefreshActions: (client: Client, requestState: SessionStoreRequestState, getStore: () => SessionStore, notify: () => void) => {
|
|
4
|
-
refresh: (includeSessions: boolean) => Promise<void>;
|
|
5
|
-
refreshSessions: () => Promise<void>;
|
|
6
|
-
};
|
|
7
|
-
export { createSessionRefreshActions };
|
|
8
|
-
//# sourceMappingURL=session-store-refresh.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store-refresh.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-refresh.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAIL,KAAK,MAAM,EAEX,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAE/B,QAAA,MAAM,2BAA2B,GAC/B,QAAQ,MAAM,EACd,cAAc,wBAAwB,EACtC,UAAU,MAAM,YAAY,EAC5B,QAAQ,MAAM,IAAI;+BAEsB,OAAO;;CAyLhD,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Client, OvokNativeSession, SessionClient } from "./session-store-types";
|
|
2
|
-
declare class SessionStoreRequestState {
|
|
3
|
-
private readonly client;
|
|
4
|
-
private readonly sessionClient;
|
|
5
|
-
private profileRequest?;
|
|
6
|
-
private sessionsRequest?;
|
|
7
|
-
private profileNeedsRefresh;
|
|
8
|
-
private activeAccountId?;
|
|
9
|
-
private hasActiveAccount;
|
|
10
|
-
private authRevision;
|
|
11
|
-
constructor(client: Client, sessionClient: SessionClient);
|
|
12
|
-
getAccounts: () => import("@ovok/core").OvokSavedAccount[];
|
|
13
|
-
getActiveAccountId: () => string | undefined;
|
|
14
|
-
syncActiveAccount: () => void;
|
|
15
|
-
invalidate: () => void;
|
|
16
|
-
nextRevision: () => number;
|
|
17
|
-
get revision(): number;
|
|
18
|
-
isCurrent: (revision: number) => boolean;
|
|
19
|
-
getProfileRequest: () => Promise<import("@medplum/core").ProfileResource | undefined>;
|
|
20
|
-
getSessionsRequest: () => Promise<OvokNativeSession[]>;
|
|
21
|
-
}
|
|
22
|
-
export { SessionStoreRequestState };
|
|
23
|
-
//# sourceMappingURL=session-store-request-state.d.ts.map
|
package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store-request-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-request-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,iBAAiB,EAEjB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAE/B,cAAM,wBAAwB;IAS1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAThC,OAAO,CAAC,cAAc,CAAC,CAAmB;IAC1C,OAAO,CAAC,eAAe,CAAC,CAA+B;IACvD,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,YAAY,CAAK;gBAGN,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa;IAG/C,WAAW,gDAA+C;IAE1D,kBAAkB,2BAEiC;IAEnD,iBAAiB,aASf;IAEF,UAAU,aAOR;IAEF,YAAY,eAA6B;IAEzC,IAAI,QAAQ,WAEX;IAED,SAAS,GAAI,UAAU,MAAM,aAAoC;IAEjE,iBAAiB,qEAiCf;IAEF,kBAAkB,qCAYhB;CACH;AAED,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { OvokNativeSession, SessionRevokeOption, SessionStatus } from "../types/session";
|
|
2
|
-
import type { OvokSavedAccount, useClient } from "@ovok/core";
|
|
3
|
-
type Client = ReturnType<typeof useClient>;
|
|
4
|
-
type Profile = Awaited<ReturnType<Client["getProfileAsync"]>>;
|
|
5
|
-
interface SessionSnapshot {
|
|
6
|
-
status: SessionStatus;
|
|
7
|
-
activeAccountId?: string;
|
|
8
|
-
reason?: "session-ended";
|
|
9
|
-
switching?: boolean;
|
|
10
|
-
accounts: OvokSavedAccount[];
|
|
11
|
-
profile?: Profile;
|
|
12
|
-
profileAccountId?: string;
|
|
13
|
-
sessions: OvokNativeSession[];
|
|
14
|
-
error?: Error;
|
|
15
|
-
}
|
|
16
|
-
declare const profileMatchesAccount: (profile: Profile | undefined, accountId?: string) => boolean;
|
|
17
|
-
interface SessionClient {
|
|
18
|
-
getSavedAccounts: () => OvokSavedAccount[];
|
|
19
|
-
switchAccount: (accountId: string) => Promise<void>;
|
|
20
|
-
removeAccount: (accountId: string) => Promise<void>;
|
|
21
|
-
logout: () => Promise<void>;
|
|
22
|
-
getSessions: () => Promise<OvokNativeSession[]>;
|
|
23
|
-
revokeSessions: (option: SessionRevokeOption) => Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
interface SessionStore {
|
|
26
|
-
snapshot: SessionSnapshot;
|
|
27
|
-
subscribe: (listener: () => void) => () => void;
|
|
28
|
-
refresh: (includeSessions: boolean) => Promise<void>;
|
|
29
|
-
refreshSessions: () => Promise<void>;
|
|
30
|
-
switchAccount: (accountId: string) => Promise<void>;
|
|
31
|
-
removeAccount: (accountId: string) => Promise<void>;
|
|
32
|
-
logout: () => Promise<void>;
|
|
33
|
-
revokeSessions: (option: SessionRevokeOption) => Promise<void>;
|
|
34
|
-
}
|
|
35
|
-
/** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
|
|
36
|
-
declare const createSignedOutSnapshot: (accounts: OvokSavedAccount[], extra?: Partial<SessionSnapshot>) => SessionSnapshot;
|
|
37
|
-
declare const normalizeSession: (session: OvokNativeSession) => OvokNativeSession;
|
|
38
|
-
export { createSignedOutSnapshot, normalizeSession, profileMatchesAccount };
|
|
39
|
-
export type { Client, OvokNativeSession, OvokSavedAccount, Profile, SessionClient, SessionSnapshot, SessionStore, };
|
|
40
|
-
//# sourceMappingURL=session-store-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE9D,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3C,KAAK,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE9D,UAAU,eAAe;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,qBAAqB,GAAI,SAAS,OAAO,GAAG,SAAS,EAAE,YAAY,MAAM,YAmB9E,CAAC;AAEF,UAAU,aAAa;IACrB,gBAAgB,EAAE,MAAM,gBAAgB,EAAE,CAAC;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,WAAW,EAAE,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAChD,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,YAAY;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAChD,OAAO,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,gHAAgH;AAChH,QAAA,MAAM,uBAAuB,GAC3B,UAAU,gBAAgB,EAAE,EAC5B,QAAO,OAAO,CAAC,eAAe,CAAM,KACnC,eAOD,CAAC;AAEH,QAAA,MAAM,gBAAgB,GAAI,SAAS,iBAAiB,KAAG,iBAatD,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;AAC5E,YAAY,EACV,MAAM,EACN,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,eAAe,EACf,YAAY,GACb,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAEN,YAAY,EACb,MAAM,uBAAuB,CAAC;AA+K/B,QAAA,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,YAazC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AuthResponse, useClient } from "@ovok/core";
|
|
2
|
-
/** Stores a completed login as the active one and tells session listeners. */
|
|
3
|
-
export declare const saveLogin: (client: ReturnType<typeof useClient>, response: Pick<AuthResponse, "accessToken" | "refreshToken" | "profile" | "project">) => Promise<void>;
|
|
4
|
-
//# sourceMappingURL=save-login.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"save-login.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/save-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIrD,8EAA8E;AAC9E,eAAO,MAAM,SAAS,GACpB,QAAQ,UAAU,CAAC,OAAO,SAAS,CAAC,EACpC,UAAU,IAAI,CACZ,YAAY,EACZ,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,CACvD,kBASF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SessionStoreRequestState } from "./session-store-request-state";
|
|
2
|
-
import { type Client, type SessionStore } from "./session-store-types";
|
|
3
|
-
declare const createSessionRefreshActions: (client: Client, requestState: SessionStoreRequestState, getStore: () => SessionStore, notify: () => void) => {
|
|
4
|
-
refresh: (includeSessions: boolean) => Promise<void>;
|
|
5
|
-
refreshSessions: () => Promise<void>;
|
|
6
|
-
};
|
|
7
|
-
export { createSessionRefreshActions };
|
|
8
|
-
//# sourceMappingURL=session-store-refresh.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store-refresh.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-refresh.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAIL,KAAK,MAAM,EAEX,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAE/B,QAAA,MAAM,2BAA2B,GAC/B,QAAQ,MAAM,EACd,cAAc,wBAAwB,EACtC,UAAU,MAAM,YAAY,EAC5B,QAAQ,MAAM,IAAI;+BAEsB,OAAO;;CAyLhD,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Client, OvokNativeSession, SessionClient } from "./session-store-types";
|
|
2
|
-
declare class SessionStoreRequestState {
|
|
3
|
-
private readonly client;
|
|
4
|
-
private readonly sessionClient;
|
|
5
|
-
private profileRequest?;
|
|
6
|
-
private sessionsRequest?;
|
|
7
|
-
private profileNeedsRefresh;
|
|
8
|
-
private activeAccountId?;
|
|
9
|
-
private hasActiveAccount;
|
|
10
|
-
private authRevision;
|
|
11
|
-
constructor(client: Client, sessionClient: SessionClient);
|
|
12
|
-
getAccounts: () => import("@ovok/core").OvokSavedAccount[];
|
|
13
|
-
getActiveAccountId: () => string | undefined;
|
|
14
|
-
syncActiveAccount: () => void;
|
|
15
|
-
invalidate: () => void;
|
|
16
|
-
nextRevision: () => number;
|
|
17
|
-
get revision(): number;
|
|
18
|
-
isCurrent: (revision: number) => boolean;
|
|
19
|
-
getProfileRequest: () => Promise<import("@medplum/core").ProfileResource | undefined>;
|
|
20
|
-
getSessionsRequest: () => Promise<OvokNativeSession[]>;
|
|
21
|
-
}
|
|
22
|
-
export { SessionStoreRequestState };
|
|
23
|
-
//# sourceMappingURL=session-store-request-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store-request-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-request-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,iBAAiB,EAEjB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAE/B,cAAM,wBAAwB;IAS1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAThC,OAAO,CAAC,cAAc,CAAC,CAAmB;IAC1C,OAAO,CAAC,eAAe,CAAC,CAA+B;IACvD,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,YAAY,CAAK;gBAGN,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa;IAG/C,WAAW,gDAA+C;IAE1D,kBAAkB,2BAEiC;IAEnD,iBAAiB,aASf;IAEF,UAAU,aAOR;IAEF,YAAY,eAA6B;IAEzC,IAAI,QAAQ,WAEX;IAED,SAAS,GAAI,UAAU,MAAM,aAAoC;IAEjE,iBAAiB,qEAiCf;IAEF,kBAAkB,qCAYhB;CACH;AAED,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { OvokNativeSession, SessionRevokeOption, SessionStatus } from "../types/session";
|
|
2
|
-
import type { OvokSavedAccount, useClient } from "@ovok/core";
|
|
3
|
-
type Client = ReturnType<typeof useClient>;
|
|
4
|
-
type Profile = Awaited<ReturnType<Client["getProfileAsync"]>>;
|
|
5
|
-
interface SessionSnapshot {
|
|
6
|
-
status: SessionStatus;
|
|
7
|
-
activeAccountId?: string;
|
|
8
|
-
reason?: "session-ended";
|
|
9
|
-
switching?: boolean;
|
|
10
|
-
accounts: OvokSavedAccount[];
|
|
11
|
-
profile?: Profile;
|
|
12
|
-
profileAccountId?: string;
|
|
13
|
-
sessions: OvokNativeSession[];
|
|
14
|
-
error?: Error;
|
|
15
|
-
}
|
|
16
|
-
declare const profileMatchesAccount: (profile: Profile | undefined, accountId?: string) => boolean;
|
|
17
|
-
interface SessionClient {
|
|
18
|
-
getSavedAccounts: () => OvokSavedAccount[];
|
|
19
|
-
switchAccount: (accountId: string) => Promise<void>;
|
|
20
|
-
removeAccount: (accountId: string) => Promise<void>;
|
|
21
|
-
logout: () => Promise<void>;
|
|
22
|
-
getSessions: () => Promise<OvokNativeSession[]>;
|
|
23
|
-
revokeSessions: (option: SessionRevokeOption) => Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
interface SessionStore {
|
|
26
|
-
snapshot: SessionSnapshot;
|
|
27
|
-
subscribe: (listener: () => void) => () => void;
|
|
28
|
-
refresh: (includeSessions: boolean) => Promise<void>;
|
|
29
|
-
refreshSessions: () => Promise<void>;
|
|
30
|
-
switchAccount: (accountId: string) => Promise<void>;
|
|
31
|
-
removeAccount: (accountId: string) => Promise<void>;
|
|
32
|
-
logout: () => Promise<void>;
|
|
33
|
-
revokeSessions: (option: SessionRevokeOption) => Promise<void>;
|
|
34
|
-
}
|
|
35
|
-
/** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
|
|
36
|
-
declare const createSignedOutSnapshot: (accounts: OvokSavedAccount[], extra?: Partial<SessionSnapshot>) => SessionSnapshot;
|
|
37
|
-
declare const normalizeSession: (session: OvokNativeSession) => OvokNativeSession;
|
|
38
|
-
export { createSignedOutSnapshot, normalizeSession, profileMatchesAccount };
|
|
39
|
-
export type { Client, OvokNativeSession, OvokSavedAccount, Profile, SessionClient, SessionSnapshot, SessionStore, };
|
|
40
|
-
//# sourceMappingURL=session-store-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE9D,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3C,KAAK,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE9D,UAAU,eAAe;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,qBAAqB,GAAI,SAAS,OAAO,GAAG,SAAS,EAAE,YAAY,MAAM,YAmB9E,CAAC;AAEF,UAAU,aAAa;IACrB,gBAAgB,EAAE,MAAM,gBAAgB,EAAE,CAAC;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,WAAW,EAAE,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAChD,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,YAAY;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAChD,OAAO,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,gHAAgH;AAChH,QAAA,MAAM,uBAAuB,GAC3B,UAAU,gBAAgB,EAAE,EAC5B,QAAO,OAAO,CAAC,eAAe,CAAM,KACnC,eAOD,CAAC;AAEH,QAAA,MAAM,gBAAgB,GAAI,SAAS,iBAAiB,KAAG,iBAatD,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;AAC5E,YAAY,EACV,MAAM,EACN,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,eAAe,EACf,YAAY,GACb,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-store.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAEN,YAAY,EACb,MAAM,uBAAuB,CAAC;AA+K/B,QAAA,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,YAazC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|