Skip to content

Commit

Permalink
Merge pull request #969 from jetstreamapp/chore/nx-19
Browse files Browse the repository at this point in the history
Chore/nx-19
  • Loading branch information
paustint committed Jul 7, 2024
2 parents 24606a2 + 8e98b07 commit a205e11
Show file tree
Hide file tree
Showing 54 changed files with 930 additions and 775 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ AUTH0_M2M_DOMAIN='dev-ce6oji5b.us.auth0.com'

PRISMA_DEBUG='false'

NX_AUTH_AUDIENCE='http://getjetstream.app/app_metadata'
NX_ROLLBAR_KEY=''
NX_AMPLITUDE_KEY=''
NX_PUBLIC_AUTH_AUDIENCE='http://getjetstream.app/app_metadata'
NX_PUBLIC_ROLLBAR_KEY=''
NX_PUBLIC_AMPLITUDE_KEY=''

# Used to save feedback as a github issue and run some build commands
# Also required for the release process
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ env:
CONTENTFUL_SPACE: wuv9tl5d77ll
CONTENTFUL_TOKEN: ${{ secrets.CONTENTFUL_TOKEN }}
NX_CLOUD_DISTRIBUTED_EXECUTION: false
NX_AMPLITUDE_KEY: ${{ secrets.NX_AMPLITUDE_KEY }}
NX_AUTH_AUDIENCE: http://getjetstream.app/app_metadata
NX_ROLLBAR_KEY: ${{ secrets.NX_ROLLBAR_KEY }}
NX_PUBLIC_AMPLITUDE_KEY: ${{ secrets.NX_PUBLIC_AMPLITUDE_KEY }}
NX_PUBLIC_AUTH_AUDIENCE: http://getjetstream.app/app_metadata
NX_PUBLIC_ROLLBAR_KEY: ${{ secrets.NX_PUBLIC_ROLLBAR_KEY }}

