@girs/gcalc-2 2.0.0-3.2.6 → 2.0.0-3.2.7

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gcalc-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GCalc-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for GCalc-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/gcalc-2.d.cts CHANGED
@@ -531,13 +531,13 @@ export interface MathEquationManager extends GObject.Object {
531
531
 
532
532
  // Owm methods of GCalc-2.GCalc.MathEquationManager
533
533
 
534
- find_variable(name: string | null): MathVariable
534
+ find_variable(name: string): MathVariable
535
535
  get_equations(): ExpressionContainer
536
536
  get_functions(): ExpressionContainer
537
537
 
538
538
  // Own virtual methods of GCalc-2.GCalc.MathEquationManager
539
539
 
540
- vfunc_find_variable(name: string | null): MathVariable
540
+ vfunc_find_variable(name: string): MathVariable
541
541
  vfunc_get_equations(): ExpressionContainer
542
542
  vfunc_get_functions(): ExpressionContainer
543
543
 
@@ -585,11 +585,11 @@ export interface MathErrorResult extends GObject.Object, MathResult {
585
585
 
586
586
  // Owm methods of GCalc-2.GCalc.MathErrorResult
587
587
 
588
- get_message(): string | null
588
+ get_message(): string
589
589
 
590
590
  // Own virtual methods of GCalc-2.GCalc.MathErrorResult
591
591
 
592
- vfunc_get_message(): string | null
592
+ vfunc_get_message(): string
593
593
 
594
594
  // Class property signals of GCalc-2.GCalc.MathErrorResult
595
595
 
@@ -713,8 +713,8 @@ export interface MathFunction extends GObject.Object, MathExpression {
713
713
  evaluate(): MathExpression
714
714
  verify_params(): boolean
715
715
  get_param_types(): ExpressionContainer
716
- get_name(): string | null
717
- set_name(value: string | null): void
716
+ get_name(): string
717
+ set_name(value: string): void
718
718
  get_n_params(): number
719
719
  set_n_params(value: number): void
720
720
  get_closed(): boolean
@@ -725,8 +725,8 @@ export interface MathFunction extends GObject.Object, MathExpression {
725
725
  vfunc_evaluate(): MathExpression
726
726
  vfunc_verify_params(): boolean
727
727
  vfunc_get_param_types(): ExpressionContainer
728
- vfunc_get_name(): string | null
729
- vfunc_set_name(value: string | null): void
728
+ vfunc_get_name(): string
729
+ vfunc_set_name(value: string): void
730
730
  vfunc_get_n_params(): number
731
731
  vfunc_set_n_params(value: number): void
732
732
  vfunc_get_closed(): boolean
@@ -1274,8 +1274,8 @@ export interface MathVariable extends GObject.Object, MathExpression {
1274
1274
  // Owm methods of GCalc-2.GCalc.MathVariable
1275
1275
 
1276
1276
  evaluate(): MathExpression
1277
- get_name(): string | null
1278
- set_name(value: string | null): void
1277
+ get_name(): string
1278
+ set_name(value: string): void
1279
1279
  get_value(): MathConstant
1280
1280
  set_value(value: MathConstant): void
1281
1281
  get_bind(): MathVariable
@@ -1285,8 +1285,8 @@ export interface MathVariable extends GObject.Object, MathExpression {
1285
1285
  // Own virtual methods of GCalc-2.GCalc.MathVariable
1286
1286
 
1287
1287
  vfunc_evaluate(): MathExpression
1288
- vfunc_get_name(): string | null
1289
- vfunc_set_name(value: string | null): void
1288
+ vfunc_get_name(): string
1289
+ vfunc_set_name(value: string): void
1290
1290
  vfunc_get_value(): MathConstant
1291
1291
  vfunc_set_value(value: MathConstant): void
1292
1292
  vfunc_get_bind(): MathVariable
@@ -1644,8 +1644,8 @@ export class ErrorResult extends GObject.Object {
1644
1644
  // Constructors of GCalc-2.GCalc.ErrorResult
1645
1645
 
1646
1646
  constructor(config?: ErrorResult.ConstructorProperties)
1647
- constructor(msg: string | null)
1648
- static new(msg: string | null): ErrorResult
1647
+ constructor(msg: string)
1648
+ static new(msg: string): ErrorResult
1649
1649
  _init(config?: ErrorResult.ConstructorProperties): void
1650
1650
  }
1651
1651
 
@@ -1765,7 +1765,7 @@ export interface ExpressionContainer extends Gio.ListModel {
1765
1765
 
1766
1766
  get_object(position: number): GObject.Object | null
1767
1767
  find(exp: MathExpression): MathExpression | null
1768
- find_named(name: string | null): MathExpression | null
1768
+ find_named(name: string): MathExpression | null
1769
1769
  get_parent(): MathExpression
1770
1770
  set_parent(value: MathExpression): void
1771
1771
 
@@ -1908,7 +1908,7 @@ export interface ExpressionHashMap {
1908
1908
  // Overloads of remove
1909
1909
 
1910
1910
  remove(key: any): [ /* returnType */ boolean, /* value */ any ]
1911
- find_named(name: string | null): MathExpression | null
1911
+ find_named(name: string): MathExpression | null
1912
1912
  get_parent(): MathExpression
1913
1913
  set_parent(value: MathExpression): void
1914
1914
 
@@ -2033,7 +2033,7 @@ export class Function extends Expression {
2033
2033
  // Constructors of GCalc-2.GCalc.Function
2034
2034
 
2035
2035
  constructor(config?: Function.ConstructorProperties)
2036
- static with_name(name: string | null, nparams: number): Function
2036
+ static with_name(name: string, nparams: number): Function
2037
2037
  constructor()
2038
2038
  static new(): Function
2039
2039
 
@@ -2837,8 +2837,8 @@ export class Parameter extends Variable {
2837
2837
  // Constructors of GCalc-2.GCalc.Parameter
2838
2838
 
2839
2839
  constructor(config?: Parameter.ConstructorProperties)
2840
- constructor(name: string | null)
2841
- static new(name: string | null): Parameter
2840
+ constructor(name: string)
2841
+ static new(name: string): Parameter
2842
2842
 
2843
2843
  // Overloads of new
2844
2844
 
@@ -2859,7 +2859,7 @@ export interface Parser {
2859
2859
 
2860
2860
  // Owm methods of GCalc-2.GCalc.Parser
2861
2861
 
2862
- parse(str: string | null, eqman: MathEquationManager): void
2862
+ parse(str: string, eqman: MathEquationManager): void
2863
2863
  read_token(): ParserTokenType
2864
2864
  token_to_string(): string | null
2865
2865
 
@@ -3078,8 +3078,8 @@ export interface Solver {
3078
3078
 
3079
3079
  // Owm methods of GCalc-2.GCalc.Solver
3080
3080
 
3081
- add_expression(exp: string | null): void
3082
- solve(str: string | null): MathResult
3081
+ add_expression(exp: string): void
3082
+ solve(str: string): MathResult
3083
3083
  get_equation_manager(): MathEquationManager
3084
3084
  set_equation_manager(value: MathEquationManager): void
3085
3085
 
@@ -4172,7 +4172,7 @@ export interface MathEquationManagerIface {
4172
4172
 
4173
4173
  // Own fields of GCalc-2.GCalc.MathEquationManagerIface
4174
4174
 
4175
- find_variable: (self: MathEquationManager, name: string | null) => MathVariable
4175
+ find_variable: (self: MathEquationManager, name: string) => MathVariable
4176
4176
  get_equations: (self: MathEquationManager) => ExpressionContainer
4177
4177
  get_functions: (self: MathEquationManager) => ExpressionContainer
4178
4178
  }
@@ -4188,7 +4188,7 @@ export interface MathErrorResultIface {
4188
4188
 
4189
4189
  // Own fields of GCalc-2.GCalc.MathErrorResultIface
4190
4190
 
4191
- get_message: (self: MathErrorResult) => string | null
4191
+ get_message: (self: MathErrorResult) => string
4192
4192
  }
4193
4193
 
4194
4194
  export abstract class MathErrorResultIface {
@@ -4223,8 +4223,8 @@ export interface MathFunctionIface {
4223
4223
  evaluate: (self: MathFunction) => MathExpression
4224
4224
  verify_params: (self: MathFunction) => boolean
4225
4225
  get_param_types: (self: MathFunction) => ExpressionContainer
4226
- get_name: (self: MathFunction) => string | null
4227
- set_name: (self: MathFunction, value: string | null) => void
4226
+ get_name: (self: MathFunction) => string
4227
+ set_name: (self: MathFunction, value: string) => void
4228
4228
  get_n_params: (self: MathFunction) => number
4229
4229
  set_n_params: (self: MathFunction, value: number) => void
4230
4230
  get_closed: (self: MathFunction) => boolean
@@ -4370,8 +4370,8 @@ export interface MathVariableIface {
4370
4370
  // Own fields of GCalc-2.GCalc.MathVariableIface
4371
4371
 
4372
4372
  evaluate: (self: MathVariable) => MathExpression
4373
- get_name: (self: MathVariable) => string | null
4374
- set_name: (self: MathVariable, value: string | null) => void
4373
+ get_name: (self: MathVariable) => string
4374
+ set_name: (self: MathVariable, value: string) => void
4375
4375
  get_value: (self: MathVariable) => MathConstant
4376
4376
  set_value: (self: MathVariable, value: MathConstant) => void
4377
4377
  get_bind: (self: MathVariable) => MathVariable
package/gcalc-2.d.ts CHANGED
@@ -533,13 +533,13 @@ interface MathEquationManager extends GObject.Object {
533
533
 
534
534
  // Owm methods of GCalc-2.GCalc.MathEquationManager
535
535
 
536
- find_variable(name: string | null): MathVariable
536
+ find_variable(name: string): MathVariable
537
537
  get_equations(): ExpressionContainer
538
538
  get_functions(): ExpressionContainer
539
539
 
540
540
  // Own virtual methods of GCalc-2.GCalc.MathEquationManager
541
541
 
542
- vfunc_find_variable(name: string | null): MathVariable
542
+ vfunc_find_variable(name: string): MathVariable
543
543
  vfunc_get_equations(): ExpressionContainer
544
544
  vfunc_get_functions(): ExpressionContainer
545
545
 
@@ -587,11 +587,11 @@ interface MathErrorResult extends GObject.Object, MathResult {
587
587
 
588
588
  // Owm methods of GCalc-2.GCalc.MathErrorResult
589
589
 
590
- get_message(): string | null
590
+ get_message(): string
591
591
 
592
592
  // Own virtual methods of GCalc-2.GCalc.MathErrorResult
593
593
 
594
- vfunc_get_message(): string | null
594
+ vfunc_get_message(): string
595
595
 
596
596
  // Class property signals of GCalc-2.GCalc.MathErrorResult
597
597
 
@@ -715,8 +715,8 @@ interface MathFunction extends GObject.Object, MathExpression {
715
715
  evaluate(): MathExpression
716
716
  verify_params(): boolean
717
717
  get_param_types(): ExpressionContainer
718
- get_name(): string | null
719
- set_name(value: string | null): void
718
+ get_name(): string
719
+ set_name(value: string): void
720
720
  get_n_params(): number
721
721
  set_n_params(value: number): void
722
722
  get_closed(): boolean
@@ -727,8 +727,8 @@ interface MathFunction extends GObject.Object, MathExpression {
727
727
  vfunc_evaluate(): MathExpression
728
728
  vfunc_verify_params(): boolean
729
729
  vfunc_get_param_types(): ExpressionContainer
730
- vfunc_get_name(): string | null
731
- vfunc_set_name(value: string | null): void
730
+ vfunc_get_name(): string
731
+ vfunc_set_name(value: string): void
732
732
  vfunc_get_n_params(): number
733
733
  vfunc_set_n_params(value: number): void
734
734
  vfunc_get_closed(): boolean
@@ -1276,8 +1276,8 @@ interface MathVariable extends GObject.Object, MathExpression {
1276
1276
  // Owm methods of GCalc-2.GCalc.MathVariable
1277
1277
 
1278
1278
  evaluate(): MathExpression
1279
- get_name(): string | null
1280
- set_name(value: string | null): void
1279
+ get_name(): string
1280
+ set_name(value: string): void
1281
1281
  get_value(): MathConstant
1282
1282
  set_value(value: MathConstant): void
1283
1283
  get_bind(): MathVariable
@@ -1287,8 +1287,8 @@ interface MathVariable extends GObject.Object, MathExpression {
1287
1287
  // Own virtual methods of GCalc-2.GCalc.MathVariable
1288
1288
 
1289
1289
  vfunc_evaluate(): MathExpression
1290
- vfunc_get_name(): string | null
1291
- vfunc_set_name(value: string | null): void
1290
+ vfunc_get_name(): string
1291
+ vfunc_set_name(value: string): void
1292
1292
  vfunc_get_value(): MathConstant
1293
1293
  vfunc_set_value(value: MathConstant): void
1294
1294
  vfunc_get_bind(): MathVariable
@@ -1646,8 +1646,8 @@ class ErrorResult extends GObject.Object {
1646
1646
  // Constructors of GCalc-2.GCalc.ErrorResult
1647
1647
 
1648
1648
  constructor(config?: ErrorResult.ConstructorProperties)
1649
- constructor(msg: string | null)
1650
- static new(msg: string | null): ErrorResult
1649
+ constructor(msg: string)
1650
+ static new(msg: string): ErrorResult
1651
1651
  _init(config?: ErrorResult.ConstructorProperties): void
1652
1652
  }
1653
1653
 
@@ -1767,7 +1767,7 @@ interface ExpressionContainer extends Gio.ListModel {
1767
1767
 
1768
1768
  get_object(position: number): GObject.Object | null
1769
1769
  find(exp: MathExpression): MathExpression | null
1770
- find_named(name: string | null): MathExpression | null
1770
+ find_named(name: string): MathExpression | null
1771
1771
  get_parent(): MathExpression
1772
1772
  set_parent(value: MathExpression): void
1773
1773
 
@@ -1910,7 +1910,7 @@ interface ExpressionHashMap {
1910
1910
  // Overloads of remove
1911
1911
 
1912
1912
  remove(key: any): [ /* returnType */ boolean, /* value */ any ]
1913
- find_named(name: string | null): MathExpression | null
1913
+ find_named(name: string): MathExpression | null
1914
1914
  get_parent(): MathExpression
1915
1915
  set_parent(value: MathExpression): void
1916
1916
 
@@ -2035,7 +2035,7 @@ class Function extends Expression {
2035
2035
  // Constructors of GCalc-2.GCalc.Function
2036
2036
 
2037
2037
  constructor(config?: Function.ConstructorProperties)
2038
- static with_name(name: string | null, nparams: number): Function
2038
+ static with_name(name: string, nparams: number): Function
2039
2039
  constructor()
2040
2040
  static new(): Function
2041
2041
 
@@ -2839,8 +2839,8 @@ class Parameter extends Variable {
2839
2839
  // Constructors of GCalc-2.GCalc.Parameter
2840
2840
 
2841
2841
  constructor(config?: Parameter.ConstructorProperties)
2842
- constructor(name: string | null)
2843
- static new(name: string | null): Parameter
2842
+ constructor(name: string)
2843
+ static new(name: string): Parameter
2844
2844
 
2845
2845
  // Overloads of new
2846
2846
 
@@ -2861,7 +2861,7 @@ interface Parser {
2861
2861
 
2862
2862
  // Owm methods of GCalc-2.GCalc.Parser
2863
2863
 
2864
- parse(str: string | null, eqman: MathEquationManager): void
2864
+ parse(str: string, eqman: MathEquationManager): void
2865
2865
  read_token(): ParserTokenType
2866
2866
  token_to_string(): string | null
2867
2867
 
@@ -3080,8 +3080,8 @@ interface Solver {
3080
3080
 
3081
3081
  // Owm methods of GCalc-2.GCalc.Solver
3082
3082
 
3083
- add_expression(exp: string | null): void
3084
- solve(str: string | null): MathResult
3083
+ add_expression(exp: string): void
3084
+ solve(str: string): MathResult
3085
3085
  get_equation_manager(): MathEquationManager
3086
3086
  set_equation_manager(value: MathEquationManager): void
3087
3087
 
@@ -4174,7 +4174,7 @@ interface MathEquationManagerIface {
4174
4174
 
4175
4175
  // Own fields of GCalc-2.GCalc.MathEquationManagerIface
4176
4176
 
4177
- find_variable: (self: MathEquationManager, name: string | null) => MathVariable
4177
+ find_variable: (self: MathEquationManager, name: string) => MathVariable
4178
4178
  get_equations: (self: MathEquationManager) => ExpressionContainer
4179
4179
  get_functions: (self: MathEquationManager) => ExpressionContainer
4180
4180
  }
@@ -4190,7 +4190,7 @@ interface MathErrorResultIface {
4190
4190
 
4191
4191
  // Own fields of GCalc-2.GCalc.MathErrorResultIface
4192
4192
 
4193
- get_message: (self: MathErrorResult) => string | null
4193
+ get_message: (self: MathErrorResult) => string
4194
4194
  }
4195
4195
 
4196
4196
  abstract class MathErrorResultIface {
@@ -4225,8 +4225,8 @@ interface MathFunctionIface {
4225
4225
  evaluate: (self: MathFunction) => MathExpression
4226
4226
  verify_params: (self: MathFunction) => boolean
4227
4227
  get_param_types: (self: MathFunction) => ExpressionContainer
4228
- get_name: (self: MathFunction) => string | null
4229
- set_name: (self: MathFunction, value: string | null) => void
4228
+ get_name: (self: MathFunction) => string
4229
+ set_name: (self: MathFunction, value: string) => void
4230
4230
  get_n_params: (self: MathFunction) => number
4231
4231
  set_n_params: (self: MathFunction, value: number) => void
4232
4232
  get_closed: (self: MathFunction) => boolean
@@ -4372,8 +4372,8 @@ interface MathVariableIface {
4372
4372
  // Own fields of GCalc-2.GCalc.MathVariableIface
4373
4373
 
4374
4374
  evaluate: (self: MathVariable) => MathExpression
4375
- get_name: (self: MathVariable) => string | null
4376
- set_name: (self: MathVariable, value: string | null) => void
4375
+ get_name: (self: MathVariable) => string
4376
+ set_name: (self: MathVariable, value: string) => void
4377
4377
  get_value: (self: MathVariable) => MathConstant
4378
4378
  set_value: (self: MathVariable, value: MathConstant) => void
4379
4379
  get_bind: (self: MathVariable) => MathVariable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gcalc-2",
3
- "version": "2.0.0-3.2.6",
3
+ "version": "2.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for GCalc-2, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "gcalc-2.js",
@@ -25,11 +25,11 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gcalc-2.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gee-0.8": "^0.8.0-3.2.6",
29
- "@girs/gio-2.0": "^2.78.0-3.2.6",
30
- "@girs/gjs": "^3.2.6",
31
- "@girs/glib-2.0": "^2.78.0-3.2.6",
32
- "@girs/gobject-2.0": "^2.78.0-3.2.6"
28
+ "@girs/gee-0.8": "^0.8.0-3.2.7",
29
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
30
+ "@girs/gjs": "^3.2.7",
31
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
32
+ "@girs/gobject-2.0": "^2.78.0-3.2.7"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "*"