@contractspec/example.service-business-os 1.62.0 → 2.0.0
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/dist/browser/client/client.operations.js +1 -1
- package/dist/browser/client/index.js +1 -1
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/docs/service-business-os.docblock.js +1 -1
- package/dist/browser/events.js +1 -1
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +10 -7
- package/dist/browser/invoice/index.js +1 -1
- package/dist/browser/invoice/invoice.operations.js +1 -1
- package/dist/browser/job/index.js +1 -1
- package/dist/browser/job/job.operations.js +1 -1
- package/dist/browser/operations/index.js +5 -5
- package/dist/browser/payment/index.js +1 -1
- package/dist/browser/payment/payment.operations.js +1 -1
- package/dist/browser/presentations.js +4 -1
- package/dist/browser/quote/index.js +1 -1
- package/dist/browser/quote/quote.operations.js +1 -1
- package/dist/browser/service-business-os.capability.js +4 -1
- package/dist/browser/service.feature.js +1 -1
- package/dist/client/client.operations.d.ts +1 -2
- package/dist/client/client.operations.js +1 -1
- package/dist/client/client.schema.d.ts +0 -1
- package/dist/client/index.d.ts +0 -1
- package/dist/client/index.js +1 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/service-business-os.docblock.d.ts +0 -1
- package/dist/docs/service-business-os.docblock.js +1 -1
- package/dist/entities/index.d.ts +0 -1
- package/dist/events.d.ts +12 -13
- package/dist/events.js +1 -1
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/handlers/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10 -7
- package/dist/invoice/index.d.ts +0 -1
- package/dist/invoice/index.js +1 -1
- package/dist/invoice/invoice.operations.d.ts +1 -2
- package/dist/invoice/invoice.operations.js +1 -1
- package/dist/invoice/invoice.schema.d.ts +0 -1
- package/dist/job/index.d.ts +0 -1
- package/dist/job/index.js +1 -1
- package/dist/job/job.operations.d.ts +3 -4
- package/dist/job/job.operations.js +1 -1
- package/dist/job/job.schema.d.ts +0 -1
- package/dist/node/client/client.operations.js +1 -1
- package/dist/node/client/index.js +1 -1
- package/dist/node/docs/index.js +1 -1
- package/dist/node/docs/service-business-os.docblock.js +1 -1
- package/dist/node/events.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +10 -7
- package/dist/node/invoice/index.js +1 -1
- package/dist/node/invoice/invoice.operations.js +1 -1
- package/dist/node/job/index.js +1 -1
- package/dist/node/job/job.operations.js +1 -1
- package/dist/node/operations/index.js +5 -5
- package/dist/node/payment/index.js +1 -1
- package/dist/node/payment/payment.operations.js +1 -1
- package/dist/node/presentations.js +4 -1
- package/dist/node/quote/index.js +1 -1
- package/dist/node/quote/quote.operations.js +1 -1
- package/dist/node/service-business-os.capability.js +4 -1
- package/dist/node/service.feature.js +1 -1
- package/dist/operations/index.d.ts +0 -1
- package/dist/operations/index.js +5 -5
- package/dist/payment/index.d.ts +0 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/payment.operations.d.ts +1 -2
- package/dist/payment/payment.operations.js +1 -1
- package/dist/payment/payment.schema.d.ts +0 -1
- package/dist/presentations/index.d.ts +0 -1
- package/dist/presentations.d.ts +7 -8
- package/dist/presentations.js +4 -1
- package/dist/quote/index.d.ts +0 -1
- package/dist/quote/index.js +1 -1
- package/dist/quote/quote.operations.d.ts +2 -3
- package/dist/quote/quote.operations.js +1 -1
- package/dist/quote/quote.schema.d.ts +0 -1
- package/dist/service-business-os.capability.d.ts +2 -3
- package/dist/service-business-os.capability.js +4 -1
- package/dist/service.feature.d.ts +1 -2
- package/dist/service.feature.js +1 -1
- package/package.json +5 -5
- package/dist/client/client.operations.d.ts.map +0 -1
- package/dist/client/client.schema.d.ts.map +0 -1
- package/dist/client/index.d.ts.map +0 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/service-business-os.docblock.d.ts.map +0 -1
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/events.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/handlers/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/invoice/index.d.ts.map +0 -1
- package/dist/invoice/invoice.operations.d.ts.map +0 -1
- package/dist/invoice/invoice.schema.d.ts.map +0 -1
- package/dist/job/index.d.ts.map +0 -1
- package/dist/job/job.operations.d.ts.map +0 -1
- package/dist/job/job.schema.d.ts.map +0 -1
- package/dist/operations/index.d.ts.map +0 -1
- package/dist/payment/index.d.ts.map +0 -1
- package/dist/payment/payment.operations.d.ts.map +0 -1
- package/dist/payment/payment.schema.d.ts.map +0 -1
- package/dist/presentations/index.d.ts.map +0 -1
- package/dist/presentations.d.ts.map +0 -1
- package/dist/quote/index.d.ts.map +0 -1
- package/dist/quote/quote.operations.d.ts.map +0 -1
- package/dist/quote/quote.schema.d.ts.map +0 -1
- package/dist/service-business-os.capability.d.ts.map +0 -1
- package/dist/service.feature.d.ts.map +0 -1
|
@@ -60,7 +60,7 @@ export declare const ListJobsOutputModel: import("@contractspec/lib.schema").Sch
|
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
|
-
export declare const ListJobsOperation: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
63
|
+
export declare const ListJobsOperation: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
64
64
|
status: {
|
|
65
65
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
66
66
|
isOptional: true;
|
|
@@ -124,7 +124,7 @@ export declare const ListJobsOperation: import("@contractspec/lib.contracts").Op
|
|
|
124
124
|
/**
|
|
125
125
|
* Schedule a job.
|
|
126
126
|
*/
|
|
127
|
-
export declare const ScheduleJobContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
127
|
+
export declare const ScheduleJobContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
128
128
|
quoteId: {
|
|
129
129
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
130
130
|
isOptional: false;
|
|
@@ -182,7 +182,7 @@ export declare const ScheduleJobContract: import("@contractspec/lib.contracts").
|
|
|
182
182
|
/**
|
|
183
183
|
* Complete a job.
|
|
184
184
|
*/
|
|
185
|
-
export declare const CompleteJobContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
185
|
+
export declare const CompleteJobContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
186
186
|
jobId: {
|
|
187
187
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
@@ -229,4 +229,3 @@ export declare const CompleteJobContract: import("@contractspec/lib.contracts").
|
|
|
229
229
|
isOptional: true;
|
|
230
230
|
};
|
|
231
231
|
}>, undefined>;
|
|
232
|
-
//# sourceMappingURL=job.operations.d.ts.map
|
|
@@ -37,7 +37,7 @@ var CompleteJobInputModel = defineSchemaModel({
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
// src/job/job.operations.ts
|
|
40
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
40
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
41
41
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
42
42
|
var OWNERS = ["@examples.service-business-os"];
|
|
43
43
|
var ListJobsInputModel = defineSchemaModel2({
|
package/dist/job/job.schema.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ var CreateClientInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/client/client.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.service-business-os"];
|
|
32
32
|
var CreateClientContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -27,7 +27,7 @@ var CreateClientInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/client/client.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.service-business-os"];
|
|
32
32
|
var CreateClientContract = defineCommand({
|
|
33
33
|
meta: {
|
package/dist/node/docs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/docs/service-business-os.docblock.ts
|
|
2
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
2
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
3
|
var serviceBusinessDocBlocks = [
|
|
4
4
|
{
|
|
5
5
|
id: "docs.examples.service-business-os",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/docs/service-business-os.docblock.ts
|
|
2
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
2
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
3
|
var serviceBusinessDocBlocks = [
|
|
4
4
|
{
|
|
5
5
|
id: "docs.examples.service-business-os",
|
package/dist/node/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
2
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var QuoteEventPayload = defineSchemaModel({
|
|
5
5
|
name: "QuoteEventPayload",
|
|
6
6
|
description: "Event payload for quote lifecycle",
|
package/dist/node/example.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var CreateClientInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/client/client.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.service-business-os"];
|
|
32
32
|
var CreateClientContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -109,7 +109,7 @@ var AcceptQuoteInputModel = defineSchemaModel2({
|
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
// src/quote/quote.operations.ts
|
|
112
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts";
|
|
112
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec";
|
|
113
113
|
var OWNERS2 = ["@examples.service-business-os"];
|
|
114
114
|
var CreateQuoteContract = defineCommand2({
|
|
115
115
|
meta: {
|
|
@@ -220,7 +220,7 @@ var CompleteJobInputModel = defineSchemaModel3({
|
|
|
220
220
|
});
|
|
221
221
|
|
|
222
222
|
// src/job/job.operations.ts
|
|
223
|
-
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts";
|
|
223
|
+
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
224
224
|
import { defineSchemaModel as defineSchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
225
225
|
var OWNERS3 = ["@examples.service-business-os"];
|
|
226
226
|
var ListJobsInputModel = defineSchemaModel4({
|
|
@@ -379,7 +379,7 @@ var IssueInvoiceInputModel = defineSchemaModel5({
|
|
|
379
379
|
});
|
|
380
380
|
|
|
381
381
|
// src/invoice/invoice.operations.ts
|
|
382
|
-
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts";
|
|
382
|
+
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts-spec";
|
|
383
383
|
var OWNERS4 = ["@examples.service-business-os"];
|
|
384
384
|
var IssueInvoiceContract = defineCommand4({
|
|
385
385
|
meta: {
|
|
@@ -447,7 +447,7 @@ var RecordPaymentInputModel = defineSchemaModel6({
|
|
|
447
447
|
});
|
|
448
448
|
|
|
449
449
|
// src/payment/payment.operations.ts
|
|
450
|
-
import { defineCommand as defineCommand5 } from "@contractspec/lib.contracts";
|
|
450
|
+
import { defineCommand as defineCommand5 } from "@contractspec/lib.contracts-spec";
|
|
451
451
|
var OWNERS5 = ["@examples.service-business-os"];
|
|
452
452
|
var RecordPaymentContract = defineCommand5({
|
|
453
453
|
meta: {
|
|
@@ -484,7 +484,10 @@ var RecordPaymentContract = defineCommand5({
|
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
// src/presentations.ts
|
|
487
|
-
import {
|
|
487
|
+
import {
|
|
488
|
+
definePresentation,
|
|
489
|
+
StabilityEnum
|
|
490
|
+
} from "@contractspec/lib.contracts-spec";
|
|
488
491
|
var ServiceDashboardPresentation = definePresentation({
|
|
489
492
|
meta: {
|
|
490
493
|
key: "service-business-os.dashboard",
|
|
@@ -648,7 +651,7 @@ var PaymentListPresentation = definePresentation({
|
|
|
648
651
|
});
|
|
649
652
|
|
|
650
653
|
// src/service.feature.ts
|
|
651
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
654
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
652
655
|
var ServiceBusinessFeature = defineFeature({
|
|
653
656
|
meta: {
|
|
654
657
|
key: "service-business-os",
|
|
@@ -30,7 +30,7 @@ var IssueInvoiceInputModel = defineSchemaModel({
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
// src/invoice/invoice.operations.ts
|
|
33
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
33
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
34
34
|
var OWNERS = ["@examples.service-business-os"];
|
|
35
35
|
var IssueInvoiceContract = defineCommand({
|
|
36
36
|
meta: {
|
|
@@ -30,7 +30,7 @@ var IssueInvoiceInputModel = defineSchemaModel({
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
// src/invoice/invoice.operations.ts
|
|
33
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
33
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
34
34
|
var OWNERS = ["@examples.service-business-os"];
|
|
35
35
|
var IssueInvoiceContract = defineCommand({
|
|
36
36
|
meta: {
|
package/dist/node/job/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var CompleteJobInputModel = defineSchemaModel({
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
// src/job/job.operations.ts
|
|
39
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
39
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
40
40
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
41
41
|
var OWNERS = ["@examples.service-business-os"];
|
|
42
42
|
var ListJobsInputModel = defineSchemaModel2({
|
|
@@ -36,7 +36,7 @@ var CompleteJobInputModel = defineSchemaModel({
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
// src/job/job.operations.ts
|
|
39
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
39
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
40
40
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
41
41
|
var OWNERS = ["@examples.service-business-os"];
|
|
42
42
|
var ListJobsInputModel = defineSchemaModel2({
|
|
@@ -27,7 +27,7 @@ var CreateClientInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/client/client.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.service-business-os"];
|
|
32
32
|
var CreateClientContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -109,7 +109,7 @@ var AcceptQuoteInputModel = defineSchemaModel2({
|
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
// src/quote/quote.operations.ts
|
|
112
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts";
|
|
112
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec";
|
|
113
113
|
var OWNERS2 = ["@examples.service-business-os"];
|
|
114
114
|
var CreateQuoteContract = defineCommand2({
|
|
115
115
|
meta: {
|
|
@@ -220,7 +220,7 @@ var CompleteJobInputModel = defineSchemaModel3({
|
|
|
220
220
|
});
|
|
221
221
|
|
|
222
222
|
// src/job/job.operations.ts
|
|
223
|
-
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts";
|
|
223
|
+
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
224
224
|
import { defineSchemaModel as defineSchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
225
225
|
var OWNERS3 = ["@examples.service-business-os"];
|
|
226
226
|
var ListJobsInputModel = defineSchemaModel4({
|
|
@@ -379,7 +379,7 @@ var IssueInvoiceInputModel = defineSchemaModel5({
|
|
|
379
379
|
});
|
|
380
380
|
|
|
381
381
|
// src/invoice/invoice.operations.ts
|
|
382
|
-
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts";
|
|
382
|
+
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts-spec";
|
|
383
383
|
var OWNERS4 = ["@examples.service-business-os"];
|
|
384
384
|
var IssueInvoiceContract = defineCommand4({
|
|
385
385
|
meta: {
|
|
@@ -447,7 +447,7 @@ var RecordPaymentInputModel = defineSchemaModel6({
|
|
|
447
447
|
});
|
|
448
448
|
|
|
449
449
|
// src/payment/payment.operations.ts
|
|
450
|
-
import { defineCommand as defineCommand5 } from "@contractspec/lib.contracts";
|
|
450
|
+
import { defineCommand as defineCommand5 } from "@contractspec/lib.contracts-spec";
|
|
451
451
|
var OWNERS5 = ["@examples.service-business-os"];
|
|
452
452
|
var RecordPaymentContract = defineCommand5({
|
|
453
453
|
meta: {
|
|
@@ -26,7 +26,7 @@ var RecordPaymentInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/payment/payment.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.service-business-os"];
|
|
31
31
|
var RecordPaymentContract = defineCommand({
|
|
32
32
|
meta: {
|
|
@@ -26,7 +26,7 @@ var RecordPaymentInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/payment/payment.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.service-business-os"];
|
|
31
31
|
var RecordPaymentContract = defineCommand({
|
|
32
32
|
meta: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/presentations.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
definePresentation,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var ServiceDashboardPresentation = definePresentation({
|
|
4
7
|
meta: {
|
|
5
8
|
key: "service-business-os.dashboard",
|
package/dist/node/quote/index.js
CHANGED
|
@@ -40,7 +40,7 @@ var AcceptQuoteInputModel = defineSchemaModel({
|
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
// src/quote/quote.operations.ts
|
|
43
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
43
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
44
44
|
var OWNERS = ["@examples.service-business-os"];
|
|
45
45
|
var CreateQuoteContract = defineCommand({
|
|
46
46
|
meta: {
|
|
@@ -40,7 +40,7 @@ var AcceptQuoteInputModel = defineSchemaModel({
|
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
// src/quote/quote.operations.ts
|
|
43
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
43
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
44
44
|
var OWNERS = ["@examples.service-business-os"];
|
|
45
45
|
var CreateQuoteContract = defineCommand({
|
|
46
46
|
meta: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/service-business-os.capability.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
defineCapability,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var QuotesCapability = defineCapability({
|
|
4
7
|
meta: {
|
|
5
8
|
key: "quotes",
|
|
@@ -3,4 +3,3 @@ export { QuoteModel, CreateQuoteInputModel, AcceptQuoteInputModel, CreateQuoteCo
|
|
|
3
3
|
export { JobModel, ScheduleJobInputModel, CompleteJobInputModel, ScheduleJobContract, CompleteJobContract, } from '../job';
|
|
4
4
|
export { InvoiceModel, IssueInvoiceInputModel, IssueInvoiceContract, } from '../invoice';
|
|
5
5
|
export { PaymentModel, RecordPaymentInputModel, RecordPaymentContract, } from '../payment';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/operations/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var CreateClientInputModel = defineSchemaModel({
|
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
// src/client/client.operations.ts
|
|
31
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
31
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
32
32
|
var OWNERS = ["@examples.service-business-os"];
|
|
33
33
|
var CreateClientContract = defineCommand({
|
|
34
34
|
meta: {
|
|
@@ -110,7 +110,7 @@ var AcceptQuoteInputModel = defineSchemaModel2({
|
|
|
110
110
|
});
|
|
111
111
|
|
|
112
112
|
// src/quote/quote.operations.ts
|
|
113
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts";
|
|
113
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec";
|
|
114
114
|
var OWNERS2 = ["@examples.service-business-os"];
|
|
115
115
|
var CreateQuoteContract = defineCommand2({
|
|
116
116
|
meta: {
|
|
@@ -221,7 +221,7 @@ var CompleteJobInputModel = defineSchemaModel3({
|
|
|
221
221
|
});
|
|
222
222
|
|
|
223
223
|
// src/job/job.operations.ts
|
|
224
|
-
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
import { defineSchemaModel as defineSchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
226
226
|
var OWNERS3 = ["@examples.service-business-os"];
|
|
227
227
|
var ListJobsInputModel = defineSchemaModel4({
|
|
@@ -380,7 +380,7 @@ var IssueInvoiceInputModel = defineSchemaModel5({
|
|
|
380
380
|
});
|
|
381
381
|
|
|
382
382
|
// src/invoice/invoice.operations.ts
|
|
383
|
-
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts";
|
|
383
|
+
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts-spec";
|
|
384
384
|
var OWNERS4 = ["@examples.service-business-os"];
|
|
385
385
|
var IssueInvoiceContract = defineCommand4({
|
|
386
386
|
meta: {
|
|
@@ -448,7 +448,7 @@ var RecordPaymentInputModel = defineSchemaModel6({
|
|
|
448
448
|
});
|
|
449
449
|
|
|
450
450
|
// src/payment/payment.operations.ts
|
|
451
|
-
import { defineCommand as defineCommand5 } from "@contractspec/lib.contracts";
|
|
451
|
+
import { defineCommand as defineCommand5 } from "@contractspec/lib.contracts-spec";
|
|
452
452
|
var OWNERS5 = ["@examples.service-business-os"];
|
|
453
453
|
var RecordPaymentContract = defineCommand5({
|
|
454
454
|
meta: {
|
package/dist/payment/index.d.ts
CHANGED
package/dist/payment/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var RecordPaymentInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/payment/payment.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.service-business-os"];
|
|
32
32
|
var RecordPaymentContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Record a payment.
|
|
3
3
|
*/
|
|
4
|
-
export declare const RecordPaymentContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const RecordPaymentContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
invoiceId: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -52,4 +52,3 @@ export declare const RecordPaymentContract: import("@contractspec/lib.contracts"
|
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
}>, undefined>;
|
|
55
|
-
//# sourceMappingURL=payment.operations.d.ts.map
|
|
@@ -27,7 +27,7 @@ var RecordPaymentInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/payment/payment.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.service-business-os"];
|
|
32
32
|
var RecordPaymentContract = defineCommand({
|
|
33
33
|
meta: {
|
package/dist/presentations.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export declare const ServiceDashboardPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
2
|
-
export declare const ClientListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
3
|
-
export declare const QuoteListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
4
|
-
export declare const QuoteDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
5
|
-
export declare const JobBoardPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
6
|
-
export declare const InvoiceListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
7
|
-
export declare const PaymentListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
8
|
-
//# sourceMappingURL=presentations.d.ts.map
|
|
1
|
+
export declare const ServiceDashboardPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
2
|
+
export declare const ClientListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
3
|
+
export declare const QuoteListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
4
|
+
export declare const QuoteDetailPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
5
|
+
export declare const JobBoardPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
6
|
+
export declare const InvoiceListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
|
7
|
+
export declare const PaymentListPresentation: import("@contractspec/lib.contracts-spec").PresentationSpec;
|
package/dist/presentations.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/presentations.ts
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
definePresentation,
|
|
5
|
+
StabilityEnum
|
|
6
|
+
} from "@contractspec/lib.contracts-spec";
|
|
4
7
|
var ServiceDashboardPresentation = definePresentation({
|
|
5
8
|
meta: {
|
|
6
9
|
key: "service-business-os.dashboard",
|
package/dist/quote/index.d.ts
CHANGED
package/dist/quote/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var AcceptQuoteInputModel = defineSchemaModel({
|
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
// src/quote/quote.operations.ts
|
|
44
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
44
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
45
45
|
var OWNERS = ["@examples.service-business-os"];
|
|
46
46
|
var CreateQuoteContract = defineCommand({
|
|
47
47
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a new quote.
|
|
3
3
|
*/
|
|
4
|
-
export declare const CreateQuoteContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const CreateQuoteContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
clientId: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -75,7 +75,7 @@ export declare const CreateQuoteContract: import("@contractspec/lib.contracts").
|
|
|
75
75
|
/**
|
|
76
76
|
* Accept a quote.
|
|
77
77
|
*/
|
|
78
|
-
export declare const AcceptQuoteContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
78
|
+
export declare const AcceptQuoteContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
79
79
|
quoteId: {
|
|
80
80
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
@@ -126,4 +126,3 @@ export declare const AcceptQuoteContract: import("@contractspec/lib.contracts").
|
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
}>, undefined>;
|
|
129
|
-
//# sourceMappingURL=quote.operations.d.ts.map
|
|
@@ -41,7 +41,7 @@ var AcceptQuoteInputModel = defineSchemaModel({
|
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
// src/quote/quote.operations.ts
|
|
44
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
44
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
45
45
|
var OWNERS = ["@examples.service-business-os"];
|
|
46
46
|
var CreateQuoteContract = defineCommand({
|
|
47
47
|
meta: {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const QuotesCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
2
|
-
export declare const InvoicesCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
3
|
-
//# sourceMappingURL=service-business-os.capability.d.ts.map
|
|
1
|
+
export declare const QuotesCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
2
|
+
export declare const InvoicesCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/service-business-os.capability.ts
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
defineCapability,
|
|
5
|
+
StabilityEnum
|
|
6
|
+
} from "@contractspec/lib.contracts-spec";
|
|
4
7
|
var QuotesCapability = defineCapability({
|
|
5
8
|
meta: {
|
|
6
9
|
key: "quotes",
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const ServiceBusinessFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
2
|
-
//# sourceMappingURL=service.feature.d.ts.map
|
|
1
|
+
export declare const ServiceBusinessFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
package/dist/service.feature.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.service-business-os",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Service Business OS example (clients, quotes, jobs, invoices) for ContractSpec",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"typecheck": "tsc --noEmit"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@contractspec/lib.schema": "
|
|
23
|
-
"@contractspec/lib.contracts": "
|
|
22
|
+
"@contractspec/lib.schema": "2.0.0",
|
|
23
|
+
"@contractspec/lib.contracts-spec": "2.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@contractspec/tool.typescript": "
|
|
26
|
+
"@contractspec/tool.typescript": "2.0.0",
|
|
27
27
|
"typescript": "^5.9.3",
|
|
28
|
-
"@contractspec/tool.bun": "
|
|
28
|
+
"@contractspec/tool.bun": "2.0.0"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.operations.d.ts","sourceRoot":"","sources":["../../src/client/client.operations.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqC/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.schema.d.ts","sourceRoot":"","sources":["../../src/client/client.schema.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;EAWjC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/docs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service-business-os.docblock.d.ts","sourceRoot":"","sources":["../../src/docs/service-business-os.docblock.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAIzE,eAAO,MAAM,eAAe,kDAK1B,CAAC;AAEH,eAAO,MAAM,aAAa,kDAKxB,CAAC;AAEH,eAAO,MAAM,iBAAiB,kDAK5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,kDAK5B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;EA8BvB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;EA0CtB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EA8CpB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;EAsCxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;EA4BxB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAMnC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,wBAK/C,CAAC"}
|
package/dist/events.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;GAUzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;GAU7B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU5B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;GAU7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;GAU/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOjC,CAAC"}
|
package/dist/example.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO,mDAiCX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,wBAAgB,+BAA+B,SAI9C;AAED,MAAM,MAAM,uBAAuB,GAC/B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,GAC3B,OAAO,mBAAmB,GAC1B,OAAO,mBAAmB,GAC1B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,GAC3B,OAAO,qBAAqB,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAE1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/invoice/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.operations.d.ts","sourceRoot":"","sources":["../../src/invoice/invoice.operations.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqC/B,CAAC"}
|