@synap-core/workspace-templates 0.76.1 → 0.78.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/index.js +265 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/builder.yaml +4 -0
- package/src/content-os.relations.template.test.ts +83 -0
- package/src/content-os.yaml +66 -0
- package/src/lifecycle-declarations.test.ts +2 -0
- package/src/operations.estimate.template.test.ts +125 -0
- package/src/operations.yaml +138 -0
- package/src/templates.ts +265 -0
package/dist/index.js
CHANGED
|
@@ -6149,6 +6149,7 @@ var DATA = {
|
|
|
6149
6149
|
"label": "App",
|
|
6150
6150
|
"valueType": "entity_id",
|
|
6151
6151
|
"targetProfileSlug": "devplane_app",
|
|
6152
|
+
"relation": "belongs_to",
|
|
6152
6153
|
"inputType": "entity_select",
|
|
6153
6154
|
"description": "The app this design is for (one devplane_app, filed into the design's project). The Design app lists an app's designs by it; target-surface stays the screen's name."
|
|
6154
6155
|
},
|
|
@@ -6216,6 +6217,7 @@ var DATA = {
|
|
|
6216
6217
|
"label": "Screenshot",
|
|
6217
6218
|
"valueType": "entity_id",
|
|
6218
6219
|
"targetProfileSlug": "file",
|
|
6220
|
+
"relation": "references",
|
|
6219
6221
|
"inputType": "entity_select",
|
|
6220
6222
|
"description": "A render of the design, for review at a glance."
|
|
6221
6223
|
},
|
|
@@ -6365,6 +6367,7 @@ var DATA = {
|
|
|
6365
6367
|
"label": "Screenshot",
|
|
6366
6368
|
"valueType": "entity_id",
|
|
6367
6369
|
"targetProfileSlug": "file",
|
|
6370
|
+
"relation": "references",
|
|
6368
6371
|
"inputType": "entity_select",
|
|
6369
6372
|
"description": "A render of its main story, for review at a glance."
|
|
6370
6373
|
},
|
|
@@ -6394,6 +6397,7 @@ var DATA = {
|
|
|
6394
6397
|
"label": "App",
|
|
6395
6398
|
"valueType": "entity_id",
|
|
6396
6399
|
"targetProfileSlug": "devplane_app",
|
|
6400
|
+
"relation": "belongs_to",
|
|
6397
6401
|
"inputType": "entity_select",
|
|
6398
6402
|
"description": "The app (devplane_app) whose Storybook it comes from."
|
|
6399
6403
|
},
|
|
@@ -12642,6 +12646,7 @@ var DATA = {
|
|
|
12642
12646
|
"label": "Sponsor",
|
|
12643
12647
|
"valueType": "entity_id",
|
|
12644
12648
|
"targetProfileSlug": "sponsor",
|
|
12649
|
+
"relation": "sponsored_by",
|
|
12645
12650
|
"inputType": "entity_select"
|
|
12646
12651
|
},
|
|
12647
12652
|
{
|
|
@@ -12649,6 +12654,7 @@ var DATA = {
|
|
|
12649
12654
|
"label": "Journey Stage",
|
|
12650
12655
|
"valueType": "entity_id",
|
|
12651
12656
|
"targetProfileSlug": "journey-stage",
|
|
12657
|
+
"relation": "at_journey_stage",
|
|
12652
12658
|
"inputType": "entity_select"
|
|
12653
12659
|
},
|
|
12654
12660
|
{
|
|
@@ -12671,6 +12677,7 @@ var DATA = {
|
|
|
12671
12677
|
"label": "Offer",
|
|
12672
12678
|
"valueType": "entity_id",
|
|
12673
12679
|
"targetProfileSlug": "offer",
|
|
12680
|
+
"relation": "teaches_toward",
|
|
12674
12681
|
"inputType": "entity_select"
|
|
12675
12682
|
},
|
|
12676
12683
|
{
|
|
@@ -12721,6 +12728,7 @@ var DATA = {
|
|
|
12721
12728
|
"label": "Repurposed From",
|
|
12722
12729
|
"valueType": "entity_id",
|
|
12723
12730
|
"targetProfileSlug": "post",
|
|
12731
|
+
"relation": "derived_from",
|
|
12724
12732
|
"inputType": "entity_select"
|
|
12725
12733
|
},
|
|
12726
12734
|
{
|
|
@@ -12937,6 +12945,7 @@ var DATA = {
|
|
|
12937
12945
|
"label": "Journey Stage",
|
|
12938
12946
|
"valueType": "entity_id",
|
|
12939
12947
|
"targetProfileSlug": "journey-stage",
|
|
12948
|
+
"relation": "at_journey_stage",
|
|
12940
12949
|
"inputType": "entity_select"
|
|
12941
12950
|
},
|
|
12942
12951
|
{
|
|
@@ -13013,6 +13022,7 @@ var DATA = {
|
|
|
13013
13022
|
"label": "Audience",
|
|
13014
13023
|
"valueType": "entity_id",
|
|
13015
13024
|
"targetProfileSlug": "audience",
|
|
13025
|
+
"relation": "targets",
|
|
13016
13026
|
"inputType": "entity_select"
|
|
13017
13027
|
},
|
|
13018
13028
|
{
|
|
@@ -13106,6 +13116,7 @@ var DATA = {
|
|
|
13106
13116
|
"label": "Audience",
|
|
13107
13117
|
"valueType": "entity_id",
|
|
13108
13118
|
"targetProfileSlug": "audience",
|
|
13119
|
+
"relation": "targets",
|
|
13109
13120
|
"inputType": "entity_select"
|
|
13110
13121
|
},
|
|
13111
13122
|
{
|
|
@@ -13184,6 +13195,7 @@ var DATA = {
|
|
|
13184
13195
|
"label": "Pillar",
|
|
13185
13196
|
"valueType": "entity_id",
|
|
13186
13197
|
"targetProfileSlug": "pillar",
|
|
13198
|
+
"relation": "belongs_to_pillar",
|
|
13187
13199
|
"inputType": "entity_select"
|
|
13188
13200
|
}
|
|
13189
13201
|
]
|
|
@@ -13444,6 +13456,7 @@ var DATA = {
|
|
|
13444
13456
|
"label": "Sponsor",
|
|
13445
13457
|
"valueType": "entity_id",
|
|
13446
13458
|
"targetProfileSlug": "sponsor",
|
|
13459
|
+
"relation": "sponsored_by",
|
|
13447
13460
|
"inputType": "entity_select"
|
|
13448
13461
|
},
|
|
13449
13462
|
{
|
|
@@ -13451,6 +13464,7 @@ var DATA = {
|
|
|
13451
13464
|
"label": "Campaign",
|
|
13452
13465
|
"valueType": "entity_id",
|
|
13453
13466
|
"targetProfileSlug": "campaign",
|
|
13467
|
+
"relation": "part_of_campaign",
|
|
13454
13468
|
"inputType": "entity_select"
|
|
13455
13469
|
},
|
|
13456
13470
|
{
|
|
@@ -13458,6 +13472,7 @@ var DATA = {
|
|
|
13458
13472
|
"label": "Primary Pillar",
|
|
13459
13473
|
"valueType": "entity_id",
|
|
13460
13474
|
"targetProfileSlug": "pillar",
|
|
13475
|
+
"relation": "belongs_to_pillar",
|
|
13461
13476
|
"inputType": "entity_select"
|
|
13462
13477
|
},
|
|
13463
13478
|
{
|
|
@@ -13727,6 +13742,7 @@ var DATA = {
|
|
|
13727
13742
|
"label": "Audience",
|
|
13728
13743
|
"valueType": "entity_id",
|
|
13729
13744
|
"targetProfileSlug": "audience",
|
|
13745
|
+
"relation": "affects",
|
|
13730
13746
|
"inputType": "entity_select"
|
|
13731
13747
|
},
|
|
13732
13748
|
{
|
|
@@ -13848,6 +13864,7 @@ var DATA = {
|
|
|
13848
13864
|
"label": "Audience",
|
|
13849
13865
|
"valueType": "entity_id",
|
|
13850
13866
|
"targetProfileSlug": "audience",
|
|
13867
|
+
"relation": "targets",
|
|
13851
13868
|
"inputType": "entity_select"
|
|
13852
13869
|
},
|
|
13853
13870
|
{
|
|
@@ -14050,6 +14067,7 @@ var DATA = {
|
|
|
14050
14067
|
"label": "Template",
|
|
14051
14068
|
"valueType": "entity_id",
|
|
14052
14069
|
"targetProfileSlug": "brand-template",
|
|
14070
|
+
"relation": "uses",
|
|
14053
14071
|
"inputType": "entity_select",
|
|
14054
14072
|
"description": "The reusable brand-template shell this started from."
|
|
14055
14073
|
},
|
|
@@ -14230,6 +14248,7 @@ var DATA = {
|
|
|
14230
14248
|
"label": "Cut from take",
|
|
14231
14249
|
"valueType": "entity_id",
|
|
14232
14250
|
"targetProfileSlug": "content-asset",
|
|
14251
|
+
"relation": "derived_from",
|
|
14233
14252
|
"inputType": "entity_select"
|
|
14234
14253
|
},
|
|
14235
14254
|
{
|
|
@@ -14330,6 +14349,7 @@ var DATA = {
|
|
|
14330
14349
|
"label": "Output",
|
|
14331
14350
|
"valueType": "entity_id",
|
|
14332
14351
|
"targetProfileSlug": "file",
|
|
14352
|
+
"relation": "references",
|
|
14333
14353
|
"inputType": "entity_select"
|
|
14334
14354
|
},
|
|
14335
14355
|
{
|
|
@@ -14709,6 +14729,78 @@ var DATA = {
|
|
|
14709
14729
|
}
|
|
14710
14730
|
},
|
|
14711
14731
|
"entityLinks": [
|
|
14732
|
+
{
|
|
14733
|
+
"sourceProfileSlug": "idea",
|
|
14734
|
+
"targetProfileSlug": "journey-stage",
|
|
14735
|
+
"type": "at_journey_stage",
|
|
14736
|
+
"label": "Journey Stage"
|
|
14737
|
+
},
|
|
14738
|
+
{
|
|
14739
|
+
"sourceProfileSlug": "pillar",
|
|
14740
|
+
"targetProfileSlug": "audience",
|
|
14741
|
+
"type": "targets",
|
|
14742
|
+
"label": "Audience"
|
|
14743
|
+
},
|
|
14744
|
+
{
|
|
14745
|
+
"sourceProfileSlug": "journey-stage",
|
|
14746
|
+
"targetProfileSlug": "audience",
|
|
14747
|
+
"type": "targets",
|
|
14748
|
+
"label": "Audience"
|
|
14749
|
+
},
|
|
14750
|
+
{
|
|
14751
|
+
"sourceProfileSlug": "series",
|
|
14752
|
+
"targetProfileSlug": "pillar",
|
|
14753
|
+
"type": "belongs_to_pillar",
|
|
14754
|
+
"label": "Pillar"
|
|
14755
|
+
},
|
|
14756
|
+
{
|
|
14757
|
+
"sourceProfileSlug": "newsletter",
|
|
14758
|
+
"targetProfileSlug": "sponsor",
|
|
14759
|
+
"type": "sponsored_by",
|
|
14760
|
+
"label": "Sponsor"
|
|
14761
|
+
},
|
|
14762
|
+
{
|
|
14763
|
+
"sourceProfileSlug": "newsletter",
|
|
14764
|
+
"targetProfileSlug": "campaign",
|
|
14765
|
+
"type": "part_of_campaign",
|
|
14766
|
+
"label": "Campaign"
|
|
14767
|
+
},
|
|
14768
|
+
{
|
|
14769
|
+
"sourceProfileSlug": "newsletter",
|
|
14770
|
+
"targetProfileSlug": "pillar",
|
|
14771
|
+
"type": "belongs_to_pillar",
|
|
14772
|
+
"label": "Pillar"
|
|
14773
|
+
},
|
|
14774
|
+
{
|
|
14775
|
+
"sourceProfileSlug": "offer",
|
|
14776
|
+
"targetProfileSlug": "audience",
|
|
14777
|
+
"type": "targets",
|
|
14778
|
+
"label": "Audience"
|
|
14779
|
+
},
|
|
14780
|
+
{
|
|
14781
|
+
"sourceProfileSlug": "content-composition",
|
|
14782
|
+
"targetProfileSlug": "brand-template",
|
|
14783
|
+
"type": "uses",
|
|
14784
|
+
"label": "Template"
|
|
14785
|
+
},
|
|
14786
|
+
{
|
|
14787
|
+
"sourceProfileSlug": "content-asset",
|
|
14788
|
+
"targetProfileSlug": "content-asset",
|
|
14789
|
+
"type": "derived_from",
|
|
14790
|
+
"label": "Taken from"
|
|
14791
|
+
},
|
|
14792
|
+
{
|
|
14793
|
+
"sourceProfileSlug": "pain-point",
|
|
14794
|
+
"targetProfileSlug": "audience",
|
|
14795
|
+
"type": "affects",
|
|
14796
|
+
"label": "Audience"
|
|
14797
|
+
},
|
|
14798
|
+
{
|
|
14799
|
+
"sourceProfileSlug": "render-job",
|
|
14800
|
+
"targetProfileSlug": "file",
|
|
14801
|
+
"type": "references",
|
|
14802
|
+
"label": "Output file"
|
|
14803
|
+
},
|
|
14712
14804
|
{
|
|
14713
14805
|
"sourceProfileSlug": "post",
|
|
14714
14806
|
"targetProfileSlug": "campaign",
|
|
@@ -32660,6 +32752,12 @@ Pick the SINGLE best provider for this need, or none if nothing fits well. Respo
|
|
|
32660
32752
|
"kind": "workspace",
|
|
32661
32753
|
"relation": "require",
|
|
32662
32754
|
"reason": "Provides the pod-wide `client` role this space onboards and serves (Clients board, Onboard a client) and its automations query."
|
|
32755
|
+
},
|
|
32756
|
+
{
|
|
32757
|
+
"slug": "brand-library",
|
|
32758
|
+
"kind": "workspace",
|
|
32759
|
+
"relation": "require",
|
|
32760
|
+
"reason": "Provides the shared brand-template kind an estimate is generated from."
|
|
32663
32761
|
}
|
|
32664
32762
|
],
|
|
32665
32763
|
"profiles": [
|
|
@@ -32960,6 +33058,142 @@ Pick the SINGLE best provider for this need, or none if nothing fits well. Respo
|
|
|
32960
33058
|
}
|
|
32961
33059
|
]
|
|
32962
33060
|
},
|
|
33061
|
+
{
|
|
33062
|
+
"slug": "estimate",
|
|
33063
|
+
"displayName": "Estimate",
|
|
33064
|
+
"icon": "calculator",
|
|
33065
|
+
"description": "A priced quote for a client, sent before any contract \u2014 its lines, currency, VAT, version and the date it is valid until.",
|
|
33066
|
+
"lifecycle": {
|
|
33067
|
+
"property": "estimate-status",
|
|
33068
|
+
"options": [
|
|
33069
|
+
{
|
|
33070
|
+
"key": "draft",
|
|
33071
|
+
"category": "open"
|
|
33072
|
+
},
|
|
33073
|
+
{
|
|
33074
|
+
"key": "sent",
|
|
33075
|
+
"category": "active"
|
|
33076
|
+
},
|
|
33077
|
+
{
|
|
33078
|
+
"key": "accepted",
|
|
33079
|
+
"category": "done",
|
|
33080
|
+
"humanOnly": true
|
|
33081
|
+
},
|
|
33082
|
+
{
|
|
33083
|
+
"key": "declined",
|
|
33084
|
+
"category": "lost",
|
|
33085
|
+
"humanOnly": true
|
|
33086
|
+
},
|
|
33087
|
+
{
|
|
33088
|
+
"key": "expired",
|
|
33089
|
+
"category": "lost"
|
|
33090
|
+
},
|
|
33091
|
+
{
|
|
33092
|
+
"key": "superseded",
|
|
33093
|
+
"category": "lost"
|
|
33094
|
+
}
|
|
33095
|
+
]
|
|
33096
|
+
},
|
|
33097
|
+
"properties": [
|
|
33098
|
+
{
|
|
33099
|
+
"slug": "estimate-status",
|
|
33100
|
+
"label": "Status",
|
|
33101
|
+
"valueType": "string",
|
|
33102
|
+
"inputType": "select",
|
|
33103
|
+
"enumValues": [
|
|
33104
|
+
"draft",
|
|
33105
|
+
"sent",
|
|
33106
|
+
"accepted",
|
|
33107
|
+
"declined",
|
|
33108
|
+
"expired",
|
|
33109
|
+
"superseded"
|
|
33110
|
+
],
|
|
33111
|
+
"constraints": {
|
|
33112
|
+
"defaultValue": "draft"
|
|
33113
|
+
}
|
|
33114
|
+
},
|
|
33115
|
+
{
|
|
33116
|
+
"slug": "estimate-number",
|
|
33117
|
+
"label": "Number",
|
|
33118
|
+
"valueType": "string",
|
|
33119
|
+
"inputType": "text"
|
|
33120
|
+
},
|
|
33121
|
+
{
|
|
33122
|
+
"slug": "estimate-version",
|
|
33123
|
+
"label": "Version",
|
|
33124
|
+
"valueType": "number",
|
|
33125
|
+
"inputType": "number",
|
|
33126
|
+
"constraints": {
|
|
33127
|
+
"defaultValue": 1
|
|
33128
|
+
}
|
|
33129
|
+
},
|
|
33130
|
+
{
|
|
33131
|
+
"slug": "issued-date",
|
|
33132
|
+
"label": "Issued",
|
|
33133
|
+
"valueType": "date",
|
|
33134
|
+
"inputType": "date"
|
|
33135
|
+
},
|
|
33136
|
+
{
|
|
33137
|
+
"slug": "valid-until",
|
|
33138
|
+
"label": "Valid until",
|
|
33139
|
+
"valueType": "date",
|
|
33140
|
+
"inputType": "date"
|
|
33141
|
+
},
|
|
33142
|
+
{
|
|
33143
|
+
"slug": "estimate-currency",
|
|
33144
|
+
"label": "Currency",
|
|
33145
|
+
"valueType": "string",
|
|
33146
|
+
"inputType": "text",
|
|
33147
|
+
"constraints": {
|
|
33148
|
+
"defaultValue": "EUR"
|
|
33149
|
+
}
|
|
33150
|
+
},
|
|
33151
|
+
{
|
|
33152
|
+
"slug": "estimate-vat-bp",
|
|
33153
|
+
"label": "VAT (basis points)",
|
|
33154
|
+
"valueType": "number",
|
|
33155
|
+
"inputType": "number",
|
|
33156
|
+
"constraints": {
|
|
33157
|
+
"defaultValue": 2e3
|
|
33158
|
+
}
|
|
33159
|
+
},
|
|
33160
|
+
{
|
|
33161
|
+
"slug": "estimate-lines",
|
|
33162
|
+
"label": "Lines",
|
|
33163
|
+
"description": "The priced lines: a list of { label, quantity, unit_price }, unit_price an integer in minor units (cents).",
|
|
33164
|
+
"valueType": "array",
|
|
33165
|
+
"inputType": "json"
|
|
33166
|
+
},
|
|
33167
|
+
{
|
|
33168
|
+
"slug": "estimate-client",
|
|
33169
|
+
"label": "Client",
|
|
33170
|
+
"valueType": "entity_id",
|
|
33171
|
+
"targetProfileSlug": "client",
|
|
33172
|
+
"inputType": "entity_select"
|
|
33173
|
+
},
|
|
33174
|
+
{
|
|
33175
|
+
"slug": "estimate-deal",
|
|
33176
|
+
"label": "Deal",
|
|
33177
|
+
"valueType": "entity_id",
|
|
33178
|
+
"targetProfileSlug": "deal",
|
|
33179
|
+
"relation": "estimate_for_deal",
|
|
33180
|
+
"inputType": "entity_select"
|
|
33181
|
+
},
|
|
33182
|
+
{
|
|
33183
|
+
"slug": "estimate-template",
|
|
33184
|
+
"label": "Template",
|
|
33185
|
+
"valueType": "entity_id",
|
|
33186
|
+
"targetProfileSlug": "brand-template",
|
|
33187
|
+
"inputType": "entity_select"
|
|
33188
|
+
}
|
|
33189
|
+
]
|
|
33190
|
+
},
|
|
33191
|
+
{
|
|
33192
|
+
"slug": "brand-template",
|
|
33193
|
+
"displayName": "Brand Template",
|
|
33194
|
+
"scope": "shared",
|
|
33195
|
+
"properties": []
|
|
33196
|
+
},
|
|
32963
33197
|
{
|
|
32964
33198
|
"slug": "client-briefing",
|
|
32965
33199
|
"displayName": "Client Briefing",
|
|
@@ -33043,6 +33277,24 @@ Pick the SINGLE best provider for this need, or none if nothing fits well. Respo
|
|
|
33043
33277
|
"targetProfileSlug": "engagement",
|
|
33044
33278
|
"type": "contract_for_engagement",
|
|
33045
33279
|
"label": "Engagement"
|
|
33280
|
+
},
|
|
33281
|
+
{
|
|
33282
|
+
"sourceProfileSlug": "estimate",
|
|
33283
|
+
"targetProfileSlug": "deal",
|
|
33284
|
+
"type": "estimate_for_deal",
|
|
33285
|
+
"label": "Deal"
|
|
33286
|
+
},
|
|
33287
|
+
{
|
|
33288
|
+
"sourceProfileSlug": "estimate",
|
|
33289
|
+
"targetProfileSlug": "contract",
|
|
33290
|
+
"type": "estimate_becomes_contract",
|
|
33291
|
+
"label": "Contract"
|
|
33292
|
+
},
|
|
33293
|
+
{
|
|
33294
|
+
"sourceProfileSlug": "estimate",
|
|
33295
|
+
"targetProfileSlug": "estimate",
|
|
33296
|
+
"type": "revises",
|
|
33297
|
+
"label": "Revises"
|
|
33046
33298
|
}
|
|
33047
33299
|
],
|
|
33048
33300
|
"views": [
|
|
@@ -33093,6 +33345,13 @@ Pick the SINGLE best provider for this need, or none if nothing fits well. Respo
|
|
|
33093
33345
|
"groupByField": "contract-status"
|
|
33094
33346
|
}
|
|
33095
33347
|
},
|
|
33348
|
+
{
|
|
33349
|
+
"name": "Estimates",
|
|
33350
|
+
"slug": "estimates",
|
|
33351
|
+
"type": "table",
|
|
33352
|
+
"scopeProfileSlug": "estimate",
|
|
33353
|
+
"description": "Estimates with their status, client, deal and validity."
|
|
33354
|
+
},
|
|
33096
33355
|
{
|
|
33097
33356
|
"name": "Client Briefings",
|
|
33098
33357
|
"slug": "client-briefings",
|
|
@@ -33170,6 +33429,12 @@ Pick the SINGLE best provider for this need, or none if nothing fits well. Respo
|
|
|
33170
33429
|
"viewName": "Contracts",
|
|
33171
33430
|
"label": "Contracts",
|
|
33172
33431
|
"icon": "file-signature"
|
|
33432
|
+
},
|
|
33433
|
+
{
|
|
33434
|
+
"kind": "view",
|
|
33435
|
+
"viewName": "Estimates",
|
|
33436
|
+
"label": "Estimates",
|
|
33437
|
+
"icon": "calculator"
|
|
33173
33438
|
}
|
|
33174
33439
|
]
|
|
33175
33440
|
},
|