-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from geostyler/add-prettier
fix: add prettier
- Loading branch information
Showing
42 changed files
with
757 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
|
||
export type CIMFeatureTable = { | ||
|
||
}; | ||
export type CIMFeatureTable = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
|
||
type CIMActivity = {}; | ||
type CIMCondition = {}; | ||
|
||
export type CIMLayerAction = { | ||
/** | ||
* Gets or sets the name. | ||
*/ | ||
name?: null | string; | ||
/** | ||
* Gets or sets activities. | ||
*/ | ||
activities?: CIMActivity[] | null; | ||
/** | ||
* Gets or sets conditions. | ||
*/ | ||
conditions?: CIMCondition[] | null; | ||
/** | ||
* Gets or sets the name. | ||
*/ | ||
name?: null | string; | ||
/** | ||
* Gets or sets activities. | ||
*/ | ||
activities?: CIMActivity[] | null; | ||
/** | ||
* Gets or sets conditions. | ||
*/ | ||
conditions?: CIMCondition[] | null; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import { CIMLayerDefinition } from './layers/CIMLayerDefinition.ts'; | ||
|
||
import { CIMLayerDefinition } from "./layers/CIMLayerDefinition.ts"; | ||
|
||
export type CIMLayerDocument = { | ||
name: string; | ||
layerDefinitions: CIMLayerDefinition[]; | ||
name: string; | ||
layerDefinitions: CIMLayerDefinition[]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
export type CIMObject = { | ||
type: string; | ||
type: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
export * from './CIMLayerDocument.ts'; | ||
export * from './labeling/index.ts'; | ||
export * from './layers/index.ts'; | ||
export * from './renderers/index.ts'; | ||
export * from "./CIMLayerDocument.ts"; | ||
export * from "./labeling/index.ts"; | ||
export * from "./layers/index.ts"; | ||
export * from "./renderers/index.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,54 @@ | ||
import { CIMSymbol } from '../symbols/index.ts'; | ||
import { CIMSymbol } from "../symbols/index.ts"; | ||
|
||
type CIMPrimitiveOverride = {}; | ||
type CIMScaleDependentSizeVariation = {}; | ||
|
||
|
||
export type Geometry = { | ||
rings?: number[][][]; | ||
paths?: number[][][]; | ||
curveRings?: { a?: number[][]; c?: number[][] }[][]; | ||
rings?: number[][][]; | ||
paths?: number[][][]; | ||
curveRings?: { a?: number[][]; c?: number[][] }[][]; | ||
}; | ||
|
||
/** | ||
* Represents a symbol reference. | ||
* | ||
*/ | ||
export type CIMSymbolReference = { | ||
geometry: Geometry; | ||
/** | ||
* Gets or sets the primitive overrides. Typically set by renderers at draw time. | ||
*/ | ||
primitiveOverrides?: CIMPrimitiveOverride[] | null; | ||
/** | ||
* Gets or sets the style path. Reserved for future use. | ||
*/ | ||
stylePath?: null | string; | ||
/** | ||
* Gets or sets the symbol. | ||
*/ | ||
symbol?: null | CIMSymbol; | ||
/** | ||
* Gets or sets the symbol name. | ||
*/ | ||
symbolName?: null | string; | ||
/** | ||
* Gets or sets the minimum scale range the symbol reference should be displayed at. | ||
*/ | ||
minScale?: number; | ||
/** | ||
* Gets or sets the maximum scale range the symbol reference should be displayed at. | ||
*/ | ||
maxScale?: number; | ||
/** | ||
* Gets or sets an array of scale dependent sizes. | ||
*/ | ||
scaleDependentSizeVariation?: CIMScaleDependentSizeVariation[] | null; | ||
/** | ||
* Gets or sets the minimum distance at which symbols are visible. Objects closer than this don't get rendered. | ||
*/ | ||
minDistance?: number; | ||
/** | ||
* Gets or sets the maximum distance at which symbols are visible. Objects beyond this point don't get rendered. | ||
*/ | ||
maxDistance?: number; | ||
}; | ||
geometry: Geometry; | ||
/** | ||
* Gets or sets the primitive overrides. Typically set by renderers at draw time. | ||
*/ | ||
primitiveOverrides?: CIMPrimitiveOverride[] | null; | ||
/** | ||
* Gets or sets the style path. Reserved for future use. | ||
*/ | ||
stylePath?: null | string; | ||
/** | ||
* Gets or sets the symbol. | ||
*/ | ||
symbol?: null | CIMSymbol; | ||
/** | ||
* Gets or sets the symbol name. | ||
*/ | ||
symbolName?: null | string; | ||
/** | ||
* Gets or sets the minimum scale range the symbol reference should be displayed at. | ||
*/ | ||
minScale?: number; | ||
/** | ||
* Gets or sets the maximum scale range the symbol reference should be displayed at. | ||
*/ | ||
maxScale?: number; | ||
/** | ||
* Gets or sets an array of scale dependent sizes. | ||
*/ | ||
scaleDependentSizeVariation?: CIMScaleDependentSizeVariation[] | null; | ||
/** | ||
* Gets or sets the minimum distance at which symbols are visible. Objects closer than this don't get rendered. | ||
*/ | ||
minDistance?: number; | ||
/** | ||
* Gets or sets the maximum distance at which symbols are visible. Objects beyond this point don't get rendered. | ||
*/ | ||
maxDistance?: number; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export enum LabelFeatureType { | ||
Point = 'Point' , | ||
Line = 'Line', | ||
Polygon = 'Polygon' | ||
Point = "Point", | ||
Line = "Line", | ||
Polygon = "Polygon", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './CIMLabelClass.ts'; | ||
export * from './CIMSymbolReference.ts'; | ||
export * from './LabelFeatureType.ts'; | ||
export * from "./CIMLabelClass.ts"; | ||
export * from "./CIMSymbolReference.ts"; | ||
export * from "./LabelFeatureType.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { CIMObject } from '../CIMObject.ts'; | ||
import { CIMObject } from "../CIMObject.ts"; | ||
|
||
export type CIMLayerDefinition = CIMObject & { | ||
name: string; | ||
name: string; | ||
}; |
Oops, something went wrong.