Skip to content

Commit 9d71b41

Browse files
committed
Improved wordings
1 parent b49a383 commit 9d71b41

5 files changed

Lines changed: 18 additions & 10 deletions

File tree

packages/vocab-tools/src/__snapshots__/class.test.ts.deno.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31029,8 +31029,10 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
3102931029
}
3103031030

3103131031
/** The {@link Intent} of a {@link Proposal} that this commitment
31032-
* satisfies. The value is typically a fragment identifier such as
31033-
* \`#primary\` or \`#reciprocal\`.
31032+
* satisfies. The value is the proposal's URI with a
31033+
* [fragment](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment)
31034+
* appended to identify the intent. Recommended fragments are
31035+
* \`primary\` and\`reciprocal\`.
3103431036
*
3103531037
*/
3103631038
get satisfies(): (URL | null) {

packages/vocab-tools/src/__snapshots__/class.test.ts.node.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31027,8 +31027,10 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
3102731027
}
3102831028

3102931029
/** The {@link Intent} of a {@link Proposal} that this commitment
31030-
* satisfies. The value is typically a fragment identifier such as
31031-
* \`#primary\` or \`#reciprocal\`.
31030+
* satisfies. The value is the proposal's URI with a
31031+
* [fragment](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment)
31032+
* appended to identify the intent. Recommended fragments are
31033+
* \`primary\` and\`reciprocal\`.
3103231034
*
3103331035
*/
3103431036
get satisfies(): (URL | null) {

packages/vocab-tools/src/__snapshots__/class.test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31029,8 +31029,10 @@ satisfies?: URL | null;resourceQuantity?: Measure | null;}
3102931029
}
3103031030

3103131031
/** The {@link Intent} of a {@link Proposal} that this commitment
31032-
* satisfies. The value is typically a fragment identifier such as
31033-
* \`#primary\` or \`#reciprocal\`.
31032+
* satisfies. The value is the proposal's URI with a
31033+
* [fragment](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment)
31034+
* appended to identify the intent. Recommended fragments are
31035+
* \`primary\` and\`reciprocal\`.
3103431036
*
3103531037
*/
3103631038
get satisfies(): (URL | null) {

packages/vocab/src/commitment.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ properties:
2727
uri: "https://w3id.org/valueflows/ont/vf#satisfies"
2828
description: |
2929
The {@link Intent} of a {@link Proposal} that this commitment
30-
satisfies. The value is typically a fragment identifier such as
31-
`#primary` or `#reciprocal`.
30+
satisfies. The value is the proposal's URI with a
31+
[fragment](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment)
32+
appended to identify the intent. Recommended fragments are
33+
`primary` and`reciprocal`.
3234
range:
3335
- "http://www.w3.org/2001/XMLSchema#anyURI"
3436

packages/vocab/src/vocab.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2909,8 +2909,8 @@ test("FEP-0837: Agreement roundtrip with both commitments", async () => {
29092909
);
29102910
});
29112911

2912-
test("FEP-0837: Agreement parses verbatim Accept-result example from spec", async () => {
2913-
// Verbatim from FEP-0837 "Accepting an agreement" example.
2912+
test("FEP-0837: Agreement parses Accept-result example adapted from spec", async () => {
2913+
// Adapted from FEP-0837's "Accepting an agreement" example, to Fedify customization
29142914
const json = {
29152915
"@context": [
29162916
"https://www.w3.org/ns/activitystreams",

0 commit comments

Comments
 (0)