@posx/core 5.5.166 → 5.5.168
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/build/index.d.ts +6 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
- package/.bmad-core/agent-teams/team-all.yaml +0 -14
- package/.bmad-core/agent-teams/team-fullstack.yaml +0 -18
- package/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
- package/.bmad-core/agent-teams/team-no-ui.yaml +0 -13
- package/.bmad-core/agents/analyst.md +0 -81
- package/.bmad-core/agents/architect.md +0 -83
- package/.bmad-core/agents/bmad-master.md +0 -107
- package/.bmad-core/agents/bmad-orchestrator.md +0 -149
- package/.bmad-core/agents/dev.md +0 -75
- package/.bmad-core/agents/pm.md +0 -81
- package/.bmad-core/agents/po.md +0 -76
- package/.bmad-core/agents/qa.md +0 -69
- package/.bmad-core/agents/sm.md +0 -62
- package/.bmad-core/agents/ux-expert.md +0 -66
- package/.bmad-core/bmad-core/user-guide.md +0 -0
- package/.bmad-core/checklists/architect-checklist.md +0 -443
- package/.bmad-core/checklists/change-checklist.md +0 -182
- package/.bmad-core/checklists/pm-checklist.md +0 -375
- package/.bmad-core/checklists/po-master-checklist.md +0 -441
- package/.bmad-core/checklists/story-dod-checklist.md +0 -101
- package/.bmad-core/checklists/story-draft-checklist.md +0 -156
- package/.bmad-core/core-config.yaml +0 -20
- package/.bmad-core/data/bmad-kb.md +0 -813
- package/.bmad-core/data/brainstorming-techniques.md +0 -36
- package/.bmad-core/data/elicitation-methods.md +0 -154
- package/.bmad-core/data/technical-preferences.md +0 -3
- package/.bmad-core/enhanced-ide-development-workflow.md +0 -43
- package/.bmad-core/install-manifest.yaml +0 -207
- package/.bmad-core/tasks/advanced-elicitation.md +0 -119
- package/.bmad-core/tasks/brownfield-create-epic.md +0 -160
- package/.bmad-core/tasks/brownfield-create-story.md +0 -147
- package/.bmad-core/tasks/correct-course.md +0 -70
- package/.bmad-core/tasks/create-brownfield-story.md +0 -321
- package/.bmad-core/tasks/create-deep-research-prompt.md +0 -289
- package/.bmad-core/tasks/create-doc.md +0 -101
- package/.bmad-core/tasks/create-next-story.md +0 -112
- package/.bmad-core/tasks/document-project.md +0 -347
- package/.bmad-core/tasks/execute-checklist.md +0 -93
- package/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
- package/.bmad-core/tasks/index-docs.md +0 -178
- package/.bmad-core/tasks/kb-mode-interaction.md +0 -75
- package/.bmad-core/tasks/review-story.md +0 -162
- package/.bmad-core/tasks/shard-doc.md +0 -187
- package/.bmad-core/tasks/validate-next-story.md +0 -134
- package/.bmad-core/templates/architecture-tmpl.yaml +0 -650
- package/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
- package/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
- package/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
- package/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
- package/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
- package/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
- package/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
- package/.bmad-core/templates/market-research-tmpl.yaml +0 -252
- package/.bmad-core/templates/prd-tmpl.yaml +0 -202
- package/.bmad-core/templates/project-brief-tmpl.yaml +0 -221
- package/.bmad-core/templates/story-tmpl.yaml +0 -137
- package/.bmad-core/user-guide.md +0 -251
- package/.bmad-core/utils/bmad-doc-template.md +0 -325
- package/.bmad-core/utils/workflow-management.md +0 -69
- package/.bmad-core/workflows/brownfield-fullstack.yaml +0 -297
- package/.bmad-core/workflows/brownfield-service.yaml +0 -187
- package/.bmad-core/workflows/brownfield-ui.yaml +0 -197
- package/.bmad-core/workflows/greenfield-fullstack.yaml +0 -240
- package/.bmad-core/workflows/greenfield-service.yaml +0 -206
- package/.bmad-core/workflows/greenfield-ui.yaml +0 -235
- package/.bmad-core/working-in-the-brownfield.md +0 -364
- package/.claude/commands/BMad/agents/analyst.md +0 -85
- package/.claude/commands/BMad/agents/architect.md +0 -87
- package/.claude/commands/BMad/agents/bmad-master.md +0 -111
- package/.claude/commands/BMad/agents/bmad-orchestrator.md +0 -153
- package/.claude/commands/BMad/agents/dev.md +0 -79
- package/.claude/commands/BMad/agents/pm.md +0 -85
- package/.claude/commands/BMad/agents/po.md +0 -80
- package/.claude/commands/BMad/agents/qa.md +0 -73
- package/.claude/commands/BMad/agents/sm.md +0 -66
- package/.claude/commands/BMad/agents/ux-expert.md +0 -70
- package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
- package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -164
- package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -151
- package/.claude/commands/BMad/tasks/correct-course.md +0 -74
- package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -325
- package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -293
- package/.claude/commands/BMad/tasks/create-doc.md +0 -105
- package/.claude/commands/BMad/tasks/create-next-story.md +0 -116
- package/.claude/commands/BMad/tasks/document-project.md +0 -351
- package/.claude/commands/BMad/tasks/execute-checklist.md +0 -97
- package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -140
- package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -55
- package/.claude/commands/BMad/tasks/index-docs.md +0 -182
- package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -79
- package/.claude/commands/BMad/tasks/review-story.md +0 -166
- package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
- package/.claude/commands/BMad/tasks/validate-next-story.md +0 -138
- package/.cursor/rules/analyst.mdc +0 -95
- package/.cursor/rules/architect.mdc +0 -97
- package/.cursor/rules/bmad-master.mdc +0 -121
- package/.cursor/rules/bmad-orchestrator.mdc +0 -163
- package/.cursor/rules/dev.mdc +0 -89
- package/.cursor/rules/pm.mdc +0 -95
- package/.cursor/rules/po.mdc +0 -90
- package/.cursor/rules/qa.mdc +0 -83
- package/.cursor/rules/sm.mdc +0 -76
- package/.cursor/rules/ux-expert.mdc +0 -80
package/build/index.d.ts
CHANGED
|
@@ -1315,7 +1315,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1315
1315
|
removeAllComboItems(Invoice: IInvoice, comboLineUid: string): IInvoiceLine[];
|
|
1316
1316
|
}
|
|
1317
1317
|
export class LineOperationService extends InvoiceBaseService implements ILineOperationService {
|
|
1318
|
-
addItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, modifiers?: IInvoiceCoreLine[], lineOptions?: LineOptions): IInvoiceLine;
|
|
1318
|
+
addItemToLine(invoice: IInvoice, customer: ICustomer, appConfig: IAppConfig, item: IItem, modifiers?: IInvoiceCoreLine[], lineOptions?: LineOptions, createNewLine?: boolean): IInvoiceLine;
|
|
1319
1319
|
duplicateLine(invoice: IInvoice, line: IInvoiceLine): IInvoice;
|
|
1320
1320
|
calibrateDuplicates(invoice: IInvoice): IInvoice;
|
|
1321
1321
|
toInvoiceCoreLine(modifier: ICoreItem, quantity?: number): IInvoiceCoreLine;
|
|
@@ -1329,7 +1329,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1329
1329
|
addModifierQuantity(modifiers: IInvoiceCoreLine[], modifier: IInvoiceCoreLine, quantity?: number): IInvoiceCoreLine[];
|
|
1330
1330
|
changeModifierPrice(modifier: IInvoiceCoreLine, price: number): IInvoiceCoreLine;
|
|
1331
1331
|
overwriteNoteToLine(line: IInvoiceLine, note: string): IInvoiceLine;
|
|
1332
|
-
findOrCreateLine(invoice: IInvoice, item: IItem, quantity: number, price?: number, modifiers?: IInvoiceCoreLine[], remark?: string): IInvoiceLine;
|
|
1332
|
+
findOrCreateLine(invoice: IInvoice, item: IItem, quantity: number, price?: number, modifiers?: IInvoiceCoreLine[], remark?: string, createNewLine?: boolean): IInvoiceLine;
|
|
1333
1333
|
private createInvoiceLine;
|
|
1334
1334
|
protected compareModifiers(target: IInvoiceCoreLine[], source: IInvoiceCoreLine[]): boolean;
|
|
1335
1335
|
/**
|
|
@@ -3349,7 +3349,10 @@ declare module '@posx/core/types/payment.type' {
|
|
|
3349
3349
|
export interface IPayment extends IAppCoreModel {
|
|
3350
3350
|
/** Invoice ID */
|
|
3351
3351
|
invoice_uid: string;
|
|
3352
|
-
/** Tender Amount
|
|
3352
|
+
/** Tender Amount
|
|
3353
|
+
* tender amount can be greater than invoice amount
|
|
3354
|
+
* So the payment amount is tender_amount - change_amount
|
|
3355
|
+
*/
|
|
3353
3356
|
tender_amount: number;
|
|
3354
3357
|
/** Change Amount */
|
|
3355
3358
|
change_amount: number;
|