Skip to content

Commit c59930a

Browse files
refactor: rename service used for deploy and prune (#481)
Signed-off-by: David Dal Busco <[email protected]>
1 parent 934ca1c commit c59930a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/services/assets/_deploy/deploy.list.services.ts renamed to src/services/assets/_assets.list.services.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {COLLECTION_DAPP} from '@junobuild/cli-tools';
22
import type {Asset} from '@junobuild/core';
33
import {listAssets as listAssetsLib} from '@junobuild/core';
4-
import {DEPLOY_LIST_ASSETS_PAGINATION} from '../../../constants/deploy.constants';
5-
import type {SatelliteParametersWithId} from '../../../types/satellite';
6-
import {last} from '../../../utils/array.utils';
4+
import {DEPLOY_LIST_ASSETS_PAGINATION} from '../../constants/deploy.constants';
5+
import type {SatelliteParametersWithId} from '../../types/satellite';
6+
import {last} from '../../utils/array.utils';
77

88
export const listAssets = async ({
99
startAfter,

src/services/assets/_deploy/deploy.execute.services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
import type {SatelliteParametersWithId} from '../../../types/satellite';
2222
import {assertConfigAndLoadSatelliteContext} from '../../../utils/juno.config.utils';
2323
import {assertSatelliteMemorySize} from '../../assert.services';
24-
import {listAssets} from './deploy.list.services';
24+
import {listAssets} from '../_assets.list.services';
2525

2626
export const executeDeployWithProposal = async ({
2727
options,

src/services/assets/prune.services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {noJunoConfig} from '../../configs/juno.config';
1212
import type {SatelliteParametersWithId} from '../../types/satellite';
1313
import {assertConfigAndLoadSatelliteContext} from '../../utils/juno.config.utils';
1414
import {consoleNoConfigFound} from '../../utils/msg.utils';
15-
import {listAssets} from './_deploy/deploy.list.services';
15+
import {listAssets} from './_assets.list.services';
1616

1717
export const prune = async (args?: string[]) => {
1818
if (await noJunoConfig()) {

0 commit comments

Comments
 (0)