|
@@ -75,7 +75,6 @@ pub use pallet_staking::StakerStatus;
|
|
|
pub use proposals_codex::ProposalsConfigParameters;
|
|
|
pub use working_group;
|
|
|
|
|
|
-use common::storage::{ContentParameters, StorageObjectOwner};
|
|
|
pub use content;
|
|
|
pub use content::MaxNumber;
|
|
|
|
|
@@ -445,37 +444,6 @@ impl content::Trait for Runtime {
|
|
|
type MaxNumberOfCuratorsPerGroup = MaxNumberOfCuratorsPerGroup;
|
|
|
}
|
|
|
|
|
|
-// TODO: Remove after the integration with the Content pallet.
|
|
|
-impl common::storage::StorageSystem<Runtime> for () {
|
|
|
- fn atomically_add_content(
|
|
|
- _: StorageObjectOwner<MemberId, ChannelId>,
|
|
|
- _: Vec<ContentParameters<ContentId, DataObjectTypeId>>,
|
|
|
- ) -> sp_runtime::DispatchResult {
|
|
|
- todo!()
|
|
|
- }
|
|
|
-
|
|
|
- fn can_add_content(
|
|
|
- _: StorageObjectOwner<MemberId, ChannelId>,
|
|
|
- _: Vec<ContentParameters<ContentId, DataObjectTypeId>>,
|
|
|
- ) -> sp_runtime::DispatchResult {
|
|
|
- todo!()
|
|
|
- }
|
|
|
-
|
|
|
- fn atomically_remove_content(
|
|
|
- _: &StorageObjectOwner<MemberId, ChannelId>,
|
|
|
- _: &[ContentId],
|
|
|
- ) -> sp_runtime::DispatchResult {
|
|
|
- todo!()
|
|
|
- }
|
|
|
-
|
|
|
- fn can_remove_content(
|
|
|
- _: &StorageObjectOwner<MemberId, ChannelId>,
|
|
|
- _: &[ContentId],
|
|
|
- ) -> sp_runtime::DispatchResult {
|
|
|
- todo!()
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
impl hiring::Trait for Runtime {
|
|
|
type OpeningId = u64;
|
|
|
type ApplicationId = u64;
|