Skip to content

Commit

Permalink
fix: new build
Browse files Browse the repository at this point in the history
  • Loading branch information
AhashSritharan committed Oct 29, 2023
1 parent b09e871 commit 87eb893
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
1 change: 0 additions & 1 deletion build/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
![NPM](https://img.shields.io/npm/l/xrm-ex)
![NPM](https://img.shields.io/npm/v/xrm-ex)
![GitHub Workflow Status](https://github.com/AhashSritharan/Xrm-Ex/actions/workflows/XrmEx.yml/badge.svg?branch%253Dmain)
![GitHub Workflow Status](https://github.com/AhashSritharan/Xrm-Ex/actions/workflows/playwright.yml/badge.svg?branch%253Dmain)

[![NPM](https://nodei.co/npm/xrm-ex.png)](https://nodei.co/npm/xrm-ex/)

Expand Down
2 changes: 1 addition & 1 deletion build/src/XrmEx.js

Large diffs are not rendered by default.

Binary file modified release/xrm-ex.zip
Binary file not shown.
47 changes: 27 additions & 20 deletions src/XrmEx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
type RequestParameter = {
Name: string;
Type:
| "Boolean"
| "DateTime"
| "Decimal"
| "Entity"
| "EntityCollection"
| "EntityReference"
| "Float"
| "Integer"
| "Money"
| "Picklist"
| "String";
| "Boolean"
| "DateTime"
| "Decimal"
| "Entity"
| "EntityCollection"
| "EntityReference"
| "Float"
| "Integer"
| "Money"
| "Picklist"
| "String";
Value: any;
};
/**
Expand Down Expand Up @@ -384,7 +384,7 @@ export namespace XrmEx {
export class Form {
protected static _formContext: Xrm.FormContext;
protected static _executionContext: Xrm.Events.EventContext;
constructor() { }
constructor() {}
/**Gets a reference to the current form context*/
static get formContext(): Xrm.FormContext {
return this._formContext;
Expand Down Expand Up @@ -850,7 +850,8 @@ export namespace XrmEx {
}
export class TextField
extends Field
implements Xrm.Attributes.StringAttribute {
implements Xrm.Attributes.StringAttribute
{
protected declare _attribute: Xrm.Attributes.StringAttribute;
constructor(attribute: string) {
super(attribute);
Expand Down Expand Up @@ -878,7 +879,8 @@ export namespace XrmEx {
}
export class NumberField
extends Field
implements Xrm.Attributes.NumberAttribute {
implements Xrm.Attributes.NumberAttribute
{
protected declare _attribute: Xrm.Attributes.NumberAttribute;
constructor(attribute: string) {
super(attribute);
Expand Down Expand Up @@ -915,7 +917,8 @@ export namespace XrmEx {
}
export class DateField
extends Field
implements Xrm.Attributes.DateAttribute {
implements Xrm.Attributes.DateAttribute
{
protected declare _attribute: Xrm.Attributes.DateAttribute;
constructor(attribute: string) {
super(attribute);
Expand All @@ -940,7 +943,8 @@ export namespace XrmEx {
}
export class BooleanField
extends Field
implements Xrm.Attributes.BooleanAttribute {
implements Xrm.Attributes.BooleanAttribute
{
protected declare _attribute: Xrm.Attributes.BooleanAttribute;
constructor(attribute: string) {
super(attribute);
Expand Down Expand Up @@ -968,7 +972,8 @@ export namespace XrmEx {
}
export class MultiSelectOptionSetField<Options extends OptionValues>
extends Field
implements Xrm.Attributes.MultiSelectOptionSetAttribute {
implements Xrm.Attributes.MultiSelectOptionSetAttribute
{
protected declare _attribute: Xrm.Attributes.MultiSelectOptionSetAttribute;
Option: Options;
constructor(attributeName: string, option?: Options) {
Expand Down Expand Up @@ -1021,7 +1026,8 @@ export namespace XrmEx {
}
export class LookupField
extends Field
implements Xrm.Attributes.LookupAttribute {
implements Xrm.Attributes.LookupAttribute
{
protected declare _attribute: Xrm.Attributes.LookupAttribute;
protected _customFilters: any = [];
constructor(attribute: string) {
Expand Down Expand Up @@ -1233,7 +1239,8 @@ export namespace XrmEx {
};
export class OptionsetField<Options extends OptionValues>
extends Field
implements Xrm.Attributes.OptionSetAttribute {
implements Xrm.Attributes.OptionSetAttribute
{
protected declare _attribute: Xrm.Attributes.OptionSetAttribute;
protected _control!: Xrm.Controls.OptionSetControl;
Option: Options;
Expand Down Expand Up @@ -1513,4 +1520,4 @@ export namespace XrmEx {
}
}
}
}
}

0 comments on commit 87eb893

Please sign in to comment.