diff --git a/docs/persistent-rita/docs/types/DatabaseConfig.html b/docs/persistent-rita/docs/types/DatabaseConfig.html new file mode 100644 index 0000000..f01bcb7 --- /dev/null +++ b/docs/persistent-rita/docs/types/DatabaseConfig.html @@ -0,0 +1,65 @@ +DatabaseConfig | Persistent Rita - v5.0.0
+
+ +
+
+
+
+ +

Type alias DatabaseConfig

+
DatabaseConfig: {
    database: string;
    host: string;
    password?: string;
    port?: number;
    username?: string;
}
+
+

Type declaration

+
    +
  • +
    database: string
  • +
  • +
    host: string
  • +
  • +
    Optional password?: string
  • +
  • +
    Optional port?: number
  • +
  • +
    Optional username?: string
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/functions/evaluateAll.html b/docs/rita-core/docs/implementation/functions/evaluateAll.html new file mode 100644 index 0000000..b77e1d8 --- /dev/null +++ b/docs/rita-core/docs/implementation/functions/evaluateAll.html @@ -0,0 +1,91 @@ +evaluateAll | @educorvi/rita
+
+ +
+
+
+
+ +

Function evaluateAll

+
+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/functions/mapArgumentsToJSONReady.html b/docs/rita-core/docs/implementation/functions/mapArgumentsToJSONReady.html new file mode 100644 index 0000000..0ad7eec --- /dev/null +++ b/docs/rita-core/docs/implementation/functions/mapArgumentsToJSONReady.html @@ -0,0 +1,93 @@ +mapArgumentsToJSONReady | @educorvi/rita
+
+ +
+
+
+
+ +

Function mapArgumentsToJSONReady

+
+
    + +
  • +

    A function that is supposed to be used as argument for the Array.map() function, to map arguments to their rita-json ready counterparts.

    +
    +
    +

    Parameters

    +
      +
    • +
      item: string | number | Date | Formula
      +

      The item to be mapped

      +
      +
    +

    Returns string | number | Record<string, any>

    +
    +

    Example

         const jsonArguments = someCalculation.arguments.map(mapParameterToJSONReady);
    +
    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/functions/parseDate.html b/docs/rita-core/docs/implementation/functions/parseDate.html new file mode 100644 index 0000000..f8a59cb --- /dev/null +++ b/docs/rita-core/docs/implementation/functions/parseDate.html @@ -0,0 +1,90 @@ +parseDate | @educorvi/rita
+
+ +
+
+
+
+ +

Function parseDate

+
+
    + +
  • +

    Parses the date in the argument string. Throws an exception if date can not be parsed

    +
    +
    +

    Parameters

    +
      +
    • +
      val: string
      +

      the string to be parsed

      +
      +
    +

    Returns Date

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/functions/setLogger.html b/docs/rita-core/docs/implementation/functions/setLogger.html new file mode 100644 index 0000000..d84070a --- /dev/null +++ b/docs/rita-core/docs/implementation/functions/setLogger.html @@ -0,0 +1,84 @@ +setLogger | @educorvi/rita
+
+ +
+
+
+
+ +

Function setLogger

+
+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/types/EvaluationDetails.html b/docs/rita-core/docs/implementation/types/EvaluationDetails.html new file mode 100644 index 0000000..505a95c --- /dev/null +++ b/docs/rita-core/docs/implementation/types/EvaluationDetails.html @@ -0,0 +1,88 @@ +EvaluationDetails | @educorvi/rita
+
+ +
+
+
+
+ +

Type alias EvaluationDetails

+
EvaluationDetails: {
    id: string;
    result: boolean;
}
+
+

Type declaration

+
    +
  • +
    id: string
    +

    The ID of the rule

    +
    +
  • +
  • +
    result: boolean
    +

    The result of the rule

    +
    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/types/EvaluationResult.html b/docs/rita-core/docs/implementation/types/EvaluationResult.html new file mode 100644 index 0000000..8e8330f --- /dev/null +++ b/docs/rita-core/docs/implementation/types/EvaluationResult.html @@ -0,0 +1,98 @@ +EvaluationResult | @educorvi/rita
+
+ +
+
+
+
+ +

Type alias EvaluationResult

+
EvaluationResult: {
    counts: {
        false: number;
        true: number;
    };
    details: EvaluationDetails[];
    result: boolean;
}
+
+

Type declaration

+
    +
  • +
    counts: {
        false: number;
        true: number;
    }
    +

    Amount of rules that were evaluated to true or false respectively.

    +
    +
    +
      +
    • +
      false: number
    • +
    • +
      true: number
  • +
  • +
    details: EvaluationDetails[]
    +

    The results for every rule

    +
    +
  • +
  • +
    result: boolean
    +

    The result of all rules combined (combined by logical "and")

    +
    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/types/FormulaResults.html b/docs/rita-core/docs/implementation/types/FormulaResults.html new file mode 100644 index 0000000..613af5d --- /dev/null +++ b/docs/rita-core/docs/implementation/types/FormulaResults.html @@ -0,0 +1,75 @@ +FormulaResults | @educorvi/rita
+
+ +
+
+
+
+ +

Type alias FormulaResults

+
FormulaResults: boolean | Date | number | string
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/types/PluginClass.html b/docs/rita-core/docs/implementation/types/PluginClass.html new file mode 100644 index 0000000..37d92b7 --- /dev/null +++ b/docs/rita-core/docs/implementation/types/PluginClass.html @@ -0,0 +1,93 @@ +PluginClass | @educorvi/rita
+
+ +
+
+
+
+ +

Type alias PluginClass

+
PluginClass: (new (options, childFormula) => Plugin)
+
+

Type declaration

+
    +
  • +
      +
    • new (options, childFormula): Plugin
    • +
    • +

      Type of class that extends Plugin

      +
      +
      +

      Parameters

      +
        +
      • +
        options: Record<any, any>
      • +
      • +
        childFormula: undefined | Formula
      +

      Returns Plugin

      +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/variables/logger-1.html b/docs/rita-core/docs/implementation/variables/logger-1.html new file mode 100644 index 0000000..c815b48 --- /dev/null +++ b/docs/rita-core/docs/implementation/variables/logger-1.html @@ -0,0 +1,75 @@ +logger | @educorvi/rita
+
+ +
+
+
+
+ +

Variable logger

+
logger: Logger = ...
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/rita-core/docs/implementation/variables/version.html b/docs/rita-core/docs/implementation/variables/version.html new file mode 100644 index 0000000..14a774f --- /dev/null +++ b/docs/rita-core/docs/implementation/variables/version.html @@ -0,0 +1,75 @@ +version | @educorvi/rita
+
+ +
+
+
+
+ +

Variable versionConst

+
version: undefined | string = process.env.VERSION
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/persistent-rita/docs/types/DatabaseConfig.html b/persistent-rita/docs/types/DatabaseConfig.html new file mode 100644 index 0000000..f01bcb7 --- /dev/null +++ b/persistent-rita/docs/types/DatabaseConfig.html @@ -0,0 +1,65 @@ +DatabaseConfig | Persistent Rita - v5.0.0
+
+ +
+
+
+
+ +

Type alias DatabaseConfig

+
DatabaseConfig: {
    database: string;
    host: string;
    password?: string;
    port?: number;
    username?: string;
}
+
+

Type declaration

+
    +
  • +
    database: string
  • +
  • +
    host: string
  • +
  • +
    Optional password?: string
  • +
  • +
    Optional port?: number
  • +
  • +
    Optional username?: string
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file