memi-board 0.42.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composables/useMemiBoardComments.d.ts +6 -0
- package/dist/composables/useMemiBoardMiniPosts.d.ts +7 -0
- package/dist/composables/useMemiBoardReports.d.ts +4 -0
- package/dist/index.js +712 -701
- package/dist/index.js.map +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/{slugify-Cyq-Gg8X.js → slugify-Cm_pi2al.js} +44 -53
- package/dist/{slugify-Cyq-Gg8X.js.map → slugify-Cm_pi2al.js.map} +1 -1
- package/dist/storage.d.ts +2 -4
- package/dist/storage.js +46 -73
- package/dist/storage.js.map +1 -1
- package/package.json +20 -15
- package/dist/heic2any-D2QKy06h.js +0 -977
- package/dist/heic2any-D2QKy06h.js.map +0 -1
|
@@ -45,6 +45,7 @@ export declare function useMemiBoardReplies(boardId: string, postId: string, roo
|
|
|
45
45
|
readonly nanoseconds: number;
|
|
46
46
|
toDate: () => Date;
|
|
47
47
|
toMillis: () => number;
|
|
48
|
+
toInstant: () => Temporal.Instant;
|
|
48
49
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
49
50
|
toString: () => string;
|
|
50
51
|
toJSON: () => {
|
|
@@ -59,6 +60,7 @@ export declare function useMemiBoardReplies(boardId: string, postId: string, roo
|
|
|
59
60
|
readonly nanoseconds: number;
|
|
60
61
|
toDate: () => Date;
|
|
61
62
|
toMillis: () => number;
|
|
63
|
+
toInstant: () => Temporal.Instant;
|
|
62
64
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
63
65
|
toString: () => string;
|
|
64
66
|
toJSON: () => {
|
|
@@ -74,6 +76,7 @@ export declare function useMemiBoardReplies(boardId: string, postId: string, roo
|
|
|
74
76
|
readonly nanoseconds: number;
|
|
75
77
|
toDate: () => Date;
|
|
76
78
|
toMillis: () => number;
|
|
79
|
+
toInstant: () => Temporal.Instant;
|
|
77
80
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
78
81
|
toString: () => string;
|
|
79
82
|
toJSON: () => {
|
|
@@ -107,6 +110,7 @@ export declare function useMemiBoardReplies(boardId: string, postId: string, roo
|
|
|
107
110
|
readonly nanoseconds: number;
|
|
108
111
|
toDate: () => Date;
|
|
109
112
|
toMillis: () => number;
|
|
113
|
+
toInstant: () => Temporal.Instant;
|
|
110
114
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
111
115
|
toString: () => string;
|
|
112
116
|
toJSON: () => {
|
|
@@ -121,6 +125,7 @@ export declare function useMemiBoardReplies(boardId: string, postId: string, roo
|
|
|
121
125
|
readonly nanoseconds: number;
|
|
122
126
|
toDate: () => Date;
|
|
123
127
|
toMillis: () => number;
|
|
128
|
+
toInstant: () => Temporal.Instant;
|
|
124
129
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
125
130
|
toString: () => string;
|
|
126
131
|
toJSON: () => {
|
|
@@ -136,6 +141,7 @@ export declare function useMemiBoardReplies(boardId: string, postId: string, roo
|
|
|
136
141
|
readonly nanoseconds: number;
|
|
137
142
|
toDate: () => Date;
|
|
138
143
|
toMillis: () => number;
|
|
144
|
+
toInstant: () => Temporal.Instant;
|
|
139
145
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
140
146
|
toString: () => string;
|
|
141
147
|
toJSON: () => {
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { PostModel } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* SSR과 클라이언트 첫 렌더의 pending 상태가 갈리면(서버는 즉시 완료, 클라이언트는
|
|
5
|
+
* 로딩 중) MiniList.vue가 서버에선 빈 상태(<p>), 클라이언트에선 스켈레톤(<div>)을
|
|
6
|
+
* 그려 노드 자체가 달라지는 하이드레이션 mismatch가 난다. 쿼리가 where/orderBy/limit을
|
|
7
|
+
* 쓰는 복합 쿼리라 ssrKey 없인 vuefire가 경로를 못 찾는 것도 같은 원인이라, 두 컴포저블
|
|
8
|
+
* 모두 서버에서도 쿼리를 실행하고 ssrKey로 하이드레이션시킨다.
|
|
9
|
+
*/
|
|
3
10
|
export declare function useMemiBoardMiniLatest(boardId: MaybeRefOrGetter<string | null>, count: MaybeRefOrGetter<number>): {
|
|
4
11
|
posts: import('vue').ComputedRef<import('vuefire').VueFirestoreQueryData<PostModel>>;
|
|
5
12
|
pending: import('vue').Ref<boolean, boolean>;
|
|
@@ -35,6 +35,7 @@ export declare function useMemiBoardReportQueue(options?: {
|
|
|
35
35
|
readonly nanoseconds: number;
|
|
36
36
|
toDate: () => Date;
|
|
37
37
|
toMillis: () => number;
|
|
38
|
+
toInstant: () => Temporal.Instant;
|
|
38
39
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
39
40
|
toString: () => string;
|
|
40
41
|
toJSON: () => {
|
|
@@ -52,6 +53,7 @@ export declare function useMemiBoardReportQueue(options?: {
|
|
|
52
53
|
readonly nanoseconds: number;
|
|
53
54
|
toDate: () => Date;
|
|
54
55
|
toMillis: () => number;
|
|
56
|
+
toInstant: () => Temporal.Instant;
|
|
55
57
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
56
58
|
toString: () => string;
|
|
57
59
|
toJSON: () => {
|
|
@@ -76,6 +78,7 @@ export declare function useMemiBoardReportQueue(options?: {
|
|
|
76
78
|
readonly nanoseconds: number;
|
|
77
79
|
toDate: () => Date;
|
|
78
80
|
toMillis: () => number;
|
|
81
|
+
toInstant: () => Temporal.Instant;
|
|
79
82
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
80
83
|
toString: () => string;
|
|
81
84
|
toJSON: () => {
|
|
@@ -93,6 +96,7 @@ export declare function useMemiBoardReportQueue(options?: {
|
|
|
93
96
|
readonly nanoseconds: number;
|
|
94
97
|
toDate: () => Date;
|
|
95
98
|
toMillis: () => number;
|
|
99
|
+
toInstant: () => Temporal.Instant;
|
|
96
100
|
isEqual: (other: import('firebase/firestore').Timestamp) => boolean;
|
|
97
101
|
toString: () => string;
|
|
98
102
|
toJSON: () => {
|