Skip to content

Commit 9bf0a74

Browse files
Resul AvanResul Avan
authored andcommitted
formatting
1 parent 1225cff commit 9bf0a74

File tree

8 files changed

+34
-34
lines changed

8 files changed

+34
-34
lines changed

functions/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export const config = {
1+
export const config = {
22
WEBSITE_URL: 'https://nuxt-ts-firebase-auth-ssr.web.app/'
33
}

functions/src/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
declare namespace Express {
2-
export interface Request {
3-
user: any;
4-
}
2+
export interface Request {
3+
user: any;
4+
}
55
}
66

77

src/components/profile/header/ProfilePrivacy.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
{{$t(`privacy.account.${userPrivacyConfig.privacyType}.title`)}}
99
</b-tag>
1010
<b-tag type="is-light">{{$t(`privacy.account.${userPrivacyConfig.privacyType}.subtitle`)}}
11-
<b-tooltip :label="$t(`privacy.account.${userPrivacyConfig.privacyType}.description`)" position="is-left" multilined>
11+
<b-tooltip :label="$t(`privacy.account.${userPrivacyConfig.privacyType}.description`)" position="is-left"
12+
multilined>
1213
<b-icon
1314
icon="information"
1415
size="is-small">

src/components/profile/module/ProfileFollowings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:on-page-change="onPageChange">
88
<template slot="searchResult">
99
<ProfileCard v-for="(user, index) in list" :key="index" :name="user.name" :username="user.username"
10-
:profile-photo="user.profilePhoto" :privacy-type="user.privacy" />
10+
:profile-photo="user.profilePhoto" :privacy-type="user.privacy"/>
1111
</template>
1212
</Paging>
1313

src/components/search/SearchField.vue

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<template>
2-
<div class="columns is-centered">
3-
<div class="column is-half">
4-
<b-field :label="$t('common.field.search')" label-position="on-border" position="is-centered" grouped>
5-
<b-input
6-
v-model="syncQuery"
7-
:loading="isFetching"
8-
:placeholder="$t('common.field.searchPlaceholder')"
9-
type="search"
10-
icon="magnify"
11-
@keyup.enter.native="resetSearch"
12-
rounded
13-
expanded
14-
/>
15-
<b-button @click="resetSearch" :loading="isFetching" type="is-primary" rounded>{{$t('common.search')}}
16-
</b-button>
17-
</b-field>
2+
<div class="columns is-centered">
3+
<div class="column is-half">
4+
<b-field :label="$t('common.field.search')" label-position="on-border" position="is-centered" grouped>
5+
<b-input
6+
v-model="syncQuery"
7+
:loading="isFetching"
8+
:placeholder="$t('common.field.searchPlaceholder')"
9+
type="search"
10+
icon="magnify"
11+
@keyup.enter.native="resetSearch"
12+
rounded
13+
expanded
14+
/>
15+
<b-button @click="resetSearch" :loading="isFetching" type="is-primary" rounded>{{$t('common.search')}}
16+
</b-button>
17+
</b-field>
18+
</div>
1819
</div>
19-
</div>
2020
</template>
2121

2222
<script lang="ts">
2323
import { Component, Prop, PropSync, Vue } from 'nuxt-property-decorator';
2424
2525
@Component({
26-
components: {}
27-
})
28-
export default class SearchField extends Vue {
26+
components: {}
27+
})
28+
export default class SearchField extends Vue {
2929
30-
@PropSync('query', { type: String, required: true }) syncQuery !: string
31-
@Prop({ type: Function, required: true }) resetSearch !: () => void
32-
@Prop({ type: Boolean, required: false, default: false }) isFetching !: boolean
33-
}
30+
@PropSync('query', { type: String, required: true }) syncQuery !: string
31+
@Prop({ type: Function, required: true }) resetSearch !: () => void
32+
@Prop({ type: Boolean, required: false, default: false }) isFetching !: boolean
33+
}
3434
</script>

src/pages/crop.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { Component, Vue } from 'nuxt-property-decorator';
1010
import 'cropperjs/dist/cropper.css';
1111
import ProfilePhotoUpdater from '~/components/image/ProfilePhotoUpdater.vue';
12-
import { DefaultProfilePhoto, Image, Routes } from '~/types';
12+
import { Image, Routes } from '~/types';
1313
import { getHeadByRouteType } from '~/service/seo-service';
1414
import PageTitle from '~/components/ui/PageTitle.vue';
1515

src/service/firebase/firestore/following-service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
FirebaseQueryOperator,
55
Following,
66
PagingResponse,
7-
PrivacyType,
87
SearchData,
98
User,
109
WhereClause

src/types/firebase-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ export interface User extends BaseModel {
222222
surname?: string
223223
email?: string
224224
privacy?: PrivacyType
225-
followersPrivacy ?: PrivacyType
226-
followingPrivacy ?: PrivacyType
225+
followersPrivacy?: PrivacyType
226+
followingPrivacy?: PrivacyType
227227
biography?: string
228228
profilePhoto?: Image
229229
coverPhoto?: Image

0 commit comments

Comments
 (0)