From b01008a7c4550fa24f033d78e8e58e1be6a342ad Mon Sep 17 00:00:00 2001 From: Chika Date: Sat, 16 Jul 2022 09:13:57 +0300 Subject: [PATCH] process/agents: move lib to reactions dir --- process/agents/reactions/common.ts | 6 +++--- .../{ => reactions}/lib/__generated__/GetAgentAccountId.ts | 0 .../lib/__generated__/GetDoubleAgentAccountId.ts | 0 .../lib/__generated__/GetFinDepartmentAccountId.ts | 0 process/agents/{ => reactions}/lib/fill-agents-from-lead.ts | 0 .../{ => reactions}/lib/query/__generated__/GetAgent.ts | 0 .../lib/query/__generated__/GetBrokerAccountId.ts | 0 process/agents/{ => reactions}/lib/query/get-agent.js | 0 .../{ => reactions}/lib/query/get-broker-accountid.js | 0 9 files changed, 3 insertions(+), 3 deletions(-) rename process/agents/{ => reactions}/lib/__generated__/GetAgentAccountId.ts (100%) rename process/agents/{ => reactions}/lib/__generated__/GetDoubleAgentAccountId.ts (100%) rename process/agents/{ => reactions}/lib/__generated__/GetFinDepartmentAccountId.ts (100%) rename process/agents/{ => reactions}/lib/fill-agents-from-lead.ts (100%) rename process/agents/{ => reactions}/lib/query/__generated__/GetAgent.ts (100%) rename process/agents/{ => reactions}/lib/query/__generated__/GetBrokerAccountId.ts (100%) rename process/agents/{ => reactions}/lib/query/get-agent.js (100%) rename process/agents/{ => reactions}/lib/query/get-broker-accountid.js (100%) diff --git a/process/agents/reactions/common.ts b/process/agents/reactions/common.ts index 4caf919..aa47638 100644 --- a/process/agents/reactions/common.ts +++ b/process/agents/reactions/common.ts @@ -6,9 +6,9 @@ import utc from 'dayjs/plugin/utc'; import { reaction } from 'mobx'; import type RootStore from 'stores/root'; import { normalizeOptions } from 'tools/entity'; -import * as fillAgentsFromLead from '../lib/fill-agents-from-lead'; -import QUERY_GET_AGENT from '../lib/query/get-agent'; -import type { GetAgent } from '../lib/query/__generated__/GetAgent'; +import * as fillAgentsFromLead from './lib/fill-agents-from-lead'; +import QUERY_GET_AGENT from './lib/query/get-agent'; +import type { GetAgent } from './lib/query/__generated__/GetAgent'; import type { GetBrokerAccountIdFromDealer } from './__generated__/GetBrokerAccountIdFromDealer'; import type { GetDealerPerson } from './__generated__/GetDealerPerson'; import type { GetRewardConditions } from './__generated__/GetRewardConditions'; diff --git a/process/agents/lib/__generated__/GetAgentAccountId.ts b/process/agents/reactions/lib/__generated__/GetAgentAccountId.ts similarity index 100% rename from process/agents/lib/__generated__/GetAgentAccountId.ts rename to process/agents/reactions/lib/__generated__/GetAgentAccountId.ts diff --git a/process/agents/lib/__generated__/GetDoubleAgentAccountId.ts b/process/agents/reactions/lib/__generated__/GetDoubleAgentAccountId.ts similarity index 100% rename from process/agents/lib/__generated__/GetDoubleAgentAccountId.ts rename to process/agents/reactions/lib/__generated__/GetDoubleAgentAccountId.ts diff --git a/process/agents/lib/__generated__/GetFinDepartmentAccountId.ts b/process/agents/reactions/lib/__generated__/GetFinDepartmentAccountId.ts similarity index 100% rename from process/agents/lib/__generated__/GetFinDepartmentAccountId.ts rename to process/agents/reactions/lib/__generated__/GetFinDepartmentAccountId.ts diff --git a/process/agents/lib/fill-agents-from-lead.ts b/process/agents/reactions/lib/fill-agents-from-lead.ts similarity index 100% rename from process/agents/lib/fill-agents-from-lead.ts rename to process/agents/reactions/lib/fill-agents-from-lead.ts diff --git a/process/agents/lib/query/__generated__/GetAgent.ts b/process/agents/reactions/lib/query/__generated__/GetAgent.ts similarity index 100% rename from process/agents/lib/query/__generated__/GetAgent.ts rename to process/agents/reactions/lib/query/__generated__/GetAgent.ts diff --git a/process/agents/lib/query/__generated__/GetBrokerAccountId.ts b/process/agents/reactions/lib/query/__generated__/GetBrokerAccountId.ts similarity index 100% rename from process/agents/lib/query/__generated__/GetBrokerAccountId.ts rename to process/agents/reactions/lib/query/__generated__/GetBrokerAccountId.ts diff --git a/process/agents/lib/query/get-agent.js b/process/agents/reactions/lib/query/get-agent.js similarity index 100% rename from process/agents/lib/query/get-agent.js rename to process/agents/reactions/lib/query/get-agent.js diff --git a/process/agents/lib/query/get-broker-accountid.js b/process/agents/reactions/lib/query/get-broker-accountid.js similarity index 100% rename from process/agents/lib/query/get-broker-accountid.js rename to process/agents/reactions/lib/query/get-broker-accountid.js