this repo has no description

fix allow/value typo

+6 -6
+1 -1
declaration.go
··· 16 16 } 17 17 18 18 type DeclarationIntent struct { 19 - Value *bool `json:"value,omitempty"` 19 + Allow *bool `json:"allow,omitempty"` 20 20 UpdatedAt string `json:"updatedAt"` 21 21 } 22 22
+1 -1
lexicons/org.user-intents/demo/declaration.json
··· 42 42 "type": "object", 43 43 "required": ["updatedAt"], 44 44 "properties": { 45 - "value": { 45 + "allow": { 46 46 "type": "boolean", 47 47 "description": "indicates user intent for reuse. Note that this field is optional, and thus tri-state (true, false, undefined)" 48 48 },
+4 -4
main.go
··· 301 301 Type: "org.user-intents.demo.declaration", 302 302 UpdatedAt: now, 303 303 SyntheticContentGeneration: &DeclarationIntent{ 304 - Value: parseTriState(r.PostFormValue("syntheticContentGeneration")), 304 + Allow: parseTriState(r.PostFormValue("syntheticContentGeneration")), 305 305 UpdatedAt: now, 306 306 }, 307 307 PublicAccessArchive: &DeclarationIntent{ 308 - Value: parseTriState(r.PostFormValue("publicAccessArchive")), 308 + Allow: parseTriState(r.PostFormValue("publicAccessArchive")), 309 309 UpdatedAt: now, 310 310 }, 311 311 BulkDataset: &DeclarationIntent{ 312 - Value: parseTriState(r.PostFormValue("bulkDataset")), 312 + Allow: parseTriState(r.PostFormValue("bulkDataset")), 313 313 UpdatedAt: now, 314 314 }, 315 315 ProtocolBridging: &DeclarationIntent{ 316 - Value: parseTriState(r.PostFormValue("protocolBridging")), 316 + Allow: parseTriState(r.PostFormValue("protocolBridging")), 317 317 UpdatedAt: now, 318 318 }, 319 319 }