Skip to content

Commit

Permalink
Reorganise files
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed Jan 13, 2025
1 parent 3e4a238 commit 1c44113
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ library internal
Cardano.Api.GeneralParsers
Cardano.Api.Genesis
Cardano.Api.GenesisParameters
Cardano.Api.Governance.Actions.CIP108
Cardano.Api.Governance.Actions.CIP119
Cardano.Api.Governance.Actions.MetadataValidation
Cardano.Api.Governance.Actions.ProposalProcedure
Cardano.Api.Governance.Actions.VotingProcedure
Cardano.Api.Governance.Metadata.DrepRegistration
Cardano.Api.Governance.Metadata.GovAction
Cardano.Api.Governance.Metadata.Validation
Cardano.Api.Governance.Poll
Cardano.Api.HasTypeProxy
Cardano.Api.Hash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module Cardano.Api.Governance.Actions.CIP119 (CIP119 (..)) where

import Cardano.Api.GeneralParsers (textWithMaxLength)
import Cardano.Api.Governance.Actions.MetadataValidation (GovActionMetadata)
import Cardano.Api.Governance.Metadata.Validation (GovActionMetadata)

import Data.Aeson (FromJSON, withObject, (.:), (.:?))
import qualified Data.Aeson as Aeson
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE TypeFamilies #-}

module Cardano.Api.Governance.Actions.CIP108 (CIP108 (..)) where
module Cardano.Api.Governance.Metadata.GovAction (CIP108 (..)) where

import Cardano.Api.GeneralParsers (textWithMaxLength)
import Cardano.Api.Governance.Actions.MetadataValidation (GovActionMetadata)
import Cardano.Api.Governance.Metadata.Validation (GovActionMetadata)

import Data.Aeson (FromJSON, withObject, withText, (.:), (.:?))
import qualified Data.Aeson as Aeson
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}

module Cardano.Api.Governance.Actions.MetadataValidation (GovActionMetadata, validateGovActionAnchorData) where
module Cardano.Api.Governance.Metadata.Validation (GovActionMetadata, validateGovActionAnchorData) where

import Data.Aeson (FromJSON, eitherDecodeStrict)
import Data.ByteString (ByteString)
Expand Down
4 changes: 2 additions & 2 deletions cardano-api/src/Cardano/Api.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1092,10 +1092,10 @@ import Cardano.Api.Feature
import Cardano.Api.Fees
import Cardano.Api.Genesis
import Cardano.Api.GenesisParameters
import Cardano.Api.Governance.Actions.CIP108 (CIP108 (..))
import Cardano.Api.Governance.Actions.CIP119 (CIP119 (..))
import Cardano.Api.Governance.Actions.MetadataValidation
import Cardano.Api.Governance.Actions.ProposalProcedure
import Cardano.Api.Governance.Metadata.GovAction (CIP108 (..))
import Cardano.Api.Governance.Metadata.Validation
import Cardano.Api.Hash
import Cardano.Api.HasTypeProxy
import Cardano.Api.InMode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ where
import Cardano.Api (CIP108 (..), CIP119 (..), File (File), FileDirection (In), FileError,
readByteStringFile)
import Cardano.Api.DRepMetadata (DRepMetadata (..))
import Cardano.Api.Governance.Actions.MetadataValidation (validateGovActionAnchorData)
import Cardano.Api.Governance.Metadata.Validation (validateGovActionAnchorData)

import Data.ByteString (ByteString)
import Data.Monoid (Any)
Expand Down

0 comments on commit 1c44113

Please sign in to comment.