Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a825a87
ChatSetAttr v2
Nov 5, 2025
81152fc
ChatSetAttr | Improving Errors & Messages
Nov 19, 2025
8e965d3
park
Dec 3, 2025
a001d32
Merge branch 'master' into csaP
shdwjk Feb 21, 2026
0a28878
tool-version change
shdwjk Mar 6, 2026
65b337e
Merge branch 'master' into csaP
shdwjk Apr 30, 2026
f7e7460
Initial changes to ChatSetAttr 2.0
shdwjk May 17, 2026
fe31964
Merge branch 'TheAaron-2026-05-17' into csaP
shdwjk May 17, 2026
a04568d
interim checkin
shdwjk Jun 1, 2026
6c6ef28
cleanup
shdwjk Jun 1, 2026
822a59b
Updated libSmartAttributes to 0.0.4, added support for setWithWorker …
shdwjk Jun 3, 2026
ed2a82f
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into csaP
shdwjk Jun 3, 2026
800ab25
Updated to support setSheetItem/libSmartAttributes optional create an…
shdwjk Jun 3, 2026
0d3d090
Added handling for readonly computeds.
shdwjk Jun 3, 2026
f5a23fc
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into csaP
shdwjk Jun 3, 2026
3032fea
Adding reporting on success with set and delete
shdwjk Jun 3, 2026
70ef0d3
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into csaP
shdwjk Jun 3, 2026
0bb1ef0
updates
shdwjk Jun 4, 2026
ac48958
Adding Legacy sheet detection to deleteAttribute
shdwjk Jun 4, 2026
2a20e8b
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into csaP
shdwjk Jun 4, 2026
1697d45
Make delete on a computed fail.
shdwjk Jun 5, 2026
8b7cd58
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into csaP
shdwjk Jun 5, 2026
dc0913e
Corrections
shdwjk Jun 5, 2026
056fb55
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into csaP
shdwjk Jun 5, 2026
79887e3
updates for deleteAttribute with computed.
shdwjk Jun 5, 2026
29477d6
Fixing --mute
shdwjk Jun 10, 2026
802c78d
Merge branch 'master' into csaP
shdwjk Jun 10, 2026
edb471e
Fixing Repeating Section RowID parsing
shdwjk Jun 10, 2026
80481d3
Inline Roll handling
shdwjk Jun 11, 2026
5c5e295
Help Doc cleanup, _MAX0_ bug fix.
shdwjk Jun 11, 2026
7d162dd
Help doc updates
shdwjk Jun 11, 2026
c6a77c8
globalconfig support
shdwjk Jun 11, 2026
b196d2e
globalconfig support
shdwjk Jun 12, 2026
9d92e8d
Document generation pipeline.
shdwjk Jun 12, 2026
60891bf
Documentation auto-update, command name fixes, maintainer document.
shdwjk Jun 12, 2026
5e1ee0e
Docs fixes, output fixes, version fixes, help update fixes.
shdwjk Jun 12, 2026
f300789
fix for isLegacySheet()
shdwjk Jun 16, 2026
298a950
Fixed legacy detection in default
shdwjk Jun 16, 2026
1910102
Fixing default delete events
shdwjk Jun 16, 2026
3bda21e
Merge branch 'TheAaron-2026-06-03-libSmartAttributes.0.0.4' into TheA…
shdwjk Jun 16, 2026
0f40ee9
tests for legacy detection on default.
shdwjk Jun 16, 2026
2deb10a
Correct || issue for no change.
shdwjk Jun 16, 2026
af8c739
Updated formatting to be more concise and informative, matching 1.10
shdwjk Jun 17, 2026
99cced2
Fixing embedded syntax for roll templates.
shdwjk Jun 17, 2026
0db09e4
Updated documentation for multiple IDs and Character names requiring …
shdwjk Jun 17, 2026
ae53117
Fix long running query notice going to public
shdwjk Jun 17, 2026
25f123a
Styling for long running query message, message for Beacon not suppor…
shdwjk Jun 17, 2026
e729b85
Cleanup for bad argument handling.
shdwjk Jun 19, 2026
f0ef199
updates for bad argument handling.
shdwjk Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.DS_Store
.idea
**/node_modules
**/coverage/**
*.swp
*.swo
*.swn
15 changes: 11 additions & 4 deletions .types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Prettify<T> = {
interface Roll20Object<T extends Record<string, any>> {
/** The unique ID of this object */
id: string;
properties: Prettify<T & { id: string }>;
properties: Prettify<T & { _id: string }>;

/**
* Get an attribute of the object
Expand Down Expand Up @@ -218,7 +218,10 @@ type CharacterProperties = {
_defaulttoken: string;
};

declare type Roll20Character = Prettify<Roll20Object<CharacterProperties>>;
declare type Roll20Character = Prettify<Roll20Object<CharacterProperties> & {
/** Experimental: legacy Roll20 attributes vs Beacon sheet */
sheetEnvironment?: "legacy" | "beacon";
}>;

// Attribute type with proper properties
type AttributeProperties = {
Expand Down Expand Up @@ -507,7 +510,7 @@ type FindObjsOptions = {
* name: "target"
* }, {caseInsensitive: true});
*/
declare function findObjs<T extends keyof Roll20ObjectTypeToInstance>(attrs: Partial<Roll20ObjectTypeToInstance[T]["properties"]> & { _type: T }, options?: FindObjsOptions): Roll20ObjectTypeToInstance[T][];
declare function findObjs<T extends Roll20ObjectType>(attrs: Partial<Roll20ObjectTypeToInstance[T]["properties"]> & { _type: T }, options?: FindObjsOptions): Roll20ObjectTypeToInstance[T][];

/**
* Filters Roll20 objects by executing the callback function on each object
Expand Down Expand Up @@ -554,7 +557,11 @@ declare function getAllObjs(): Roll20Object<AnyRoll20Object>[];
*/
declare function getAttrByName(character_id: string, attribute_name: string, value_type?: "current" | "max"): string;

type SheetItemOptions = { allowThrow?: boolean };
type SheetItemOptions = {
allowThrow?: boolean,
createAttr?: boolean,
withWorker?: boolean
};
type SheetItemValueTYpe = "current" | "max";

/**
Expand Down
1 change: 1 addition & 0 deletions ChatSetAttr/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.11.1
Loading
Loading