@fairmint/open-captable-protocol-daml-js 0.2.16 → 0.2.18
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 +1 -1
- package/generated/subscriptions-factory-contract-id.json +4 -4
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Types/module.js +2 -2
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +2 -2
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +2 -2
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.d.ts +50 -5
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.js +87 -15
- package/lib/Fairmint/Subscriptions/PartyMigrationProposal/module.d.ts +1 -1
- package/lib/Fairmint/Subscriptions/PartyMigrationProposal/module.js +2 -2
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.d.ts +7 -2
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.js +10 -5
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.d.ts +1 -1
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.js +2 -2
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/module.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/module.js +3 -4
- package/lib/Fairmint/Subscriptions/Types/PaymentResult/module.js +4 -4
- package/lib/Fairmint/Subscriptions/Types/ProcessFreeTrialResult/module.js +3 -3
- package/lib/Fairmint/Subscriptions/Types/ProcessingContext/module.d.ts +1 -6
- package/lib/Fairmint/Subscriptions/Types/ProcessingContext/module.js +2 -7
- package/lib/Fairmint/Subscriptions/Types/Subscription/module.d.ts +4 -4
- package/lib/Fairmint/Subscriptions/Types/Subscription/module.js +5 -5
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/module.d.ts +4 -4
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/module.js +5 -5
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.d.ts +4 -4
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.js +5 -5
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.d.ts +3 -3
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.js +4 -4
- package/lib/Splice/Amulet/module.d.ts +1 -1
- package/lib/Splice/Amulet/module.js +13 -13
- package/lib/Splice/AmuletAllocation/module.d.ts +1 -1
- package/lib/Splice/AmuletAllocation/module.js +4 -4
- package/lib/Splice/AmuletRules/module.d.ts +1 -1
- package/lib/Splice/AmuletRules/module.js +17 -17
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +1 -1
- package/lib/Splice/AmuletTransferInstruction/module.js +4 -4
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +1 -1
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +20 -20
- package/lib/Splice/Api/Token/AllocationV1/module.js +26 -26
- package/lib/Splice/Api/Token/HoldingV1/module.js +2 -2
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +23 -23
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +2 -2
- package/lib/Splice/ExternalPartyAmuletRules/module.js +4 -4
- package/lib/Splice/index.d.ts +30 -1
- package/lib/Splice/index.js +30 -2
- package/package.json +3 -3
- package/lib/DA/Date/Types/index.d.ts +0 -1
- package/lib/DA/Date/Types/index.js +0 -8
- package/lib/DA/Date/Types/module.d.ts +0 -47
- package/lib/DA/Date/Types/module.js +0 -48
- package/lib/DA/Date/index.d.ts +0 -2
- package/lib/DA/Date/index.js +0 -9
- package/lib/DA/Exception/ArithmeticError/index.d.ts +0 -1
- package/lib/DA/Exception/ArithmeticError/index.js +0 -8
- package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
- package/lib/DA/Exception/ArithmeticError/module.js +0 -25
- package/lib/DA/Exception/AssertionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/AssertionFailed/index.js +0 -8
- package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/AssertionFailed/module.js +0 -25
- package/lib/DA/Exception/GeneralError/index.d.ts +0 -1
- package/lib/DA/Exception/GeneralError/index.js +0 -8
- package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
- package/lib/DA/Exception/GeneralError/module.js +0 -25
- package/lib/DA/Exception/PreconditionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/PreconditionFailed/index.js +0 -8
- package/lib/DA/Exception/PreconditionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/PreconditionFailed/module.js +0 -25
- package/lib/DA/Exception/index.d.ts +0 -2
- package/lib/DA/Exception/index.js +0 -9
- package/lib/DA/Internal/Down/index.d.ts +0 -1
- package/lib/DA/Internal/Down/index.js +0 -8
- package/lib/DA/Internal/Down/module.d.ts +0 -17
- package/lib/DA/Internal/Down/module.js +0 -25
- package/lib/DA/Logic/Types/index.d.ts +0 -1
- package/lib/DA/Logic/Types/index.js +0 -8
- package/lib/DA/Logic/Types/module.d.ts +0 -20
- package/lib/DA/Logic/Types/module.js +0 -29
- package/lib/DA/Logic/index.d.ts +0 -2
- package/lib/DA/Logic/index.js +0 -9
- package/lib/DA/Monoid/Types/index.d.ts +0 -1
- package/lib/DA/Monoid/Types/index.js +0 -8
- package/lib/DA/Monoid/Types/module.d.ts +0 -46
- package/lib/DA/Monoid/Types/module.js +0 -61
- package/lib/DA/Monoid/index.d.ts +0 -2
- package/lib/DA/Monoid/index.js +0 -9
- package/lib/DA/NonEmpty/Types/index.d.ts +0 -1
- package/lib/DA/NonEmpty/Types/index.js +0 -8
- package/lib/DA/NonEmpty/Types/module.d.ts +0 -18
- package/lib/DA/NonEmpty/Types/module.js +0 -26
- package/lib/DA/NonEmpty/index.d.ts +0 -2
- package/lib/DA/NonEmpty/index.js +0 -9
- package/lib/DA/Random/Types/index.d.ts +0 -1
- package/lib/DA/Random/Types/index.js +0 -8
- package/lib/DA/Random/Types/module.d.ts +0 -18
- package/lib/DA/Random/Types/module.js +0 -26
- package/lib/DA/Random/index.d.ts +0 -2
- package/lib/DA/Random/index.js +0 -9
- package/lib/DA/Semigroup/Types/index.d.ts +0 -1
- package/lib/DA/Semigroup/Types/index.js +0 -8
- package/lib/DA/Semigroup/Types/module.d.ts +0 -26
- package/lib/DA/Semigroup/Types/module.js +0 -37
- package/lib/DA/Semigroup/index.d.ts +0 -2
- package/lib/DA/Semigroup/index.js +0 -9
- package/lib/DA/Stack/Types/index.d.ts +0 -1
- package/lib/DA/Stack/Types/index.js +0 -8
- package/lib/DA/Stack/Types/module.d.ts +0 -24
- package/lib/DA/Stack/Types/module.js +0 -31
- package/lib/DA/Stack/index.d.ts +0 -2
- package/lib/DA/Stack/index.js +0 -9
- package/lib/DA/Validation/Types/index.d.ts +0 -1
- package/lib/DA/Validation/Types/index.js +0 -8
- package/lib/DA/Validation/Types/module.d.ts +0 -20
- package/lib/DA/Validation/Types/module.js +0 -29
- package/lib/DA/Validation/index.d.ts +0 -2
- package/lib/DA/Validation/index.js +0 -9
- package/lib/Splice/Api/Token/index.d.ts +0 -2
- package/lib/Splice/Api/Token/index.js +0 -9
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Date/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type DayOfWeek =
|
|
11
|
-
| 'Monday'
|
|
12
|
-
| 'Tuesday'
|
|
13
|
-
| 'Wednesday'
|
|
14
|
-
| 'Thursday'
|
|
15
|
-
| 'Friday'
|
|
16
|
-
| 'Saturday'
|
|
17
|
-
| 'Sunday'
|
|
18
|
-
;
|
|
19
|
-
|
|
20
|
-
export declare const DayOfWeek:
|
|
21
|
-
damlTypes.Serializable<DayOfWeek> & {
|
|
22
|
-
}
|
|
23
|
-
& { readonly keys: DayOfWeek[] } & { readonly [e in DayOfWeek]: e }
|
|
24
|
-
;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare type Month =
|
|
28
|
-
| 'Jan'
|
|
29
|
-
| 'Feb'
|
|
30
|
-
| 'Mar'
|
|
31
|
-
| 'Apr'
|
|
32
|
-
| 'May'
|
|
33
|
-
| 'Jun'
|
|
34
|
-
| 'Jul'
|
|
35
|
-
| 'Aug'
|
|
36
|
-
| 'Sep'
|
|
37
|
-
| 'Oct'
|
|
38
|
-
| 'Nov'
|
|
39
|
-
| 'Dec'
|
|
40
|
-
;
|
|
41
|
-
|
|
42
|
-
export declare const Month:
|
|
43
|
-
damlTypes.Serializable<Month> & {
|
|
44
|
-
}
|
|
45
|
-
& { readonly keys: Month[] } & { readonly [e in Month]: e }
|
|
46
|
-
;
|
|
47
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.DayOfWeek = {
|
|
17
|
-
Monday: 'Monday',
|
|
18
|
-
Tuesday: 'Tuesday',
|
|
19
|
-
Wednesday: 'Wednesday',
|
|
20
|
-
Thursday: 'Thursday',
|
|
21
|
-
Friday: 'Friday',
|
|
22
|
-
Saturday: 'Saturday',
|
|
23
|
-
Sunday: 'Sunday',
|
|
24
|
-
keys: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday',],
|
|
25
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.DayOfWeek.Monday), jtv.constant(exports.DayOfWeek.Tuesday), jtv.constant(exports.DayOfWeek.Wednesday), jtv.constant(exports.DayOfWeek.Thursday), jtv.constant(exports.DayOfWeek.Friday), jtv.constant(exports.DayOfWeek.Saturday), jtv.constant(exports.DayOfWeek.Sunday)); }),
|
|
26
|
-
encode: function (__typed__) { return __typed__; },
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.Month = {
|
|
32
|
-
Jan: 'Jan',
|
|
33
|
-
Feb: 'Feb',
|
|
34
|
-
Mar: 'Mar',
|
|
35
|
-
Apr: 'Apr',
|
|
36
|
-
May: 'May',
|
|
37
|
-
Jun: 'Jun',
|
|
38
|
-
Jul: 'Jul',
|
|
39
|
-
Aug: 'Aug',
|
|
40
|
-
Sep: 'Sep',
|
|
41
|
-
Oct: 'Oct',
|
|
42
|
-
Nov: 'Nov',
|
|
43
|
-
Dec: 'Dec',
|
|
44
|
-
keys: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec',],
|
|
45
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.Month.Jan), jtv.constant(exports.Month.Feb), jtv.constant(exports.Month.Mar), jtv.constant(exports.Month.Apr), jtv.constant(exports.Month.May), jtv.constant(exports.Month.Jun), jtv.constant(exports.Month.Jul), jtv.constant(exports.Month.Aug), jtv.constant(exports.Month.Sep), jtv.constant(exports.Month.Oct), jtv.constant(exports.Month.Nov), jtv.constant(exports.Month.Dec)); }),
|
|
46
|
-
encode: function (__typed__) { return __typed__; },
|
|
47
|
-
};
|
|
48
|
-
|
package/lib/DA/Date/index.d.ts
DELETED
package/lib/DA/Date/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/ArithmeticError.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type ArithmeticError = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const ArithmeticError:
|
|
15
|
-
damlTypes.Serializable<ArithmeticError> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.ArithmeticError = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/AssertionFailed.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type AssertionFailed = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const AssertionFailed:
|
|
15
|
-
damlTypes.Serializable<AssertionFailed> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.AssertionFailed = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/GeneralError.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type GeneralError = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const GeneralError:
|
|
15
|
-
damlTypes.Serializable<GeneralError> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.GeneralError = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/PreconditionFailed.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type PreconditionFailed = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const PreconditionFailed:
|
|
15
|
-
damlTypes.Serializable<PreconditionFailed> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.PreconditionFailed = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var PreconditionFailed = require('./PreconditionFailed');
|
|
9
|
-
exports.PreconditionFailed = PreconditionFailed;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Internal/Down.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type Down<a> = {
|
|
11
|
-
unpack: a;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const Down :
|
|
15
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Down<a>>) & {
|
|
16
|
-
};
|
|
17
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Down = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
unpack: a.encode(__typed__.unpack),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
}); };
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Logic/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type Formula<a> =
|
|
11
|
-
| { tag: 'Proposition'; value: a }
|
|
12
|
-
| { tag: 'Negation'; value: Formula<a> }
|
|
13
|
-
| { tag: 'Conjunction'; value: Formula<a>[] }
|
|
14
|
-
| { tag: 'Disjunction'; value: Formula<a>[] }
|
|
15
|
-
;
|
|
16
|
-
|
|
17
|
-
export declare const Formula :
|
|
18
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Formula<a>>) & {
|
|
19
|
-
};
|
|
20
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Formula = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('Proposition'), value: a.decoder, }), jtv.object({tag: jtv.constant('Negation'), value: exports.Formula(a).decoder, }), jtv.object({tag: jtv.constant('Conjunction'), value: damlTypes.List(exports.Formula(a)).decoder, }), jtv.object({tag: jtv.constant('Disjunction'), value: damlTypes.List(exports.Formula(a)).decoder, })); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
switch(__typed__.tag) {
|
|
20
|
-
case 'Proposition': return {tag: __typed__.tag, value: a.encode(__typed__.value)};
|
|
21
|
-
case 'Negation': return {tag: __typed__.tag, value: exports.Formula(a).encode(__typed__.value)};
|
|
22
|
-
case 'Conjunction': return {tag: __typed__.tag, value: damlTypes.List(exports.Formula(a)).encode(__typed__.value)};
|
|
23
|
-
case 'Disjunction': return {tag: __typed__.tag, value: damlTypes.List(exports.Formula(a)).encode(__typed__.value)};
|
|
24
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type Formula';
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
,
|
|
28
|
-
}); };
|
|
29
|
-
|
package/lib/DA/Logic/index.d.ts
DELETED
package/lib/DA/Logic/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Monoid/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type All = {
|
|
11
|
-
getAll: boolean;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const All:
|
|
15
|
-
damlTypes.Serializable<All> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export declare type Any = {
|
|
21
|
-
getAny: boolean;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export declare const Any:
|
|
25
|
-
damlTypes.Serializable<Any> & {
|
|
26
|
-
}
|
|
27
|
-
;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export declare type Sum<a> = {
|
|
31
|
-
unpack: a;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export declare const Sum :
|
|
35
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Sum<a>>) & {
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export declare type Product<a> = {
|
|
40
|
-
unpack: a;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export declare const Product :
|
|
44
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Product<a>>) & {
|
|
45
|
-
};
|
|
46
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.All = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({getAll: damlTypes.Bool.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
getAll: damlTypes.Bool.encode(__typed__.getAll),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.Any = {
|
|
29
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({getAny: damlTypes.Bool.decoder, }); }),
|
|
30
|
-
encode: function (__typed__) {
|
|
31
|
-
return {
|
|
32
|
-
getAny: damlTypes.Bool.encode(__typed__.getAny),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
,
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
exports.Sum = function (a) { return ({
|
|
41
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
42
|
-
encode: function (__typed__) {
|
|
43
|
-
return {
|
|
44
|
-
unpack: a.encode(__typed__.unpack),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
,
|
|
48
|
-
}); };
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
exports.Product = function (a) { return ({
|
|
53
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
54
|
-
encode: function (__typed__) {
|
|
55
|
-
return {
|
|
56
|
-
unpack: a.encode(__typed__.unpack),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
,
|
|
60
|
-
}); };
|
|
61
|
-
|
package/lib/DA/Monoid/index.d.ts
DELETED
package/lib/DA/Monoid/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|