@triptease/sql-template 0.21.22 → 0.22.23

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/Identifier.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Expression } from "./Expression";
2
2
  import { Template } from "./Template";
3
3
  export declare class Identifier extends Expression {
4
- identifier: string;
4
+ readonly identifier: string;
5
5
  constructor(identifier: string);
6
6
  }
7
7
  export declare function id(identifier: string): Identifier;
package/Template.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Expression } from "./Expression";
2
2
  export declare class Template extends Expression {
3
- expressions: Expression[];
4
- constructor(expressions: Expression[]);
3
+ readonly expressions: ReadonlyArray<Expression>;
4
+ constructor(expressions: ReadonlyArray<Expression>);
5
5
  }
6
6
  export declare function template(...expressions: Expression[]): Template;
package/Text.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Expression } from "./Expression";
2
2
  export declare class Text extends Expression {
3
- text: string;
3
+ readonly text: string;
4
4
  constructor(text: string);
5
5
  }
6
6
  export declare function text(text: string): Text;
package/Value.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Expression } from "./Expression";
2
2
  import { Template } from "./Template";
3
3
  export declare class Value extends Expression {
4
- value: any;
4
+ readonly value: any;
5
5
  constructor(value: any);
6
6
  }
7
7
  export declare function value(value: any): Expression;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triptease/sql-template",
3
- "version": "0.21.22",
3
+ "version": "0.22.23",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/triptease/sql-template.git"