spacetimedb 0.0.3 → 1.5.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/LICENSE.txt ADDED
@@ -0,0 +1,759 @@
1
+ SPACETIMEDB BUSINESS SOURCE LICENSE AGREEMENT
2
+
3
+ Business Source License 1.1
4
+
5
+ Parameters
6
+
7
+ Licensor: Clockwork Laboratories, Inc.
8
+ Licensed Work: SpacetimeDB 1.5.0
9
+ The Licensed Work is
10
+ (c) 2023 Clockwork Laboratories, Inc.
11
+
12
+ Additional Use Grant: You may make use of the Licensed Work provided your
13
+ application or service uses the Licensed Work with no
14
+ more than one SpacetimeDB instance in production and
15
+ provided that you do not use the Licensed Work for a
16
+ Database Service.
17
+
18
+ A “Database Service” is a commercial offering that
19
+ allows third parties (other than your employees and
20
+ contractors) to access the functionality of the
21
+ Licensed Work by creating tables whose schemas are
22
+ controlled by such third parties.
23
+
24
+ Change Date: 2030-09-29
25
+
26
+ Change License: GNU Affero General Public License v3.0 with a linking
27
+ exception
28
+
29
+ For information about alternative licensing arrangements for the Software,
30
+ please visit: https://spacetimedb.com
31
+
32
+ Notice
33
+
34
+ The Business Source License (this document, or the “License”) is not an Open
35
+ Source license. However, the Licensed Work will eventually be made available
36
+ under an Open Source License, as stated in this License.
37
+
38
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
39
+ “Business Source License” is a trademark of MariaDB Corporation Ab.
40
+
41
+ -----------------------------------------------------------------------------
42
+
43
+ Base License and Subdirectory Specific Licenses
44
+
45
+ 1. Repository-Wide License
46
+ Except as provided in Section 2 below, the contents of this repository are licensed under the Business Source License (“BSL”), which includes a change date resulting in a licensing change to the GNU Affero General Public License v3.0 with Linking Exception on that date. See the full text of the BSL and AGPL with Linking Exception in this file below.
47
+
48
+ 2. Subdirectory-Specific Licenses
49
+ Certain subdirectories within this repository are licensed under different terms.
50
+
51
+ If a subdirectory contains its own LICENSE or LICENSE.txt file, the terms in that file apply exclusively to all files and subfolders within that subdirectory.
52
+
53
+ In the event of any conflict between this base license and a subdirectory’s license, the base license will govern for that subdirectory’s contents.
54
+
55
+ 3. Contributor Acknowledgement
56
+ By contributing to this repository, you agree that:
57
+
58
+ Your contributions will be licensed under the license applicable to the directory or subdirectory in which your contribution is made.
59
+
60
+ If you contribute to multiple subdirectories, the applicable license for each subdirectory will apply to your contributions in that subdirectory.
61
+
62
+ 4. Reading the Applicable License
63
+ Before using, modifying, or distributing code from this repository, you must read:
64
+
65
+ This base LICENSE.txt file for the overall repository license.
66
+
67
+ Any LICENSE or LICENSE.txt file in a subdirectory that you intend to use or contribute to.
68
+
69
+ -----------------------------------------------------------------------------
70
+
71
+ Business Source License 1.1
72
+
73
+ Terms
74
+
75
+ The Licensor hereby grants you the right to copy, modify, create derivative
76
+ works, redistribute, and make non-production use of the Licensed Work. The
77
+ Licensor may make an Additional Use Grant, above, permitting limited
78
+ production use.
79
+
80
+ Effective on the Change Date, or the fourth anniversary of the first publicly
81
+ available distribution of a specific version of the Licensed Work under this
82
+ License, whichever comes first, the Licensor hereby grants you rights under
83
+ the terms of the Change License, and the rights granted in the paragraph
84
+ above terminate.
85
+
86
+ If your use of the Licensed Work does not comply with the requirements
87
+ currently in effect as described in this License, you must purchase a
88
+ commercial license from the Licensor, its affiliated entities, or authorized
89
+ resellers, or you must refrain from using the Licensed Work.
90
+
91
+ All copies of the original and modified Licensed Work, and derivative works
92
+ of the Licensed Work, are subject to this License. This License applies
93
+ separately for each version of the Licensed Work and the Change Date may vary
94
+ for each version of the Licensed Work released by Licensor.
95
+
96
+ You must conspicuously display this License on each original or modified copy
97
+ of the Licensed Work. If you receive the Licensed Work in original or
98
+ modified form from a third party, the terms and conditions set forth in this
99
+ License apply to your use of that work.
100
+
101
+ Any use of the Licensed Work in violation of this License will automatically
102
+ terminate your rights under this License for the current and all other
103
+ versions of the Licensed Work.
104
+
105
+ This License does not grant you any right in any trademark or logo of
106
+ Licensor or its affiliates (provided that you may use a trademark or logo of
107
+ Licensor as expressly required by this License).
108
+
109
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
110
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
111
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
112
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
113
+ TITLE.
114
+
115
+ MariaDB hereby grants you permission to use this License’s text to license
116
+ your works, and to refer to it using the trademark “Business Source License”,
117
+ as long as you comply with the Covenants of Licensor below.
118
+
119
+ Covenants of Licensor
120
+
121
+ In consideration of the right to use this License’s text and the “Business
122
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
123
+ other recipients of the licensed work to be provided by Licensor:
124
+
125
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
126
+ or a license that is compatible with GPL Version 2.0 or a later version,
127
+ where “compatible” means that software provided under the Change License can
128
+ be included in a program with software provided under GPL Version 2.0 or a
129
+ later version. Licensor may specify additional Change Licenses without
130
+ limitation.
131
+
132
+ 2. To either: (a) specify an additional grant of rights to use that does not
133
+ impose any additional restriction on the right granted in this License, as
134
+ the Additional Use Grant; or (b) insert the text “None”.
135
+
136
+ 3. To specify a Change Date.
137
+
138
+ 4. Not to modify this License in any other way.
139
+
140
+ -----------------------------------------------------------------------------
141
+
142
+ Copyright (C) 2023 Clockwork Laboratories, Inc.
143
+
144
+ This program is free software: you can redistribute it and/or modify it under
145
+ the terms of the GNU Affero General Public License, version 3, as published
146
+ by the Free Software Foundation.
147
+
148
+ This program is distributed in the hope that it will be useful, but WITHOUT
149
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
150
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
151
+ details.
152
+
153
+ You should have received a copy of the GNU Affero General Public License
154
+ along with this program; if not, see <https://www.gnu.org/licenses>.
155
+
156
+ Additional permission under GNU GPL version 3 section 7
157
+
158
+ If you modify this Program, or any covered work, by linking or combining it
159
+ with SpacetimeDB (or a modified version of that library), containing parts
160
+ covered by the terms of the AGPL v3.0, the licensors of this Program grant
161
+ you additional permission to convey the resulting work.
162
+
163
+ Additional permission under GNU AGPL version 3 section 13
164
+
165
+ If you modify this Program, or any covered work, by linking or combining it
166
+ with SpacetimeDB (or a modified version of that library), containing parts
167
+ covered by the terms of the AGPL v3.0, the licensors of this Program grant
168
+ you additional permission that, notwithstanding any other provision of this
169
+ License, you need not prominently offer all users interacting with your
170
+ modified version remotely through a computer network an opportunity to
171
+ receive the Corresponding Source of your version from a network server at no
172
+ charge, if your version supports such interaction. This permission does not
173
+ waive or modify any other obligations or terms of the AGPL v3.0, except for
174
+ the specific requirement set forth in section 13.
175
+
176
+ A copy of the AGPL v3.0 license is reproduced below.
177
+
178
+ GNU AFFERO GENERAL PUBLIC LICENSE
179
+ Version 3, 19 November 2007
180
+
181
+ Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
182
+ Everyone is permitted to copy and distribute verbatim copies of this license
183
+ document, but changing it is not allowed.
184
+
185
+ Preamble
186
+ The GNU Affero General Public License is a free, copyleft license for
187
+ software and other kinds of works, specifically designed to ensure
188
+ cooperation with the community in the case of network server software.
189
+
190
+ The licenses for most software and other practical works are designed to take
191
+ away your freedom to share and change the works. By contrast, our General
192
+ Public Licenses are intended to guarantee your freedom to share and change
193
+ all versions of a program--to make sure it remains free software for all its
194
+ users.
195
+
196
+ When we speak of free software, we are referring to freedom, not price. Our
197
+ General Public Licenses are designed to make sure that you have the freedom
198
+ to distribute copies of free software (and charge for them if you wish), that
199
+ you receive source code or can get it if you want it, that you can change the
200
+ software or use pieces of it in new free programs, and that you know you can
201
+ do these things.
202
+
203
+ Developers that use our General Public Licenses protect your rights with two
204
+ steps: (1) assert copyright on the software, and (2) offer you this License
205
+ which gives you legal permission to copy, distribute and/or modify the
206
+ software.
207
+
208
+ A secondary benefit of defending all users' freedom is that improvements made
209
+ in alternate versions of the program, if they receive widespread use, become
210
+ available for other developers to incorporate. Many developers of free
211
+ software are heartened and encouraged by the resulting cooperation. However,
212
+ in the case of software used on network servers, this result may fail to come
213
+ about. The GNU General Public License permits making a modified version and
214
+ letting the public access it on a server without ever releasing its source
215
+ code to the public.
216
+
217
+ The GNU Affero General Public License is designed specifically to ensure
218
+ that, in such cases, the modified source code becomes available to the
219
+ community. It requires the operator of a network server to provide the source
220
+ code of the modified version running there to the users of that server.
221
+ Therefore, public use of a modified version, on a publicly accessible server,
222
+ gives the public access to the source code of the modified version.
223
+
224
+ An older license, called the Affero General Public License and published by
225
+ Affero, was designed to accomplish similar goals. This is a different
226
+ license, not a version of the Affero GPL, but Affero has released a new
227
+ version of the Affero GPL which permits relicensing under this license.
228
+
229
+ The precise terms and conditions for copying, distribution and modification
230
+ follow.
231
+
232
+ TERMS AND CONDITIONS
233
+ 0. Definitions.
234
+ "This License" refers to version 3 of the GNU Affero General Public License.
235
+
236
+ "Copyright" also means copyright-like laws that apply to other kinds of
237
+ works, such as semiconductor masks.
238
+
239
+ "The Program" refers to any copyrightable work licensed under this License.
240
+ Each licensee is addressed as "you". "Licensees" and "recipients" may be
241
+ individuals or organizations.
242
+
243
+ To "modify" a work means to copy from or adapt all or part of the work in a
244
+ fashion requiring copyright permission, other than the making of an exact
245
+ copy. The resulting work is called a "modified version" of the earlier work
246
+ or a work "based on" the earlier work.
247
+
248
+ A "covered work" means either the unmodified Program or a work based on the
249
+ Program.
250
+
251
+ To "propagate" a work means to do anything with it that, without permission,
252
+ would make you directly or secondarily liable for infringement under
253
+ applicable copyright law, except executing it on a computer or modifying a
254
+ private copy. Propagation includes copying, distribution (with or without
255
+ modification), making available to the public, and in some countries other
256
+ activities as well.
257
+
258
+ To "convey" a work means any kind of propagation that enables other parties
259
+ to make or receive copies. Mere interaction with a user through a computer
260
+ network, with no transfer of a copy, is not conveying.
261
+
262
+ An interactive user interface displays "Appropriate Legal Notices" to the
263
+ extent that it includes a convenient and prominently visible feature that (1)
264
+ displays an appropriate copyright notice, and (2) tells the user that there
265
+ is no warranty for the work (except to the extent that warranties are
266
+ provided), that licensees may convey the work under this License, and how to
267
+ view a copy of this License. If the interface presents a list of user
268
+ commands or options, such as a menu, a prominent item in the list meets this
269
+ criterion.
270
+
271
+ 1. Source Code.
272
+ The "source code" for a work means the preferred form of the work for making
273
+ modifications to it. "Object code" means any non-source form of a work.
274
+
275
+ A "Standard Interface" means an interface that either is an official standard
276
+ defined by a recognized standards body, or, in the case of interfaces
277
+ specified for a particular programming language, one that is widely used
278
+ among developers working in that language.
279
+
280
+ The "System Libraries" of an executable work include anything, other than the
281
+ work as a whole, that (a) is included in the normal form of packaging a Major
282
+ Component, but which is not part of that Major Component, and (b) serves only
283
+ to enable use of the work with that Major Component, or to implement a
284
+ Standard Interface for which an implementation is available to the public in
285
+ source code form. A "Major Component", in this context, means a major
286
+ essential component (kernel, window system, and so on) of the specific
287
+ operating system (if any) on which the executable work runs, or a compiler
288
+ used to produce the work, or an object code interpreter used to run it.
289
+
290
+ The "Corresponding Source" for a work in object code form means all the
291
+ source code needed to generate, install, and (for an executable work) run the
292
+ object code and to modify the work, including scripts to control those
293
+ activities. However, it does not include the work's System Libraries, or
294
+ general-purpose tools or generally available free programs which are used
295
+ unmodified in performing those activities but which are not part of the work.
296
+ For example, Corresponding Source includes interface definition files
297
+ associated with source files for the work, and the source code for shared
298
+ libraries and dynamically linked subprograms that the work is specifically
299
+ designed to require, such as by intimate data communication or control flow
300
+ between those subprograms and other parts of the work.
301
+
302
+ The Corresponding Source need not include anything that users can regenerate
303
+ automatically from other parts of the Corresponding Source.
304
+
305
+ The Corresponding Source for a work in source code form is that same work.
306
+
307
+ 2. Basic Permissions.
308
+ All rights granted under this License are granted for the term of copyright
309
+ on the Program, and are irrevocable provided the stated conditions are met.
310
+ This License explicitly affirms your unlimited permission to run the
311
+ unmodified Program. The output from running a covered work is covered by this
312
+ License only if the output, given its content, constitutes a covered work.
313
+ This License acknowledges your rights of fair use or other equivalent, as
314
+ provided by copyright law.
315
+
316
+ You may make, run and propagate covered works that you do not convey, without
317
+ conditions so long as your license otherwise remains in force. You may convey
318
+ covered works to others for the sole purpose of having them make
319
+ modifications exclusively for you, or provide you with facilities for running
320
+ those works, provided that you comply with the terms of this License in
321
+ conveying all material for which you do not control copyright. Those thus
322
+ making or running the covered works for you must do so exclusively on your
323
+ behalf, under your direction and control, on terms that prohibit them from
324
+ making any copies of your copyrighted material outside their relationship
325
+ with you.
326
+
327
+ Conveying under any other circumstances is permitted solely under the
328
+ conditions stated below. Sublicensing is not allowed; section 10 makes it
329
+ unnecessary.
330
+
331
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
332
+ No covered work shall be deemed part of an effective technological measure
333
+ under any applicable law fulfilling obligations under article 11 of the WIPO
334
+ copyright treaty adopted on 20 December 1996, or similar laws prohibiting or
335
+ restricting circumvention of such measures.
336
+
337
+ When you convey a covered work, you waive any legal power to forbid
338
+ circumvention of technological measures to the extent such circumvention is
339
+ effected by exercising rights under this License with respect to the covered
340
+ work, and you disclaim any intention to limit operation or modification of
341
+ the work as a means of enforcing, against the work's users, your or third
342
+ parties' legal rights to forbid circumvention of technological measures.
343
+
344
+ 4. Conveying Verbatim Copies.
345
+ You may convey verbatim copies of the Program's source code as you receive
346
+ it, in any medium, provided that you conspicuously and appropriately publish
347
+ on each copy an appropriate copyright notice; keep intact all notices stating
348
+ that this License and any non-permissive terms added in accord with section 7
349
+ apply to the code; keep intact all notices of the absence of any warranty;
350
+ and give all recipients a copy of this License along with the Program.
351
+
352
+ You may charge any price or no price for each copy that you convey, and you
353
+ may offer support or warranty protection for a fee.
354
+
355
+ 5. Conveying Modified Source Versions.
356
+ You may convey a work based on the Program, or the modifications to produce
357
+ it from the Program, in the form of source code under the terms of section 4,
358
+ provided that you also meet all of these conditions:
359
+
360
+ a) The work must carry prominent notices stating that you modified it, and
361
+ giving a relevant date.
362
+ b) The work must carry prominent notices stating that it is released under
363
+ this License and any conditions added under section 7. This requirement
364
+ modifies the requirement in section 4 to "keep intact all notices".
365
+ c) You must license the entire work, as a whole, under this License to anyone
366
+ who comes into possession of a copy. This License will therefore apply, along
367
+ with any applicable section 7 additional terms, to the whole of the work, and
368
+ all its parts, regardless of how they are packaged. This License gives no
369
+ permission to license the work in any other way, but it does not invalidate
370
+ such permission if you have separately received it.
371
+ d) If the work has interactive user interfaces, each must display Appropriate
372
+ Legal Notices; however, if the Program has interactive interfaces that do not
373
+ display Appropriate Legal Notices, your work need not make them do so.
374
+ A compilation of a covered work with other separate and independent works,
375
+ which are not by their nature extensions of the covered work, and which are
376
+ not combined with it such as to form a larger program, in or on a volume of a
377
+ storage or distribution medium, is called an "aggregate" if the compilation
378
+ and its resulting copyright are not used to limit the access or legal rights
379
+ of the compilation's users beyond what the individual works permit. Inclusion
380
+ of a covered work in an aggregate does not cause this License to apply to the
381
+ other parts of the aggregate.
382
+
383
+ 6. Conveying Non-Source Forms.
384
+ You may convey a covered work in object code form under the terms of sections
385
+ 4 and 5, provided that you also convey the machine-readable Corresponding
386
+ Source under the terms of this License, in one of these ways:
387
+
388
+ a) Convey the object code in, or embodied in, a physical product (including a
389
+ physical distribution medium), accompanied by the Corresponding Source fixed
390
+ on a durable physical medium customarily used for software interchange.
391
+ b) Convey the object code in, or embodied in, a physical product (including a
392
+ physical distribution medium), accompanied by a written offer, valid for at
393
+ least three years and valid for as long as you offer spare parts or customer
394
+ support for that product model, to give anyone who possesses the object code
395
+ either (1) a copy of the Corresponding Source for all the software in the
396
+ product that is covered by this License, on a durable physical medium
397
+ customarily used for software interchange, for a price no more than your
398
+ reasonable cost of physically performing this conveying of source, or (2)
399
+ access to copy the Corresponding Source from a network server at no charge.
400
+ c) Convey individual copies of the object code with a copy of the written
401
+ offer to provide the Corresponding Source. This alternative is allowed only
402
+ occasionally and noncommercially, and only if you received the object code
403
+ with such an offer, in accord with subsection 6b.
404
+ d) Convey the object code by offering access from a designated place (gratis
405
+ or for a charge), and offer equivalent access to the Corresponding Source in
406
+ the same way through the same place at no further charge. You need not
407
+ require recipients to copy the Corresponding Source along with the object
408
+ code. If the place to copy the object code is a network server, the
409
+ Corresponding Source may be on a different server (operated by you or a third
410
+ party) that supports equivalent copying facilities, provided you maintain
411
+ clear directions next to the object code saying where to find the
412
+ Corresponding Source. Regardless of what server hosts the Corresponding
413
+ Source, you remain obligated to ensure that it is available for as long as
414
+ needed to satisfy these requirements.
415
+ e) Convey the object code using peer-to-peer transmission, provided you
416
+ inform other peers where the object code and Corresponding Source of the work
417
+ are being offered to the general public at no charge under subsection 6d.
418
+ A separable portion of the object code, whose source code is excluded from
419
+ the Corresponding Source as a System Library, need not be included in
420
+ conveying the object code work.
421
+
422
+ A "User Product" is either (1) a "consumer product", which means any tangible
423
+ personal property which is normally used for personal, family, or household
424
+ purposes, or (2) anything designed or sold for incorporation into a dwelling.
425
+ In determining whether a product is a consumer product, doubtful cases shall
426
+ be resolved in favor of coverage. For a particular product received by a
427
+ particular user, "normally used" refers to a typical or common use of that
428
+ class of product, regardless of the status of the particular user or of the
429
+ way in which the particular user actually uses, or expects or is expected to
430
+ use, the product. A product is a consumer product regardless of whether the
431
+ product has substantial commercial, industrial or non-consumer uses, unless
432
+ such uses represent the only significant mode of use of the product.
433
+
434
+ "Installation Information" for a User Product means any methods, procedures,
435
+ authorization keys, or other information required to install and execute
436
+ modified versions of a covered work in that User Product from a modified
437
+ version of its Corresponding Source. The information must suffice to ensure
438
+ that the continued functioning of the modified object code is in no case
439
+ prevented or interfered with solely because modification has been made.
440
+
441
+ If you convey an object code work under this section in, or with, or
442
+ specifically for use in, a User Product, and the conveying occurs as part of
443
+ a transaction in which the right of possession and use of the User Product is
444
+ transferred to the recipient in perpetuity or for a fixed term (regardless of
445
+ how the transaction is characterized), the Corresponding Source conveyed
446
+ under this section must be accompanied by the Installation Information. But
447
+ this requirement does not apply if neither you nor any third party retains
448
+ the ability to install modified object code on the User Product (for example,
449
+ the work has been installed in ROM).
450
+
451
+ The requirement to provide Installation Information does not include a
452
+ requirement to continue to provide support service, warranty, or updates for
453
+ a work that has been modified or installed by the recipient, or for the User
454
+ Product in which it has been modified or installed. Access to a network may
455
+ be denied when the modification itself materially and adversely affects the
456
+ operation of the network or violates the rules and protocols for
457
+ communication across the network.
458
+
459
+ Corresponding Source conveyed, and Installation Information provided, in
460
+ accord with this section must be in a format that is publicly documented (and
461
+ with an implementation available to the public in source code form), and must
462
+ require no special password or key for unpacking, reading or copying.
463
+
464
+ 7. Additional Terms.
465
+ "Additional permissions" are terms that supplement the terms of this License
466
+ by making exceptions from one or more of its conditions. Additional
467
+ permissions that are applicable to the entire Program shall be treated as
468
+ though they were included in this License, to the extent that they are valid
469
+ under applicable law. If additional permissions apply only to part of the
470
+ Program, that part may be used separately under those permissions, but the
471
+ entire Program remains governed by this License without regard to the
472
+ additional permissions.
473
+
474
+ When you convey a copy of a covered work, you may at your option remove any
475
+ additional permissions from that copy, or from any part of it. (Additional
476
+ permissions may be written to require their own removal in certain cases when
477
+ you modify the work.) You may place additional permissions on material, added
478
+ by you to a covered work, for which you have or can give appropriate
479
+ copyright permission.
480
+
481
+ Notwithstanding any other provision of this License, for material you add to
482
+ a covered work, you may (if authorized by the copyright holders of that
483
+ material) supplement the terms of this License with terms:
484
+
485
+ a) Disclaiming warranty or limiting liability differently from the terms of
486
+ sections 15 and 16 of this License; or
487
+ b) Requiring preservation of specified reasonable legal notices or author
488
+ attributions in that material or in the Appropriate Legal Notices displayed
489
+ by works containing it; or
490
+ c) Prohibiting misrepresentation of the origin of that material, or requiring
491
+ that modified versions of such material be marked in reasonable ways as
492
+ different from the original version; or
493
+ d) Limiting the use for publicity purposes of names of licensors or authors
494
+ of the material; or
495
+ e) Declining to grant rights under trademark law for use of some trade names,
496
+ trademarks, or service marks; or
497
+ f) Requiring indemnification of licensors and authors of that material by
498
+ anyone who conveys the material (or modified versions of it) with contractual
499
+ assumptions of liability to the recipient, for any liability that these
500
+ contractual assumptions directly impose on those licensors and authors.
501
+ All other non-permissive additional terms are considered "further
502
+ restrictions" within the meaning of section 10. If the Program as you
503
+ received it, or any part of it, contains a notice stating that it is governed
504
+ by this License along with a term that is a further restriction, you may
505
+ remove that term. If a license document contains a further restriction but
506
+ permits relicensing or conveying under this License, you may add to a covered
507
+ work material governed by the terms of that license document, provided that
508
+ the further restriction does not survive such relicensing or conveying.
509
+
510
+ If you add terms to a covered work in accord with this section, you must
511
+ place, in the relevant source files, a statement of the additional terms that
512
+ apply to those files, or a notice indicating where to find the applicable
513
+ terms.
514
+
515
+ Additional terms, permissive or non-permissive, may be stated in the form of
516
+ a separately written license, or stated as exceptions; the above requirements
517
+ apply either way.
518
+
519
+ 8. Termination.
520
+ You may not propagate or modify a covered work except as expressly provided
521
+ under this License. Any attempt otherwise to propagate or modify it is void,
522
+ and will automatically terminate your rights under this License (including
523
+ any patent licenses granted under the third paragraph of section 11).
524
+
525
+ However, if you cease all violation of this License, then your license from a
526
+ particular copyright holder is reinstated (a) provisionally, unless and until
527
+ the copyright holder explicitly and finally terminates your license, and (b)
528
+ permanently, if the copyright holder fails to notify you of the violation by
529
+ some reasonable means prior to 60 days after the cessation.
530
+
531
+ Moreover, your license from a particular copyright holder is reinstated
532
+ permanently if the copyright holder notifies you of the violation by some
533
+ reasonable means, this is the first time you have received notice of
534
+ violation of this License (for any work) from that copyright holder, and you
535
+ cure the violation prior to 30 days after your receipt of the notice.
536
+
537
+ Termination of your rights under this section does not terminate the licenses
538
+ of parties who have received copies or rights from you under this License. If
539
+ your rights have been terminated and not permanently reinstated, you do not
540
+ qualify to receive new licenses for the same material under section 10.
541
+
542
+ 9. Acceptance Not Required for Having Copies.
543
+ You are not required to accept this License in order to receive or run a copy
544
+ of the Program. Ancillary propagation of a covered work occurring solely as a
545
+ consequence of using peer-to-peer transmission to receive a copy likewise
546
+ does not require acceptance. However, nothing other than this License grants
547
+ you permission to propagate or modify any covered work. These actions
548
+ infringe copyright if you do not accept this License. Therefore, by modifying
549
+ or propagating a covered work, you indicate your acceptance of this License
550
+ to do so.
551
+
552
+ 10. Automatic Licensing of Downstream Recipients.
553
+ Each time you convey a covered work, the recipient automatically receives a
554
+ license from the original licensors, to run, modify and propagate that work,
555
+ subject to this License. You are not responsible for enforcing compliance by
556
+ third parties with this License.
557
+
558
+ An "entity transaction" is a transaction transferring control of an
559
+ organization, or substantially all assets of one, or subdividing an
560
+ organization, or merging organizations. If propagation of a covered work
561
+ results from an entity transaction, each party to that transaction who
562
+ receives a copy of the work also receives whatever licenses to the work the
563
+ party's predecessor in interest had or could give under the previous
564
+ paragraph, plus a right to possession of the Corresponding Source of the work
565
+ from the predecessor in interest, if the predecessor has it or can get it
566
+ with reasonable efforts.
567
+
568
+ You may not impose any further restrictions on the exercise of the rights
569
+ granted or affirmed under this License. For example, you may not impose a
570
+ license fee, royalty, or other charge for exercise of rights granted under
571
+ this License, and you may not initiate litigation (including a cross-claim or
572
+ counterclaim in a lawsuit) alleging that any patent claim is infringed by
573
+ making, using, selling, offering for sale, or importing the Program or any
574
+ portion of it.
575
+
576
+ 11. Patents.
577
+ A "contributor" is a copyright holder who authorizes use under this License
578
+ of the Program or a work on which the Program is based. The work thus
579
+ licensed is called the contributor's "contributor version".
580
+
581
+ A contributor's "essential patent claims" are all patent claims owned or
582
+ controlled by the contributor, whether already acquired or hereafter
583
+ acquired, that would be infringed by some manner, permitted by this License,
584
+ of making, using, or selling its contributor version, but do not include
585
+ claims that would be infringed only as a consequence of further modification
586
+ of the contributor version. For purposes of this definition, "control"
587
+ includes the right to grant patent sublicenses in a manner consistent with
588
+ the requirements of this License.
589
+
590
+ Each contributor grants you a non-exclusive, worldwide, royalty-free patent
591
+ license under the contributor's essential patent claims, to make, use, sell,
592
+ offer for sale, import and otherwise run, modify and propagate the contents
593
+ of its contributor version.
594
+
595
+ In the following three paragraphs, a "patent license" is any express
596
+ agreement or commitment, however denominated, not to enforce a patent (such
597
+ as an express permission to practice a patent or covenant not to sue for
598
+ patent infringement). To "grant" such a patent license to a party means to
599
+ make such an agreement or commitment not to enforce a patent against the
600
+ party.
601
+
602
+ If you convey a covered work, knowingly relying on a patent license, and the
603
+ Corresponding Source of the work is not available for anyone to copy, free of
604
+ charge and under the terms of this License, through a publicly available
605
+ network server or other readily accessible means, then you must either (1)
606
+ cause the Corresponding Source to be so available, or (2) arrange to deprive
607
+ yourself of the benefit of the patent license for this particular work, or
608
+ (3) arrange, in a manner consistent with the requirements of this License, to
609
+ extend the patent license to downstream recipients. "Knowingly relying" means
610
+ you have actual knowledge that, but for the patent license, your conveying
611
+ the covered work in a country, or your recipient's use of the covered work in
612
+ a country, would infringe one or more identifiable patents in that country
613
+ that you have reason to believe are valid.
614
+
615
+ If, pursuant to or in connection with a single transaction or arrangement,
616
+ you convey, or propagate by procuring conveyance of, a covered work, and
617
+ grant a patent license to some of the parties receiving the covered work
618
+ authorizing them to use, propagate, modify or convey a specific copy of the
619
+ covered work, then the patent license you grant is automatically extended to
620
+ all recipients of the covered work and works based on it.
621
+
622
+ A patent license is "discriminatory" if it does not include within the scope
623
+ of its coverage, prohibits the exercise of, or is conditioned on the
624
+ non-exercise of one or more of the rights that are specifically granted under
625
+ this License. You may not convey a covered work if you are a party to an
626
+ arrangement with a third party that is in the business of distributing
627
+ software, under which you make payment to the third party based on the extent
628
+ of your activity of conveying the work, and under which the third party
629
+ grants, to any of the parties who would receive the covered work from you, a
630
+ discriminatory patent license (a) in connection with copies of the covered
631
+ work conveyed by you (or copies made from those copies), or (b) primarily for
632
+ and in connection with specific products or compilations that contain the
633
+ covered work, unless you entered into that arrangement, or that patent
634
+ license was granted, prior to 28 March 2007.
635
+
636
+ Nothing in this License shall be construed as excluding or limiting any
637
+ implied license or other defenses to infringement that may otherwise be
638
+ available to you under applicable patent law.
639
+
640
+ 12. No Surrender of Others' Freedom.
641
+ If conditions are imposed on you (whether by court order, agreement or
642
+ otherwise) that contradict the conditions of this License, they do not excuse
643
+ you from the conditions of this License. If you cannot convey a covered work
644
+ so as to satisfy simultaneously your obligations under this License and any
645
+ other pertinent obligations, then as a consequence you may not convey it at
646
+ all. For example, if you agree to terms that obligate you to collect a
647
+ royalty for further conveying from those to whom you convey the Program, the
648
+ only way you could satisfy both those terms and this License would be to
649
+ refrain entirely from conveying the Program.
650
+
651
+ 13. Remote Network Interaction; Use with the GNU General Public License.
652
+ Notwithstanding any other provision of this License, if you modify the
653
+ Program, your modified version must prominently offer all users interacting
654
+ with it remotely through a computer network (if your version supports such
655
+ interaction) an opportunity to receive the Corresponding Source of your
656
+ version by providing access to the Corresponding Source from a network server
657
+ at no charge, through some standard or customary means of facilitating
658
+ copying of software. This Corresponding Source shall include the
659
+ Corresponding Source for any work covered by version 3 of the GNU General
660
+ Public License that is incorporated pursuant to the following paragraph.
661
+
662
+ Notwithstanding any other provision of this License, you have permission to
663
+ link or combine any covered work with a work licensed under version 3 of the
664
+ GNU General Public License into a single combined work, and to convey the
665
+ resulting work. The terms of this License will continue to apply to the part
666
+ which is the covered work, but the work with which it is combined will remain
667
+ governed by version 3 of the GNU General Public License.
668
+
669
+ 14. Revised Versions of this License.
670
+ The Free Software Foundation may publish revised and/or new versions of the
671
+ GNU Affero General Public License from time to time. Such new versions will
672
+ be similar in spirit to the present version, but may differ in detail to
673
+ address new problems or concerns.
674
+
675
+ Each version is given a distinguishing version number. If the Program
676
+ specifies that a certain numbered version of the GNU Affero General Public
677
+ License "or any later version" applies to it, you have the option of
678
+ following the terms and conditions either of that numbered version or of any
679
+ later version published by the Free Software Foundation. If the Program does
680
+ not specify a version number of the GNU Affero General Public License, you
681
+ may choose any version ever published by the Free Software Foundation.
682
+
683
+ If the Program specifies that a proxy can decide which future versions of the
684
+ GNU Affero General Public License can be used, that proxy's public statement
685
+ of acceptance of a version permanently authorizes you to choose that version
686
+ for the Program.
687
+
688
+ Later license versions may give you additional or different permissions.
689
+ However, no additional obligations are imposed on any author or copyright
690
+ holder as a result of your choosing to follow a later version.
691
+
692
+ 15. Disclaimer of Warranty.
693
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
694
+ LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
695
+ OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
696
+ EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
697
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
698
+ ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
699
+ SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
700
+ SERVICING, REPAIR OR CORRECTION.
701
+
702
+ 16. Limitation of Liability.
703
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
704
+ ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE
705
+ PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
706
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
707
+ OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
708
+ DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR
709
+ A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
710
+ HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
711
+
712
+ 17. Interpretation of Sections 15 and 16.
713
+ If the disclaimer of warranty and limitation of liability provided above
714
+ cannot be given local legal effect according to their terms, reviewing courts
715
+ shall apply local law that most closely approximates an absolute waiver of
716
+ all civil liability in connection with the Program, unless a warranty or
717
+ assumption of liability accompanies a copy of the Program in return for a
718
+ fee.
719
+
720
+ END OF TERMS AND CONDITIONS
721
+
722
+ How to Apply These Terms to Your New Programs
723
+ If you develop a new program, and you want it to be of the greatest possible
724
+ use to the public, the best way to achieve this is to make it free software
725
+ which everyone can redistribute and change under these terms.
726
+
727
+ To do so, attach the following notices to the program. It is safest to attach
728
+ them to the start of each source file to most effectively state the exclusion
729
+ of warranty; and each file should have at least the "copyright" line and a
730
+ pointer to where the full notice is found.
731
+
732
+ SpacetimeDB: A database which replaces your server.
733
+ Copyright (C) 2023 Clockwork Laboratories, Inc.
734
+
735
+ This program is free software: you can redistribute it and/or modify
736
+ it under the terms of the GNU Affero General Public License as
737
+ published by the Free Software Foundation, either version 3 of the
738
+ License, or (at your option) any later version.
739
+
740
+ This program is distributed in the hope that it will be useful,
741
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
742
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
743
+ GNU Affero General Public License for more details.
744
+
745
+ You should have received a copy of the GNU Affero General Public License
746
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
747
+ Also add information on how to contact you by electronic and paper mail.
748
+
749
+ If your software can interact with users remotely through a computer network,
750
+ you should also make sure that it provides a way for users to get its source.
751
+ For example, if your program is a web application, its interface could
752
+ display a "Source" link that leads users to an archive of the code. There are
753
+ many ways you could offer source, and different solutions will be better for
754
+ different programs; see section 13 for the specific requirements.
755
+
756
+ You should also get your employer (if you work as a programmer) or school, if
757
+ any, to sign a "copyright disclaimer" for the program, if necessary. For more
758
+ information on this, and how to apply and follow the GNU AGPL, see
759
+ <https://www.gnu.org/licenses/>.