Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Feb 17, 2024
1 parent 877c14b commit 467e369
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/admin/src/services/satellite.services.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import {IDL} from '@dfinity/candid';
import {Principal} from '@dfinity/principal';
import type {
Rule,
RulesType,
SatelliteConfig,
StorageConfigHeader,
StorageConfigRedirect,
Expand Down Expand Up @@ -36,7 +38,6 @@ import {
import type {SatelliteParameters} from '../types/actor.types';
import type {BuildType} from '../types/build.types';
import type {CustomDomain} from '../types/customdomain.types';
import type {Rule, RulesType} from '@junobuild/config';
import {encodeIDLControllers} from '../utils/idl.utils';
import {mapRule, mapRuleType, mapSetRule} from '../utils/rule.utils';

Expand Down
2 changes: 1 addition & 1 deletion packages/admin/src/utils/rule.utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type {MemoryText, PermissionText, Rule, RulesType} from '@junobuild/config';
import {fromNullable, isNullish, nonNullish, toNullable} from '@junobuild/utils';
import type {
Memory,
Expand All @@ -16,7 +17,6 @@ import {
PermissionPublic,
StorageRulesType
} from '../constants/rules.constants';
import type {MemoryText, PermissionText, Rule, RulesType} from '@junobuild/config';

export const mapRuleType = (type: RulesType): RulesTypeApi =>
type === 'storage' ? StorageRulesType : DbRulesType;
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/dev/juno.dev.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Rule} from "../types/rules";
import type {Rule} from '../types/rules';

export type SatelliteDevCollection = Omit<Rule, 'created_at' | 'updated_at'>;

Expand Down

0 comments on commit 467e369

Please sign in to comment.