Skip to content

Commit

Permalink
rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
tylim88 committed Aug 4, 2023
1 parent a6a55a9 commit d859013
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firelordjs",
"version": "2.6.9",
"version": "2.6.10",
"description": "🔥 High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/types/fieldValues.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { OriFieldValue } from './alias'
import { ErrorArrayFieldValueEmpty } from './error'
import { JSONServerTimestamp } from './serial'
import { JSONServerTimestamp } from './json'

declare const serverTimestampSymbol: unique symbol
declare const deleteFieldSymbol: unique symbol
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export * from './transaction'
export * from './operations'
export * from './equal'
export * from './firelord'
export * from './serial'
export * from './json'
2 changes: 1 addition & 1 deletion src/types/serial.ts → src/types/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type JSONGeoPointSymbol = typeof JSONGeoPointSymbol
type JSONDocumentReferenceSymbol = typeof JSONDocumentReferenceSymbol

declare class JSON<T> {
Firelord_JSON: T
protected Firelord_JSON: T
}

export interface JSONServerTimestamp extends JSON<JSONServerTimestampSymbol> {}
Expand Down
2 changes: 1 addition & 1 deletion src/types/metaTypeCreator/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
JSONServerTimestamp,
JSONDocumentReference,
JSONTimestamp,
} from '../serial'
} from '../json'

type CompareConverterArray<T, BannedTypes> = NoDirectNestedArray<
T,
Expand Down
2 changes: 1 addition & 1 deletion src/types/metaTypeCreator/metaTypeCreator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
JSONServerTimestamp,
JSONDocumentReference,
JSONTimestamp,
} from '../serial'
} from '../json'

describe('test Firelord type', () => {
it('test parents equal', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/types/metaTypeCreator/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
JSONServerTimestamp,
JSONDocumentReference,
JSONTimestamp,
} from '../serial'
} from '../json'

type ReadConverterArray<
T,
Expand Down
2 changes: 1 addition & 1 deletion src/types/metaTypeCreator/write.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
JSONServerTimestamp,
JSONDocumentReference,
JSONTimestamp,
} from '../serial'
} from '../json'

type ArrayWriteConverter<T, BannedTypes> = NoDirectNestedArray<
T,
Expand Down

0 comments on commit d859013

Please sign in to comment.