From 4784ed89948235ebf7e1b56dcd624f2c6b9c46e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Wed, 28 Aug 2024 11:01:33 +0200 Subject: [PATCH] Hooks should be plain TS files --- .../hooks/{useCanCreateProposal.tsx => useCanCreateProposal.ts} | 0 .../emergency-multisig/hooks/{useProposal.tsx => useProposal.ts} | 0 .../hooks/{useProposalApprovals.tsx => useProposalApprovals.ts} | 0 .../hooks/{useProposalApprove.tsx => useProposalApprove.ts} | 0 .../hooks/{useProposalExecute.tsx => useProposalExecute.ts} | 0 .../{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} | 0 .../hooks/{useUserCanApprove.tsx => useUserCanApprove.ts} | 0 plugins/lockToVote/hooks/{useProposal.tsx => useProposal.ts} | 0 .../hooks/{useProposalClaimLock.tsx => useProposalClaimLock.ts} | 0 .../hooks/{useProposalExecute.tsx => useProposalExecute.ts} | 0 .../{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} | 0 .../lockToVote/hooks/{useProposalVeto.tsx => useProposalVeto.ts} | 0 .../hooks/{useProposalVetoes.tsx => useProposalVetoes.ts} | 0 plugins/lockToVote/hooks/{useToken.tsx => useToken.ts} | 0 .../lockToVote/hooks/{useUserCanVeto.tsx => useUserCanVeto.ts} | 0 .../hooks/{useAnnounceDelegation.tsx => useAnnounceDelegation.ts} | 0 plugins/members/hooks/{useDelegates.tsx => useDelegates.ts} | 0 .../hooks/{useMultisigMembers.tsx => useMultisigMembers.ts} | 0 .../hooks/{useCanCreateProposal.tsx => useCanCreateProposal.ts} | 0 plugins/multisig/hooks/{useProposal.tsx => useProposal.ts} | 0 .../hooks/{useProposalApprovals.tsx => useProposalApprovals.ts} | 0 .../hooks/{useProposalApprove.tsx => useProposalApprove.ts} | 0 .../hooks/{useProposalExecute.tsx => useProposalExecute.ts} | 0 .../{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} | 0 .../hooks/{useUserCanApprove.tsx => useUserCanApprove.ts} | 0 .../hooks/{useProposal.tsx => useProposal.ts} | 0 .../hooks/{useProposalExecute.tsx => useProposalExecute.ts} | 0 .../hooks/{useProposalId.tsx => useProposalId.ts} | 0 .../{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} | 0 .../hooks/{useProposalVeto.tsx => useProposalVeto.ts} | 0 .../hooks/{useProposalVetoes.tsx => useProposalVetoes.ts} | 0 plugins/optimistic-proposals/hooks/{useToken.tsx => useToken.ts} | 0 .../hooks/{useTokenPastVotes.tsx => useTokenPastVotes.ts} | 0 .../hooks/{useUserCanVeto.tsx => useUserCanVeto.ts} | 0 .../hooks/{useCanCreateProposal.tsx => useCanCreateProposal.ts} | 0 plugins/tokenVoting/hooks/{useCanVote.tsx => useCanVote.ts} | 0 plugins/tokenVoting/hooks/{useProposal.tsx => useProposal.ts} | 0 .../{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} | 0 .../hooks/{useProposalVoteList.tsx => useProposalVoteList.ts} | 0 .../hooks/{useProposalVoting.tsx => useProposalVoting.ts} | 0 plugins/tokenVoting/hooks/{useToken.tsx => useToken.ts} | 0 41 files changed, 0 insertions(+), 0 deletions(-) rename plugins/emergency-multisig/hooks/{useCanCreateProposal.tsx => useCanCreateProposal.ts} (100%) rename plugins/emergency-multisig/hooks/{useProposal.tsx => useProposal.ts} (100%) rename plugins/emergency-multisig/hooks/{useProposalApprovals.tsx => useProposalApprovals.ts} (100%) rename plugins/emergency-multisig/hooks/{useProposalApprove.tsx => useProposalApprove.ts} (100%) rename plugins/emergency-multisig/hooks/{useProposalExecute.tsx => useProposalExecute.ts} (100%) rename plugins/emergency-multisig/hooks/{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} (100%) rename plugins/emergency-multisig/hooks/{useUserCanApprove.tsx => useUserCanApprove.ts} (100%) rename plugins/lockToVote/hooks/{useProposal.tsx => useProposal.ts} (100%) rename plugins/lockToVote/hooks/{useProposalClaimLock.tsx => useProposalClaimLock.ts} (100%) rename plugins/lockToVote/hooks/{useProposalExecute.tsx => useProposalExecute.ts} (100%) rename plugins/lockToVote/hooks/{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} (100%) rename plugins/lockToVote/hooks/{useProposalVeto.tsx => useProposalVeto.ts} (100%) rename plugins/lockToVote/hooks/{useProposalVetoes.tsx => useProposalVetoes.ts} (100%) rename plugins/lockToVote/hooks/{useToken.tsx => useToken.ts} (100%) rename plugins/lockToVote/hooks/{useUserCanVeto.tsx => useUserCanVeto.ts} (100%) rename plugins/members/hooks/{useAnnounceDelegation.tsx => useAnnounceDelegation.ts} (100%) rename plugins/members/hooks/{useDelegates.tsx => useDelegates.ts} (100%) rename plugins/members/hooks/{useMultisigMembers.tsx => useMultisigMembers.ts} (100%) rename plugins/multisig/hooks/{useCanCreateProposal.tsx => useCanCreateProposal.ts} (100%) rename plugins/multisig/hooks/{useProposal.tsx => useProposal.ts} (100%) rename plugins/multisig/hooks/{useProposalApprovals.tsx => useProposalApprovals.ts} (100%) rename plugins/multisig/hooks/{useProposalApprove.tsx => useProposalApprove.ts} (100%) rename plugins/multisig/hooks/{useProposalExecute.tsx => useProposalExecute.ts} (100%) rename plugins/multisig/hooks/{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} (100%) rename plugins/multisig/hooks/{useUserCanApprove.tsx => useUserCanApprove.ts} (100%) rename plugins/optimistic-proposals/hooks/{useProposal.tsx => useProposal.ts} (100%) rename plugins/optimistic-proposals/hooks/{useProposalExecute.tsx => useProposalExecute.ts} (100%) rename plugins/optimistic-proposals/hooks/{useProposalId.tsx => useProposalId.ts} (100%) rename plugins/optimistic-proposals/hooks/{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} (100%) rename plugins/optimistic-proposals/hooks/{useProposalVeto.tsx => useProposalVeto.ts} (100%) rename plugins/optimistic-proposals/hooks/{useProposalVetoes.tsx => useProposalVetoes.ts} (100%) rename plugins/optimistic-proposals/hooks/{useToken.tsx => useToken.ts} (100%) rename plugins/optimistic-proposals/hooks/{useTokenPastVotes.tsx => useTokenPastVotes.ts} (100%) rename plugins/optimistic-proposals/hooks/{useUserCanVeto.tsx => useUserCanVeto.ts} (100%) rename plugins/tokenVoting/hooks/{useCanCreateProposal.tsx => useCanCreateProposal.ts} (100%) rename plugins/tokenVoting/hooks/{useCanVote.tsx => useCanVote.ts} (100%) rename plugins/tokenVoting/hooks/{useProposal.tsx => useProposal.ts} (100%) rename plugins/tokenVoting/hooks/{useProposalVariantStatus.tsx => useProposalVariantStatus.ts} (100%) rename plugins/tokenVoting/hooks/{useProposalVoteList.tsx => useProposalVoteList.ts} (100%) rename plugins/tokenVoting/hooks/{useProposalVoting.tsx => useProposalVoting.ts} (100%) rename plugins/tokenVoting/hooks/{useToken.tsx => useToken.ts} (100%) diff --git a/plugins/emergency-multisig/hooks/useCanCreateProposal.tsx b/plugins/emergency-multisig/hooks/useCanCreateProposal.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useCanCreateProposal.tsx rename to plugins/emergency-multisig/hooks/useCanCreateProposal.ts diff --git a/plugins/emergency-multisig/hooks/useProposal.tsx b/plugins/emergency-multisig/hooks/useProposal.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useProposal.tsx rename to plugins/emergency-multisig/hooks/useProposal.ts diff --git a/plugins/emergency-multisig/hooks/useProposalApprovals.tsx b/plugins/emergency-multisig/hooks/useProposalApprovals.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useProposalApprovals.tsx rename to plugins/emergency-multisig/hooks/useProposalApprovals.ts diff --git a/plugins/emergency-multisig/hooks/useProposalApprove.tsx b/plugins/emergency-multisig/hooks/useProposalApprove.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useProposalApprove.tsx rename to plugins/emergency-multisig/hooks/useProposalApprove.ts diff --git a/plugins/emergency-multisig/hooks/useProposalExecute.tsx b/plugins/emergency-multisig/hooks/useProposalExecute.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useProposalExecute.tsx rename to plugins/emergency-multisig/hooks/useProposalExecute.ts diff --git a/plugins/emergency-multisig/hooks/useProposalVariantStatus.tsx b/plugins/emergency-multisig/hooks/useProposalVariantStatus.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useProposalVariantStatus.tsx rename to plugins/emergency-multisig/hooks/useProposalVariantStatus.ts diff --git a/plugins/emergency-multisig/hooks/useUserCanApprove.tsx b/plugins/emergency-multisig/hooks/useUserCanApprove.ts similarity index 100% rename from plugins/emergency-multisig/hooks/useUserCanApprove.tsx rename to plugins/emergency-multisig/hooks/useUserCanApprove.ts diff --git a/plugins/lockToVote/hooks/useProposal.tsx b/plugins/lockToVote/hooks/useProposal.ts similarity index 100% rename from plugins/lockToVote/hooks/useProposal.tsx rename to plugins/lockToVote/hooks/useProposal.ts diff --git a/plugins/lockToVote/hooks/useProposalClaimLock.tsx b/plugins/lockToVote/hooks/useProposalClaimLock.ts similarity index 100% rename from plugins/lockToVote/hooks/useProposalClaimLock.tsx rename to plugins/lockToVote/hooks/useProposalClaimLock.ts diff --git a/plugins/lockToVote/hooks/useProposalExecute.tsx b/plugins/lockToVote/hooks/useProposalExecute.ts similarity index 100% rename from plugins/lockToVote/hooks/useProposalExecute.tsx rename to plugins/lockToVote/hooks/useProposalExecute.ts diff --git a/plugins/lockToVote/hooks/useProposalVariantStatus.tsx b/plugins/lockToVote/hooks/useProposalVariantStatus.ts similarity index 100% rename from plugins/lockToVote/hooks/useProposalVariantStatus.tsx rename to plugins/lockToVote/hooks/useProposalVariantStatus.ts diff --git a/plugins/lockToVote/hooks/useProposalVeto.tsx b/plugins/lockToVote/hooks/useProposalVeto.ts similarity index 100% rename from plugins/lockToVote/hooks/useProposalVeto.tsx rename to plugins/lockToVote/hooks/useProposalVeto.ts diff --git a/plugins/lockToVote/hooks/useProposalVetoes.tsx b/plugins/lockToVote/hooks/useProposalVetoes.ts similarity index 100% rename from plugins/lockToVote/hooks/useProposalVetoes.tsx rename to plugins/lockToVote/hooks/useProposalVetoes.ts diff --git a/plugins/lockToVote/hooks/useToken.tsx b/plugins/lockToVote/hooks/useToken.ts similarity index 100% rename from plugins/lockToVote/hooks/useToken.tsx rename to plugins/lockToVote/hooks/useToken.ts diff --git a/plugins/lockToVote/hooks/useUserCanVeto.tsx b/plugins/lockToVote/hooks/useUserCanVeto.ts similarity index 100% rename from plugins/lockToVote/hooks/useUserCanVeto.tsx rename to plugins/lockToVote/hooks/useUserCanVeto.ts diff --git a/plugins/members/hooks/useAnnounceDelegation.tsx b/plugins/members/hooks/useAnnounceDelegation.ts similarity index 100% rename from plugins/members/hooks/useAnnounceDelegation.tsx rename to plugins/members/hooks/useAnnounceDelegation.ts diff --git a/plugins/members/hooks/useDelegates.tsx b/plugins/members/hooks/useDelegates.ts similarity index 100% rename from plugins/members/hooks/useDelegates.tsx rename to plugins/members/hooks/useDelegates.ts diff --git a/plugins/members/hooks/useMultisigMembers.tsx b/plugins/members/hooks/useMultisigMembers.ts similarity index 100% rename from plugins/members/hooks/useMultisigMembers.tsx rename to plugins/members/hooks/useMultisigMembers.ts diff --git a/plugins/multisig/hooks/useCanCreateProposal.tsx b/plugins/multisig/hooks/useCanCreateProposal.ts similarity index 100% rename from plugins/multisig/hooks/useCanCreateProposal.tsx rename to plugins/multisig/hooks/useCanCreateProposal.ts diff --git a/plugins/multisig/hooks/useProposal.tsx b/plugins/multisig/hooks/useProposal.ts similarity index 100% rename from plugins/multisig/hooks/useProposal.tsx rename to plugins/multisig/hooks/useProposal.ts diff --git a/plugins/multisig/hooks/useProposalApprovals.tsx b/plugins/multisig/hooks/useProposalApprovals.ts similarity index 100% rename from plugins/multisig/hooks/useProposalApprovals.tsx rename to plugins/multisig/hooks/useProposalApprovals.ts diff --git a/plugins/multisig/hooks/useProposalApprove.tsx b/plugins/multisig/hooks/useProposalApprove.ts similarity index 100% rename from plugins/multisig/hooks/useProposalApprove.tsx rename to plugins/multisig/hooks/useProposalApprove.ts diff --git a/plugins/multisig/hooks/useProposalExecute.tsx b/plugins/multisig/hooks/useProposalExecute.ts similarity index 100% rename from plugins/multisig/hooks/useProposalExecute.tsx rename to plugins/multisig/hooks/useProposalExecute.ts diff --git a/plugins/multisig/hooks/useProposalVariantStatus.tsx b/plugins/multisig/hooks/useProposalVariantStatus.ts similarity index 100% rename from plugins/multisig/hooks/useProposalVariantStatus.tsx rename to plugins/multisig/hooks/useProposalVariantStatus.ts diff --git a/plugins/multisig/hooks/useUserCanApprove.tsx b/plugins/multisig/hooks/useUserCanApprove.ts similarity index 100% rename from plugins/multisig/hooks/useUserCanApprove.tsx rename to plugins/multisig/hooks/useUserCanApprove.ts diff --git a/plugins/optimistic-proposals/hooks/useProposal.tsx b/plugins/optimistic-proposals/hooks/useProposal.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useProposal.tsx rename to plugins/optimistic-proposals/hooks/useProposal.ts diff --git a/plugins/optimistic-proposals/hooks/useProposalExecute.tsx b/plugins/optimistic-proposals/hooks/useProposalExecute.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useProposalExecute.tsx rename to plugins/optimistic-proposals/hooks/useProposalExecute.ts diff --git a/plugins/optimistic-proposals/hooks/useProposalId.tsx b/plugins/optimistic-proposals/hooks/useProposalId.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useProposalId.tsx rename to plugins/optimistic-proposals/hooks/useProposalId.ts diff --git a/plugins/optimistic-proposals/hooks/useProposalVariantStatus.tsx b/plugins/optimistic-proposals/hooks/useProposalVariantStatus.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useProposalVariantStatus.tsx rename to plugins/optimistic-proposals/hooks/useProposalVariantStatus.ts diff --git a/plugins/optimistic-proposals/hooks/useProposalVeto.tsx b/plugins/optimistic-proposals/hooks/useProposalVeto.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useProposalVeto.tsx rename to plugins/optimistic-proposals/hooks/useProposalVeto.ts diff --git a/plugins/optimistic-proposals/hooks/useProposalVetoes.tsx b/plugins/optimistic-proposals/hooks/useProposalVetoes.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useProposalVetoes.tsx rename to plugins/optimistic-proposals/hooks/useProposalVetoes.ts diff --git a/plugins/optimistic-proposals/hooks/useToken.tsx b/plugins/optimistic-proposals/hooks/useToken.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useToken.tsx rename to plugins/optimistic-proposals/hooks/useToken.ts diff --git a/plugins/optimistic-proposals/hooks/useTokenPastVotes.tsx b/plugins/optimistic-proposals/hooks/useTokenPastVotes.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useTokenPastVotes.tsx rename to plugins/optimistic-proposals/hooks/useTokenPastVotes.ts diff --git a/plugins/optimistic-proposals/hooks/useUserCanVeto.tsx b/plugins/optimistic-proposals/hooks/useUserCanVeto.ts similarity index 100% rename from plugins/optimistic-proposals/hooks/useUserCanVeto.tsx rename to plugins/optimistic-proposals/hooks/useUserCanVeto.ts diff --git a/plugins/tokenVoting/hooks/useCanCreateProposal.tsx b/plugins/tokenVoting/hooks/useCanCreateProposal.ts similarity index 100% rename from plugins/tokenVoting/hooks/useCanCreateProposal.tsx rename to plugins/tokenVoting/hooks/useCanCreateProposal.ts diff --git a/plugins/tokenVoting/hooks/useCanVote.tsx b/plugins/tokenVoting/hooks/useCanVote.ts similarity index 100% rename from plugins/tokenVoting/hooks/useCanVote.tsx rename to plugins/tokenVoting/hooks/useCanVote.ts diff --git a/plugins/tokenVoting/hooks/useProposal.tsx b/plugins/tokenVoting/hooks/useProposal.ts similarity index 100% rename from plugins/tokenVoting/hooks/useProposal.tsx rename to plugins/tokenVoting/hooks/useProposal.ts diff --git a/plugins/tokenVoting/hooks/useProposalVariantStatus.tsx b/plugins/tokenVoting/hooks/useProposalVariantStatus.ts similarity index 100% rename from plugins/tokenVoting/hooks/useProposalVariantStatus.tsx rename to plugins/tokenVoting/hooks/useProposalVariantStatus.ts diff --git a/plugins/tokenVoting/hooks/useProposalVoteList.tsx b/plugins/tokenVoting/hooks/useProposalVoteList.ts similarity index 100% rename from plugins/tokenVoting/hooks/useProposalVoteList.tsx rename to plugins/tokenVoting/hooks/useProposalVoteList.ts diff --git a/plugins/tokenVoting/hooks/useProposalVoting.tsx b/plugins/tokenVoting/hooks/useProposalVoting.ts similarity index 100% rename from plugins/tokenVoting/hooks/useProposalVoting.tsx rename to plugins/tokenVoting/hooks/useProposalVoting.ts diff --git a/plugins/tokenVoting/hooks/useToken.tsx b/plugins/tokenVoting/hooks/useToken.ts similarity index 100% rename from plugins/tokenVoting/hooks/useToken.tsx rename to plugins/tokenVoting/hooks/useToken.ts