@company-semantics/contracts 52.0.0 → 53.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/package.json +1 -1
- package/src/api/generated-spec-hash.ts +2 -2
- package/src/api/generated.ts +122 -69
- package/src/generated/openapi-routes.ts +3 -1
- package/src/identity/README.md +2 -2
- package/src/identity/__tests__/people-org-chart.test.ts +52 -17
- package/src/identity/__tests__/position-ref.test.ts +44 -0
- package/src/identity/index.ts +6 -2
- package/src/identity/people-org-chart.ts +26 -15
- package/src/identity/position-ref.ts +24 -0
- package/src/index.ts +21 -2
- package/src/notifications/__tests__/__snapshots__/monospace-budget.test.ts.snap +23 -0
- package/src/notifications/__tests__/__snapshots__/render-snapshot.test.ts.snap +309 -259
- package/src/notifications/__tests__/monospace-budget.test.ts +75 -0
- package/src/notifications/renderers/README.md +8 -4
- package/src/notifications/renderers/ascii/README.md +75 -0
- package/src/notifications/renderers/ascii/__tests__/README.md +39 -0
- package/src/notifications/renderers/ascii/__tests__/layout.test.ts +228 -0
- package/src/notifications/renderers/ascii/chat.ts +179 -0
- package/src/notifications/renderers/ascii/cta.ts +57 -0
- package/src/notifications/renderers/ascii/geometry.ts +112 -0
- package/src/notifications/renderers/ascii/index.ts +40 -0
- package/src/notifications/renderers/ascii/keyvalue.ts +34 -0
- package/src/notifications/renderers/ascii/rule.ts +53 -0
- package/src/notifications/renderers/ascii/runs.ts +84 -0
- package/src/notifications/renderers/ascii/signature.ts +41 -0
- package/src/notifications/renderers/ascii/wrap.ts +96 -0
- package/src/notifications/renderers/brand.ts +12 -0
- package/src/notifications/renderers/email/chat.ts +62 -146
- package/src/notifications/renderers/email/constants.ts +17 -2
- package/src/notifications/renderers/email/cta.ts +8 -13
- package/src/notifications/renderers/email/render.ts +29 -5
- package/src/notifications/renderers/layout.ts +31 -0
- package/src/notifications/renderers/slack/README.md +135 -79
- package/src/notifications/renderers/slack/__tests__/README.md +3 -2
- package/src/notifications/renderers/slack/__tests__/index.test.ts +233 -93
- package/src/notifications/renderers/slack/blocks.ts +149 -0
- package/src/notifications/renderers/slack/chat.ts +167 -0
- package/src/notifications/renderers/slack/cta.ts +69 -0
- package/src/notifications/renderers/slack/index.ts +136 -229
- package/src/notifications/renderers/slack/message.ts +23 -0
- package/src/org/README.md +10 -2
- package/src/org/__tests__/org-units.test.ts +1 -1
- package/src/org/__tests__/set-seat-manager.test.ts +177 -0
- package/src/org/index.ts +20 -2
- package/src/org/reconciliation.ts +162 -0
- package/src/org/schemas.ts +43 -17
- package/src/identity/org-chart-actor.ts +0 -24
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`monospace budget > overhangs only where content is atomic 1`] = `
|
|
4
|
+
[
|
|
5
|
+
"Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
|
|
6
|
+
"https://app.companysemantics.ai/doc/handbook",
|
|
7
|
+
"https://app.companysemantics.ai/doc/handbook?request=req_123",
|
|
8
|
+
"https://app.companysemantics.ai/doc/handbook?request=req_456",
|
|
9
|
+
"https://app.companysemantics.ai/doc/handbook?request=req_789",
|
|
10
|
+
"https://app.companysemantics.ai/doc/handbook?thread=th_123",
|
|
11
|
+
"https://app.companysemantics.ai/doc/handbook?thread=th_456",
|
|
12
|
+
"https://app.companysemantics.ai/invite/abc123",
|
|
13
|
+
"https://app.companysemantics.ai/invite/def456",
|
|
14
|
+
"https://app.companysemantics.ai/meeting/8842",
|
|
15
|
+
"https://app.companysemantics.ai/org/unit/42",
|
|
16
|
+
"https://app.companysemantics.ai/owner-transfer/accept/tok123",
|
|
17
|
+
"https://app.companysemantics.ai/owner-transfer/accept/tok456",
|
|
18
|
+
"https://app.companysemantics.ai/share/abc123",
|
|
19
|
+
"https://app.companysemantics.ai/share/long456",
|
|
20
|
+
"https://app.companysemantics.ai/share/preview789",
|
|
21
|
+
"https://app.companysemantics.ai/share/short123",
|
|
22
|
+
]
|
|
23
|
+
`;
|