jobs:
# Build application
Expand Down Expand Up @@ -79,10 +79,10 @@ jobs:
JETSTREAM_CLIENT_URL: http://localhost:3333/app
JETSTREAM_SERVER_DOMAIN: localhost:3333
JETSTREAM_SERVER_URL: http://localhost:3333
NX_AMPLITUDE_KEY: ${{ secrets.NX_AMPLITUDE_KEY }}
NX_AUTH_AUDIENCE: http://getjetstream.app/app_metadata
NX_PUBLIC_AMPLITUDE_KEY: ${{ secrets.NX_PUBLIC_AMPLITUDE_KEY }}
NX_PUBLIC_AUTH_AUDIENCE: http://getjetstream.app/app_metadata
NX_CLOUD_DISTRIBUTED_EXECUTION: false
NX_ROLLBAR_KEY: ${{ secrets.NX_ROLLBAR_KEY }}
NX_PUBLIC_ROLLBAR_KEY: ${{ secrets.NX_PUBLIC_ROLLBAR_KEY }}
SFDC_CALLBACK_URL: http://localhost:3333/oauth/sfdc/callback
SFDC_CONSUMER_KEY: ${{ secrets.SFDC_CONSUMER_KEY }}
SFDC_CONSUMER_SECRET: ${{ secrets.SFDC_CONSUMER_SECRET }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ package-lock.json
**/playwright-report
**/playwright/.cache

.nx/cache
.nx/cache
.nx/workspace-data
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/coverage
.docusaurus/

/.nx/cache
/.nx/cache
/.nx/workspace-data
2 changes: 1 addition & 1 deletion apps/api/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ JETSTREAM_CLIENT_URL="http://localhost:4200/app"
JETSTREAM_SERVER_DOMAIN="localhost:3333"
JETSTREAM_SERVER_URL="http://localhost:3333"

NX_AUTH_AUDIENCE="http://getjetstream.app/app_metadata"
NX_PUBLIC_AUTH_AUDIENCE="http://getjetstream.app/app_metadata"
NX_BRANCH="main"
NX_SFDC_API_VERSION="60.0"

Expand Down
2 changes: 1 addition & 1 deletion apps/api/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ JETSTREAM_CLIENT_URL="https://getjetstream.app/app"
JETSTREAM_SERVER_DOMAIN="getjetstream.app"
JETSTREAM_SERVER_URL="https://getjetstream.app"

NX_AUTH_AUDIENCE="http://getjetstream.app/app_metadata"
NX_PUBLIC_AUTH_AUDIENCE="http://getjetstream.app/app_metadata"
NX_BRANCH="main"
NX_SFDC_API_VERSION="61.0"

Expand Down
6 changes: 3 additions & 3 deletions apps/jetstream/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const environment = {
name: 'Jetstream',
production: true,
rollbarClientAccessToken: import.meta.env.NX_ROLLBAR_KEY,
amplitudeToken: import.meta.env.NX_AMPLITUDE_KEY,
authAudience: import.meta.env.NX_AUTH_AUDIENCE,
rollbarClientAccessToken: import.meta.env.NX_PUBLIC_ROLLBAR_KEY,
amplitudeToken: import.meta.env.NX_PUBLIC_AMPLITUDE_KEY,
authAudience: import.meta.env.NX_PUBLIC_AUTH_AUDIENCE,
MODE: import.meta.env.MODE,
BASE_URL: import.meta.env.BASE_URL,
PROD: import.meta.env.PROD,
Expand Down
6 changes: 3 additions & 3 deletions apps/jetstream/src/environments/environment.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const environment = {
name: 'JetstreamTest',
production: true,
rollbarClientAccessToken: process.env.NX_ROLLBAR_KEY,
amplitudeToken: process.env.NX_AMPLITUDE_KEY,
authAudience: process.env.NX_AUTH_AUDIENCE,
rollbarClientAccessToken: process.env.NX_PUBLIC_ROLLBAR_KEY,
amplitudeToken: process.env.NX_PUBLIC_AMPLITUDE_KEY,
authAudience: process.env.NX_PUBLIC_AUTH_AUDIENCE,
// MODE: import.meta.env.MODE,
// BASE_URL: import.meta.env.BASE_URL,
// PROD: import.meta.env.PROD,
Expand Down
6 changes: 3 additions & 3 deletions apps/jetstream/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
export const environment = {
name: 'JetstreamDev',
production: false,
rollbarClientAccessToken: import.meta.env.NX_ROLLBAR_KEY,
amplitudeToken: import.meta.env.NX_AMPLITUDE_KEY,
authAudience: import.meta.env.NX_AUTH_AUDIENCE,
rollbarClientAccessToken: import.meta.env.NX_PUBLIC_ROLLBAR_KEY,
amplitudeToken: import.meta.env.NX_PUBLIC_AMPLITUDE_KEY,
authAudience: import.meta.env.NX_PUBLIC_AUTH_AUDIENCE,
MODE: import.meta.env.MODE,
BASE_URL: import.meta.env.BASE_URL,
PROD: import.meta.env.PROD,
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ services:
SFDC_CONSUMER_SECRET: '${SFDC_CONSUMER_SECRET}'
SFDC_CONSUMER_KEY: '${SFDC_CONSUMER_KEY}'
SFDC_CALLBACK_URL: '${SFDC_CALLBACK_URL}'
NX_ROLLBAR_KEY: '${NX_ROLLBAR_KEY}'
NX_AMPLITUDE_KEY: '${NX_AMPLITUDE_KEY}'
NX_AUTH_AUDIENCE: '${NX_AUTH_AUDIENCE}'
NX_PUBLIC_ROLLBAR_KEY: '${NX_PUBLIC_ROLLBAR_KEY}'
NX_PUBLIC_AMPLITUDE_KEY: '${NX_PUBLIC_AMPLITUDE_KEY}'
NX_PUBLIC_AUTH_AUDIENCE: '${NX_PUBLIC_AUTH_AUDIENCE}'
ports:
- '3333:3333'
- '9229:9229'
Expand Down
2 changes: 1 addition & 1 deletion libs/api-config/src/lib/env-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ export const ENV = {
// HONEYCOMB
HONEYCOMB_ENABLED: ensureBoolean(process.env.HONEYCOMB_ENABLED),
HONEYCOMB_API_KEY: process.env.HONEYCOMB_API_KEY,
AUTH_AUDIENCE: process.env.NX_AUTH_AUDIENCE,
AUTH_AUDIENCE: process.env.NX_PUBLIC_AUTH_AUDIENCE,
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { logger } from '@jetstream/shared/client-logger';
import { composeQuery, getField } from 'soql-parser-js';
import { composeQuery, getField } from '@jetstreamapp/soql-parser-js';

/**
* SOQL QUERIES
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { queryAll, sobjectOperation } from '@jetstream/shared/data';
import { REGEX, splitArrayToMaxSize } from '@jetstream/shared/utils';
import { Maybe, ObjectPermissionRecordInsert, RecordResult, SalesforceOrgUi, TabPermissionRecordInsert } from '@jetstream/types';
import { composeQuery, getField } from '@jetstreamapp/soql-parser-js';
import JSZip from 'jszip';
import partition from 'lodash/partition';
import { composeQuery, getField } from 'soql-parser-js';
import { CreateFieldParams, CreateObjectPayload } from './create-object-types';

export function generateApiNameFromLabel(value: string) {
Expand Down
2 changes: 1 addition & 1 deletion libs/features/deploy/src/utils/deploy-metadata.utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import {
setColumnFromType,
Spinner,
} from '@jetstream/ui';
import { composeQuery, getField, Query } from '@jetstreamapp/soql-parser-js';
import { formatISO } from 'date-fns/formatISO';
import { parseISO } from 'date-fns/parseISO';
import JSZip from 'jszip';
import localforage from 'localforage';
import isString from 'lodash/isString';
import { SELECT_COLUMN_KEY, SelectColumn } from 'react-data-grid';
import { composeQuery, getField, Query } from 'soql-parser-js';

const MAX_HISTORY_ITEMS = 500;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
TabVisibilityPermissionRecord,
TabVisibilityPermissionRecordForSave,
} from '@jetstream/types';
import { Query, WhereClause, composeQuery, getField } from 'soql-parser-js';
import { Query, WhereClause, composeQuery, getField } from '@jetstreamapp/soql-parser-js';

const MAX_OBJ_IN_QUERY = 100;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { fromQueryState } from '@jetstream/ui-core';
import { composeSoqlQuery } from '@jetstream/ui-core/shared';
import { GroupByFieldClause, GroupByFnClause, Query } from '@jetstreamapp/soql-parser-js';
import { FunctionComponent, useEffect } from 'react';
import { useRecoilState, useRecoilValue, useSetRecoilState } from 'recoil';
import { GroupByFieldClause, GroupByFnClause, Query } from 'soql-parser-js';

/**
* This component ensures that the entire state tree is not re-rendered each time some query element needs to be modified
Expand Down
4 changes: 2 additions & 2 deletions libs/features/query/src/QueryOptions/ManualSoql.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { ANALYTICS_KEYS } from '@jetstream/shared/constants';
import { CheckboxToggle, Grid, GridCol, Icon, Popover, PopoverRef, Spinner, Textarea } from '@jetstream/ui';
import { useAmplitude } from '@jetstream/ui-core';
import { formatQuery, isQueryValid } from '@jetstreamapp/soql-parser-js';
import Editor, { OnMount } from '@monaco-editor/react';
import type { editor } from 'monaco-editor';
import { Fragment, FunctionComponent, useEffect, useRef, useState } from 'react';
import { Link, useNavigate } from 'react-router-dom';
import { formatQuery, isQueryValid } from 'soql-parser-js';
import { useAmplitude } from '@jetstream/ui-core';
import RestoreQuery from '../QueryBuilder/RestoreQuery';

export interface ManualSoqlProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import {
fetchRecordsWithRequiredFields,
useDeployRecords,
} from '@jetstream/ui-core';
import { Query } from '@jetstreamapp/soql-parser-js';
import isNumber from 'lodash/isNumber';
import { ChangeEvent, FunctionComponent, useCallback, useEffect, useMemo, useState } from 'react';
import { atom, useRecoilCallback, useRecoilState, useResetRecoilState } from 'recoil';
import { Query } from 'soql-parser-js';
import BulkUpdateFromQueryRecordSelection from './BulkUpdateFromQueryRecordSelection';

const MAX_BATCH_SIZE = 10000;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { formatNumber } from '@jetstream/shared/ui-utils';
import { SalesforceRecord } from '@jetstream/types';
import { RADIO_ALL_BROWSER, RADIO_ALL_SERVER, RADIO_FILTERED, RADIO_SELECTED, Radio, RadioGroup } from '@jetstream/ui';
import { Query } from '@jetstreamapp/soql-parser-js';
import { Fragment, FunctionComponent } from 'react';
import { Query } from 'soql-parser-js';

export interface BulkUpdateFromQueryRecordSelectionProps {
disabled?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion libs/features/query/src/QueryResults/QueryResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ import {
useAmplitude,
} from '@jetstream/ui-core';
import { getFlattenSubqueryFlattenedFieldMap } from '@jetstream/ui-core/shared';
import { FieldSubquery, Query, composeQuery, isFieldSubquery, parseQuery } from '@jetstreamapp/soql-parser-js';
import classNames from 'classnames';
import React, { Fragment, FunctionComponent, useCallback, useEffect, useRef, useState } from 'react';
import { Link, NavLink, useLocation, useNavigate } from 'react-router-dom';
import { useRecoilState, useRecoilValue } from 'recoil';
import { filter } from 'rxjs/operators';
import { FieldSubquery, Query, composeQuery, isFieldSubquery, parseQuery } from 'soql-parser-js';
import QueryHistory, { QueryHistoryRef } from '../QueryHistory/QueryHistory';
import IncludeDeletedRecordsToggle from '../QueryOptions/IncludeDeletedRecords';
import useQueryRestore from '../utils/useQueryRestore';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { ANALYTICS_KEYS } from '@jetstream/shared/constants';
import { AsyncJobNew, BulkDownloadJob, FileExtCsvXLSXJsonGSheet, Maybe, QueryResultsColumn, SalesforceOrgUi } from '@jetstream/types';
import { DownloadFromServerOpts, Icon, RecordDownloadModal } from '@jetstream/ui';
import { applicationCookieState, fromJetstreamEvents, fromQueryState, useAmplitude } from '@jetstream/ui-core';
import { composeQuery, parseQuery } from '@jetstreamapp/soql-parser-js';
import { Fragment, FunctionComponent, useState } from 'react';
import { useRecoilState, useRecoilValue } from 'recoil';
import { composeQuery, parseQuery } from 'soql-parser-js';

export interface QueryResultsDownloadButtonProps {
selectedOrg: SalesforceOrgUi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import { formatNumber, useNonInitialEffect } from '@jetstream/shared/ui-utils';
import { REGEX, pluralizeIfMultiple } from '@jetstream/shared/utils';
import { AsyncJobNew, Maybe, SalesforceOrgUi } from '@jetstream/types';
import { DropDown, Input, getSfdcRetUrl, salesforceLoginAndRedirect, useConfirmation } from '@jetstream/ui';
import { fromJetstreamEvents } from '@jetstream/ui-core';
import { fromJetstreamEvents, useAmplitude } from '@jetstream/ui-core';
import { Query } from '@jetstreamapp/soql-parser-js';
import { Fragment, FunctionComponent, useState } from 'react';
import { Query } from 'soql-parser-js';
import { useAmplitude } from '@jetstream/ui-core';
import BulkUpdateFromQueryModal from './BulkUpdateFromQuery/BulkUpdateFromQueryModal';
import QueryResultsGetRecAsApexModal from './QueryResultsGetRecAsApexModal';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { useDebounce, useNonInitialEffect } from '@jetstream/shared/ui-utils';
import { SalesforceOrgUi } from '@jetstream/types';
import { CheckboxToggle, Grid, Icon, Panel, Textarea, Tooltip } from '@jetstream/ui';
import { fromQueryHistoryState } from '@jetstream/ui-core';
import { formatQuery, parseQuery } from '@jetstreamapp/soql-parser-js';
import Editor, { OnMount, useMonaco } from '@monaco-editor/react';
import type { editor } from 'monaco-editor';
import { FunctionComponent, useEffect, useReducer, useRef, useState } from 'react';
import { formatQuery, parseQuery } from 'soql-parser-js';
import SaveFavoriteSoql from '../QueryOptions/SaveFavoriteSoql';

type Action =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { logger } from '@jetstream/shared/client-logger';
import { Field, Maybe, SalesforceOrgUi } from '@jetstream/types';
import { Query } from '@jetstreamapp/soql-parser-js';
import { useCallback, useEffect, useState } from 'react';
import { Query } from 'soql-parser-js';
import { fetchMetadataFromSoql } from '../utils/query-soql-utils';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FieldType as QueryFieldType, parseQuery } from 'soql-parser-js';
import { FieldType as QueryFieldType, parseQuery } from '@jetstreamapp/soql-parser-js';
import { SoqlMetadataTree, __TEST_EXPORTS__ } from '../query-soql-utils';

const {
Expand Down
4 changes: 2 additions & 2 deletions libs/features/query/src/utils/query-restore-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {
SalesforceOrgUi,
} from '@jetstream/types';
import { fromQueryState } from '@jetstream/ui-core';
import isString from 'lodash/isString';
import {
Condition,
DateLiteral,
Expand All @@ -43,7 +42,8 @@ import {
Query,
FieldType as QueryFieldType,
WhereClause,
} from 'soql-parser-js';
} from '@jetstreamapp/soql-parser-js';
import isString from 'lodash/isString';
import {
BASE_FIELD_SEPARATOR,
CHILD_FIELD_SEPARATOR,
Expand Down
4 changes: 2 additions & 2 deletions libs/features/query/src/utils/query-soql-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { describeGlobal, describeSObject } from '@jetstream/shared/data';
import { getFieldKey } from '@jetstream/shared/ui-utils';
import { orderValues } from '@jetstream/shared/utils';
import { DescribeGlobalSObjectResult, DescribeSObjectResult, Field, Maybe, SalesforceOrgUi } from '@jetstream/types';
import isString from 'lodash/isString';
import {
Query,
FieldType as QueryFieldType,
WhereClause,
isOrderByField,
isValueCondition,
isWhereOrHavingClauseWithRightCondition,
} from 'soql-parser-js';
} from '@jetstreamapp/soql-parser-js';
import isString from 'lodash/isString';
import { getQueryFieldBaseKey, getSubqueryFieldBaseKey } from './query-fields-utils';

export interface SoqlMetadataTree {
Expand Down
2 changes: 1 addition & 1 deletion libs/features/query/src/utils/useQueryRestore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { getErrorMessageAndStackObj } from '@jetstream/shared/utils';
import { Maybe, SalesforceOrgUi } from '@jetstream/types';
import { fireToast } from '@jetstream/ui';
import { fromQueryState, selectedOrgState } from '@jetstream/ui-core';
import { Query, parseQuery } from '@jetstreamapp/soql-parser-js';
import isString from 'lodash/isString';
import { useEffect, useRef, useState } from 'react';
import { useRecoilValue, useResetRecoilState, useSetRecoilState } from 'recoil';
import { Query, parseQuery } from 'soql-parser-js';
import { QueryRestoreErrors, UserFacingRestoreError, restoreQuery } from './query-restore-utils';

const ERROR_MESSAGES = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
transformationCriteriaListItems,
transformationOptionListItems,
} from '@jetstream/ui-core';
import { isQueryValid } from '@jetstreamapp/soql-parser-js';
import { FunctionComponent, useEffect, useState } from 'react';
import { isQueryValid } from 'soql-parser-js';

export interface MassUpdateRecordsApplyToAllRowProps {
commonFields: ListItem[];
Expand Down
2 changes: 1 addition & 1 deletion libs/monaco-configuration/src/lib/language-soql.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Used SQL as a starting point
// https://github.com/microsoft/monaco-languages/blob/main/src/sql/sql.ts
// TODO: consider open sourcing the apex part
import { formatQuery } from '@jetstreamapp/soql-parser-js';
import type * as monaco from 'monaco-editor';
import { formatQuery } from 'soql-parser-js';

type Monaco = typeof monaco;

Expand Down
2 changes: 1 addition & 1 deletion libs/salesforce-api/src/lib/api-query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { flattenQueryColumn, getErrorMessage } from '@jetstream/shared/utils';
import { QueryColumnsSfdc, QueryResult, QueryResults, QueryResultsColumns } from '@jetstream/types';
import { Query, parseQuery } from 'soql-parser-js';
import { Query, parseQuery } from '@jetstreamapp/soql-parser-js';
import { ApiConnection } from './connection';
import { SalesforceApi } from './utils';

Expand Down
4 changes: 2 additions & 2 deletions libs/shared/ui-core-shared/src/query-soql-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { describeGlobal, describeSObject } from '@jetstream/shared/data';
import { getFieldKey } from '@jetstream/shared/ui-utils';
import { orderValues } from '@jetstream/shared/utils';
import { DescribeGlobalSObjectResult, DescribeSObjectResult, Field, Maybe, SalesforceOrgUi } from '@jetstream/types';
import isString from 'lodash/isString';
import {
OrderByFieldClause,
Query,
Expand All @@ -12,7 +11,8 @@ import {
isOrderByField,
isValueCondition,
isWhereOrHavingClauseWithRightCondition,
} from 'soql-parser-js';
} from '@jetstreamapp/soql-parser-js';
import isString from 'lodash/isString';
import { getQueryFieldBaseKey, getSubqueryFieldBaseKey } from './query-fields-utils';

export interface SoqlMetadataTree {
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/ui-core-shared/src/query-utils.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { convertFiltersToWhereClause } from '@jetstream/shared/ui-utils';
import { groupByFlat } from '@jetstream/shared/utils';
import { ErrorResult, ExpressionType, Field, FieldType, Maybe, SalesforceRecord } from '@jetstream/types';
import { FieldSubquery, HavingClause, Query, WhereClause, composeQuery, getFlattenedFields } from '@jetstreamapp/soql-parser-js';
import { formatISO } from 'date-fns/formatISO';
import { parseISO } from 'date-fns/parseISO';
import isNil from 'lodash/isNil';
import isNumber from 'lodash/isNumber';
import isString from 'lodash/isString';
import { FieldSubquery, HavingClause, Query, WhereClause, composeQuery, getFlattenedFields } from 'soql-parser-js';

export interface EditFromErrors {
hasErrors: boolean;
Expand Down
Loading

0 comments on commit a205e11

Please sign in to comment.