Skip to content

Commit 0a1a361

Browse files
authored
Merge pull request #716 from Adamant-im/fix/remove-ts-extensions
Fix: remove ts extensions
2 parents 6c685da + 2710cf1 commit 0a1a361

30 files changed

+128
-98
lines changed

jsconfig.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"compilerOptions": {
3+
"paths": {
4+
"@/*": ["./src/*"]
5+
}
6+
}
7+
}

package-lock.json

Lines changed: 82 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"sass-loader": "^16.0.1",
162162
"sinon": "^18.0.0",
163163
"swagger-typescript-api": "^13.0.22",
164-
"typescript": "^5.5.4",
164+
"typescript": "^5.7.3",
165165
"user-agent-data-types": "^0.4.2",
166166
"uuid": "^10.0.0",
167167
"vite": "^5.4.2",
@@ -174,7 +174,7 @@
174174
"vue-cli-plugin-vuetify": "~2.5.8",
175175
"vue-eslint-parser": "^9.4.3",
176176
"vue-template-compiler": "^2.7.16",
177-
"vue-tsc": "^2.1.2",
177+
"vue-tsc": "2.2.0",
178178
"web3-types": "^1.7.0"
179179
},
180180
"main": "dist-electron/main.js",

src/components/AChat/AChatActionsOverlay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</template>
3535

3636
<script lang="ts">
37-
import { usePartnerId } from '@/components/AChat/hooks/usePartnerId.ts'
37+
import { usePartnerId } from '@/components/AChat/hooks/usePartnerId'
3838
import { NormalizedChatMessageTransaction } from '@/lib/chat/helpers'
3939
import { computed, defineComponent, onMounted, PropType, reactive, ref } from 'vue'
4040

src/components/AChat/AChatAttachment/AChatFile.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ import { NormalizedChatMessageTransaction } from '@/lib/chat/helpers'
6565
import { LocalFile, isLocalFile, formatBytes } from '@/lib/files'
6666
import { FileAsset } from '@/lib/adamant-api/asset'
6767
import IconFile from '@/components/icons/common/IconFile.vue'
68-
import { AChatFileLoader } from './AChatFileLoader.tsx'
68+
import { AChatFileLoader } from './AChatFileLoader'
6969
import { mdiImageOff } from '@mdi/js'
7070
71-
7271
const className = 'a-chat-file'
7372
const classes = {
7473
root: className,

src/components/AChat/AChatAttachment/AChatImage.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@
4343
import { defineComponent, PropType } from 'vue'
4444
import { useI18n } from 'vue-i18n'
4545
46-
import { AChatFileLoader } from './AChatFileLoader.tsx'
46+
import { AChatFileLoader } from './AChatFileLoader'
4747
import { NormalizedChatMessageTransaction } from '@/lib/chat/helpers'
4848
import { LocalFile } from '@/lib/files'
4949
import { FileAsset } from '@/lib/adamant-api/asset'
5050
import { mdiImageOff } from '@mdi/js'
5151
52-
5352
const className = 'a-chat-image'
5453
const classes = {
5554
root: className,

src/components/AChat/AChatReactions/AChatReactions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</template>
2323

2424
<script lang="ts">
25-
import { usePartnerId } from '@/components/AChat/hooks/usePartnerId.ts'
25+
import { usePartnerId } from '@/components/AChat/hooks/usePartnerId'
2626
import ChatAvatar from '@/components/Chat/ChatAvatar.vue'
2727
import { isEmptyReaction, NormalizedChatMessageTransaction } from '@/lib/chat/helpers'
2828
import { computed, defineComponent, PropType, watch } from 'vue'

src/components/AChat/hooks/useFormatMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useStore } from 'vuex'
44

55
import { formatMarkdown } from '@/filters/formatMarkdown'
66
import { NormalizedChatMessageTransaction } from '@/lib/chat/helpers'
7-
import { usePartnerId } from '@/components/AChat/hooks/usePartnerId.ts'
7+
import { usePartnerId } from '@/components/AChat/hooks/usePartnerId'
88

99
export function useFormatMessage(transaction: NormalizedChatMessageTransaction) {
1010
const store = useStore()

src/components/Chat/ChatToolbar.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ import partnerName from '@/mixins/partnerName'
4545
import { isAdamantChat, isWelcomeChat } from '@/lib/chat/meta/utils'
4646
import { mdiArrowLeft } from '@mdi/js'
4747
48-
4948
export default {
5049
mixins: [partnerName],
5150
props: {

src/components/icons/cryptos/QntIcon.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<path
44
d="M134.8,44.5l121.9,142.9l81.8-48.1c0,0-98.7-132-125.1-122.7C188.8,25.9,134.8,44.5,134.8,44.5z"
55
/>
6-
<path
7-
d="M341.7,139.2c0,0,18.6-32.6,27.8-76.1c0,0,92.6,37.2,57.1,130.5L341.7,139.2z"
8-
/>
6+
<path d="M341.7,139.2c0,0,18.6-32.6,27.8-76.1c0,0,92.6,37.2,57.1,130.5L341.7,139.2z" />
97
<path
108
d="M426.5,193.6l7.8,97.9l35.5-4.6c0,0,9.2-3.1,7.8-20.1c-1.6-18.7-4.6-57.5-4.6-57.5
119
s1.6-9.3-20-12.4C426.5,192,426.5,193.6,426.5,193.6z"

0 commit comments

Comments
 (0)