Delegate A/S

SolutionUpdateTsContext

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
#load @"_Config.fsx"
open _Config
open DG.Daxif
open DG.Daxif.Common.Utility

let xrmDefinitelyTyped = Path.toolsFolder ++ @"XrmDefinitelyTyped\XrmDefinitelyTyped.exe"
let xrmTypings = Path.webResourceProject ++ @"typings\XRM"
let jsLib = Path.webResourceFolder ++ "lib"

Solution.GenerateTypeScriptContext(Env.dev, xrmDefinitelyTyped, xrmTypings,
  solutions = [
    SolutionInfo.name
    ],
  entities = [
    // eg. "systemuser"
    ],
  extraArguments = [
    "web", ""
    "jsLib", jsLib
    ])
module _Config
namespace DG
namespace DG.Daxif
namespace DG.Daxif.Common
module Utility

from DG.Daxif.Common
val xrmDefinitelyTyped : string

Full name: GenerateTypeScriptContext.xrmDefinitelyTyped
module Path

from _Config
val toolsFolder : string

Full name: _Config.Path.toolsFolder
val xrmTypings : string

Full name: GenerateTypeScriptContext.xrmTypings
val webResourceProject : string

Full name: _Config.Path.webResourceProject
val jsLib : string

Full name: GenerateTypeScriptContext.jsLib
val webResourceFolder : string

Full name: _Config.Path.webResourceFolder
type Solution =
  private new : unit -> Solution
  static member Count : env:Environment * solutionName:string * ?logLevel:LogLevel -> unit
  static member Create : env:Environment * name:string * displayName:string * publisherPrefix:string * ?logLevel:LogLevel -> unit
  static member CreatePublisher : env:Environment * name:string * displayName:string * prefix:string * ?logLevel:LogLevel -> unit
  static member EnablePluginSteps : env:Environment * solutionName:string * ?enable:bool * ?logLevel:LogLevel -> unit
  static member Export : env:Environment * solutionName:string * outputDirectory:string * managed:bool * ?extended:bool * ?deltaFromDate:'a0 * ?logLevel:LogLevel -> unit
  static member Extract : solutionFile:string * customizationsFolder:string * xmlMappingFile:string * projectFile:string * ?logLevel:LogLevel -> (LogLevel -> unit)
  static member GenerateCSharpContext : env:Environment * pathToXrmContext:string * outputDir:string * ?solutions:string list * ?entities:string list * ?extraArguments:(string * string) list * ?logLevel:LogLevel -> unit
  static member GenerateTypeScriptContext : env:Environment * pathToXDT:string * outputDir:string * ?solutions:string list * ?entities:string list * ?extraArguments:(string * string) list * ?logLevel:LogLevel -> unit
  static member Import : env:Environment * pathToSolutionZip:string * ?activatePluginSteps:bool * ?extended:bool * ?logLevel:LogLevel -> unit
  ...

Full name: DG.Daxif.Solution
static member Solution.GenerateTypeScriptContext : env:Environment * pathToXDT:string * outputDir:string * ?solutions:string list * ?entities:string list * ?extraArguments:(string * string) list * ?logLevel:LogLevel -> unit
module Env

from _Config
val dev : Environment

Full name: _Config.Env.dev
module SolutionInfo

from _Config
val name : string

Full name: _Config.SolutionInfo.name