@fairmint/open-captable-protocol-daml-js 0.2.36 → 0.2.38
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/paymentStreams-factory-contract-id.json +22 -0
- package/generated/{subscriptions-factory-contract-id.json.d.ts → paymentStreams-factory-contract-id.json.d.ts} +2 -2
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +225 -0
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +354 -0
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/module.d.ts +18 -18
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/module.js +27 -27
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +52 -0
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +74 -0
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +103 -0
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +161 -0
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +25 -0
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +32 -0
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/module.d.ts +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/module.js +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/module.d.ts +3 -3
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/module.js +3 -3
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/module.d.ts +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/module.js +3 -3
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/module.d.ts +1 -1
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/module.d.ts +4 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/module.js +4 -2
- package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStream}/module.d.ts +8 -8
- package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStream}/module.js +6 -6
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/module.d.ts +4 -4
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/module.js +2 -2
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/module.d.ts +10 -10
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/module.js +8 -8
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/module.d.ts +11 -11
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +42 -0
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposalChanges → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/module.d.ts +11 -11
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +42 -0
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/PaymentStreamStats}/module.d.ts +6 -6
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/PaymentStreamStats}/module.js +4 -4
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/PaymentStreamTime}/module.d.ts +4 -4
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/PaymentStreamTime}/module.js +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessFreeTrialResult/module.d.ts +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessFreeTrialResult/module.js +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessorContext/module.d.ts +1 -1
- package/lib/CantonPayments/PaymentStream/Types/index.d.ts +30 -0
- package/lib/CantonPayments/PaymentStream/Types/index.js +37 -0
- package/lib/CantonPayments/PaymentStream/index.d.ts +10 -0
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/index.js +6 -6
- package/lib/CantonPayments/index.d.ts +2 -0
- package/lib/{DA/Date → CantonPayments}/index.js +2 -2
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Document/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockIssuance/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockPlan/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +1 -1
- package/lib/Fairmint/index.d.ts +0 -1
- package/lib/Fairmint/index.js +0 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -0
- package/package.json +12 -12
- package/generated/subscriptions-factory-contract-id.json +0 -22
- 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/Exception/ArithmeticError/module.d.ts +0 -18
- package/lib/DA/Exception/ArithmeticError/module.js +0 -25
- package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/AssertionFailed/module.js +0 -25
- package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
- package/lib/DA/Exception/GeneralError/module.js +0 -25
- 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/module.d.ts +0 -17
- package/lib/DA/Internal/Down/module.js +0 -25
- 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/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/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/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/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/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/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/Fairmint/Subscriptions/ActiveSubscription/module.d.ts +0 -224
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.js +0 -353
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.d.ts +0 -103
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.js +0 -161
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.d.ts +0 -52
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.js +0 -74
- package/lib/Fairmint/Subscriptions/Types/ActiveSubscriptionData/module.d.ts +0 -25
- package/lib/Fairmint/Subscriptions/Types/ActiveSubscriptionData/module.js +0 -32
- package/lib/Fairmint/Subscriptions/Types/LockFundsInput/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/LockFundsInput/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/PartyRole/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PartyRole/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/PaymentResult/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PaymentResult/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/ProcessFreeTrialResult/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/ProcessFreeTrialResult/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/ProcessorContext/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/ProcessorContext/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/Subscription/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/Subscription/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionAmount/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionAmount/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.js +0 -42
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.js +0 -42
- package/lib/Fairmint/Subscriptions/Types/SubscriptionStats/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionStats/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionTime/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionTime/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/index.d.ts +0 -30
- package/lib/Fairmint/Subscriptions/Types/index.js +0 -37
- package/lib/Fairmint/Subscriptions/index.d.ts +0 -10
- package/lib/Splice/Api/Token/index.d.ts +0 -2
- package/lib/Splice/Api/Token/index.js +0 -9
- /package/lib/{DA/Date/Types → CantonPayments/PaymentStream/ActivePaymentStream}/index.d.ts +0 -0
- /package/lib/{DA/Date/Types → CantonPayments/PaymentStream/ActivePaymentStream}/index.js +0 -0
- /package/lib/{DA/Exception/ArithmeticError → CantonPayments/PaymentStream/PartyMigrationProposal}/index.d.ts +0 -0
- /package/lib/{DA/Exception/ArithmeticError → CantonPayments/PaymentStream/PartyMigrationProposal}/index.js +0 -0
- /package/lib/{DA/Exception/AssertionFailed → CantonPayments/PaymentStream/PaymentStreamFactory}/index.d.ts +0 -0
- /package/lib/{DA/Exception/AssertionFailed → CantonPayments/PaymentStream/PaymentStreamFactory}/index.js +0 -0
- /package/lib/{DA/Exception/GeneralError → CantonPayments/PaymentStream/ProposedPaymentStream}/index.d.ts +0 -0
- /package/lib/{DA/Exception/GeneralError → CantonPayments/PaymentStream/ProposedPaymentStream}/index.js +0 -0
- /package/lib/{DA/Exception/PreconditionFailed → CantonPayments/PaymentStream/Types/ActivePaymentStreamData}/index.d.ts +0 -0
- /package/lib/{DA/Exception/PreconditionFailed → CantonPayments/PaymentStream/Types/ActivePaymentStreamData}/index.js +0 -0
- /package/lib/{DA/Internal/Down → CantonPayments/PaymentStream/Types/Approvals}/index.d.ts +0 -0
- /package/lib/{DA/Internal/Down → CantonPayments/PaymentStream/Types/Approvals}/index.js +0 -0
- /package/lib/{DA/Logic/Types → CantonPayments/PaymentStream/Types/LockFundsInput}/index.d.ts +0 -0
- /package/lib/{DA/Logic/Types → CantonPayments/PaymentStream/Types/LockFundsInput}/index.js +0 -0
- /package/lib/{DA/Monoid/Types → CantonPayments/PaymentStream/Types/PartyRole}/index.d.ts +0 -0
- /package/lib/{DA/Monoid/Types → CantonPayments/PaymentStream/Types/PartyRole}/index.js +0 -0
- /package/lib/{DA/NonEmpty/Types → CantonPayments/PaymentStream/Types/PaymentContext}/index.d.ts +0 -0
- /package/lib/{DA/NonEmpty/Types → CantonPayments/PaymentStream/Types/PaymentContext}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/module.js +0 -0
- /package/lib/{DA/Random/Types → CantonPayments/PaymentStream/Types/PaymentResult}/index.d.ts +0 -0
- /package/lib/{DA/Random/Types → CantonPayments/PaymentStream/Types/PaymentResult}/index.js +0 -0
- /package/lib/{DA/Semigroup/Types → CantonPayments/PaymentStream/Types/PaymentStream}/index.d.ts +0 -0
- /package/lib/{DA/Semigroup/Types → CantonPayments/PaymentStream/Types/PaymentStream}/index.js +0 -0
- /package/lib/{DA/Stack/Types → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/index.d.ts +0 -0
- /package/lib/{DA/Stack/Types → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/index.js +0 -0
- /package/lib/{DA/Validation/Types → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/index.d.ts +0 -0
- /package/lib/{DA/Validation/Types → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/ActiveSubscription → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/ActiveSubscription → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/PartyMigrationProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/PartyMigrationProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/ProposedSubscription → CantonPayments/PaymentStream/Types/PaymentStreamStats}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/ProposedSubscription → CantonPayments/PaymentStream/Types/PaymentStreamStats}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/SubscriptionFactory → CantonPayments/PaymentStream/Types/PaymentStreamTime}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/SubscriptionFactory → CantonPayments/PaymentStream/Types/PaymentStreamTime}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/ActiveSubscriptionData → CantonPayments/PaymentStream/Types/ProcessFreeTrialResult}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/ActiveSubscriptionData → CantonPayments/PaymentStream/Types/ProcessFreeTrialResult}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/Approvals → CantonPayments/PaymentStream/Types/ProcessorContext}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/Approvals → CantonPayments/PaymentStream/Types/ProcessorContext}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessorContext/module.js +0 -0
|
@@ -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,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,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,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,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,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,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,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/NonEmpty/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 NonEmpty<a> = {
|
|
11
|
-
hd: a;
|
|
12
|
-
tl: a[];
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export declare const NonEmpty :
|
|
16
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<NonEmpty<a>>) & {
|
|
17
|
-
};
|
|
18
|
-
|
|
@@ -1,26 +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.NonEmpty = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({hd: a.decoder, tl: damlTypes.List(a).decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
hd: a.encode(__typed__.hd),
|
|
21
|
-
tl: damlTypes.List(a).encode(__typed__.tl),
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
,
|
|
25
|
-
}); };
|
|
26
|
-
|
package/lib/DA/NonEmpty/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,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Random/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 Minstd =
|
|
11
|
-
| { tag: 'Minstd'; value: damlTypes.Int }
|
|
12
|
-
;
|
|
13
|
-
|
|
14
|
-
export declare const Minstd:
|
|
15
|
-
damlTypes.Serializable<Minstd> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,26 +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.Minstd = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('Minstd'), value: damlTypes.Int.decoder, })); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
switch(__typed__.tag) {
|
|
20
|
-
case 'Minstd': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
|
|
21
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type Minstd';
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
,
|
|
25
|
-
};
|
|
26
|
-
|
package/lib/DA/Random/index.d.ts
DELETED
package/lib/DA/Random/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,26 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Semigroup/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 Min<a> = {
|
|
11
|
-
unpack: a;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const Min :
|
|
15
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Min<a>>) & {
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export declare type Max<a> = {
|
|
20
|
-
unpack: a;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export declare const Max :
|
|
24
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Max<a>>) & {
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -1,37 +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.Min = 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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.Max = function (a) { return ({
|
|
29
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
30
|
-
encode: function (__typed__) {
|
|
31
|
-
return {
|
|
32
|
-
unpack: a.encode(__typed__.unpack),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
,
|
|
36
|
-
}); };
|
|
37
|
-
|
|
@@ -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,24 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Stack/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 SrcLoc = {
|
|
11
|
-
srcLocPackage: string;
|
|
12
|
-
srcLocModule: string;
|
|
13
|
-
srcLocFile: string;
|
|
14
|
-
srcLocStartLine: damlTypes.Int;
|
|
15
|
-
srcLocStartCol: damlTypes.Int;
|
|
16
|
-
srcLocEndLine: damlTypes.Int;
|
|
17
|
-
srcLocEndCol: damlTypes.Int;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export declare const SrcLoc:
|
|
21
|
-
damlTypes.Serializable<SrcLoc> & {
|
|
22
|
-
}
|
|
23
|
-
;
|
|
24
|
-
|