Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: migrate guide/types snippets #3340

Merged
merged 144 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from 141 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
d95bc93
migrate address snippets
Torres-ssf Sep 30, 2024
1e109f1
update address doc page
Torres-ssf Sep 30, 2024
f781285
remove old address code snippets
Torres-ssf Sep 30, 2024
9f66948
add echo-values sway project to new doc snippets dir
Torres-ssf Sep 30, 2024
5adc8f8
migrate arrays snippets
Torres-ssf Sep 30, 2024
9a8826c
update arrays doc page
Torres-ssf Sep 30, 2024
fd87062
migrate echo asset id Sway project to new code snippets dir
Torres-ssf Sep 30, 2024
9c3b4b1
remove old arrays code snippets
Torres-ssf Sep 30, 2024
0b5bd23
migrate asset id code snippets
Torres-ssf Sep 30, 2024
bac17ee
update asset id docs
Torres-ssf Sep 30, 2024
8ede634
remove old asset id code snippets
Torres-ssf Sep 30, 2024
d7c909e
migrate bits256 code snippets
Torres-ssf Sep 30, 2024
05774ff
update bits256 doc page
Torres-ssf Sep 30, 2024
6b28adb
remove old bits256 code snippets
Torres-ssf Sep 30, 2024
95672be
migrate bits512 code snippets
Torres-ssf Sep 30, 2024
44e1724
update bits512 doc page
Torres-ssf Sep 30, 2024
93b554b
remove old bits512 code snippets
Torres-ssf Sep 30, 2024
f6d584b
migrate echo bytes Sway project to new code snippets dir
Torres-ssf Sep 30, 2024
5a01706
migrate bytes code snippets
Torres-ssf Sep 30, 2024
78afcc6
update bytes doc page
Torres-ssf Sep 30, 2024
7f4ea64
remove old bytes code snippets
Torres-ssf Sep 30, 2024
77c3c1e
migrate bytes32 code snippets
Torres-ssf Sep 30, 2024
30ac49c
update bytes32 doc page
Torres-ssf Sep 30, 2024
02d580f
remove old bytes32 code snippets
Torres-ssf Sep 30, 2024
22643f5
migrate echo enum Sway project to new code snippets dir
Torres-ssf Sep 30, 2024
1d923e9
update new code snippets dir main Forc toml
Torres-ssf Sep 30, 2024
f9ee576
migrate enums code snippets
Torres-ssf Sep 30, 2024
7ab826f
update enums doc page
Torres-ssf Sep 30, 2024
edeedb5
remove enums doc page
Torres-ssf Sep 30, 2024
85ae53f
linting some snippets
Torres-ssf Sep 30, 2024
3eb53b5
add ethers to doc snippet 2 package
Torres-ssf Sep 30, 2024
d51bd2e
migrate numbers code snippets
Torres-ssf Sep 30, 2024
d2322be
update numbers doc page
Torres-ssf Sep 30, 2024
8030bfe
using get instead of simulate within code snippets
Torres-ssf Sep 30, 2024
bebd3c7
migrate string code snippets
Torres-ssf Sep 30, 2024
80e8b0a
update string doc page
Torres-ssf Sep 30, 2024
4c8b473
remove old numbers snippets
Torres-ssf Sep 30, 2024
8b0fb8e
remove old string snippets
Torres-ssf Sep 30, 2024
27a1876
add full example to string doc page
Torres-ssf Sep 30, 2024
0301688
migrate sum-option-u8 contract
Torres-ssf Sep 30, 2024
06c38c8
migrate options doc snippets
Torres-ssf Sep 30, 2024
07a862b
update options doc page
Torres-ssf Sep 30, 2024
e2110ce
remove options doc page
Torres-ssf Sep 30, 2024
57f48ad
migrate tuples doc snippets
Torres-ssf Sep 30, 2024
170d49f
update tuples doc page
Torres-ssf Sep 30, 2024
dea1982
remove old tuples doc snippets
Torres-ssf Sep 30, 2024
201eac6
migrate employee data lib
Torres-ssf Oct 1, 2024
0b45e51
migrate structs doc snippets
Torres-ssf Oct 1, 2024
18e5d60
update structs doc page
Torres-ssf Oct 1, 2024
2d3fd5b
remove old structs doc snippets
Torres-ssf Oct 1, 2024
39f1a49
migrate migrate echo std string contract
Torres-ssf Oct 1, 2024
d10b877
migrate std-string doc snippets
Torres-ssf Oct 1, 2024
21ed8c5
update std string doc page
Torres-ssf Oct 1, 2024
618062e
remove std string doc page
Torres-ssf Oct 1, 2024
0d0fd66
migrate sway projects related to vectors doc page
Torres-ssf Oct 1, 2024
5d8b615
migrate vectors doc snippets
Torres-ssf Oct 1, 2024
6d03327
update vectors doc page
Torres-ssf Oct 1, 2024
03f3e20
remove old vectors doc page
Torres-ssf Oct 1, 2024
c8ab701
migrate raw slices doc snippets
Torres-ssf Oct 1, 2024
a538021
migrate raw slice doc snippets
Torres-ssf Oct 1, 2024
6ef75ec
update raw slice doc page
Torres-ssf Oct 1, 2024
64b82e7
remove old raw slice doc page
Torres-ssf Oct 1, 2024
1581573
migrate evm address sway projects
Torres-ssf Oct 1, 2024
553ebb8
migrate evm address doc snippets
Torres-ssf Oct 1, 2024
550d296
update evm address doc page
Torres-ssf Oct 1, 2024
1200c2c
remove old evm address doc snippets
Torres-ssf Oct 1, 2024
9e7a742
migrate beceh32 doc snippet
Torres-ssf Oct 1, 2024
61cab66
update bech32 doc page
Torres-ssf Oct 1, 2024
9d575e7
remove old bech32 doc snippets
Torres-ssf Oct 1, 2024
d193730
Merge branch 'next' into st/docs/migrate-types-snippets
Torres-ssf Oct 1, 2024
53c5fea
Merge branch 'next' into st/docs/migrate-types-snippets
Torres-ssf Oct 1, 2024
0ef5bfb
migrate sway projects related to native parameters types page
Torres-ssf Oct 1, 2024
f910a23
migrate snippets from native parameters page
Torres-ssf Oct 1, 2024
5923b1e
update native parameters doc page
Torres-ssf Oct 1, 2024
593b093
remove old snippets for contract types
Torres-ssf Oct 1, 2024
45d86ec
Merge branch 'st/docs/migrate-types-snippets' of github.com:FuelLabs/…
Torres-ssf Oct 1, 2024
baf519d
Merge branch 'next' into st/docs/migrate-types-snippets
Torres-ssf Oct 1, 2024
ef83daf
linting
Torres-ssf Oct 1, 2024
a127845
fixing snippet
Torres-ssf Oct 1, 2024
e33f45d
fixing snippets
Torres-ssf Oct 1, 2024
cce8ea9
fixed snippets logs
Torres-ssf Oct 1, 2024
cf34a4c
Merge branch 'next' into st/docs/migrate-types-snippets
Torres-ssf Oct 2, 2024
b1fc7f1
adjusting some snippets referecences
Torres-ssf Oct 2, 2024
326a4a5
edit wrap-snippets helper
Torres-ssf Oct 2, 2024
4a84728
adding full example to some doc pages
Torres-ssf Oct 2, 2024
da7b4a7
minor adjustment on some snippets
Torres-ssf Oct 2, 2024
14864e3
Merge branch 'st/docs/migrate-types-snippets' of github.com:FuelLabs/…
Torres-ssf Oct 2, 2024
b7dda13
remove ethers from doc-snippets
Torres-ssf Oct 2, 2024
02b0b54
Merge branch 'next' into st/docs/migrate-types-snippets
Torres-ssf Oct 3, 2024
1d63c13
Merge branch 'next' into st/docs/migrate-types-snippets
Torres-ssf Oct 3, 2024
798bea8
improve array doc snippets
Torres-ssf Oct 3, 2024
9adcf20
improve bits256 snippet
Torres-ssf Oct 3, 2024
2f96a7c
improve address doc snippets
Torres-ssf Oct 3, 2024
70d471a
improve asset-id doc snippets
Torres-ssf Oct 3, 2024
c73f809
improve bech32 doc snippets
Torres-ssf Oct 3, 2024
ff8e663
improve bits512 doc snippets
Torres-ssf Oct 3, 2024
27349ba
improve bytes doc snippets
Torres-ssf Oct 3, 2024
36ab8b0
fix some snippets names
Torres-ssf Oct 3, 2024
ca69f73
improve bytes32 doc snippets
Torres-ssf Oct 3, 2024
19ac483
remove unused doc snippets
Torres-ssf Oct 3, 2024
7566399
improve enums doc snippets
Torres-ssf Oct 3, 2024
406fefb
improve evm-address doc snippets
Torres-ssf Oct 3, 2024
90a7e3c
remove unused doc snippets
Torres-ssf Oct 3, 2024
72949c4
improve numbers doc snippets
Torres-ssf Oct 3, 2024
ce8cc1c
improve options doc snippets
Torres-ssf Oct 3, 2024
96e04c2
Merge branch 'master' into st/docs/migrate-types-snippets
Torres-ssf Oct 16, 2024
36a22e5
rename addresses snippets files
Torres-ssf Oct 16, 2024
7937be1
rename asset-id snippets files
Torres-ssf Oct 16, 2024
b10697b
rename b256 snippets files
Torres-ssf Oct 16, 2024
53cc995
rename b512 snippets files
Torres-ssf Oct 16, 2024
e449fc0
rename byte32 snippets files
Torres-ssf Oct 16, 2024
979d4f6
rename enums snippets files
Torres-ssf Oct 16, 2024
f28b55a
rename evm address snippets files
Torres-ssf Oct 16, 2024
4d4d582
rename numbers snippets files
Torres-ssf Oct 16, 2024
7b42d16
rename options snippets files
Torres-ssf Oct 16, 2024
328586c
fix snippet name
Torres-ssf Oct 16, 2024
3fcf960
remove unused snippet files
Torres-ssf Oct 16, 2024
a96ed34
fix snippet
Torres-ssf Oct 16, 2024
bdba93c
fixing all imports
Torres-ssf Oct 16, 2024
faef0fa
fix snippets
Torres-ssf Oct 16, 2024
c588a95
edit envImportReg const
Torres-ssf Oct 16, 2024
6f04c76
removing expects
Torres-ssf Oct 16, 2024
d482c31
minor adjustments
Torres-ssf Oct 16, 2024
03f6a31
rename native parameters snippets files
Torres-ssf Oct 16, 2024
b0654b5
remove old snippets
Torres-ssf Oct 16, 2024
206c487
remove full examples
Torres-ssf Oct 16, 2024
4595eaa
ignore ethers at .knip
Torres-ssf Oct 16, 2024
66ce4ad
format sway project
Torres-ssf Oct 16, 2024
d80e0b2
rollback annoying proxy contract version update
Torres-ssf Oct 16, 2024
ea5293f
add changeset
Torres-ssf Oct 16, 2024
c71c3e3
add ts-ignore to test template file
Torres-ssf Oct 17, 2024
a098d1d
Update apps/docs-snippets2/src/types/address/utilities-function-2.ts
Torres-ssf Oct 21, 2024
efe4a5f
Update apps/docs-snippets2/src/types/asset-id/using-an-asset-id-2.ts
Torres-ssf Oct 21, 2024
00ef951
Update apps/docs-snippets2/src/types/arrays.ts
Torres-ssf Oct 21, 2024
5af6e7e
Update apps/docs-snippets2/src/types/bits256/converting-between-b256-…
Torres-ssf Oct 21, 2024
392eb2a
using defined code snippet for b512
Torres-ssf Oct 21, 2024
b80d948
adjusting snippet
Torres-ssf Oct 21, 2024
f8206f2
fixing randomBytes imports
Torres-ssf Oct 21, 2024
5599c6a
Merge branch 'master' into st/docs/migrate-types-snippets
Torres-ssf Oct 21, 2024
d70b34b
Merge branch 'master' into st/docs/migrate-types-snippets
Torres-ssf Oct 21, 2024
d8e7b19
Update apps/docs-snippets2/scripts/wrap-snippets.ts
Torres-ssf Oct 22, 2024
c5ecd35
Merge branch 'master' into st/docs/migrate-types-snippets
Torres-ssf Oct 22, 2024
88b95e9
Merge branch 'master' into st/docs/migrate-types-snippets
Torres-ssf Oct 22, 2024
f2bb76d
trigger CI
Torres-ssf Oct 22, 2024
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 .changeset/poor-years-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

docs: migrate `guide/types` snippets
1 change: 1 addition & 0 deletions .knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"eslint-plugin-react",
"eslint-plugin-react-hooks",
"dotenv",
"ethers",
maschad marked this conversation as resolved.
Show resolved Hide resolved
"kill",
"lsof",
"memfs",
Expand Down
1 change: 0 additions & 1 deletion apps/docs-snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@fuel-ts/account": "workspace:*",
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"ethers": "^6.13.2",
"fuels": "workspace:*",
"vitest": "~2.0.5"
},
Expand Down
79 changes: 0 additions & 79 deletions apps/docs-snippets/src/guide/types/address.test.ts

This file was deleted.

97 changes: 0 additions & 97 deletions apps/docs-snippets/src/guide/types/arrays.test.ts

This file was deleted.

107 changes: 0 additions & 107 deletions apps/docs-snippets/src/guide/types/asset-id.test.ts

This file was deleted.

23 changes: 0 additions & 23 deletions apps/docs-snippets/src/guide/types/bech32.test.ts

This file was deleted.

53 changes: 0 additions & 53 deletions apps/docs-snippets/src/guide/types/bits256.test.ts

This file was deleted.

Loading