This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const initialize = async ( | |
| options?: ModuleServiceInitializeOptions | ..., | |
| pluginLinksDefinitions?: ModuleJoinerConfig[], | |
| injectedDependencies?: InitializeModuleInjectableDependencies | |
| ): Promise<{ [link: string]: ILinkModule }> => { | |
| // Accumulator object that will store all initialized link modules | |
| // Keys are service names (e.g., 'store_product'), values are ILinkModule instances | |
| const allLinks = {} | |
| /* | |
| allLinks: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //-------------------------------Function explanation----------------------------------------- | |
| export function defineLink( | |
| leftService: DefineLinkInputSource | DefineReadOnlyLinkInputSource, | |
| // StoreModule.linkable.store (CombinedSource with toJSON method) | |
| rightService: DefineLinkInputSource | DefineReadOnlyLinkInputSource, | |
| // { linkable: ProductModule.linkable.product, isList: true } (InputOptions) | |
| linkServiceOptions?: ExtraOptions | ReadOnlyExtraOptions | |
| // { database: { table: "store_product", idPrefix: "strprod" } } | |
| ): DefineLinkExport { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async function loadInternalModule(loadOptions) { | |
| try { | |
| // FUNCTION BREADCRUMB: loadInternalModule() | |
| // | |
| // INPUT: | |
| // loadOptions = { | |
| // container: AiminaabeeContainer, // Parent DI container (Awilix container instance) | |
| // resolution: ModuleResolution, // Module config object with path, options, dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
| "name": "Vesper", | |
| "author": "Rauno Freiberg", | |
| "themes": [ | |
| { | |
| "name": "Vesper", | |
| "appearance": "dark", | |
| "style": { | |
| "border": "#101010", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {captureException} from '@sentry/react-native'; | |
| import {AuthorizeResult, refresh, RefreshResult} from 'react-native-app-auth'; | |
| import {stores} from '../../stores'; | |
| import {STORAGE_KEYS} from '../../utils/constants'; | |
| import {EFAAS_CONFIG} from '../../utils/efaasConfig'; | |
| import {saveSecureValue, getSecureValue} from '../../utils/getToken'; | |
| export const TOKEN_TO_STORAGE_KEYS = { | |
| access: STORAGE_KEYS.ACCESS_TOKEN, | |
| refresh: STORAGE_KEYS.REFRESH_TOKEN, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "typescript.tsdk": "node_modules/typescript/lib", | |
| "eslint.validate": ["javascript", "javascriptreact"], | |
| "eslint.format.enable": true, | |
| //breadcrumbs | |
| "breadcrumbs.enabled": false, | |
| //zoom | |
| "window.zoomLevel": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {AuthorizeResult, refresh, RefreshResult} from 'react-native-app-auth'; | |
| import {EFAAS_CONFIG} from './efaasConfig'; | |
| import {getSecureValue, saveSecureValue} from './getToken'; | |
| import {captureException} from './sentry'; | |
| import {stores} from '../stores'; | |
| import {STORAGE_KEYS} from './constants'; | |
| export const TOKEN_TO_STORAGE_KEYS = { | |
| access: STORAGE_KEYS.ACCESS_TOKEN, | |
| refresh: STORAGE_KEYS.REFRESH_TOKEN, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, {useEffect, useRef, useState} from 'react'; | |
| import {Alert, StyleSheet} from 'react-native'; | |
| import {View, Text} from 'react-native-ui-lib'; | |
| import {NavigationFunctionComponent} from 'react-native-navigation'; | |
| import {observer} from 'mobx-react'; | |
| //lottie | |
| import LottieView from 'lottie-react-native'; | |
| import {lotties} from '../../assets/lotties'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useEffect } from 'react'; | |
| import {StyleSheet, ImageBackground, Button} from 'react-native'; | |
| import {View, Image} from 'react-native-ui-lib'; | |
| import {NavigationFunctionComponent} from 'react-native-navigation'; | |
| import { observer } from 'mobx-react'; | |
| import { PinCodeT } from '../../components/PinComponent'; | |
| //services | |
| import {useServices} from '../../services'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { | |
| withAppBuildGradle, | |
| withProjectBuildGradle, | |
| withMainApplication, | |
| withPlugins, | |
| } = require('@expo/config-plugins'); | |
| const withMultidexMainApplication = (config) => { | |
| return withMainApplication(config, (config) => { |
NewerOlder