@fairmint/open-captable-protocol-daml-js 0.2.37 → 0.2.39

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.
Files changed (83) hide show
  1. package/generated/paymentStreams-factory-contract-id.json +6 -6
  2. package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +108 -0
  3. package/lib/CantonPayments/Airdrop/Airdrop/module.js +161 -0
  4. package/lib/CantonPayments/Airdrop/index.d.ts +2 -0
  5. package/lib/{DA/Date → CantonPayments/Airdrop}/index.js +2 -2
  6. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +2 -2
  7. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +1 -1
  8. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +1 -1
  9. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +1 -1
  10. package/lib/CantonPayments/index.d.ts +2 -0
  11. package/lib/CantonPayments/index.js +2 -0
  12. package/package.json +2 -2
  13. package/lib/DA/Date/Types/module.d.ts +0 -47
  14. package/lib/DA/Date/Types/module.js +0 -48
  15. package/lib/DA/Date/index.d.ts +0 -2
  16. package/lib/DA/Exception/ArithmeticError/index.d.ts +0 -1
  17. package/lib/DA/Exception/ArithmeticError/index.js +0 -8
  18. package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
  19. package/lib/DA/Exception/ArithmeticError/module.js +0 -25
  20. package/lib/DA/Exception/AssertionFailed/index.d.ts +0 -1
  21. package/lib/DA/Exception/AssertionFailed/index.js +0 -8
  22. package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
  23. package/lib/DA/Exception/AssertionFailed/module.js +0 -25
  24. package/lib/DA/Exception/GeneralError/index.d.ts +0 -1
  25. package/lib/DA/Exception/GeneralError/index.js +0 -8
  26. package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
  27. package/lib/DA/Exception/GeneralError/module.js +0 -25
  28. package/lib/DA/Exception/PreconditionFailed/index.d.ts +0 -1
  29. package/lib/DA/Exception/PreconditionFailed/index.js +0 -8
  30. package/lib/DA/Exception/PreconditionFailed/module.d.ts +0 -18
  31. package/lib/DA/Exception/PreconditionFailed/module.js +0 -25
  32. package/lib/DA/Exception/index.d.ts +0 -2
  33. package/lib/DA/Exception/index.js +0 -9
  34. package/lib/DA/Internal/Down/index.d.ts +0 -1
  35. package/lib/DA/Internal/Down/index.js +0 -8
  36. package/lib/DA/Internal/Down/module.d.ts +0 -17
  37. package/lib/DA/Internal/Down/module.js +0 -25
  38. package/lib/DA/Logic/Types/index.d.ts +0 -1
  39. package/lib/DA/Logic/Types/index.js +0 -8
  40. package/lib/DA/Logic/Types/module.d.ts +0 -20
  41. package/lib/DA/Logic/Types/module.js +0 -29
  42. package/lib/DA/Logic/index.d.ts +0 -2
  43. package/lib/DA/Logic/index.js +0 -9
  44. package/lib/DA/Monoid/Types/index.d.ts +0 -1
  45. package/lib/DA/Monoid/Types/index.js +0 -8
  46. package/lib/DA/Monoid/Types/module.d.ts +0 -46
  47. package/lib/DA/Monoid/Types/module.js +0 -61
  48. package/lib/DA/Monoid/index.d.ts +0 -2
  49. package/lib/DA/Monoid/index.js +0 -9
  50. package/lib/DA/NonEmpty/Types/index.d.ts +0 -1
  51. package/lib/DA/NonEmpty/Types/index.js +0 -8
  52. package/lib/DA/NonEmpty/Types/module.d.ts +0 -18
  53. package/lib/DA/NonEmpty/Types/module.js +0 -26
  54. package/lib/DA/NonEmpty/index.d.ts +0 -2
  55. package/lib/DA/NonEmpty/index.js +0 -9
  56. package/lib/DA/Random/Types/index.d.ts +0 -1
  57. package/lib/DA/Random/Types/index.js +0 -8
  58. package/lib/DA/Random/Types/module.d.ts +0 -18
  59. package/lib/DA/Random/Types/module.js +0 -26
  60. package/lib/DA/Random/index.d.ts +0 -2
  61. package/lib/DA/Random/index.js +0 -9
  62. package/lib/DA/Semigroup/Types/index.d.ts +0 -1
  63. package/lib/DA/Semigroup/Types/index.js +0 -8
  64. package/lib/DA/Semigroup/Types/module.d.ts +0 -26
  65. package/lib/DA/Semigroup/Types/module.js +0 -37
  66. package/lib/DA/Semigroup/index.d.ts +0 -2
  67. package/lib/DA/Semigroup/index.js +0 -9
  68. package/lib/DA/Stack/Types/index.d.ts +0 -1
  69. package/lib/DA/Stack/Types/index.js +0 -8
  70. package/lib/DA/Stack/Types/module.d.ts +0 -24
  71. package/lib/DA/Stack/Types/module.js +0 -31
  72. package/lib/DA/Stack/index.d.ts +0 -2
  73. package/lib/DA/Stack/index.js +0 -9
  74. package/lib/DA/Validation/Types/index.d.ts +0 -1
  75. package/lib/DA/Validation/Types/index.js +0 -8
  76. package/lib/DA/Validation/Types/module.d.ts +0 -20
  77. package/lib/DA/Validation/Types/module.js +0 -29
  78. package/lib/DA/Validation/index.d.ts +0 -2
  79. package/lib/DA/Validation/index.js +0 -9
  80. package/lib/Splice/Api/Token/index.d.ts +0 -2
  81. package/lib/Splice/Api/Token/index.js +0 -9
  82. /package/lib/{DA/Date/Types → CantonPayments/Airdrop/Airdrop}/index.d.ts +0 -0
  83. /package/lib/{DA/Date/Types → CantonPayments/Airdrop/Airdrop}/index.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.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,2 +0,0 @@
1
- import * as PreconditionFailed from './PreconditionFailed';
2
- export { PreconditionFailed } ;
@@ -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
-
@@ -1,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { Types } ;
@@ -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
-
@@ -1,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { Types } ;
@@ -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/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
-
@@ -1,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { Types } ;
@@ -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/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
-
@@ -1,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { Types } ;
@@ -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,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,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { Types } ;
@@ -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,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
-