├── apps ├── api │ ├── src │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ └── app │ │ │ └── app.module.ts │ ├── tsconfig.json │ ├── tsconfig.spec.json │ ├── tsconfig.app.json │ └── .eslintrc.json ├── web │ ├── src │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── favicon.ico │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── styles.css │ │ ├── polyfills.ts │ │ ├── app │ │ │ └── app.tsx │ │ ├── index.html │ │ └── main.tsx │ ├── react-table-config.d.ts │ ├── .babelrc │ ├── proxy.conf.js │ ├── jest.config.ts │ └── .eslintrc.json ├── web-e2e │ ├── src │ │ ├── support │ │ │ └── app.po.ts │ │ └── fixtures │ │ │ └── example.json │ ├── cypress.config.ts │ ├── .eslintrc.json │ └── tsconfig.json ├── api-e2e │ ├── src │ │ └── helpers │ │ │ ├── random-int.ts │ │ │ ├── index.ts │ │ │ ├── uniq.ts │ │ │ └── api-e2e.constants.ts │ ├── tsconfig.json │ ├── tsconfig.spec.json │ ├── tsconfig.app.json │ └── .eslintrc.json └── sdk-e2e │ ├── src │ └── integration │ │ └── helpers │ │ └── index.ts │ ├── tsconfig.json │ ├── tsconfig.spec.json │ ├── tsconfig.app.json │ ├── .eslintrc.json │ └── jest.config.js ├── libs ├── dev │ └── jest │ │ ├── src │ │ ├── index.ts │ │ └── executors │ │ │ └── build │ │ │ ├── schema.d.ts │ │ │ └── schema.json │ │ ├── package.json │ │ ├── .babelrc │ │ ├── README.md │ │ ├── tsconfig.lib.json │ │ ├── tsconfig.spec.json │ │ ├── executors.json │ │ ├── tsconfig.json │ │ ├── .eslintrc.json │ │ └── jest.config.ts ├── web │ ├── keypair │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── keypair-feature-lib.tsx │ │ │ ├── .babelrc │ │ │ └── README.md │ │ ├── ui │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ └── .babelrc │ │ └── data-access │ │ │ ├── src │ │ │ ├── index.ts │ │ │ └── lib │ │ │ │ └── web-keypair.entity.tsx │ │ │ ├── .babelrc │ │ │ └── README.md │ ├── ui │ │ ├── card │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-ui-card.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── copy │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-ui-copy.spec.tsx │ │ │ ├── README.md │ │ │ └── .babelrc │ │ ├── address │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── alert │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-ui-alert.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── tooltip │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-ui-tooltip.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── container │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-ui-container.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── identicon │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── gradient-avatar │ │ │ │ │ ├── README.md │ │ │ │ │ └── gradient-avatars.spec.ts │ │ │ │ │ └── web-ui-identicon.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── app-avatar │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-ui-app-avatar.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── form │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── link │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── loader │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── web-ui-loader.tsx │ │ │ │ │ └── web-ui-loader.spec.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── page │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── web-ui-page.spec.tsx │ │ │ │ │ └── web-ui-page-back.button.tsx │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── jest.config.ts │ │ ├── table │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── web-ui-data-table.tsx │ │ │ │ │ └── web-ui-data-table.spec.tsx │ │ │ └── jest.config.ts │ │ └── layout │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ ├── src │ │ │ └── index.ts │ │ │ └── jest.config.ts │ ├── auth │ │ ├── data-access │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ └── README.md │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ └── .babelrc │ │ └── ui │ │ │ ├── src │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ └── .babelrc │ ├── shell │ │ ├── data-access │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ └── README.md │ │ └── feature │ │ │ ├── src │ │ │ ├── lib │ │ │ │ └── feature │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ └── .babelrc │ ├── toolbox │ │ ├── data-access │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ └── README.md │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ └── README.md │ │ └── ui │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── src │ │ │ └── lib │ │ │ ├── web-toolbox-ui-explorer-link.tsx │ │ │ └── web-toolbox-ui-result.tsx │ ├── app │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ └── .babelrc │ │ ├── data-access │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ └── README.md │ │ └── ui │ │ │ ├── README.md │ │ │ └── .babelrc │ ├── dev │ │ └── feature │ │ │ ├── src │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ └── .babelrc │ ├── admin │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── user │ │ │ │ │ ├── web-admin-feature-user-apps.tsx │ │ │ │ │ └── web-admin-feature-user-emails.tsx │ │ │ │ │ └── migration │ │ │ │ │ └── web-admin-feature-migration.tsx │ │ │ ├── README.md │ │ │ └── .babelrc │ │ └── ui │ │ │ ├── README.md │ │ │ └── .babelrc │ ├── server │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-server-feature.tsx │ │ │ ├── .babelrc │ │ │ └── README.md │ │ ├── data-access │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── web-server.entity.tsx │ │ │ ├── .babelrc │ │ │ └── README.md │ │ └── ui │ │ │ ├── README.md │ │ │ ├── .babelrc │ │ │ └── src │ │ │ └── index.ts │ └── util │ │ └── sdk │ │ ├── src │ │ ├── index.ts │ │ ├── lib │ │ │ ├── create-graphql-client.tsx │ │ │ └── graphql-provider.tsx │ │ └── graphql │ │ │ └── feature-auth.graphql │ │ ├── README.md │ │ ├── .babelrc │ │ └── jest.config.ts ├── sdk │ ├── src │ │ ├── generated │ │ │ ├── .openapi-generator │ │ │ │ ├── VERSION │ │ │ │ └── FILES │ │ │ ├── .gitignore │ │ │ └── .npmignore │ │ ├── version.ts │ │ └── lib │ │ │ ├── interfaces │ │ │ ├── get-kinetic-transaction.options.ts │ │ │ ├── kinetic-sdk-logger.ts │ │ │ ├── get-transaction-options.ts │ │ │ ├── transfer-destination.ts │ │ │ ├── get-balance-options.ts │ │ │ ├── get-history-options.ts │ │ │ ├── get-account-info-options.ts │ │ │ ├── get-token-accounts-options.ts │ │ │ ├── create-account-options.ts │ │ │ ├── close-account-options.ts │ │ │ ├── request-airdrop-options.ts │ │ │ ├── make-transfer-batch-options.ts │ │ │ └── kinetic-sdk-config.ts │ │ │ ├── helpers │ │ │ ├── index.ts │ │ │ ├── get-app-mint.ts │ │ │ ├── get-token-address.ts │ │ │ └── kin-to-quarks.ts │ │ │ └── kinetic-sdk-polyfills.ts │ ├── .babelrc │ ├── package.json │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── .eslintrc.json ├── api │ ├── app │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── src │ │ │ └── lib │ │ │ │ ├── dto │ │ │ │ ├── user-app-env-create.input.ts │ │ │ │ ├── user-app-user-remove.input.ts │ │ │ │ ├── user-app-update.input.ts │ │ │ │ ├── user-app-mint-update.input.ts │ │ │ │ ├── user-app-user-add.input.ts │ │ │ │ └── user-app-user-update-role.input.ts │ │ │ │ └── entity │ │ │ │ ├── app-config-api.entity.ts │ │ │ │ ├── app-config-app.entity.ts │ │ │ │ ├── app-user-role.enum.ts │ │ │ │ ├── app-health.entity.ts │ │ │ │ ├── app-env-stats.entity.ts │ │ │ │ └── app-config-environment.entity.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── auth │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ ├── util │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── hash.password.ts │ │ │ │ │ └── validate.password.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── src │ │ │ └── lib │ │ │ │ ├── entities │ │ │ │ ├── auth-request.entity.ts │ │ │ │ └── auth-token.entity.ts │ │ │ │ ├── guards │ │ │ │ ├── api-auth-github.guard.ts │ │ │ │ ├── api-auth-google.guard.ts │ │ │ │ └── api-auth-discord.guard.ts │ │ │ │ ├── dto │ │ │ │ └── user-login.input.ts │ │ │ │ └── decorators │ │ │ │ └── ctx-user.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── config │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── .babelrc │ │ │ ├── src │ │ │ ├── lib │ │ │ │ ├── entity │ │ │ │ │ ├── provisioned-app.entity.ts │ │ │ │ │ ├── api-config-summary.entity.ts │ │ │ │ │ └── web-config.entity.ts │ │ │ │ └── api-config-data-access.module.ts │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ ├── core │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ ├── data-access │ │ │ ├── .babelrc │ │ │ ├── src │ │ │ │ ├── version.ts │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── entities │ │ │ │ │ ├── migration-status.entity.ts │ │ │ │ │ └── migration.entity.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ └── util │ │ │ ├── README.md │ │ │ ├── src │ │ │ ├── index.ts │ │ │ └── lib │ │ │ │ └── ellipsify.ts │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── kinetic │ │ ├── util │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ ├── api-kinetic-feature.controller.ts │ │ │ │ │ └── api-kinetic-feature.module.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── .babelrc │ │ │ ├── src │ │ │ └── lib │ │ │ │ ├── interfaces │ │ │ │ └── transaction-with-errors.ts │ │ │ │ └── entities │ │ │ │ ├── context.entity.ts │ │ │ │ ├── minimum-rent-exemption-balance-request.dto.ts │ │ │ │ ├── minimum-rent-exemption-balance-response.entity.ts │ │ │ │ ├── latest-blockhash-response.entity.ts │ │ │ │ ├── transaction-data.entity.ts │ │ │ │ ├── compiled-instruction.entity.ts │ │ │ │ ├── history-response.entity.ts │ │ │ │ └── compiled-inner-instruction.entity.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── queue │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── api-queue-feature.module.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ ├── src │ │ │ └── index.ts │ │ │ └── .eslintrc.json │ ├── user │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── src │ │ │ └── lib │ │ │ │ ├── dto │ │ │ │ ├── user-search-user.input.ts │ │ │ │ └── admin-user-update.input.ts │ │ │ │ └── entities │ │ │ │ ├── user-role.enum.ts │ │ │ │ ├── user-identity-type.enum.ts │ │ │ │ └── user-email.entity.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── wallet │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── src │ │ │ ├── lib │ │ │ │ └── entity │ │ │ │ │ ├── wallet-type.enum.ts │ │ │ │ │ └── wallet-airdrop-response.entity.ts │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── account │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── api-account-feature.module.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── src │ │ │ ├── index.ts │ │ │ └── lib │ │ │ │ └── entities │ │ │ │ └── balance-token.entity.ts │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ ├── airdrop │ │ ├── feature │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── lib │ │ │ │ │ └── api-airdrop-feature.module.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ ├── util │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── airdrop-response.ts │ │ │ │ │ └── airdrop-config.ts │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── src │ │ │ ├── lib │ │ │ │ └── entity │ │ │ │ │ └── request-airdrop-response.entity.ts │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── cluster │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ ├── util │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── src │ │ │ └── lib │ │ │ │ └── entity │ │ │ │ ├── mint-type.enum.ts │ │ │ │ ├── cluster-type.enum.ts │ │ │ │ └── cluster-status.enum.ts │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── transaction │ │ ├── feature │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ │ └── data-access │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── src │ │ │ └── lib │ │ │ │ └── entities │ │ │ │ ├── transaction-status.enum.ts │ │ │ │ ├── transaction-error-type.enum.ts │ │ │ │ └── transaction-counter.entity.ts │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.lib.json │ │ │ └── .eslintrc.json │ ├── cron │ │ └── data-access │ │ │ ├── src │ │ │ └── index.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ ├── solana │ │ └── data-access │ │ │ ├── src │ │ │ ├── index.ts │ │ │ └── lib │ │ │ │ └── api-solana-data-access.module.ts │ │ │ ├── .babelrc │ │ │ ├── README.md │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ ├── tsconfig.json │ │ │ └── .eslintrc.json │ └── webhook │ │ ├── feature │ │ ├── src │ │ │ └── index.ts │ │ ├── .babelrc │ │ ├── README.md │ │ ├── tsconfig.spec.json │ │ ├── tsconfig.lib.json │ │ ├── tsconfig.json │ │ └── .eslintrc.json │ │ └── data-access │ │ ├── .babelrc │ │ ├── src │ │ ├── lib │ │ │ └── entity │ │ │ │ ├── webhook-type.enum.ts │ │ │ │ └── webhook-direction.enum.ts │ │ └── index.ts │ │ ├── README.md │ │ ├── tsconfig.spec.json │ │ ├── tsconfig.lib.json │ │ ├── tsconfig.json │ │ └── .eslintrc.json ├── keypair │ ├── .babelrc │ ├── src │ │ ├── version.ts │ │ └── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── .eslintrc.json └── solana │ ├── .babelrc │ ├── src │ ├── version.ts │ ├── lib │ │ ├── interfaces │ │ │ ├── balance-mint.ts │ │ │ ├── balance-mint-map.ts │ │ │ ├── public-key-string.ts │ │ │ ├── solana-config.ts │ │ │ ├── balance-token.ts │ │ │ ├── commitment.enum.ts │ │ │ ├── solana-logger.ts │ │ │ ├── mint.accounts.ts │ │ │ ├── destination.ts │ │ │ ├── token-balance.ts │ │ │ ├── balance-summary.ts │ │ │ └── generate-close-account-transaction.options.ts │ │ ├── kin │ │ │ ├── transaction-type.ts │ │ │ ├── kin-memo-constants.ts │ │ │ ├── __snapshots__ │ │ │ │ ├── create-kin-memo.spec.ts.snap │ │ │ │ └── generate-memo-instruction.spec.ts.snap │ │ │ └── index.ts │ │ └── helpers │ │ │ ├── serialize-transaction.ts │ │ │ ├── get-public-key.ts │ │ │ └── convert-finality.ts │ └── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── .eslintrc.json ├── .dockerignore ├── heroku.yml ├── tools ├── generators │ ├── lib │ │ ├── files │ │ │ ├── ui │ │ │ │ └── lib │ │ │ │ │ └── __name__-__type__-lib.tsx__tmpl__ │ │ │ └── feature │ │ │ │ └── lib │ │ │ │ └── __name__-__type__-lib.tsx__tmpl__ │ │ ├── index.ts │ │ └── helpers │ │ │ ├── delete-files.ts │ │ │ ├── add-import-from.ts │ │ │ └── update-source-file.ts │ ├── api-feature │ │ └── index.ts │ └── react-feature │ │ └── index.ts ├── prometheus.yaml ├── tsconfig.tools.json └── grafana-data │ ├── datasources │ └── datasource.yml │ └── dashboards-provisioning │ └── dashboards.yaml ├── babel.config.json ├── .husky ├── pre-commit └── pre-push ├── .prettierignore ├── jest.preset.js ├── .prettierrc ├── jest.config.ts ├── openapitools.json ├── .vscode └── extensions.json └── .editorconfig /apps/api/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/web/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/dev/jest/src/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/web/keypair/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | tmp 4 | -------------------------------------------------------------------------------- /libs/sdk/src/generated/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 6.1.0 -------------------------------------------------------------------------------- /libs/web/keypair/feature/src/lib/keypair-feature-lib.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /heroku.yml: -------------------------------------------------------------------------------- 1 | build: 2 | docker: 3 | web: Dockerfile 4 | -------------------------------------------------------------------------------- /libs/web/ui/card/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-card' 2 | -------------------------------------------------------------------------------- /libs/web/ui/copy/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-copy' 2 | -------------------------------------------------------------------------------- /tools/generators/lib/files/ui/lib/__name__-__type__-lib.tsx__tmpl__: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/web/ui/address/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-address' 2 | -------------------------------------------------------------------------------- /libs/web/ui/alert/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-alert' 2 | -------------------------------------------------------------------------------- /libs/web/ui/tooltip/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-tooltip' 2 | -------------------------------------------------------------------------------- /tools/generators/lib/files/feature/lib/__name__-__type__-lib.tsx__tmpl__: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/web/ui/container/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-container' 2 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-identicon' 2 | -------------------------------------------------------------------------------- /libs/api/app/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-app-feature.module' 2 | -------------------------------------------------------------------------------- /libs/web/auth/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-auth-provider' 2 | -------------------------------------------------------------------------------- /libs/web/ui/app-avatar/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-app-avatar' 2 | -------------------------------------------------------------------------------- /babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "babelrcRoots": ["*"], 3 | "plugins": ["istanbul"] 4 | } 5 | -------------------------------------------------------------------------------- /libs/api/auth/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-auth-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/config/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-config-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/core/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-core-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/parse-transaction-error' 2 | -------------------------------------------------------------------------------- /libs/api/queue/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-queue-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/user/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-user-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/wallet/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-wallet-feature.module' 2 | -------------------------------------------------------------------------------- /libs/sdk/src/generated/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /libs/web/shell/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-config-provider' 2 | -------------------------------------------------------------------------------- /libs/web/toolbox/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-toolbox-provider' 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn lint-staged 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn format:check 5 | -------------------------------------------------------------------------------- /apps/web-e2e/src/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getHeader = () => cy.get('.cy-header') 2 | -------------------------------------------------------------------------------- /libs/api/account/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-account-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-airdrop-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/cluster/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-cluster-feature.module' 2 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-kinetic-feature.module' 2 | -------------------------------------------------------------------------------- /apps/web/react-table-config.d.ts: -------------------------------------------------------------------------------- 1 | export * from '@saas-ui/data-table/src/react-table-config.d' 2 | -------------------------------------------------------------------------------- /libs/api/transaction/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-transaction-feature.module' 2 | -------------------------------------------------------------------------------- /libs/sdk/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /apps/web/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-labs/kinetic/HEAD/apps/web/src/favicon.ico -------------------------------------------------------------------------------- /libs/keypair/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/solana/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/web/app/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export { WebAppFeature as default } from './lib/web-app-feature' 2 | -------------------------------------------------------------------------------- /libs/web/dev/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export { WebDevFeature as default } from './lib/web-dev-feature' 2 | -------------------------------------------------------------------------------- /apps/api/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | } 4 | -------------------------------------------------------------------------------- /apps/api/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: false, 3 | } 4 | -------------------------------------------------------------------------------- /apps/web/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | } 4 | -------------------------------------------------------------------------------- /libs/sdk/src/version.ts: -------------------------------------------------------------------------------- 1 | export const NAME = '@kin-kinetic/sdk' 2 | export const VERSION = '1.0.0-rc.18' 3 | -------------------------------------------------------------------------------- /libs/web/admin/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export { WebAdminFeature as default } from './lib/web-admin-feature' 2 | -------------------------------------------------------------------------------- /libs/web/auth/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export { WebAuthFeature as default } from './lib/web-auth-feature' 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Add files here to ignore them from prettier formatting 2 | 3 | /dist 4 | /coverage 5 | tmp 6 | -------------------------------------------------------------------------------- /libs/api/account/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/api/config/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/api/core/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/api/core/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/solana/src/version.ts: -------------------------------------------------------------------------------- 1 | export const NAME = '@kin-kinetic/solana' 2 | export const VERSION = '1.0.0-rc.18' 3 | -------------------------------------------------------------------------------- /libs/web/server/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export { WebServerFeature as default } from './lib/web-server-feature' 2 | -------------------------------------------------------------------------------- /libs/web/ui/form/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-form' 2 | export * from './lib/web-ui-form-modal' 3 | -------------------------------------------------------------------------------- /jest.preset.js: -------------------------------------------------------------------------------- 1 | const nxPreset = require('@nrwl/jest/preset').default 2 | 3 | module.exports = { ...nxPreset } 4 | -------------------------------------------------------------------------------- /libs/api/account/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/src/lib/airdrop-response.ts: -------------------------------------------------------------------------------- 1 | export interface AirdropResponse { 2 | signature: string 3 | } 4 | -------------------------------------------------------------------------------- /libs/api/auth/util/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/hash.password' 2 | export * from './lib/validate.password' 3 | -------------------------------------------------------------------------------- /libs/api/config/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/api/transaction/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/keypair/src/version.ts: -------------------------------------------------------------------------------- 1 | export const NAME = '@kin-kinetic/keypair' 2 | export const VERSION = '1.0.0-rc.18' 3 | -------------------------------------------------------------------------------- /libs/web/toolbox/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export { WebToolboxFeature as default } from './lib/web-toolbox-feature' 2 | -------------------------------------------------------------------------------- /libs/web/ui/link/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-link' 2 | export * from './lib/web-ui-settings.link' 3 | -------------------------------------------------------------------------------- /libs/web/ui/loader/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-loader' 2 | export * from './lib/web-ui-loader.page' 3 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] 3 | } 4 | -------------------------------------------------------------------------------- /libs/sdk/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@kin-kinetic/sdk", 3 | "version": "1.0.0-rc.18", 4 | "license": "MIT" 5 | } 6 | -------------------------------------------------------------------------------- /libs/api/core/data-access/src/version.ts: -------------------------------------------------------------------------------- 1 | export const NAME = '@kin-kinetic/api' 2 | export const VERSION = '1.0.0-rc.18' 3 | -------------------------------------------------------------------------------- /libs/sdk/src/generated/.npmignore: -------------------------------------------------------------------------------- 1 | # empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm -------------------------------------------------------------------------------- /libs/solana/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@kin-kinetic/solana", 3 | "version": "1.0.0-rc.18", 4 | "license": "MIT" 5 | } 6 | -------------------------------------------------------------------------------- /libs/web/keypair/ui/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-keypair-ui-import' 2 | export * from './lib/web-keypair-ui-item' 3 | -------------------------------------------------------------------------------- /libs/keypair/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@kin-kinetic/keypair", 3 | "version": "1.0.0-rc.18", 4 | "license": "MIT" 5 | } 6 | -------------------------------------------------------------------------------- /libs/web/keypair/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-keypair.entity' 2 | export * from './lib/web-keypair-provider' 3 | -------------------------------------------------------------------------------- /libs/web/shell/feature/src/lib/feature/index.ts: -------------------------------------------------------------------------------- 1 | export * from './about/about-index' 2 | export * from './not-found/not-found' 3 | -------------------------------------------------------------------------------- /apps/web-e2e/src/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io" 4 | } 5 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-cron.service' 2 | export * from './lib/api-cron-data-access.module' 3 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/balance-mint.ts: -------------------------------------------------------------------------------- 1 | export interface BalanceMint { 2 | decimals: number 3 | publicKey: string 4 | } 5 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-solana.service' 2 | export * from './lib/api-solana-data-access.module' 3 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-webhook-feature.controller' 2 | export * from './lib/api-webhook-feature.module' 3 | -------------------------------------------------------------------------------- /apps/web/src/styles.css: -------------------------------------------------------------------------------- 1 | body, 2 | html, 3 | #root { 4 | height: 100vh; 5 | --chakra-colors-chakra-body-bg: var(--chakra-colors-gray-900); 6 | } 7 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "printWidth": 120, 4 | "semi": false, 5 | "trailingComma": "all", 6 | "arrowParens": "always" 7 | } 8 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/balance-mint-map.ts: -------------------------------------------------------------------------------- 1 | import BigNumber from 'bignumber.js' 2 | 3 | export type BalanceMintMap = Record 4 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/public-key-string.ts: -------------------------------------------------------------------------------- 1 | import { PublicKey } from '@solana/web3.js' 2 | 3 | export type PublicKeyString = PublicKey | string 4 | -------------------------------------------------------------------------------- /libs/web/shell/feature/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-shell-feature' 2 | export { WebShellFeatureRoutes } from './lib/web-shell-feature-routes' 3 | -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- 1 | const { getJestProjects } = require('@nrwl/jest') 2 | 3 | module.exports = { 4 | projects: getJestProjects(), 5 | testTimeout: 20000, 6 | } 7 | -------------------------------------------------------------------------------- /libs/web/util/sdk/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated/graphql' 2 | export * from './lib/create-graphql-client' 3 | export * from './lib/graphql-provider' 4 | -------------------------------------------------------------------------------- /libs/sdk/src/generated/.openapi-generator/FILES: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .npmignore 3 | api.ts 4 | base.ts 5 | common.ts 6 | configuration.ts 7 | git_push.sh 8 | index.ts 9 | -------------------------------------------------------------------------------- /libs/solana/src/lib/kin/transaction-type.ts: -------------------------------------------------------------------------------- 1 | export enum TransactionType { 2 | Unknown = -1, 3 | None = 0, 4 | Earn = 1, 5 | Spend = 2, 6 | P2P = 3, 7 | } 8 | -------------------------------------------------------------------------------- /libs/dev/jest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@kin-kinetic-dev/jest", 3 | "version": "0.0.1", 4 | "main": "src/index.js", 5 | "executors": "./executors.json" 6 | } 7 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/get-kinetic-transaction.options.ts: -------------------------------------------------------------------------------- 1 | export interface GetKineticTransactionOptions { 2 | reference?: string 3 | signature?: string 4 | } 5 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/solana-config.ts: -------------------------------------------------------------------------------- 1 | import { SolanaLogger } from './solana-logger' 2 | 3 | export interface SolanaConfig { 4 | logger?: SolanaLogger 5 | } 6 | -------------------------------------------------------------------------------- /libs/web/server/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-server-db' 2 | export * from './lib/web-server-provider' 3 | export * from './lib/web-server.entity' 4 | -------------------------------------------------------------------------------- /libs/api/cluster/util/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/get-cluster-mints' 2 | export * from './lib/get-provisioned-clusters' 3 | export * from './lib/get-provisioned-mints' 4 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/balance-token.ts: -------------------------------------------------------------------------------- 1 | export interface BalanceToken { 2 | account: string 3 | balance: string 4 | decimals: number 5 | mint: string 6 | } 7 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/commitment.enum.ts: -------------------------------------------------------------------------------- 1 | export enum Commitment { 2 | Confirmed = 'Confirmed', 3 | Finalized = 'Finalized', 4 | Processed = 'Processed', 5 | } 6 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/solana-logger.ts: -------------------------------------------------------------------------------- 1 | export interface SolanaLogger { 2 | error: (...params: unknown[]) => void 3 | log: (...params: unknown[]) => void 4 | } 5 | -------------------------------------------------------------------------------- /libs/web/app/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-app-provider' 2 | export * from './lib/web-apps-provider' 3 | export * from './lib/web-transaction-provider' 4 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/src/lib/gradient-avatar/README.md: -------------------------------------------------------------------------------- 1 | This implementation is highly based on code from https://github.com/tobiaslins/avatar (MIT License 2017, Tobias Lins) 2 | -------------------------------------------------------------------------------- /libs/dev/jest/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/kinetic-sdk-logger.ts: -------------------------------------------------------------------------------- 1 | export interface KineticSdkLogger { 2 | error: (...params: unknown[]) => void 3 | log: (...params: unknown[]) => void 4 | } 5 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/airdrop' 2 | export { AirdropConfig } from './lib/airdrop-config' 3 | export { AirdropResponse } from './lib/airdrop-response' 4 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/solana/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/helpers' 2 | export * from './lib/interfaces' 3 | export * from './lib/kin' 4 | export * from './lib/solana' 5 | export * from './version' 6 | -------------------------------------------------------------------------------- /libs/web/server/data-access/src/lib/web-server.entity.tsx: -------------------------------------------------------------------------------- 1 | export interface WebServerEntity { 2 | id?: number 3 | endpoint: string 4 | name: string 5 | selected?: boolean 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/auth/util/src/lib/hash.password.ts: -------------------------------------------------------------------------------- 1 | import { hashSync } from 'bcrypt' 2 | 3 | export function hashPassword(password: string): string { 4 | return hashSync(password, 10) 5 | } 6 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/queue/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './get-app-mint' 2 | export * from './get-solana-rpc-endpoint' 3 | export * from './get-token-address' 4 | export * from './kin-to-quarks' 5 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/mint.accounts.ts: -------------------------------------------------------------------------------- 1 | import { BalanceMint } from './balance-mint' 2 | 3 | export interface MintAccounts { 4 | mint: BalanceMint 5 | accounts: string[] 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /openapitools.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", 3 | "spaces": 2, 4 | "generator-cli": { 5 | "version": "6.1.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /apps/web/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic" 7 | } 8 | ] 9 | ], 10 | "plugins": [] 11 | } 12 | -------------------------------------------------------------------------------- /apps/api-e2e/src/helpers/random-int.ts: -------------------------------------------------------------------------------- 1 | export function getRandomInt(min, max) { 2 | min = Math.ceil(min) 3 | max = Math.floor(max) 4 | return Math.floor(Math.random() * (max - min + 1)) + min 5 | } 6 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/destination.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from './public-key-string' 2 | 3 | export interface Destination { 4 | amount: string 5 | destination: PublicKeyString 6 | } 7 | -------------------------------------------------------------------------------- /libs/solana/src/lib/kin/kin-memo-constants.ts: -------------------------------------------------------------------------------- 1 | export const MAGIC_BYTE = 0x1 2 | export const MAX_TRANSACTION_TYPE = 3 3 | export const MAX_APP_INDEX = Math.pow(2, 16) - 1 4 | export const MAX_VERSION = 1 5 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "nrwl.angular-console", 4 | "esbenp.prettier-vscode", 5 | "firsttris.vscode-jest-runner", 6 | "dbaeumer.vscode-eslint" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/get-transaction-options.ts: -------------------------------------------------------------------------------- 1 | import { Commitment } from '../../generated' 2 | 3 | export interface GetTransactionOptions { 4 | commitment?: Commitment 5 | signature: string 6 | } 7 | -------------------------------------------------------------------------------- /apps/api-e2e/src/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api-e2e.constants' 2 | export * from './get-endpoint' 3 | export * from './initialize-e2e-app' 4 | export * from './run-query' 5 | export * from './random-int' 6 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/dto/user-app-env-create.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | 3 | @InputType() 4 | export class UserAppEnvCreateInput { 5 | @Field() 6 | name: string 7 | } 8 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/transfer-destination.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | 3 | export interface TransferDestination { 4 | amount: string 5 | destination: PublicKeyString 6 | } 7 | -------------------------------------------------------------------------------- /libs/web/auth/ui/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-auth-discord.button' 2 | export * from './lib/web-auth-git-hub.button' 3 | export * from './lib/web-auth-google.button' 4 | export * from './lib/web-auth-ui-button' 5 | -------------------------------------------------------------------------------- /libs/web/ui/page/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-page' 2 | export * from './lib/web-ui-page-back.button' 3 | export * from './lib/web-ui-page-header' 4 | export { WebUiPageFull } from './lib/web-ui-page-full' 5 | -------------------------------------------------------------------------------- /apps/sdk-e2e/src/integration/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export const [DEFAULT_MINT] = process.env.SOLANA_LOCAL_MINT_KIN 2 | // Remove the asterisk from the start of the mint it is present 3 | .replace('*', '') 4 | .split(',') 5 | -------------------------------------------------------------------------------- /apps/web-e2e/cypress.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'cypress' 2 | import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset' 3 | 4 | export default defineConfig({ 5 | e2e: nxE2EPreset(__dirname), 6 | }) 7 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/src/lib/entity/request-airdrop-response.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class RequestAirdropResponse { 4 | @ApiProperty() 5 | signature: string 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/dto/user-app-user-remove.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | 3 | @InputType() 4 | export class UserAppUserRemoveInput { 5 | @Field() 6 | userId: string 7 | } 8 | -------------------------------------------------------------------------------- /libs/api/config/data-access/src/lib/entity/provisioned-app.entity.ts: -------------------------------------------------------------------------------- 1 | export interface ProvisionedApp { 2 | enableWebhooks: boolean 3 | index: number 4 | logoUrl?: string 5 | name: string 6 | secret: string 7 | } 8 | -------------------------------------------------------------------------------- /libs/web/app/ui/README.md: -------------------------------------------------------------------------------- 1 | # web-app-ui 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-app-ui` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/entities/auth-request.entity.ts: -------------------------------------------------------------------------------- 1 | import { Request } from 'express' 2 | 3 | export interface AuthRequest extends Request { 4 | user: { id: string; username: string; password?: string } 5 | } 6 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/interfaces/transaction-with-errors.ts: -------------------------------------------------------------------------------- 1 | import { Transaction, TransactionError } from '@prisma/client' 2 | 3 | export type TransactionWithErrors = Transaction & { errors: TransactionError[] } 4 | -------------------------------------------------------------------------------- /libs/keypair/src/index.ts: -------------------------------------------------------------------------------- 1 | // The polyfills need to be imported before anything else, because they patch the global node APIs. 2 | import './lib/keypair-polyfills' 3 | export * from './lib/keypair' 4 | export * from './version' 5 | -------------------------------------------------------------------------------- /libs/solana/src/lib/kin/__snapshots__/create-kin-memo.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`createKinMemo create memo with reference data 1`] = `"BQQAXLfhn7vy3xttxl1/CmKMSmadimquym6/DnPMAgA="`; 4 | -------------------------------------------------------------------------------- /libs/web/admin/ui/README.md: -------------------------------------------------------------------------------- 1 | # web-admin-ui 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-admin-ui` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/auth/ui/README.md: -------------------------------------------------------------------------------- 1 | # web-auth-ui 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-auth-ui` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/alert/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-alert 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-alert` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/card/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-card 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-card` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/copy/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-copy 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-copy` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/form/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-form 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-form` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/link/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-link 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-link` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/page/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-page 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-page` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/table/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-table 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-table` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/util/sdk/README.md: -------------------------------------------------------------------------------- 1 | # web-util-sdk 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-util-sdk` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/auth/util/README.md: -------------------------------------------------------------------------------- 1 | # api-auth-util 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-auth-util` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/core/util/README.md: -------------------------------------------------------------------------------- 1 | # api-core-util 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-core-util` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/dev/jest/src/executors/build/schema.d.ts: -------------------------------------------------------------------------------- 1 | import { JestExecutorOptions } from '@nrwl/jest/src/executors/jest/schema' 2 | 3 | export interface BuildExecutorSchema extends JestExecutorOptions { 4 | devServerTarget: string 5 | } 6 | -------------------------------------------------------------------------------- /libs/web/server/ui/README.md: -------------------------------------------------------------------------------- 1 | # web-server-ui 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-server-ui` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/layout/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-layout 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-layout` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/loader/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-loader 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-loader` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /tools/generators/lib/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generate-api-feature' 2 | export * from './generate-api-lib' 3 | export * from './generate-react-feature' 4 | export * from './generate-react-lib' 5 | export * from './update-api-feature' 6 | -------------------------------------------------------------------------------- /apps/api/src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { ApiCoreFeatureModule } from '@kin-kinetic/api/core/feature' 2 | import { Module } from '@nestjs/common' 3 | 4 | @Module({ 5 | imports: [ApiCoreFeatureModule], 6 | }) 7 | export class AppModule {} 8 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/entity/app-config-api.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class AppConfigApi { 4 | @ApiProperty() 5 | name: string 6 | @ApiProperty() 7 | version: string 8 | } 9 | -------------------------------------------------------------------------------- /libs/api/app/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-app-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-app-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/auth/util/src/lib/validate.password.ts: -------------------------------------------------------------------------------- 1 | import { compareSync } from 'bcrypt' 2 | 3 | export function validatePassword(password: string, hashedPassword: string): boolean { 4 | return compareSync(password, hashedPassword) 5 | } 6 | -------------------------------------------------------------------------------- /libs/api/core/util/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/create-reference' 2 | export * from './lib/ellipsify' 3 | export * from './lib/get-parse-app-key' 4 | export * from './lib/open-telemetry-sdk' 5 | export * from './lib/public-key.pipe' 6 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/context.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class Context { 4 | @ApiProperty({ type: 'integer', nullable: true, required: false }) 5 | slot: number 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/user/data-access/src/lib/dto/user-search-user.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | 3 | @InputType() 4 | export class UserSearchUserInput { 5 | @Field({ nullable: true }) 6 | query?: string 7 | } 8 | -------------------------------------------------------------------------------- /libs/api/user/data-access/src/lib/entities/user-role.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { UserRole } from '@prisma/client' 3 | export { UserRole } 4 | 5 | registerEnumType(UserRole, { name: 'UserRole' }) 6 | -------------------------------------------------------------------------------- /libs/web/app/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-app-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-app-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/app/ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/dev/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-dev-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-dev-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/keypair/data-access/src/lib/web-keypair.entity.tsx: -------------------------------------------------------------------------------- 1 | export interface WebKeypairEntity { 2 | id?: number 3 | isDefault?: boolean 4 | name?: string 5 | publicKey: string 6 | secretKey?: string 7 | mnemonic?: string 8 | } 9 | -------------------------------------------------------------------------------- /libs/web/keypair/ui/README.md: -------------------------------------------------------------------------------- 1 | # web-keypair-ui 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-keypair-ui` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/toolbox/ui/README.md: -------------------------------------------------------------------------------- 1 | # web-toolbox-ui 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-toolbox-ui` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/address/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-address 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-address` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/tooltip/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-tooltip 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-tooltip` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/README.md: -------------------------------------------------------------------------------- 1 | # api-airdrop-util 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-airdrop-util` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/auth/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-auth-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-auth-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/src/lib/entity/mint-type.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { MintType } from '@prisma/client' 3 | export { MintType } 4 | 5 | registerEnumType(MintType, { name: 'MintType' }) 6 | -------------------------------------------------------------------------------- /libs/api/cluster/util/README.md: -------------------------------------------------------------------------------- 1 | # api-cluster-util 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-cluster-util` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/core/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-core-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-core-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/README.md: -------------------------------------------------------------------------------- 1 | # api-kinetic-util 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-kinetic-util` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/queue/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-queue-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-queue-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/user/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-user-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-user-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/admin/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-admin-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-admin-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/admin/ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/app/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/auth/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-auth-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-auth-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/auth/ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/dev/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/keypair/ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/server/ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/shell/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-shell-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-shell-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/toolbox/ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/address/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/alert/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/app-avatar/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-app-avatar 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-app-avatar` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/card/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/container/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-container 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-container` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/copy/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/form/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/README.md: -------------------------------------------------------------------------------- 1 | # web-ui-identicon 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-ui-identicon` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/ui/layout/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/link/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/loader/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/page/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/table/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/tooltip/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/util/sdk/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/guards/api-auth-github.guard.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@nestjs/common' 2 | import { AuthGuard } from '@nestjs/passport' 3 | 4 | @Injectable() 5 | export class ApiAuthGithubGuard extends AuthGuard('github') {} 6 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/guards/api-auth-google.guard.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@nestjs/common' 2 | import { AuthGuard } from '@nestjs/passport' 3 | 4 | @Injectable() 5 | export class ApiAuthGoogleGuard extends AuthGuard('google') {} 6 | -------------------------------------------------------------------------------- /libs/api/config/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-config-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-config-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/src/lib/entity/wallet-type.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { WalletType } from '@prisma/client' 3 | export { WalletType } 4 | 5 | registerEnumType(WalletType, { name: 'WalletType' }) 6 | -------------------------------------------------------------------------------- /libs/api/wallet/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-wallet-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-wallet-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/token-balance.ts: -------------------------------------------------------------------------------- 1 | import BigNumber from 'bignumber.js' 2 | import { PublicKeyString } from './public-key-string' 3 | 4 | export interface TokenBalance { 5 | account: PublicKeyString 6 | balance: BigNumber 7 | } 8 | -------------------------------------------------------------------------------- /libs/web/admin/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/app/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/auth/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/auth/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/keypair/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/server/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/server/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-server-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-server-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/shell/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/toolbox/feature/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/app-avatar/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/container/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/account/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-account-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-account-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-airdrop-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-airdrop-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/app/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-app-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-app-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/entity/app-config-app.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class AppConfigApp { 4 | @ApiProperty({ type: 'integer' }) 5 | index: number 6 | @ApiProperty() 7 | name: string 8 | } 9 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/entity/app-user-role.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { AppUserRole } from '@prisma/client' 3 | export { AppUserRole } 4 | 5 | registerEnumType(AppUserRole, { name: 'AppUserRole' }) 6 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-auth-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-auth-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/guards/api-auth-discord.guard.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@nestjs/common' 2 | import { AuthGuard } from '@nestjs/passport' 3 | 4 | @Injectable() 5 | export class ApiAuthDiscordGuard extends AuthGuard('discord') {} 6 | -------------------------------------------------------------------------------- /libs/api/cluster/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-cluster-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-cluster-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/core/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-core-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-core-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-cron-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-cron-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-kinetic-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-kinetic-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/user/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-user-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-user-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-webhook-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-webhook-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/app/data-access/README.md: -------------------------------------------------------------------------------- 1 | # web-app-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-app-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/auth/data-access/README.md: -------------------------------------------------------------------------------- 1 | # web-auth-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-auth-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/keypair/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/keypair/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-keypair-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-keypair-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/server/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/shell/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/toolbox/data-access/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nrwl/react/babel", 5 | { 6 | "runtime": "automatic", 7 | "useBuiltIns": "usage" 8 | } 9 | ] 10 | ], 11 | "plugins": [] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/toolbox/feature/README.md: -------------------------------------------------------------------------------- 1 | # web-toolbox-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-toolbox-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/dto/user-login.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | 3 | @InputType() 4 | export class UserLoginInput { 5 | @Field() 6 | username: string 7 | @Field() 8 | password: string 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/src/lib/entity/cluster-type.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { ClusterType } from '@prisma/client' 3 | export { ClusterType } 4 | 5 | registerEnumType(ClusterType, { name: 'ClusterType' }) 6 | -------------------------------------------------------------------------------- /libs/api/config/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-config-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-config-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/core/util/src/lib/ellipsify.ts: -------------------------------------------------------------------------------- 1 | export function ellipsify(str = '', len = 4, ellipsis = '....') { 2 | if (str.length > 30) { 3 | return str.substring(0, len) + ellipsis + str.substring(str.length - len, str.length) 4 | } 5 | return str 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-queue-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-queue-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-solana-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-solana-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-wallet-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-wallet-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/src/lib/entity/wallet-airdrop-response.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, ObjectType } from '@nestjs/graphql' 2 | 3 | @ObjectType() 4 | export class WalletAirdropResponse { 5 | @Field({ nullable: true }) 6 | signature?: string 7 | } 8 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/src/lib/entity/webhook-type.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { WebhookType } from '@prisma/client' 3 | export { WebhookType } 4 | 5 | registerEnumType(WebhookType, { name: 'WebhookType' }) 6 | -------------------------------------------------------------------------------- /libs/web/server/data-access/README.md: -------------------------------------------------------------------------------- 1 | # web-server-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-server-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/shell/data-access/README.md: -------------------------------------------------------------------------------- 1 | # web-shell-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-shell-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/account/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-account-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-account-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-airdrop-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-airdrop-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-airdrop-data-access.module' 2 | export * from './lib/api-airdrop.service' 3 | export * from './lib/dto/request-airdrop-request.dto' 4 | export * from './lib/entity/request-airdrop-response.entity' 5 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-cluster-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-cluster-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-kinetic-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-kinetic-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/transaction/feature/README.md: -------------------------------------------------------------------------------- 1 | # api-transaction-feature 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-transaction-feature` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-webhook-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-webhook-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/keypair/data-access/README.md: -------------------------------------------------------------------------------- 1 | # web-keypair-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-keypair-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /libs/web/toolbox/data-access/README.md: -------------------------------------------------------------------------------- 1 | # web-toolbox-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test web-toolbox-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /apps/web/src/polyfills.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Polyfill stable language features. These imports will be optimized by `@babel/preset-env`. 3 | * 4 | * See: https://github.com/zloirock/core-js#babel 5 | */ 6 | import 'core-js/stable' 7 | import 'regenerator-runtime/runtime' 8 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/src/lib/entity/cluster-status.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { ClusterStatus } from '@prisma/client' 3 | export { ClusterStatus } 4 | 5 | registerEnumType(ClusterStatus, { name: 'ClusterStatus' }) 6 | -------------------------------------------------------------------------------- /libs/api/config/data-access/src/lib/entity/api-config-summary.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class ApiConfigSummary { 4 | @ApiProperty() 5 | port: number 6 | 7 | @ApiProperty() 8 | environment: string 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/minimum-rent-exemption-balance-request.dto.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class MinimumRentExemptionBalanceRequest { 4 | @ApiProperty({ type: 'integer' }) 5 | dataLength: number 6 | } 7 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/get-balance-options.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface GetBalanceOptions { 5 | account: PublicKeyString 6 | commitment?: Commitment 7 | } 8 | -------------------------------------------------------------------------------- /tools/prometheus.yaml: -------------------------------------------------------------------------------- 1 | global: 2 | scrape_interval: 15s 3 | evaluation_interval: 15s 4 | 5 | scrape_configs: 6 | - job_name: 'kinetic-api' 7 | metrics_path: '/api/metrics' 8 | static_configs: 9 | - targets: ['host.docker.internal:3000'] 10 | -------------------------------------------------------------------------------- /libs/api/core/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-core-data-access.module' 2 | export * from './lib/api-core.service' 3 | export * from './lib/entities/migration-status.entity' 4 | export * from './lib/entities/migration.entity' 5 | export * from './version' 6 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/minimum-rent-exemption-balance-response.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class MinimumRentExemptionBalanceResponse { 4 | @ApiProperty({ type: 'integer' }) 5 | lamports: number 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/README.md: -------------------------------------------------------------------------------- 1 | # api-transaction-data-access 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Running unit tests 6 | 7 | Run `nx test api-transaction-data-access` to execute the unit tests via [Jest](https://jestjs.io). 8 | -------------------------------------------------------------------------------- /apps/web/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // When building for production, this file is replaced with `environment.prod.ts`. 3 | 4 | export const environment = { 5 | production: false, 6 | } 7 | -------------------------------------------------------------------------------- /libs/api/core/data-access/src/lib/entities/migration-status.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, Int, ObjectType } from '@nestjs/graphql' 2 | 3 | @ObjectType() 4 | export class MigrationStatus { 5 | @Field(() => Int) 6 | count: number 7 | @Field() 8 | done: boolean 9 | } 10 | -------------------------------------------------------------------------------- /libs/solana/src/lib/kin/index.ts: -------------------------------------------------------------------------------- 1 | export * from './create-kin.memo' 2 | export * from './generate-kin-memo-instruction' 3 | export * from './generate-memo.instruction' 4 | export * from './kin-memo' 5 | export * from './kin-memo-constants' 6 | export * from './transaction-type' 7 | -------------------------------------------------------------------------------- /tools/generators/lib/helpers/delete-files.ts: -------------------------------------------------------------------------------- 1 | import { Tree } from '@nrwl/devkit' 2 | import { join } from 'path' 3 | 4 | export function deleteFiles(tree: Tree, files: string[], root = '') { 5 | for (const file of files) { 6 | tree.delete(join(root, file)) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apps/api/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.app.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apps/web-e2e/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["plugin:cypress/recommended", "../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/user/data-access/src/lib/entities/user-identity-type.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { UserIdentityType } from '@prisma/client' 3 | export { UserIdentityType } 4 | 5 | registerEnumType(UserIdentityType, { name: 'UserIdentityType' }) 6 | -------------------------------------------------------------------------------- /libs/sdk/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/solana/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apps/api-e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.app.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apps/sdk-e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.app.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/src/lib/entity/webhook-direction.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { WebhookDirection } from '@prisma/client' 3 | 4 | export { WebhookDirection } 5 | 6 | registerEnumType(WebhookDirection, { name: 'WebhookDirection' }) 7 | -------------------------------------------------------------------------------- /libs/keypair/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/entity/app-health.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class AppHealth { 4 | @ApiProperty() 5 | isSolanaOk: boolean 6 | @ApiProperty() 7 | isKineticOk: boolean 8 | @ApiProperty() 9 | time: Date 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/src/lib/entities/transaction-status.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { TransactionStatus } from '@prisma/client' 3 | export { TransactionStatus } 4 | 5 | registerEnumType(TransactionStatus, { name: 'TransactionStatus' }) 6 | -------------------------------------------------------------------------------- /libs/solana/src/lib/helpers/serialize-transaction.ts: -------------------------------------------------------------------------------- 1 | import { Transaction } from '@solana/web3.js' 2 | 3 | export function serializeTransaction(transaction: Transaction) { 4 | return transaction.serialize({ requireAllSignatures: false, verifySignatures: false }).toString('base64') 5 | } 6 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/dto/user-app-update.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | 3 | @InputType() 4 | export class UserAppUpdateInput { 5 | @Field({ nullable: true }) 6 | logoUrl?: string 7 | @Field({ nullable: true }) 8 | name?: string 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/config/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-config-data-access.module' 2 | export * from './lib/api-config.service' 3 | export * from './lib/entity/api-config-summary.entity' 4 | export * from './lib/entity/web-config.entity' 5 | export * from './lib/helpers/get-auth-users' 6 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-webhook-data-access.module' 2 | export * from './lib/api-webhook.service' 3 | export * from './lib/entity/webhook-direction.enum' 4 | export * from './lib/entity/webhook-type.enum' 5 | export * from './lib/entity/webhook.entity' 6 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/get-history-options.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface GetHistoryOptions { 5 | account: PublicKeyString 6 | commitment?: Commitment 7 | mint?: PublicKeyString 8 | } 9 | -------------------------------------------------------------------------------- /libs/web/ui/table/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-data-table' 2 | export * from './lib/web-ui-data-table-link' 3 | export * from './lib/web-ui-table' 4 | export * from './lib/web-ui-table-paginator' 5 | export { WebUiTablePaginatorPageSize } from './lib/web-ui-table-paginator-page.size' 6 | -------------------------------------------------------------------------------- /apps/api/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/account/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/config/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/core/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/core/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/latest-blockhash-response.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class LatestBlockhashResponse { 4 | @ApiProperty() 5 | blockhash: string 6 | @ApiProperty({ type: 'integer' }) 7 | lastValidBlockHeight: number 8 | } 9 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/get-account-info-options.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface GetAccountInfoOptions { 5 | account: PublicKeyString 6 | commitment?: Commitment 7 | mint?: PublicKeyString 8 | } 9 | -------------------------------------------------------------------------------- /apps/api-e2e/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /apps/sdk-e2e/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.js", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /apps/web/src/app/app.tsx: -------------------------------------------------------------------------------- 1 | import { WebShellFeature } from '@kin-kinetic/web/shell/feature' 2 | import { SaasProvider } from '@saas-ui/react' 3 | 4 | export function App() { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/account/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/config/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/src/lib/entities/transaction-error-type.enum.ts: -------------------------------------------------------------------------------- 1 | import { registerEnumType } from '@nestjs/graphql' 2 | import { TransactionErrorType } from '@prisma/client' 3 | export { TransactionErrorType } 4 | 5 | registerEnumType(TransactionErrorType, { name: 'TransactionErrorType' }) 6 | -------------------------------------------------------------------------------- /libs/api/transaction/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/dev/jest/README.md: -------------------------------------------------------------------------------- 1 | # dev-jest 2 | 3 | This library was generated with [Nx](https://nx.dev). 4 | 5 | ## Building 6 | 7 | Run `nx build dev-jest` to build the library. 8 | 9 | ## Running unit tests 10 | 11 | Run `nx test dev-jest` to execute the unit tests via [Jest](https://jestjs.io). 12 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/get-token-accounts-options.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface GetTokenAccountsOptions { 5 | account: PublicKeyString 6 | commitment?: Commitment 7 | mint?: PublicKeyString 8 | } 9 | -------------------------------------------------------------------------------- /libs/api/account/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-account-data-access.module' 2 | export * from './lib/api-account.service' 3 | export * from './lib/dto/create-account-request.dto' 4 | export * from './lib/entities/balance-response.entity' 5 | export * from './lib/entities/balance-token.entity' 6 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "files": [], 4 | "include": [], 5 | "references": [ 6 | { 7 | "path": "./tsconfig.lib.json" 8 | }, 9 | { 10 | "path": "./tsconfig.spec.json" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /libs/dev/jest/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [] 7 | }, 8 | "include": ["**/*.ts"], 9 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /libs/dev/jest/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/create-account-options.ts: -------------------------------------------------------------------------------- 1 | import { Keypair } from '@kin-kinetic/keypair' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface CreateAccountOptions { 5 | commitment?: Commitment 6 | mint?: string 7 | owner: Keypair 8 | reference?: string 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/auth/util/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/core/util/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/dev/jest/executors.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/schema", 3 | "executors": { 4 | "build": { 5 | "implementation": "./src/executors/build/executor", 6 | "schema": "./src/executors/build/schema.json", 7 | "description": "build executor" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/layout/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-ui-layout' 2 | export * from './lib/web-ui-layout-footer' 3 | export * from './lib/web-ui-layout-header' 4 | export * from './lib/web-ui-layout-header-apps' 5 | export * from './lib/web-ui-layout-provider' 6 | export * from './lib/web-ui-layout-theme-toggle' 7 | -------------------------------------------------------------------------------- /libs/web/ui/loader/src/lib/web-ui-loader.tsx: -------------------------------------------------------------------------------- 1 | import { Flex, Spinner } from '@chakra-ui/react' 2 | 3 | export function WebUiLoader() { 4 | return ( 5 | 6 | 7 | 8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/src/lib/airdrop-config.ts: -------------------------------------------------------------------------------- 1 | import { Connection, Keypair, PublicKey } from '@solana/web3.js' 2 | 3 | export interface AirdropConfig { 4 | airdropAmount: number 5 | airdropMax: number 6 | connection: Connection 7 | decimals: number 8 | feePayer: Keypair 9 | mint: PublicKey 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/dto/user-app-mint-update.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | import { IsOptional } from 'class-validator' 3 | 4 | @InputType() 5 | export class UserAppMintUpdateInput { 6 | @IsOptional() 7 | @Field({ nullable: true }) 8 | addMemo?: boolean 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/app/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/app/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/auth/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/cluster/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/cluster/util/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/queue/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/user/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/wallet/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/dev/jest/src/executors/build/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "outputCapture": "direct-nodejs", 4 | "$schema": "http://json-schema.org/schema", 5 | "cli": "nx", 6 | "title": "Build executor", 7 | "description": "", 8 | "type": "object", 9 | "properties": {}, 10 | "required": [] 11 | } 12 | -------------------------------------------------------------------------------- /apps/web-e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "sourceMap": false, 5 | "outDir": "../../dist/out-tsc", 6 | "allowJs": true, 7 | "types": ["cypress", "node"] 8 | }, 9 | "include": ["src/**/*.ts", "src/**/*.js", "cypress.config.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/entities/auth-token.entity.ts: -------------------------------------------------------------------------------- 1 | import { User } from '@kin-kinetic/api/user/data-access' 2 | import { Field, ObjectType } from '@nestjs/graphql' 3 | 4 | @ObjectType() 5 | export class AuthToken { 6 | @Field() 7 | token: string 8 | 9 | @Field(() => User) 10 | user: User 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/user/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/close-account-options.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface CloseAccountOptions { 5 | account: PublicKeyString 6 | commitment?: Commitment 7 | mint?: string 8 | reference?: string 9 | } 10 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/request-airdrop-options.ts: -------------------------------------------------------------------------------- 1 | import { PublicKeyString } from '@kin-kinetic/solana' 2 | import { Commitment } from '../../generated' 3 | 4 | export interface RequestAirdropOptions { 5 | account: PublicKeyString 6 | amount: string 7 | commitment?: Commitment 8 | mint?: string 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/transaction-data.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | import { VersionedMessage } from '@solana/web3.js' 3 | 4 | export class TransactionData { 5 | @ApiProperty() 6 | message: VersionedMessage 7 | @ApiProperty() 8 | signatures: string[] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/user/data-access/src/lib/entities/user-email.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, ObjectType } from '@nestjs/graphql' 2 | 3 | @ObjectType() 4 | export class UserEmail { 5 | @Field() 6 | id?: string 7 | @Field() 8 | createdAt?: Date 9 | @Field() 10 | updatedAt?: Date 11 | @Field() 12 | email?: string 13 | } 14 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/balance-summary.ts: -------------------------------------------------------------------------------- 1 | import { BalanceMintMap } from './balance-mint-map' 2 | import { BalanceToken } from './balance-token' 3 | 4 | export interface BalanceSummary { 5 | balance: string 6 | mintMap: Record 7 | mints: BalanceMintMap 8 | tokens: BalanceToken[] 9 | } 10 | -------------------------------------------------------------------------------- /tools/tsconfig.tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "../dist/out-tsc/tools", 5 | "rootDir": ".", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": ["node"], 9 | "importHelpers": false 10 | }, 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/src/lib/api-kinetic-feature.controller.ts: -------------------------------------------------------------------------------- 1 | import { Controller } from '@nestjs/common' 2 | import { ApiKineticService } from '@kin-kinetic/api/kinetic/data-access' 3 | 4 | @Controller('kinetic') 5 | export class ApiKineticFeatureController { 6 | constructor(private readonly service: ApiKineticService) {} 7 | } 8 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["jest", "node"] 7 | }, 8 | "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /libs/sdk/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"] 8 | }, 9 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 10 | "include": ["**/*.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/solana/src/lib/helpers/get-public-key.ts: -------------------------------------------------------------------------------- 1 | import { PublicKey } from '@solana/web3.js' 2 | import { PublicKeyString } from '../interfaces' 3 | 4 | export function getPublicKey(account: PublicKeyString): PublicKey { 5 | if (typeof account === 'string') { 6 | return new PublicKey(account) 7 | } 8 | return account 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/dto/user-app-user-add.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | import { AppUserRole } from '../entity/app-user-role.enum' 3 | 4 | @InputType() 5 | export class UserAppUserAddInput { 6 | @Field() 7 | userId: string 8 | @Field(() => AppUserRole) 9 | role: AppUserRole 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/app/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/auth/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/auth/util/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/cluster/util/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/core/util/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/user/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/make-transfer-batch-options.ts: -------------------------------------------------------------------------------- 1 | import { MakeTransferOptions } from './make-transfer-options' 2 | import { TransferDestination } from './transfer-destination' 3 | 4 | export interface MakeTransferBatchOptions extends Omit { 5 | destinations: TransferDestination[] 6 | } 7 | -------------------------------------------------------------------------------- /libs/web/toolbox/ui/src/lib/web-toolbox-ui-explorer-link.tsx: -------------------------------------------------------------------------------- 1 | import { Button } from '@saas-ui/react' 2 | 3 | export function WebToolboxUiExplorerLink({ href }: { href?: string }) { 4 | return ( 5 | 8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /libs/web/util/sdk/src/lib/create-graphql-client.tsx: -------------------------------------------------------------------------------- 1 | import { createClient } from 'urql' 2 | 3 | export function createGraphqlClient(url: string) { 4 | return createClient({ 5 | url, 6 | fetchOptions: { 7 | credentials: 'include', 8 | mode: 'cors', 9 | }, 10 | requestPolicy: 'network-only', 11 | }) 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/app/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/cluster/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/user/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-wallet-admin.service' 2 | export * from './lib/api-wallet-data-access.module' 3 | export * from './lib/api-wallet-user.service' 4 | export * from './lib/entity/wallet-airdrop-response.entity' 5 | export * from './lib/entity/wallet-type.enum' 6 | export * from './lib/entity/wallet.entity' 7 | -------------------------------------------------------------------------------- /libs/api/wallet/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/web/server/feature/src/lib/web-server-feature.tsx: -------------------------------------------------------------------------------- 1 | import { Route, Routes } from 'react-router-dom' 2 | import { WebServerListFeature } from './web-server-list.feature' 3 | 4 | export function WebServerFeature() { 5 | return ( 6 | 7 | } /> 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/copy/src/lib/web-ui-copy.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiCopy } from './web-ui-copy' 4 | 5 | describe('WebUiCopy', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render() 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /apps/web/proxy.conf.js: -------------------------------------------------------------------------------- 1 | const dotenv = require('dotenv') 2 | dotenv.config() 3 | 4 | const PORT = process.env.PORT || 3000 5 | const HOST = process.env.HOST || 'localhost' 6 | const target = `http://${HOST}:${PORT}` 7 | 8 | module.exports = { 9 | '/api': { target, secure: false }, 10 | '/graphql': { target, secure: false, ws: true }, 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/queue/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": ["node"], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": [], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/dev/jest/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/web/ui/alert/src/lib/web-ui-alert.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiAlert } from './web-ui-alert' 4 | 5 | describe('WebUiAlert', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render() 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/dto/user-app-user-update-role.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | import { AppUserRole } from '../entity/app-user-role.enum' 3 | 4 | @InputType() 5 | export class UserAppUserUpdateRoleInput { 6 | @Field() 7 | userId: string 8 | @Field(() => AppUserRole) 9 | role: AppUserRole 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": ["node"], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": ["node"], 7 | "target": "es6" 8 | }, 9 | "include": ["**/*.ts"], 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/web/ui/card/src/lib/web-ui-card.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiCard } from './web-ui-card' 4 | 5 | describe('WebUiCard', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render(hi) 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/web/ui/loader/src/lib/web-ui-loader.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiLoader } from './web-ui-loader' 4 | 5 | describe('WebUiLoader', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render() 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/web/ui/page/src/lib/web-ui-page.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiPage } from './web-ui-page' 4 | 5 | describe('WebUiPage', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render(hi) 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /apps/api-e2e/src/helpers/uniq.ts: -------------------------------------------------------------------------------- 1 | import { getRandomInt } from './random-int' 2 | 3 | export function uniq(prefix: string) { 4 | return `${prefix}${uniqInt()}` 5 | } 6 | export function uniqInt(): number { 7 | return Math.floor(Math.random() * 10000000) 8 | } 9 | export function randomIndex(): number { 10 | return getRandomInt(1_000, 1_000_000) 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/entity/app-env-stats.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, ObjectType } from '@nestjs/graphql' 2 | import { AppEnvTransactionCount } from './app-env-transaction-count.entity' 3 | 4 | @ObjectType() 5 | export class AppEnvStats { 6 | @Field(() => AppEnvTransactionCount, { nullable: true }) 7 | transactionCount?: AppEnvTransactionCount 8 | } 9 | -------------------------------------------------------------------------------- /libs/api/app/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/auth/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/auth/util/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/cluster/util/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/config/data-access/src/lib/entity/web-config.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, ObjectType } from '@nestjs/graphql' 2 | 3 | @ObjectType() 4 | export class WebConfig { 5 | @Field() 6 | discordEnabled: boolean 7 | @Field() 8 | githubEnabled: boolean 9 | @Field() 10 | googleEnabled: boolean 11 | @Field() 12 | passwordEnabled: boolean 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/core/util/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": ["node"], 7 | "target": "es6" 8 | }, 9 | "include": ["src/**/*.ts"], 10 | "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/queue/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/user/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /tools/generators/lib/helpers/add-import-from.ts: -------------------------------------------------------------------------------- 1 | import { SourceFile } from 'ts-morph' 2 | 3 | export function addImportFrom(source: SourceFile, packageName: string, names: string | string[]) { 4 | names = Array.isArray(names) ? names : [names] 5 | source.addImportDeclaration({ moduleSpecifier: packageName, namedImports: names.map((name) => ({ name })) }) 6 | } 7 | -------------------------------------------------------------------------------- /tools/grafana-data/datasources/datasource.yml: -------------------------------------------------------------------------------- 1 | apiVersion: 1 2 | 3 | deleteDatasources: 4 | - name: Prometheus 5 | 6 | datasources: 7 | - name: Prometheus 8 | type: prometheus 9 | access: proxy 10 | orgId: 1 11 | url: http://prometheus:9090 12 | basicAuth: false 13 | isDefault: false 14 | version: 1 15 | editable: false 16 | -------------------------------------------------------------------------------- /libs/api/account/data-access/src/lib/entities/balance-token.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class BalanceToken { 4 | @ApiProperty() 5 | account: string 6 | @ApiProperty() 7 | balance: string 8 | @ApiProperty({ default: '0', type: 'integer' }) 9 | decimals: number 10 | @ApiProperty() 11 | mint: string 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/app/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/cluster/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/compiled-instruction.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | 3 | export class CompiledInstruction { 4 | @ApiProperty({ type: 'integer' }) 5 | programIdIndex: number 6 | @ApiProperty({ type: 'integer', isArray: true }) 7 | accounts: number[] 8 | @ApiProperty() 9 | data: string 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": ["node"], 7 | "target": "es6" 8 | }, 9 | "include": ["src/**/*.ts"], 10 | "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../../dist/out-tsc", 5 | "declaration": true, 6 | "types": ["node"], 7 | "target": "es6" 8 | }, 9 | "include": ["src/**/*.ts"], 10 | "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/user/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/wallet/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-identicon', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': 'babel-jest', 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/identicon', 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | }, 6 | "files": [], 7 | "include": [], 8 | "references": [ 9 | { 10 | "path": "./tsconfig.lib.json" 11 | }, 12 | { 13 | "path": "./tsconfig.spec.json" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libs/keypair/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../dist/out-tsc", 6 | "esModuleInterop": true, 7 | "declaration": true, 8 | "types": ["node"] 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/app-avatar/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-app-avatar', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': 'babel-jest', 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/app-avatar', 10 | } 11 | -------------------------------------------------------------------------------- /tools/generators/lib/helpers/update-source-file.ts: -------------------------------------------------------------------------------- 1 | import { Tree } from '@nrwl/devkit' 2 | import { SourceFile } from 'ts-morph' 3 | import { getSourceFile } from './get-source-file' 4 | 5 | export function updateSourceFile(tree: Tree, path: string, updateFn: (source: SourceFile) => SourceFile) { 6 | tree.write(path, updateFn(getSourceFile(tree, path)).getFullText()) 7 | } 8 | -------------------------------------------------------------------------------- /apps/api-e2e/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["node"], 7 | "emitDecoratorMetadata": true, 8 | "target": "es2015" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /apps/sdk-e2e/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["node"], 7 | "emitDecoratorMetadata": true, 8 | "target": "es2015" 9 | }, 10 | "exclude": ["jest.config.js", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/toolbox/ui/src/lib/web-toolbox-ui-result.tsx: -------------------------------------------------------------------------------- 1 | import { Box } from '@chakra-ui/react' 2 | 3 | export function WebToolboxUiResult({ result }: { result?: unknown }) { 4 | return result ? ( 5 | 6 | {JSON.stringify(result, null, 2)} 7 | 8 | ) : null 9 | } 10 | -------------------------------------------------------------------------------- /libs/api/account/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/app/data-access/src/lib/entity/app-config-environment.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | import { AppConfigCluster } from './app-config-cluster.entity' 3 | 4 | export class AppConfigEnvironment { 5 | @ApiProperty() 6 | name: string 7 | @ApiProperty() 8 | explorer: string 9 | @ApiProperty() 10 | cluster: AppConfigCluster 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/src/lib/decorators/ctx-user.ts: -------------------------------------------------------------------------------- 1 | import { createParamDecorator, ExecutionContext } from '@nestjs/common' 2 | import { GqlExecutionContext } from '@nestjs/graphql' 3 | 4 | export const CtxUser = createParamDecorator((data: unknown, context: ExecutionContext) => { 5 | const ctx = GqlExecutionContext.create(context) 6 | return ctx.getContext().req.user 7 | }) 8 | -------------------------------------------------------------------------------- /libs/api/config/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/core/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/server/ui/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/web-server-ui-add.form' 2 | export * from './lib/web-server-ui-list' 3 | export * from './lib/web-server-ui-selector' 4 | export * from './lib/web-server-ui-connection' 5 | export * from './lib/web-server-ui-connection-panel' 6 | export * from './lib/web-server-ui-list-item.menu' 7 | export * from './lib/web-server-ui-settings.form' 8 | -------------------------------------------------------------------------------- /libs/web/ui/app-avatar/src/lib/web-ui-app-avatar.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiAppAvatar } from './web-ui-app-avatar' 4 | 5 | describe('WebUiAppAvatar', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render() 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/api/account/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/config/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/core/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/transaction/feature/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/admin/feature/src/lib/user/web-admin-feature-user-apps.tsx: -------------------------------------------------------------------------------- 1 | import { WebAdminUiUserAppTable } from '@kin-kinetic/web/admin/ui' 2 | import { AppUser } from '@kin-kinetic/web/util/sdk' 3 | import { Maybe } from 'graphql/jsutils/Maybe' 4 | 5 | export function WebAdminFeatureUserApps({ apps }: { apps: Maybe }) { 6 | return 7 | } 8 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/src/lib/web-ui-identicon.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiIdenticon } from './web-ui-identicon' 4 | 5 | describe('WebUiIdenticon', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render() 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/web/ui/table/src/lib/web-ui-data-table.tsx: -------------------------------------------------------------------------------- 1 | import { Column, DataTable } from '@saas-ui/react' 2 | 3 | export interface WebUiDataTableProps { 4 | columns: Column[] 5 | data: T[] 6 | } 7 | 8 | export function WebUiDataTable({ columns, data }: WebUiDataTableProps) { 9 | return columns={columns} data={data} /> 10 | } 11 | -------------------------------------------------------------------------------- /apps/api-e2e/src/helpers/api-e2e.constants.ts: -------------------------------------------------------------------------------- 1 | import { getAuthUsers } from '@kin-kinetic/api/config/data-access' 2 | import { UserRole } from '@prisma/client' 3 | 4 | const users = getAuthUsers(process.env.AUTH_USERS) 5 | const { username, password } = users.find((user) => user.role === UserRole.Admin) 6 | 7 | export const ADMIN_USERNAME = username 8 | export const ADMIN_PASSWORD = password 9 | -------------------------------------------------------------------------------- /libs/api/core/data-access/src/lib/entities/migration.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, ObjectType } from '@nestjs/graphql' 2 | import { MigrationStatus } from './migration-status.entity' 3 | 4 | @ObjectType() 5 | export class Migration { 6 | @Field() 7 | key: string 8 | 9 | @Field() 10 | version: string 11 | 12 | @Field(() => MigrationStatus) 13 | status: MigrationStatus 14 | } 15 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "target": "es6" 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/solana/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "outDir": "../../dist/out-tsc", 6 | "declaration": true, 7 | "types": ["node"], 8 | "lib": ["es2020.promise", "es2018.promise"] 9 | }, 10 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 11 | "include": ["**/*.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/ui/alert/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-alert', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/alert', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/card/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-card', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/card', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/container/src/lib/web-ui-container.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiContainer } from './web-ui-container' 4 | 5 | describe('WebUiContainer', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render(hi) 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/web/ui/form/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-form', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/form', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/link/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-link', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/link', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/page/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-page', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/page', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/page/src/lib/web-ui-page-back.button.tsx: -------------------------------------------------------------------------------- 1 | import { IconButton } from '@chakra-ui/react' 2 | import { MdChevronLeft } from 'react-icons/md' 3 | import { Link } from 'react-router-dom' 4 | 5 | export function WebUiPageBackButton({ to = '..' }: { to?: string }) { 6 | return } variant="outline" as={Link} to={to} /> 7 | } 8 | -------------------------------------------------------------------------------- /libs/web/ui/table/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-table', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/table', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/table/src/lib/web-ui-data-table.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiDataTable } from './web-ui-data-table' 4 | 5 | describe('WebUiTable', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render() 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /libs/web/util/sdk/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-util-sdk', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/util/sdk', 10 | } 11 | -------------------------------------------------------------------------------- /libs/api/config/data-access/src/lib/api-config-data-access.module.ts: -------------------------------------------------------------------------------- 1 | import { Module } from '@nestjs/common' 2 | import { ConfigModule } from '@nestjs/config' 3 | import { ApiConfigService } from './api-config.service' 4 | 5 | @Module({ 6 | providers: [ApiConfigService], 7 | exports: [ApiConfigService], 8 | imports: [ConfigModule], 9 | }) 10 | export class ApiConfigDataAccessModule {} 11 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/kinetic-sdk-polyfills.ts: -------------------------------------------------------------------------------- 1 | // Polyfill the browser, prevents the error "Uncaught ReferenceError: Buffer is not defined" 2 | if (typeof window !== 'undefined' && typeof window.global === 'undefined' && typeof Buffer === 'undefined') { 3 | window['global'] = window 4 | // eslint-disable-next-line @typescript-eslint/no-var-requires 5 | global.Buffer = require('buffer').Buffer 6 | } 7 | -------------------------------------------------------------------------------- /libs/web/ui/layout/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-layout', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/layout', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/loader/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-loader', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/loader', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/tooltip/src/lib/web-ui-tooltip.spec.tsx: -------------------------------------------------------------------------------- 1 | import { render } from '@testing-library/react' 2 | 3 | import { WebUiTooltip } from './web-ui-tooltip' 4 | 5 | describe('WebUiTooltip', () => { 6 | it('should render successfully', () => { 7 | const { baseElement } = render(content) 8 | expect(baseElement).toBeTruthy() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /tools/grafana-data/dashboards-provisioning/dashboards.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: 1 2 | 3 | providers: 4 | - name: 'dashboards' 5 | orgId: 1 6 | folder: 'dashboards' 7 | folderUid: '' 8 | type: file 9 | disableDeletion: true 10 | editable: true 11 | updateIntervalSeconds: 3600 12 | allowUiUpdates: false 13 | options: 14 | path: /var/lib/grafana/dashboards 15 | -------------------------------------------------------------------------------- /libs/web/admin/feature/src/lib/migration/web-admin-feature-migration.tsx: -------------------------------------------------------------------------------- 1 | import { Route, Routes } from 'react-router-dom' 2 | import { WebAdminFeatureMigrationList } from './web-admin-feature-migration-list' 3 | 4 | export function WebAdminFeatureMigration() { 5 | return ( 6 | 7 | } /> 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/address/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-address', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/address', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/ui/tooltip/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-tooltip', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/tooltip', 10 | } 11 | -------------------------------------------------------------------------------- /apps/api/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "module": "commonjs", 6 | "types": ["node"], 7 | "esModuleInterop": true, 8 | "emitDecoratorMetadata": true, 9 | "target": "es2015" 10 | }, 11 | "exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"], 12 | "include": ["**/*.ts"] 13 | } 14 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/history-response.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | import { ConfirmedSignatureInfo } from './confirmed-signature-info.entity' 3 | 4 | export class HistoryResponse { 5 | @ApiProperty() 6 | account: string 7 | @ApiProperty({ type: () => ConfirmedSignatureInfo, isArray: true }) 8 | history: ConfirmedSignatureInfo[] 9 | } 10 | -------------------------------------------------------------------------------- /libs/web/admin/feature/src/lib/user/web-admin-feature-user-emails.tsx: -------------------------------------------------------------------------------- 1 | import { WebAdminUiUserEmailTable } from '@kin-kinetic/web/admin/ui' 2 | import { UserEmail } from '@kin-kinetic/web/util/sdk' 3 | import { Maybe } from 'graphql/jsutils/Maybe' 4 | 5 | export function WebAdminFeatureUserEmails({ emails }: { emails: Maybe }) { 6 | return 7 | } 8 | -------------------------------------------------------------------------------- /libs/web/ui/container/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web-ui-container', 4 | preset: '../../../../jest.preset.js', 5 | transform: { 6 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 7 | }, 8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 9 | coverageDirectory: '../../../../coverage/libs/web/ui/container', 10 | } 11 | -------------------------------------------------------------------------------- /libs/web/util/sdk/src/graphql/feature-auth.graphql: -------------------------------------------------------------------------------- 1 | fragment AuthTokenDetails on AuthToken { 2 | token 3 | user { 4 | ...UserDetails 5 | } 6 | } 7 | 8 | mutation Login($input: UserLoginInput!) { 9 | login(input: $input) { 10 | ...AuthTokenDetails 11 | } 12 | } 13 | 14 | mutation Logout { 15 | logout 16 | } 17 | 18 | query Me { 19 | me { 20 | ...UserDetails 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tools/generators/api-feature/index.ts: -------------------------------------------------------------------------------- 1 | import { formatFiles, installPackagesTask, Tree } from '@nrwl/devkit' 2 | import { ApiFeatureSchema, generateApiFeature } from '../lib' 3 | 4 | export default async function (tree: Tree, schema: ApiFeatureSchema) { 5 | await generateApiFeature(tree, schema) 6 | await formatFiles(tree) 7 | 8 | return () => { 9 | installPackagesTask(tree) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /apps/api/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/src/lib/entities/compiled-inner-instruction.entity.ts: -------------------------------------------------------------------------------- 1 | import { ApiProperty } from '@nestjs/swagger' 2 | import { CompiledInstruction } from './compiled-instruction.entity' 3 | 4 | export class CompiledInnerInstruction { 5 | @ApiProperty({ type: 'integer' }) 6 | index: number 7 | @ApiProperty({ type: [CompiledInstruction] }) 8 | instructions: CompiledInstruction[] 9 | } 10 | -------------------------------------------------------------------------------- /libs/sdk/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/helpers/get-app-mint.ts: -------------------------------------------------------------------------------- 1 | import { AppConfig, AppConfigMint } from '../../generated' 2 | 3 | export function getAppMint(appConfig: AppConfig, mint?: string): AppConfigMint { 4 | mint = mint || appConfig.mint.publicKey 5 | const found = appConfig.mints.find((item) => item.publicKey === mint) 6 | if (!found) { 7 | throw new Error(`Mint not found`) 8 | } 9 | return found 10 | } 11 | -------------------------------------------------------------------------------- /libs/solana/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/solana/src/lib/kin/__snapshots__/generate-memo-instruction.spec.ts.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`generateMemoInstruction should create a Memo Instruction 1`] = ` 4 | Object { 5 | "data": Array [ 6 | 116, 7 | 101, 8 | 115, 9 | 116, 10 | ], 11 | "keys": Array [], 12 | "programId": "Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo", 13 | } 14 | `; 15 | -------------------------------------------------------------------------------- /apps/api-e2e/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/sdk-e2e/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/web/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Kinetic Manager 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /libs/dev/jest/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/keypair/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/helpers/get-token-address.ts: -------------------------------------------------------------------------------- 1 | import { getPublicKey } from '@kin-kinetic/solana' 2 | import { getAssociatedTokenAddress } from '@solana/spl-token' 3 | 4 | export async function getTokenAddress({ account, mint }: { account: string; mint: string }): Promise { 5 | const address = await getAssociatedTokenAddress(getPublicKey(mint), getPublicKey(account)) 6 | 7 | return address.toString() 8 | } 9 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/interfaces/kinetic-sdk-config.ts: -------------------------------------------------------------------------------- 1 | import { Commitment } from '../../generated' 2 | import { KineticSdkLogger } from './kinetic-sdk-logger' 3 | 4 | export interface KineticSdkConfig { 5 | commitment?: Commitment 6 | endpoint: string 7 | environment: string 8 | headers?: Record 9 | index: number 10 | logger?: KineticSdkLogger 11 | solanaRpcEndpoint?: string 12 | } 13 | -------------------------------------------------------------------------------- /libs/web/util/sdk/src/lib/graphql-provider.tsx: -------------------------------------------------------------------------------- 1 | import { ReactNode } from 'react' 2 | import { Provider } from 'urql' 3 | import { createGraphqlClient } from './create-graphql-client' 4 | 5 | export function GraphQLProvider({ children, endpoint }: { children: ReactNode; endpoint: string }) { 6 | const client = createGraphqlClient(endpoint) 7 | 8 | return {children} 9 | } 10 | -------------------------------------------------------------------------------- /tools/generators/react-feature/index.ts: -------------------------------------------------------------------------------- 1 | import { formatFiles, installPackagesTask, Tree } from '@nrwl/devkit' 2 | import { ReactFeatureSchema, generateReactFeature } from '../lib' 3 | 4 | export default async function (tree: Tree, schema: ReactFeatureSchema) { 5 | await generateReactFeature(tree, schema) 6 | await formatFiles(tree) 7 | 8 | return () => { 9 | installPackagesTask(tree) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/api-queue-data-access.module' 2 | export * from './lib/api-queue.service' 3 | export * from './lib/dto/admin-queue-load.input' 4 | export * from './lib/entity/job-status.enum' 5 | export * from './lib/entity/job.entity' 6 | export * from './lib/entity/queue-count.entity' 7 | export * from './lib/entity/queue-type.enum' 8 | export * from './lib/entity/queue.entity' 9 | -------------------------------------------------------------------------------- /apps/web/src/main.tsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import * as ReactDOM from 'react-dom/client' 3 | import { BrowserRouter } from 'react-router-dom' 4 | 5 | import { App } from './app/app' 6 | 7 | const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement) 8 | root.render( 9 | 10 | 11 | 12 | 13 | , 14 | ) 15 | -------------------------------------------------------------------------------- /libs/api/app/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/auth/util/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/core/util/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/src/lib/entities/transaction-counter.entity.ts: -------------------------------------------------------------------------------- 1 | import { Field, ObjectType } from '@nestjs/graphql' 2 | 3 | @ObjectType() 4 | export class TransactionCounter { 5 | @Field({ nullable: true }) 6 | limit?: number 7 | @Field({ nullable: true }) 8 | page?: number 9 | @Field({ nullable: true }) 10 | pageCount?: number 11 | @Field({ nullable: true }) 12 | total?: number 13 | } 14 | -------------------------------------------------------------------------------- /libs/web/ui/identicon/src/lib/gradient-avatar/gradient-avatars.spec.ts: -------------------------------------------------------------------------------- 1 | import { generateSvg } from './gradient-avatars' 2 | 3 | describe('gradientAvatars', () => { 4 | it('should generate an SVG', () => { 5 | expect( 6 | generateSvg({ 7 | name: 'random-seed', 8 | text: 'text', 9 | width: '512', 10 | height: '512', 11 | }), 12 | ).toMatchSnapshot() 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /apps/web/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'web', 4 | preset: '../../jest.preset.js', 5 | transform: { 6 | '^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest', 7 | '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }], 8 | }, 9 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], 10 | coverageDirectory: '../../coverage/apps/web', 11 | } 12 | -------------------------------------------------------------------------------- /libs/api/account/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/airdrop/util/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/app/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/auth/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/auth/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/cluster/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/cluster/util/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/config/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/core/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/core/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/cron/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/kinetic/util/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/queue/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/queue/feature/src/lib/api-queue-feature.module.ts: -------------------------------------------------------------------------------- 1 | import { ApiQueueDataAccessModule } from '@kin-kinetic/api/queue/data-access' 2 | import { Module } from '@nestjs/common' 3 | import { ApiQueueAdminFeatureResolver } from './api-queue-admin-feature.resolver' 4 | 5 | @Module({ 6 | providers: [ApiQueueAdminFeatureResolver], 7 | imports: [ApiQueueDataAccessModule], 8 | }) 9 | export class ApiQueueFeatureModule {} 10 | -------------------------------------------------------------------------------- /libs/api/user/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/user/data-access/src/lib/dto/admin-user-update.input.ts: -------------------------------------------------------------------------------- 1 | import { Field, InputType } from '@nestjs/graphql' 2 | import { UserRole } from '../entities/user-role.enum' 3 | 4 | @InputType() 5 | export class AdminUserUpdateInput { 6 | @Field({ nullable: true }) 7 | avatarUrl?: string 8 | @Field({ nullable: true }) 9 | name?: string 10 | @Field(() => UserRole, { nullable: true }) 11 | role: UserRole 12 | } 13 | -------------------------------------------------------------------------------- /libs/api/user/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/wallet/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/webhook/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/web/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/account/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/airdrop/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/cluster/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/config/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/kinetic/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/queue/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/transaction/feature/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/wallet/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/api/webhook/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/sdk-e2e/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | displayName: 'sdk-e2e', 3 | preset: '../../jest.preset.js', 4 | globals: { 5 | 'ts-jest': { 6 | tsconfig: '/tsconfig.spec.json', 7 | }, 8 | }, 9 | testEnvironment: 'node', 10 | transform: { 11 | '^.+\\.[tj]s$': 'ts-jest', 12 | }, 13 | moduleFileExtensions: ['ts', 'js', 'html'], 14 | coverageDirectory: '../../coverage/apps/sdk-e2e', 15 | } 16 | -------------------------------------------------------------------------------- /libs/api/account/feature/src/lib/api-account-feature.module.ts: -------------------------------------------------------------------------------- 1 | import { Module } from '@nestjs/common' 2 | import { ApiAccountFeatureController } from './api-account-feature.controller' 3 | import { ApiAccountDataAccessModule } from '@kin-kinetic/api/account/data-access' 4 | 5 | @Module({ 6 | controllers: [ApiAccountFeatureController], 7 | imports: [ApiAccountDataAccessModule], 8 | }) 9 | export class ApiAccountFeatureModule {} 10 | -------------------------------------------------------------------------------- /libs/api/airdrop/feature/src/lib/api-airdrop-feature.module.ts: -------------------------------------------------------------------------------- 1 | import { Module } from '@nestjs/common' 2 | import { ApiAirdropFeatureController } from './api-airdrop-feature.controller' 3 | import { ApiAirdropDataAccessModule } from '@kin-kinetic/api/airdrop/data-access' 4 | 5 | @Module({ 6 | controllers: [ApiAirdropFeatureController], 7 | imports: [ApiAirdropDataAccessModule], 8 | }) 9 | export class ApiAirdropFeatureModule {} 10 | -------------------------------------------------------------------------------- /libs/api/kinetic/feature/src/lib/api-kinetic-feature.module.ts: -------------------------------------------------------------------------------- 1 | import { ApiKineticDataAccessModule } from '@kin-kinetic/api/kinetic/data-access' 2 | import { Module } from '@nestjs/common' 3 | import { ApiKineticFeatureController } from './api-kinetic-feature.controller' 4 | 5 | @Module({ 6 | controllers: [ApiKineticFeatureController], 7 | imports: [ApiKineticDataAccessModule], 8 | }) 9 | export class ApiKineticFeatureModule {} 10 | -------------------------------------------------------------------------------- /libs/api/solana/data-access/src/lib/api-solana-data-access.module.ts: -------------------------------------------------------------------------------- 1 | import { ApiCoreDataAccessModule } from '@kin-kinetic/api/core/data-access' 2 | import { Module } from '@nestjs/common' 3 | import { ApiSolanaService } from './api-solana.service' 4 | 5 | @Module({ 6 | providers: [ApiSolanaService], 7 | exports: [ApiSolanaService], 8 | imports: [ApiCoreDataAccessModule], 9 | }) 10 | export class ApiSolanaDataAccessModule {} 11 | -------------------------------------------------------------------------------- /libs/api/transaction/data-access/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/dev/jest/jest.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | export default { 3 | displayName: 'dev-jest', 4 | preset: '../../../jest.preset.js', 5 | globals: { 6 | 'ts-jest': { 7 | tsconfig: '/tsconfig.spec.json', 8 | }, 9 | }, 10 | transform: { 11 | '^.+\\.[tj]s$': 'ts-jest', 12 | }, 13 | moduleFileExtensions: ['ts', 'js', 'html'], 14 | coverageDirectory: '../../../coverage/libs/dev/jest', 15 | } 16 | -------------------------------------------------------------------------------- /libs/sdk/src/lib/helpers/kin-to-quarks.ts: -------------------------------------------------------------------------------- 1 | import { addDecimals, removeDecimals } from '@kin-kinetic/solana' 2 | export { addDecimals, removeDecimals } from '@kin-kinetic/solana' 3 | import BigNumber from 'bignumber.js' 4 | 5 | export function quarksToKin(amount: string): string { 6 | return removeDecimals(amount, 5) 7 | } 8 | 9 | export function kinToQuarks(amount: string): BigNumber { 10 | return addDecimals(amount, 5) 11 | } 12 | -------------------------------------------------------------------------------- /libs/solana/src/lib/interfaces/generate-close-account-transaction.options.ts: -------------------------------------------------------------------------------- 1 | import { Keypair } from '@solana/web3.js' 2 | import { PublicKeyString } from './public-key-string' 3 | 4 | export interface GenerateCloseAccountTransactionOptions { 5 | addMemo: boolean 6 | blockhash: string 7 | index: number 8 | lastValidBlockHeight: number 9 | reference?: string 10 | signer: Keypair 11 | tokenAccount: PublicKeyString 12 | } 13 | -------------------------------------------------------------------------------- /libs/solana/src/lib/helpers/convert-finality.ts: -------------------------------------------------------------------------------- 1 | import { Finality } from '@solana/web3.js' 2 | import { Commitment } from '../interfaces' 3 | 4 | export function convertFinality(commitment: Commitment): Finality { 5 | switch (commitment) { 6 | case Commitment.Confirmed: 7 | case Commitment.Processed: 8 | return 'confirmed' 9 | case Commitment.Finalized: 10 | default: 11 | return 'finalized' 12 | } 13 | } 14 | --------------------------------------------------------------------------------